-
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Issue 202 (#202 ) got a little sidetracked so here is a cleaner wish list.
- The constraints using indicator/reification should not require that the user must create binary variables. Here is an example that would be really great if supported.
function all_different_except_0(m, a)
len = length(a)
for i in 2:len, j in 1:i-1
@constraint(m, (a[i] != 0 && a[j] != 0) => {a[i] != a[j]} )
end
end
- Support for
&&and||(or&and|) as well as!=in both LHS and RHS of an indicator/reification constraint.
See the example above.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request