Skip to content

Commit 12be322

Browse files
authored
Relax comparison in test_objective_bound_relative_gap (#200)
1 parent 3659bf0 commit 12be322

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -653,9 +653,9 @@ function test_objective_bound_relative_gap()
653653
@test isapprox(
654654
MOI.get(model, MOI.ObjectiveBound()),
655655
MOI.get(model, MOI.ObjectiveValue());
656-
rtol = 1e-6,
656+
rtol = 1e-2,
657657
)
658-
@test MOI.get(model, MOI.RelativeGap()) < 1e-6
658+
@test MOI.get(model, MOI.RelativeGap()) < 1e-2
659659
return
660660
end
661661

0 commit comments

Comments
 (0)