This section describes the options that are recognized by the MILP solver in PROC OPTMODEL. These options can be specified after a forward slash (/) in the SOLVE statement, provided that the MILP solver is explicitly specified using a WITH clause. For example, the following line could appear in PROC OPTMODEL statements:
solve with milp / allcuts=aggressive maxnodes=10000 primalin;
specifies a presolve string or its corresponding value number, as listed in Table 8.2.
Table 8.2: Values for PRESOLVER= Option
number |
string |
Description |
---|---|---|
–1 |
AUTOMATIC |
Applies the default level of presolve processing |
0 |
NONE |
Disables presolver |
1 |
BASIC |
Performs minimal presolve processing |
2 |
MODERATE |
Applies a higher level of presolve processing |
3 |
AGGRESSIVE |
Applies the highest level of presolve processing |
The default value is AUTOMATIC.
enables you to input a starting solution in PROC OPTMODEL before invoking the MILP solver. Adding the PRIMALIN option to the SOLVE statement requests that the MILP solver use the current variable values as a starting solution (warm start). If the MILP solver finds that the input solution is feasible, then the input solution provides an incumbent solution and a bound for the branch-and-bound algorithm. If the solution is not feasible, the MILP solver tries to repair it. It is possible to set a variable value to the missing value '.' to mark a variable for repair. When it is difficult to find a good integer feasible solution for a problem, warm start can reduce solution time significantly.
Note: If the MILP solver produces a feasible solution, the variable values from that run can be used as the warm start solution for a subsequent run. If the warm start solution is not feasible for the subsequent run, the solver automatically tries to repair it.
specifies a stopping criterion. When the absolute difference between the best integer objective and the best bound on the objective function value falls below the value of number, the MILP solver stops. The value of number can be any nonnegative number; the default value is 1E–6.
cuts off any nodes in a minimization (maximization) problem with an objective value at or above (below) number. The value of number can be any number; the default value is the positive (negative) number that has the largest absolute value representable in your operating environment.
specifies a search emphasis string or its corresponding value number as listed in Table 8.3.
Table 8.3: Values for EMPHASIS= Option
number |
string |
Description |
---|---|---|
0 |
BALANCE |
Performs a balanced search |
1 |
OPTIMAL |
Emphasizes optimality over feasibility |
2 |
FEASIBLE |
Emphasizes feasibility over optimality |
The default value is BALANCE.
specifies the tolerance used to check the feasibility of a solution. This tolerance applies both to the maximum violation of bounds on variables and to the difference between the right-hand sides and left-hand sides of constraints. The value of number can be any value between (and including) 1E–4 and 1E–9. The default value is 1E–6.
If the MILP solver fails to find a feasible solution within this tolerance but does find a solution with a slightly larger violation, then the solver ends with a solution status of OPTIMAL_COND (see the section Macro Variable _OROPTMODEL_ ).
specifies the amount by which an integer variable value can differ from an integer and still be considered integer feasible. The value of number can be any number between 0.0 and 0.5. The MILP solver attempts to find an optimal solution whose integer infeasibility is less than number. If you assign a value smaller than 1E–10 to number and the best solution found by the solver has integer infeasibility between number and 1E–10, then the solver terminates with a solution status of OPTIMAL_COND (see the section Macro Variable _OROPTMODEL_ ). The default value is 1E–5.
specifies how often information is printed in the node log. The value of number can be any nonnegative number up to the largest four-byte signed integer, which is . The default value of number is 100. If number is set to 0, then the node log is disabled. If number is positive, then an entry is made in the node log at the first node, at the last node, and at intervals dictated by the value of number. An entry is also made each time a better integer solution is found.
controls the amount of information displayed in the SAS log by the MILP solver, from a short description of presolve information and summary to details at each node. Table 8.4 describes the valid values for this option.
Table 8.4: Values for LOGLEVEL= Option
number |
string |
Description |
---|---|---|
0 |
NONE |
Turns off all solver-related messages to SAS log |
1 |
BASIC |
Displays a solver summary after stopping |
2 |
MODERATE |
Prints a solver summary and a node log by using the interval dictated by the LOGFREQ= option |
3 |
AGGRESSIVE |
Prints a detailed solver summary and a node log by using the interval dictated by the LOGFREQ= option |
The default value is MODERATE.
specifies the maximum number of branch-and-bound nodes to be processed. The value of number can be any nonnegative integer up to the largest four-byte signed integer, which is . The default value of number is .
specifies a stopping criterion. If number solutions have been found, then the solver stops. The value of number can be any positive integer up to the largest four-byte signed integer, which is . The default value of number is .
specifies an upper limit of t units of time for the optimization process, including problem generation time and solution time. The value of the TIMETYPE= option determines the type of units used. If you do not specify the MAXTIME= option, the solver does not stop based on the amount of time elapsed. The value of t can be any positive number; the default value is the positive number that has the largest absolute value that can be represented in your operating environment.
specifies the tolerance used to determine the optimality of nodes in the branch-and-bound tree. The value of number can be any value between (and including) 1E–4 and 1E–9. The default is 1E–6.
indicates whether to enable parallel processing of the branch-and-cut algorithm. Table 8.5 describes the valid values of the PARALLEL= option.
Table 8.5: Values for PARALLEL= Option
number |
string |
Description |
---|---|---|
0 |
OFF |
Disables parallel processing of the branch-and-cut algorithm |
1 |
ON |
Enables parallel processing of the branch-and-cut algorithm |
The default value is 0. You can specify options for controlling parallel processing in the PERFORMANCE statement, which is documented in the section PERFORMANCE Statement in Chapter 4: Shared Concepts and Topics. The PARALLEL= option is ignored when the solver is invoked inside a COFOR loop of the OPTMODEL procedure.
specifies a probing string or its corresponding value number, as listed in Table 8.6.
Table 8.6: Values for PROBE= Option
number |
string |
Description |
---|---|---|
–1 |
AUTOMATIC |
Uses the probing strategy determined by the MILP solver |
0 |
NONE |
Disables probing |
1 |
MODERATE |
Uses probing moderately |
2 |
AGGRESSIVE |
Uses probing aggressively |
The default value is AUTOMATIC.
specifies a stopping criterion based on the best integer objective (BestInteger) and the best bound on the objective function value (BestBound). The relative objective gap is equal to
When this value becomes smaller than the specified gap size number, the MILP solver stops. The value of number can be any nonnegative number; the default value is 1E–4.
indicates whether to scale the problem matrix. SCALE= can take either of the values AUTOMATIC (–1) and NONE (0). SCALE=AUTOMATIC scales the matrix as determined by the MILP solver; SCALE=NONE disables scaling. The default value is AUTOMATIC.
specifies the initial seed of the random number generator. This option affects the perturbation in the simplex solvers; thus it might result in a different optimal solution and a different solver path. This option usually has a significant, but unpredictable, effect on the solution time. The value of number can be any positive integer up to the largest four-byte signed integer, which is . The default value of the seed is 100.
specifies a stopping criterion for minimization (maximization) problems. If the best integer objective is better than or equal to number, the solver stops. The value of number can be any number; the default value is the negative (positive) number that has the largest absolute value representable in your operating environment.
specifies the units of time used by the MAXTIME= option and reported by the PRESOLVE_TIME and SOLUTION_TIME terms in the _OROPTMODEL_ macro variable. Table 8.7 describes the valid values of the TIMETYPE= option.
Table 8.7: Values for TIMETYPE= Option
number |
string |
Description |
---|---|---|
0 |
CPU |
Specifies units of CPU time |
1 |
REAL |
Specifies units of real time |
The "Optimization Statistics" table, an output of PROC OPTMODEL if you specify PRINTLEVEL=2 in the PROC OPTMODEL statement, also includes the same time units for Presolver Time and Solver Time. The other times (such as Problem Generation Time) in the "Optimization Statistics" table are also in the same units.
The default value of the TIMETYPE= option depends on the algorithm used and on various options. When the solver is used with distributed or multithreaded processing, then by default TIMETYPE= REAL. Otherwise, by default TIMETYPE= CPU. Table 8.8 describes the detailed logic for determining the default; the first context in the table that applies determines the default value. The NTHREADS= and NODES= options are specified in the PERFORMANCE statement of the OPTMODEL procedure. For more information about the NTHREADS= and NODES= options, see the section PERFORMANCE Statement in Chapter 4: Shared Concepts and Topics.
Table 8.8: Default Value for TIMETYPE= Option
Context |
Default |
---|---|
Solver is invoked in an OPTMODEL COFOR loop |
REAL |
NODES= value is nonzero for the decomposition algorithm |
REAL |
NTHREADS= value is greater than 1 and NODES=0 for the decomposition algorithm |
REAL |
NTHREADS= value is greater than 1 and PARALLEL=ON |
REAL |
Otherwise CPU |
controls the level of primal heuristics applied by the MILP solver. This level determines how frequently primal heuristics are applied during the branch-and-bound tree search. It also affects the maximum number of iterations allowed in iterative heuristics. Some computationally expensive heuristics might be disabled by the solver at less aggressive levels. The values of string and the corresponding values of number are listed in Table 8.9.
Table 8.9: Values for HEURISTICS= Option
number |
string |
Description |
---|---|---|
–1 |
AUTOMATIC |
Applies default level of heuristics, similar to MODERATE |
0 |
NONE |
Disables all primal heuristics |
1 |
BASIC |
Applies basic primal heuristics at low frequency |
2 |
MODERATE |
Applies most primal heuristics at moderate frequency |
3 |
AGGRESSIVE |
Applies all primal heuristics at high frequency |
Setting HEURISTICS=NONE does not disable the heuristics that repair an infeasible input solution that is specified by using the PRIMALIN option.
The default value is AUTOMATIC. For details about primal heuristics, see the section Primal Heuristics.
specifies the level of conflict search performed by the MILP solver. Conflict finds clauses resulting from infeasible subproblems that arise in the search tree. The values of string and the corresponding values of number are listed in Table 8.10.
Table 8.10: Values for CONFLICTSEARCH= Option
number |
string |
Description |
---|---|---|
–1 |
AUTOMATIC |
Performs conflict search based on a strategy determined by the MILP solver |
0 |
NONE |
Disables conflict search |
1 |
MODERATE |
Performs a moderate conflict search |
2 |
AGGRESSIVE |
Performs an aggressive conflict search |
The default value is AUTOMATIC.
specifies the node selection strategy string or its corresponding value number as listed in Table 8.11.
Table 8.11: Values for NODESEL= Option
number |
string |
Description |
---|---|---|
–1 |
AUTOMATIC |
Uses automatic node selection |
0 |
BESTBOUND |
Chooses the node with the best relaxed objective (best-bound-first strategy) |
1 |
BESTESTIMATE |
Chooses the node with the best estimate of the integer objective value (best-estimate-first strategy) |
2 |
DEPTH |
Chooses the most recently created node (depth-first strategy) |
The default value is AUTOMATIC. For details about node selection, see the section Node Selection.
indicates whether to use specified branching priorities for integer variables. PRIORITY=0 ignores variable priorities; PRIORITY=1 uses priorities when they exist. The default value is 1. See the section Branching Priorities for details.
specifies the strategy for restarting the processing of the root node. The values of string and the corresponding values of number are listed in Table 8.12.
Table 8.12: Values for RESTARTS= Option
number |
string |
Description |
---|---|---|
–1 |
AUTOMATIC |
Uses a restarting strategy determined by the MILP solver |
0 |
NONE |
Disables restarting |
1 |
BASIC |
Uses a basic restarting strategy |
2 |
MODERATE |
Uses a moderate restarting strategy |
3 |
AGGRESSIVE |
Uses an aggressive restarting strategy |
The default value is AUTOMATIC.
specifies the number of simplex iterations performed for each variable in the candidate list when the strong branching variable selection strategy is used. The value of number can be any positive integer up to the largest four-byte signed integer, which is . If you specify the keyword AUTOMATIC or the value –1, the MILP solver uses the default value; this value is calculated automatically.
specifies the number of candidates used when the strong branching variable selection strategy is performed. The value of number can be any positive integer up to the largest four-byte signed integer, which is . If you specify the keyword AUTOMATIC or the value –1, the MILP solver uses the default value; this value is calculated automatically.
specifies the level of symmetry detection. Symmetry detection identifies groups of equivalent decision variables and uses this information to solve the problem more efficiently. The values of string and the corresponding values of number are listed in Table 8.13.
Table 8.13: Values for SYMMETRY= Option
number |
string |
Description |
---|---|---|
–1 |
AUTOMATIC |
Performs symmetry detection based on a strategy that is determined by the MILP solver |
0 |
NONE |
Disables symmetry detection |
1 |
BASIC |
Performs a basic symmetry detection |
2 |
MODERATE |
Performs a moderate symmetry detection |
3 |
AGGRESSIVE |
Performs an aggressive symmetry detection |
The default value is AUTOMATIC. For more information about symmetry detection, see (Ostrowski, 2008).
specifies the rule for selecting the branching variable. The values of string and the corresponding values of number are listed in Table 8.14.
Table 8.14: Values for VARSEL= Option
number |
string |
Description |
---|---|---|
–1 |
AUTOMATIC |
Uses automatic branching variable selection |
0 |
MAXINFEAS |
Chooses the variable with maximum infeasibility |
1 |
MININFEAS |
Chooses the variable with minimum infeasibility |
2 |
PSEUDO |
Chooses a branching variable based on pseudocost |
3 |
STRONG |
Uses strong branching variable selection strategy |
The default value is AUTOMATIC. For details about variable selection, see the section Variable Selection.
Table 8.15 describes the string and number values for the cut options in the OPTMODEL procedure.
Table 8.15: Values for Individual Cut Options
number |
string |
Description |
---|---|---|
–1 |
AUTOMATIC |
Generates cutting planes based on a strategy determined by the MILP solver |
0 |
NONE |
Disables generation of cutting planes |
1 |
MODERATE |
Uses a moderate cut strategy |
2 |
AGGRESSIVE |
Uses an aggressive cut strategy |
You can specify the CUTSTRATEGY= option to set the overall aggressiveness of the cut generation in the MILP solver. Alternatively, you can use the ALLCUTS= option to set all cut types to the same level. You can override the ALLCUTS= value by using the options that correspond to particular cut types. For example, if you want the MILP solver to generate only Gomory cuts, specify ALLCUTS=NONE and CUTGOMORY=AUTOMATIC. If you want to generate all cuts aggressively but generate no lift-and-project cuts, set ALLCUTS=AGGRESSIVE and CUTLAP=NONE.
provides a shorthand way of setting all the cuts-related options in one setting. In other words, ALLCUTS=number is equivalent to setting each of the individual cuts parameters to the same value number. Thus, ALLCUTS=–1 has the effect of setting CUTCLIQUE=–1, CUTFLOWCOVER=–1, CUTFLOWPATH=–1, …, CUTMIR=–1, and CUTZEROHALF=–1. Table 8.15 lists the values that can be assigned to option and number. In addition, you can override levels for individual cuts with the CUTCLIQUE=, CUTFLOWCOVER=, CUTFLOWPATH=, CUTGOMORY=, CUTGUB=, CUTIMPLIED=, CUTKNAPSACK=, CUTLAP=, CUTMILIFTED=, CUTMIR=, and CUTZEROHALF= options. If the ALLCUTS= option is not specified, then all the cuts-related options are either at their individually specified values (if the corresponding option is specified) or at their default values (if that option is not specified).
specifies the level of clique cuts that are generated by the MILP solver. Table 8.15 lists the values that can be assigned to option and number. The CUTCLIQUE= option overrides the ALLCUTS= option. The default value is AUTOMATIC.
specifies the level of flow cover cuts that are generated by the MILP solver. Table 8.15 lists the values that can be assigned to option and number. The CUTFLOWCOVER= option overrides the ALLCUTS= option. The default value is AUTOMATIC.
specifies the level of flow path cuts that are generated by the MILP solver. Table 8.15 lists the values that can be assigned to option and number. The CUTFLOWPATH= option overrides the ALLCUTS= option. The default value is AUTOMATIC.
specifies the level of Gomory cuts that are generated by the MILP solver. Table 8.15 lists the values that can be assigned to option and number. The CUTGOMORY= option overrides the ALLCUTS= option. The default value is AUTOMATIC.
specifies the level of generalized upper bound (GUB) cover cuts that are generated by the MILP solver. Table 8.15 lists the values that can be assigned to option and number. The CUTGUB= option overrides the ALLCUTS= option. The default value is AUTOMATIC.
specifies the level of implied bound cuts that are generated by the MILP solver. Table 8.15 lists the values that can be assigned to option and number. The CUTIMPLIED= option overrides the ALLCUTS= option. The default value is AUTOMATIC.
specifies the level of knapsack cover cuts that are generated by the MILP solver. Table 8.15 lists the values that can be assigned to option and number. The CUTKNAPSACK= option overrides the ALLCUTS= option. The default value is AUTOMATIC.
specifies the level of lift-and-project (LAP) cuts that are generated by the MILP solver. Table 8.15 lists the values that can be assigned to option and number. The CUTLAP= option overrides the ALLCUTS= option. The default value is NONE.
specifies the level of mixed lifted 0-1 cuts that are generated by the MILP solver. Table 8.15 lists the values that can be assigned to option and number. The CUTMILIFTED= option overrides the ALLCUTS= option. The default value is AUTOMATIC.
specifies the level of mixed integer rounding (MIR) cuts that are generated by the MILP solver. Table 8.15 lists the values that can be assigned to option and number. The CUTMIR= option overrides the ALLCUTS= option. The default value is AUTOMATIC.
specifies a row multiplier factor for cuts. The number of cuts that are added is limited to number times the original number of rows. The value of number can be any nonnegative number less than or equal to 100; the default value is automatically calculated by the MILP solver.
specifies the overall aggressiveness of the cut generation in the solver. Setting a nondefault value adjusts a number of cut parameters such that the cut generation is basic, moderate, or aggressive compared to the default value.
specifies the level of zero-half cuts that are generated by the MILP solver. Table 8.15 lists the values that can be assigned to option and number.The CUTZEROHALF= option overrides the ALLCUTS= option. The default value is AUTOMATIC.
The following options are available for the decomposition algorithm in the MILP solver. For information about the decomposition algorithm, see Chapter 15: The Decomposition Algorithm.
enables the decomposition algorithm and specifies overall control options for the algorithm. For more information about this option, see Chapter 15: The Decomposition Algorithm.
specifies options for the master problem. For more information about this option, see Chapter 15: The Decomposition Algorithm.
specifies options for the (restricted) master problem solved as a MILP with the current set of columns in an effort to obtain an integer feasible solution. For more information about this option, see Chapter 15: The Decomposition Algorithm.
specifies option for the subproblem. For more information about this option, see Chapter 15: The Decomposition Algorithm.