-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support to add "range" feature for values in weighted distribution constraint #36
Comments
Good catch, @ShraddhaDevaiya. I supported range specification as tuples, but not the vsc.rng format. Release 0.1.7 contains support for specifying weight ranges using vsc.rng. Best Regards, |
Hi @mballance , still it is giving me an error with this code. Can you please show me an example? Thanks & Regards, |
Of course. Here's a link to the test I created from your example: pyvsc/ve/unit/test_constraint_dist.py Lines 301 to 326 in 71623e4
I'll reopen this for now until we're able to confirm that it's been resolved. Best Regards, |
Hi, @mballance , Sorry for the delay. |
Hi @ShraddhaDevaiya, Thanks and Regards, |
Yeah now it is working ! Thanks & Regards, |
Hi @mballance,
I was trying to use range in weighted distribution with Enum type values, because if we have many values in Enum class, then it seems little impractical to add every values between certain range in weighted distribution constraint. So, I was trying following code :
But for this rightnow we are getting syntax error. So, can you please take a look into this?
Thanks & Regards,
Shraddha Devaiya.
The text was updated successfully, but these errors were encountered: