diff --git a/test/MOI_wrapper.jl b/test/MOI_wrapper.jl index a532ad5..7c04e45 100644 --- a/test/MOI_wrapper.jl +++ b/test/MOI_wrapper.jl @@ -241,7 +241,7 @@ function test_SimplexIterations_BarrierIterations() MOI.optimize!(model) @test MOI.get(model, MOI.SimplexIterations()) > 0 @test MOI.get(model, MOI.BarrierIterations()) == 0 - model = _knapsack_model(mip = false, solver = "choose") + model = _knapsack_model(mip = false, solver = "ipm") MOI.optimize!(model) # Not == 0 because HiGHS will use Simplex to clean-up occasionally @test MOI.get(model, MOI.SimplexIterations()) >= 0 @@ -855,6 +855,7 @@ function test_infeasible_point() MOI.add_constraint.(model, x, MOI.GreaterThan(0.0)) ci = MOI.add_constraint(model, x[1] + 2.0 * x[2], MOI.LessThan(-1.0)) MOI.set(model, MOI.RawOptimizerAttribute("presolve"), "off") + MOI.set(model, MOI.RawOptimizerAttribute("solver"), "ipm") MOI.optimize!(model) @test MOI.get(model, MOI.TerminationStatus()) == MOI.INFEASIBLE @test MOI.get(model, MOI.PrimalStatus()) == MOI.INFEASIBLE_POINT