Skip to content

Commit

Permalink
Update MOI_wrapper.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Nov 13, 2024
1 parent 574a2b8 commit 44e9fdd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/MOI_wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 44e9fdd

Please sign in to comment.