From 126d503d28bcf4fc153af3b8cb1e04e69a6b253e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Tue, 10 Aug 2021 17:44:31 +0200 Subject: [PATCH 1/2] Remove redundant optimize call --- src/DeprecatedTest/UnitTests/constraints.jl | 1 - 1 file changed, 1 deletion(-) diff --git a/src/DeprecatedTest/UnitTests/constraints.jl b/src/DeprecatedTest/UnitTests/constraints.jl index b8ba2b3562..d7430034ff 100644 --- a/src/DeprecatedTest/UnitTests/constraints.jl +++ b/src/DeprecatedTest/UnitTests/constraints.jl @@ -539,7 +539,6 @@ function solve_start_soc(model::MOI.ModelLike, config::Config{T}) where {T} MOI.set(model, MOI.ConstraintDualStart(), c, T[2, -2]) end if config.solve - MOI.optimize!(model) test_model_solution( model, config; From 01d8c5685ae0c800ff8461e640fdccaa15f59dac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Tue, 10 Aug 2021 23:10:01 +0200 Subject: [PATCH 2/2] Remove it in new Test as well --- src/Test/test_constraint.jl | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Test/test_constraint.jl b/src/Test/test_constraint.jl index c5755d1964..ffb62b6d16 100644 --- a/src/Test/test_constraint.jl +++ b/src/Test/test_constraint.jl @@ -680,7 +680,6 @@ function test_constraint_PrimalStart_DualStart_SecondOrderCone( if MOI.supports(model, MOI.ConstraintDualStart(), typeof(c)) MOI.set(model, MOI.ConstraintDualStart(), c, T[2, -2]) end - MOI.optimize!(model) _test_model_solution( model, config;