Allow to provide "soft constraint" #87
nbahar-intel
started this conversation in
Ideas
Replies: 1 comment
-
|
These seem like useful features indeed, however, it would require a lot of changes internally. I'll convert this to a discussion, if more people feel like this feature is needed we can look into it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It'd be nice to have an option to provide a weight to a constraint.
When there is no solution, the constraints with the smallest weight can be dropped (or ignored) in order to achieve a solution.
Would be also useful when wanting to provide a default value to a variable, without enforcing it when it's not able to assign that value due to constraints.
Beta Was this translation helpful? Give feedback.
All reactions