From 35283c6f6d948a87f2a6d9600cfb8392e5fc4813 Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Thu, 14 Nov 2024 09:05:50 +1300 Subject: [PATCH] Update runtests.jl --- .github/julia/runtests.jl | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/julia/runtests.jl b/.github/julia/runtests.jl index f08333bd..3c00bea4 100644 --- a/.github/julia/runtests.jl +++ b/.github/julia/runtests.jl @@ -22,7 +22,27 @@ function Optimizer(options = String["logger=INFO"]) return AmplNLWriter.Optimizer(Uno_jll.amplexe, options) end -Optimizer_LP() = Optimizer(["logger=INFO", "subproblem=LP"]) +function Optimizer_LP() + return Optimizer([ + "LP_solver=HiGHS", + "TR_min_radius=1e-8", + "TR_radius=10", + "constraint_relaxation_strategy=feasibility_restoration", + "filter_type=standard", + "globalization_mechanism=TR", + "globalization_strategy=fletcher_filter_method", + "l1_constraint_violation_coefficient=1.", + "logger=INFO", + "loose_tolerance=1e-6", + "progress_norm=L1", + "protect_actual_reduction_against_roundoff=no", + "residual_norm=L2", + "sparse_format=CSC", + "subproblem=LP", + "switch_to_optimality_requires_linearized_feasibility=yes", + "tolerance=1e-6", + ]) +end # This testset runs https://github.com/jump-dev/MINLPTests.jl @testset "MINLPTests" begin