From 7e529e98cd22482071e0f150bd6917e01ec5f94d Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Tue, 8 Mar 2022 10:31:43 +1300 Subject: [PATCH] Loosen tolerances in SCS conic test (#241) --- test/conic.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/conic.jl b/test/conic.jl index 14ba38b..7df583c 100644 --- a/test/conic.jl +++ b/test/conic.jl @@ -26,7 +26,7 @@ function test_simple_conic_model() SCS.Optimizer, MOI.Silent() => true, ), - "atol" => 1e-4, + "atol" => 0.1, ), ) @variable(model, 0 <= x[1:2] <= 10, Int) @@ -38,7 +38,7 @@ function test_simple_conic_model() @test dual_status(model) == FEASIBLE_POINT @test isapprox(value.(x), [6, 8]; atol = 1e-4) @test sqrt(value(x[1])^2 + value(x[2])^2) <= 10 + 1e-4 - @test isapprox(objective_value(model), 58; atol = 1e-5) + @test isapprox(objective_value(model), 58; atol = 1e-2) return end