The RootAlg
algorithm parameter indicates the algorithm for ILOG CPLEX to use on the initial subproblem. In a typical MIP, that initial subproblem is usually the linear relaxation of the original MIP. By default, ILOG CPLEX starts the initial subproblem with the dual simplex optimizer. You may have information about your problem that indicates another optimizer could be more efficient. Table 8.13 summarizes the values available for the RootAlg
parameter.
set mip strategy startalgorithm
with the value to indicate the optimizer you want.
IloCplex
method setParam()
with the parameter RootAlg
and the appropriate algorithm enumeration value.
CPXsetintparam()
with the parameter CPX_PARAM_STARTALG
, and the appropriate symbolic constant.
The NodeAlg
parameter indicates the algorithm for ILOG CPLEX to use on node relaxations other than the root node. By default, ILOG CPLEX applies the dual simplex optimizer to subproblems, and unlike the RootAlg
parameter it is extremely unusual for this to not be the most desirable choice, but again, you may have information about your problem that tells you another optimizer could be more efficient. The values and symbolic constants are the same for the NodeAlg
parameter as for the RootAlg
parameter in Table 8.13.
IloCplex
method setParam()
with the parameter NodeAlg
and the appropriate algorithm enumeration value.
CPXsetintparam()
with the parameter CPX_PARAM_SUBALG
, and the appropriate symbolic constant.
set mip strategy subalgorithm
" with the value to indicate the optimizer you want.