> Languages and APIs > ILOG Concert Technology for C++ Users > Solving Concert Technology Models with IloCplex > Choosing an Optimizer |
Choosing an Optimizer |
INDEX PREVIOUS NEXT |
Solving the extracted model with ILOG CPLEX involves solving one or a series of continuous relaxations:
cplex.isMIP
returns IloTrue
in such a case. Chapter 13, Solving Mixed Integer Programming Problems (MIP) discusses the algorithms applied.
The optimizer option used for solving the first continuous relaxation (whether it is the only one or just the first in a series of problems) is controlled by setting the root algorithm parameter:
cplex.setParam(IloCplex::RootAlg, alg); |
where alg
is a member of the nested enumeration:
The choice Sifting
is not available for QP models. Only the Barrier
option is available for QCP models.
As a nested enumeration type, the fully qualified names that must be used in the program are IloCplex::Primal
, IloCplex::Dual
, and so on. Table 1.2 displays the meaning of the optimizer options defined by IloCplex::Algorithm.
If the extracted model requires the solution of more than one continuous relaxation, the algorithm for solving all but the first is controlled by the NodeAlg
parameter:
cplex.setParam(IloCplex::NodeAlg, alg). |
Copyright © 1987-2003 ILOG, S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |