Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Nov 7, 2024
1 parent 76409f8 commit d87a9c5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/test_constraint.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d87a9c5

Please sign in to comment.