You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Issue 202 (#202 ) got a little sidetracked so here is a cleaner wish list.
&&
and||
(or&
and|
) as well as!=
in both LHS and RHS of an indicator/reification constraint.See the example above.
The text was updated successfully, but these errors were encountered: