diff --git a/test/FileFormats/NL/NL.jl b/test/FileFormats/NL/NL.jl index 8cd48617ed..69e05fca32 100644 --- a/test/FileFormats/NL/NL.jl +++ b/test/FileFormats/NL/NL.jl @@ -305,7 +305,7 @@ function test_nlmodel_hs071() MOI.add_constraint.(model, MOI.SingleVariable.(v), MOI.LessThan.(u)) MOI.set.(model, MOI.VariablePrimalStart(), v, start) lb, ub = [25.0, 40.0], [Inf, 40.0] - evaluator = MOI.DeprecatedTest.HS071(true) + evaluator = MOI.Test.HS071(true) block_data = MOI.NLPBlockData(MOI.NLPBoundsPair.(lb, ub), evaluator, true) MOI.set(model, MOI.NLPBlock(), block_data) MOI.set(model, MOI.ObjectiveSense(), MOI.MIN_SENSE) @@ -455,7 +455,7 @@ function test_nlmodel_hs071_linear_obj() MOI.add_constraint(model, MOI.SingleVariable(v[3]), MOI.Integer()) MOI.set.(model, MOI.VariablePrimalStart(), v, start) lb, ub = [25.0, 40.0], [Inf, 40.0] - evaluator = MOI.DeprecatedTest.HS071(true) + evaluator = MOI.Test.HS071(true) block_data = MOI.NLPBlockData(MOI.NLPBoundsPair.(lb, ub), evaluator, false) MOI.set(model, MOI.NLPBlock(), block_data) f = MOI.ScalarAffineFunction(MOI.ScalarAffineTerm.(l, v), 2.0)