We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dcd16d commit 4df6f9dCopy full SHA for 4df6f9d
test/get_equality.jl
@@ -51,6 +51,9 @@ end
51
function test_with_fixed_variables()
52
m = JuMP.Model()
53
@JuMP.variable(m, x[1:2])
54
+ # These bound constraints are picked up, then discarded as the
55
+ # one-sided interval sets never "imply equality"
56
+ @JuMP.variable(m, 0 <= y <= 1)
57
JuMP.fix(x[1], 1.0)
58
eq_cons = get_equality_constraints(m)
59
@test length(eq_cons) == 1
0 commit comments