From 6e7efa0fb3caef6d5c3ec13ef6b57608f0cc4379 Mon Sep 17 00:00:00 2001 From: odow Date: Mon, 5 Jul 2021 09:40:54 +1200 Subject: [PATCH] Migrate FileFormats to new tests --- test/FileFormats/NL/NL.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)