Skip to content

Commit a346160

Browse files
authored
Relax test_continuous_objective_bound comparison (#297)
1 parent 9979227 commit a346160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/MOI_wrapper.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ function test_continuous_objective_bound()
899899
primal = MOI.get(model, MOI.ObjectiveValue())
900900
dual = MOI.get(model, MOI.DualObjectiveValue())
901901
@test MOI.get(model, MOI.ObjectiveBound()) == dual
902-
@test 0 < MOI.get(model, MOI.RelativeGap()) <= 1e-6
902+
@test 0 <= MOI.get(model, MOI.RelativeGap()) <= 1e-6
903903
return
904904
end
905905

0 commit comments

Comments
 (0)