We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e1d0d4 commit 47a48fdCopy full SHA for 47a48fd
1 file changed
test/Bridges/Constraint/SplitHyperRectangleBridge.jl
@@ -115,6 +115,7 @@ function test_runtests_all_free_rows()
115
x = MOI.add_variable(model)
116
f = MOI.Utilities.operate(vcat, Float64, 1.0 * x)
117
c = MOI.add_constraint(model, f, MOI.HyperRectangle([-Inf], [Inf]))
118
+ @test MOI.get(model, MOI.ConstraintDual(), c) == [0.0]
119
@test_throws(
120
MOI.GetAttributeNotAllowed{MOI.ConstraintPrimal},
121
MOI.get(model, MOI.ConstraintPrimal(), c)
0 commit comments