From 44e9fdd6e0d95561177ad305c892d95b5285dc9c Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Thu, 14 Nov 2024 11:02:40 +1300 Subject: [PATCH] Update MOI_wrapper.jl --- test/MOI_wrapper.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/MOI_wrapper.jl b/test/MOI_wrapper.jl index 966672a..b8c23bc 100644 --- a/test/MOI_wrapper.jl +++ b/test/MOI_wrapper.jl @@ -870,7 +870,8 @@ function test_infeasible_point() MOI.optimize!(model) @test MOI.get(model, MOI.TerminationStatus()) == MOI.INFEASIBLE @test MOI.get(model, MOI.PrimalStatus()) == MOI.INFEASIBLE_POINT - @test MOI.get(model, MOI.DualStatus()) == MOI.INFEASIBLE_POINT + dual_stat = MOI.get(model, MOI.DualStatus()) + @test dual_stat in (MOI.INFEASIBLE_POINT, MOI.INFEASIBILITY_CERTIFICATE) @test MOI.get(model, MOI.ResultCount()) == 1 @test MOI.get(model, MOI.VariablePrimal(), x) isa Vector{Float64} @test MOI.get(model, MOI.ConstraintDual(), ci) isa Float64