From d87a9c5c1baa000ee151fff85adc8aebfe573ef5 Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Thu, 7 Nov 2024 17:40:44 +1300 Subject: [PATCH] Update --- test/test_constraint.jl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/test_constraint.jl b/test/test_constraint.jl index ad580398414..0ae9d46fca5 100644 --- a/test/test_constraint.jl +++ b/test/test_constraint.jl @@ -2198,7 +2198,10 @@ function test_shadow_price_errors() @variable(model, 0 <= x <= 1) set_optimizer( model, - () -> MOI.Utilities.MockOptimizer(MOI.Utilities.Model{Float64}()), + () -> MOI.Utilities.MockOptimizer( + MOI.Utilities.Model{Float64}(); + eval_variable_constraint_dual = false, + ), ) optimize!(model) mock = unsafe_backend(model)