Skip to content

Commit

Permalink
Update runtests.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Nov 13, 2024
1 parent 35d95ac commit 35283c6
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/julia/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 35283c6

Please sign in to comment.