Using the Barrier Optimizer

We have described how the ILOG CPLEX Barrier Optimizer finds primal and dual solutions from the primal and dual formulations of a model (see the section Identifying LPs for Barrier Optimization) , but you do not have to reformulate the problem yourself. The ILOG CPLEX Barrier Optimizer automatically creates the primal and dual formulations of the problem for you after you enter or read in the problem.

Specify that you want to use the barrier optimizer by setting the parameter LPMethod to the following value:

IloCplex::Barrier (Concert for C++ users)IloCplex.Algorithm.Barrier (Concert for Java users)CPX_ALG_BARRIER (Callable Library)4 (Interactive Optimizer)

And then you call the solution routine just as for any other ILOG CPLEX optimizer.

cplex.solve() (Concert, for C++ or Java users)CPXlpopt() (Callable Library)optimize (Interactive Optimizer)


Previous Page: Identifying LPs for Barrier Optimization  Return to Top Next Page: Special Options