Closed hdavid16 closed 8 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
b26e1ed
) 99.89% compared to head (79c54c0
) 99.89%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
It is still needed to reformulate:
@constraint(model, y[1] ∧ ¬y[2] := true)
I have updated test_intersection_reformulation()
to use this constraint for the test, which should allow for testing the line you indicate.
Currently,
@constraint(m, y := true)
throws an error, but@constraint(m, logical_not(y) := true
does not. For consistency, both should error since the user shouldfix
the value of the logical variable instead. This PR makes adds additional checks to enforce this.