To solve a single LP or QP, or the first LP or QP in a series, use IloCplex.setParam(IloCplex.IntParam.RootAlg, alg)where alg is an integer specifying the algorithm type. The following constants are defined for identifying the available algorithm types:
IloCplex.setParam(IloCplex.IntParam.RootAlg, alg)
alg
Table 2.3 Algorithm Types
0
IloCplex.Algorithm.Auto
1
IloCplex.Algorithm.Primal
2
IloCplex.Algorithm.Dual
3
IloCplex.Algorithm.Network
4
IloCplex.Algorithm.Barrier
IloCplex.Algorithm.Sifting
If IloCplex.setParam(IloCplex.IntParam.RootAlg, alg) is not called, the default IloCplex.Algorithm.Auto will be used.
The IloCplex.Algorithm.Sifting algorithm is not available for QP. IloCplex will default to the IloCplex.Algorithm.Auto setting when parameter IloCplex.IntParam.RootAlg is set to IloCplex.Algorithm.Sifting for a QP.
IloCplex
IloCplex.IntParam.RootAlg