Here, we are now guaranteed for EqualTo to always be of type Bool since the automatic conversion is disabled and it will never get affine expressions since it will no longer substract the RHS.
One decision to make, would be whether we just want to use MOI.EqualTo{Bool} to be consistent with other packages or keep using IsTrue.
JuMP
just merged https://github.com/jump-dev/JuMP.jl/pull/3530. We should updateDisjunctiveProgramming
to support this syntax. It means we'll need to support:Here, we are now guaranteed for
EqualTo
to always be of typeBool
since the automatic conversion is disabled and it will never get affine expressions since it will no longer substract the RHS.One decision to make, would be whether we just want to use
MOI.EqualTo{Bool}
to be consistent with other packages or keep usingIsTrue
.