ILOG CPLEX 11.0 User's Manual > Continuous Optimization > Solving LPs: Barrier Optimizer > Using the Barrier Optimizer

As you have read in Introducing the Barrier Optimizer, the ILOG CPLEX Barrier Optimizer finds primal and dual solutions from the primal and dual formulations of a model, 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 one of the values in Table 10.1.

Table 10.1 Settings of LPMethod Invoke the Barrier Optimizer
Setting 
Context 
IloCplex::Barrier 
Concert Technology for C++ users 
IloCplex.Algorithm.Barrier 
Concert Technology for Java users 
Cplex.Algorithm.Barrier 
Concert Technology for .NET users 
CPX_ALG_BARRIER 
Callable Library 
4 
Interactive Optimizer 

And then you call the solution routine just as for any other ILOG CPLEX optimizer, as you see in Table 10.2.

Table 10.2 Calling the Barrier Optimizer
Call  
Context 
cplex.solve 
Concert Technology for C++ users 
cplex.solve 
Concert Technology for Java users 
Cplex.Solve 
Concert Technology for .NET users 
CPXlpopt 
Callable Library 
optimize 
Interactive Optimizer