Skip to content

Commit

Permalink
WIP: test stability
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudocubic committed Oct 11, 2023
1 parent c5bcb68 commit 3d81f56
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/mld.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
prepare_data!(orig_args)
set_setting!(orig_args, ("options", "outputs", "log-level"), "error")
set_setting!(orig_args, ("solvers", "HiGHS", "mip_feasibility_tolerance"), 1e-6)
set_setting!(orig_args, ("solvers", "HiGHS", "primal_feasibility_tolerance"), 1e-8)
set_setting!(orig_args, ("solvers", "HiGHS", "dual_feasibility_tolerance"), 1e-8)
set_setting!(orig_args, ("solvers", "HiGHS", "presolve"), "on")
set_setting!(orig_args, ("options", "objective", "enable-switch-state-open-cost"), true)

# DEBUGGING
Expand All @@ -25,7 +28,6 @@
("options", "problem", "operations-algorithm") => "rolling-horizon",
("options", "problem", "operations-problem-type") => "block",
("options", "objective", "enable-switch-state-open-cost") => true,
("solvers", "HiGHS", "presolve") => "off",
))
delete!(args, "solvers")
build_solver_instances!(args)
Expand All @@ -44,7 +46,6 @@
("options", "problem", "operations-algorithm") => "rolling-horizon",
("options", "problem", "operations-problem-type") => "traditional",
("options", "objective", "enable-switch-state-open-cost") => true,
("solvers", "HiGHS", "presolve") => "off",
))
delete!(args, "solvers")
build_solver_instances!(args)
Expand Down

0 comments on commit 3d81f56

Please sign in to comment.