Skip to content

Commit c21c7f1

Browse files
committed
Make some enumint options more informative in the option definition file
1 parent 1a90b04 commit c21c7f1

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

assets/optcuopt.def

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
num_cpu_threads integer 0 -1 -1 maxint 1 1 Controls the number of CPU threads used in the LP and MIP solvers (default GAMS Threads)
55
num_gpus integer 0 1 1 2 1 2 Controls the number of GPUs to use for the solve. This setting is only relevant for LP problems that uses concurrent mode and supports up to 2 GPUs at the moment. Using this mode will run PDLP and barrier in parallel on different GPUs to avoid sharing single GPU resources.
66
presolve enumint 0 -1 1 1 Modify chosen presolve procedure
7-
-1 1 default
8-
0 1 off
7+
-1 1 default (Papilo for MIP, PSLP for LP)
8+
0 1 off (disable presolve)
99
1 1 papilo
1010
2 1 pslp
1111
dual_postsolve boolean 0 0 1 2 Controls whether dual postsolve is enabled. Disabling dual postsolve can improve solve time at the expense of not having access to the dual solution. Enabled by default for LP when presolve is enabled. This is not relevant for MIP problems
@@ -14,14 +14,14 @@ prob_read string 1 "" 1 1 Reads a problem from an MPS file
1414
pdlp_solver_mode enumint 0 4 1 2 Controls the mode under which PDLP should operate
1515
0 1 stable1
1616
1 1 stable2
17-
2 1 methodical1
18-
3 1 fast1
19-
4 1 stable3
17+
2 1 methodical1 Takes slower individual steps, but fewer are needed to converge.
18+
3 1 fast1 Fastest mode, but with less success in convergence.
19+
4 1 stable3 Best overall mode from experiments; balances speed and convergence success. If you want to use the legacy version, use Stable1. (default)
2020
method enumint 0 0 1 2 Controls the method to solve the linear programming problem
21-
0 1 concurrent
22-
1 1 pdlp
23-
2 1 dual_simplex
24-
3 1 method_barrier
21+
0 1 concurrent Use PDLP, dual simplex, and barrier in parallel (default).
22+
1 1 pdlp Use the PDLP method.
23+
2 1 dual_simplex Use the dual simplex method.
24+
3 1 method_barrier Use the barrier (interior-point) method.
2525
iteration_limit integer 0 maxint 0 maxint 1 2 Controls the iteration limit after which the solver will stop and return the current solution (default GAMS IterLim)
2626
infeasibility_detection boolean 0 0 1 2 Controls whether PDLP should detect infeasibility
2727
strict_infeasibility boolean 0 0 1 2 Controls the strict infeasibility mode in PDLP

0 commit comments

Comments
 (0)