From b9435be854f6618242b1aa6c55f8abb537e1f6f2 Mon Sep 17 00:00:00 2001 From: adrienbanse Date: Wed, 4 Oct 2023 14:22:25 +0200 Subject: [PATCH] accept MOI.ALMOST_LOCALLY_SOLVED --- test/examples/test_gol_lazar_belta.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/examples/test_gol_lazar_belta.jl b/test/examples/test_gol_lazar_belta.jl index 335f68fb8..8446b2425 100644 --- a/test/examples/test_gol_lazar_belta.jl +++ b/test/examples/test_gol_lazar_belta.jl @@ -41,7 +41,7 @@ function _test( @test MOI.get(optimizer, MOI.TerminationStatus()) == MOI.INFEASIBLE else @test MOI.get(optimizer, MOI.TerminationStatus()) in - [MOI.OPTIMAL, MOI.LOCALLY_SOLVED] + [MOI.OPTIMAL, MOI.LOCALLY_SOLVED, MOI.ALMOST_LOCALLY_SOLVED] xu = MOI.get(optimizer, CO.ContinuousTrajectoryAttribute()) @test typeof(x_expected) == typeof(xu.x) @test typeof(u_expected) == typeof(xu.u)