To optimize a QP that you have entered or read:
baropt
.
CPXbaropt()
.
IloCplex::solve()
will automatically invoke the barrier optimizer if the extracted model is a QP. The setting of root or node algorithm will be ignored.
For a QP, the ILOG CPLEX Barrier Optimizer generates a pure barrier solution. That is, the solution is not a basic solution. The barrier crossovers described in Barrier Simplex Crossover do not apply to quadratic barrier optimizations.
Generally, the default parameter settings of the ILOG CPLEX Barrier Optimizer are appropriate for most QPs. In fact, for QPs, the ILOG CPLEX Barrier Optimizer uses only the default barrier algorithm (indicated in the Interactive Optimizer by set
barrier algorithm 0 and from the Callable Library by the parameter CPX_PARAM_BARALG
with the value 0
). In other words, it does not use the other two algorithms discussed in the context of linear barrier optimization and listed in Table 4.13.