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 9979227 commit a346160Copy full SHA for a346160
test/MOI_wrapper.jl
@@ -899,7 +899,7 @@ function test_continuous_objective_bound()
899
primal = MOI.get(model, MOI.ObjectiveValue())
900
dual = MOI.get(model, MOI.DualObjectiveValue())
901
@test MOI.get(model, MOI.ObjectiveBound()) == dual
902
- @test 0 < MOI.get(model, MOI.RelativeGap()) <= 1e-6
+ @test 0 <= MOI.get(model, MOI.RelativeGap()) <= 1e-6
903
return
904
end
905
0 commit comments