Solving a Single LP or QP

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:

Table 2.3 Algorithm Types

alg 
Algorithm Type 
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.


Previous Page: Choosing an Optimizer  Return to Top Next Page: Solving Subsequent LPs or QPs in a MIP