ilog.cplex
Class IloCplex.Algorithm

java.lang.Object
  |
  +--ilog.cplex.IloCplex.Algorithm

public static class IloCplex.Algorithm
extends java.lang.Object

This class specifies the solution algorithm type to be used by CPLEX. This class specifies which algorithm to use to solve LPs either directly or, in case of a MIP, during the branch and cut search. The algorithm to use for the root node or for solving LPs and QPs is controlled with IloCplex.setParam(IloCplex.IntParam.RootAlg, ...), and the algorithm for solving other node LPs is controlled with IloCplex.setParam(IloCplex.IntParam.NodeAlgorithm, ...).


Field Summary
static int Auto
          Allows IloCplex to select an algorithm.
static int Barrier
          Selects the barrier algorithm.
static int Dual
          Selects the dual simplex algorithm.
static int DualBarrier
          Selects the dual simplex algorithm followed by the barrier algorithm.
static int Network
          Selects the network simplex algorithm.
static int None
          Selects no algorithm.
static int Primal
          Selects the primal simplex algorithm.
 
Constructor Summary
IloCplex.Algorithm()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

None

public static final int None
Selects no algorithm. This algorithm choice is not used directly, but only for selecting the continuation algorithm after solving an LP with the barrier method. By selecting IloCplex.Algorithm.None as the continuation algorithm for the barrier method, no crossover to a simplex solution is performed after the barrier optimization.

Auto

public static final int Auto
Allows IloCplex to select an algorithm. This algorithm choice instructs the IloCplex optimizer to select the most suitable or default optimizer for solving LPs.

Primal

public static final int Primal
Selects the primal simplex algorithm. This algorithm choice instructs the IloCplex optimizer to use the primal simplex method for solving LPs.

Dual

public static final int Dual
Selects the dual simplex algorithm. This algorithm choice instructs the IloCplex optimizer to use the dual simplex method for solving LPs.

Network

public static final int Network
Selects the network simplex algorithm. This algorithm choice instructs the IloCplex optimizer to use the network simplex method for solving LPs.

Barrier

public static final int Barrier
Selects the barrier algorithm. This algorithm choice instructs the IloCplex optimizer to use the barrier optimizer to solve the embedded network portion of the IloCplex model. It then uses that solution to solve the entire model with the simplex method as selected with the continuation method parameter.

DualBarrier

public static final int DualBarrier
Selects the dual simplex algorithm followed by the barrier algorithm. This algorithm choice instructs the IloCplex optimizer to use the dual simplex algorithm up to its iteration limit. If the node has not been solved by then, the barrier method with crossover is used instead. This option is only available for solving MIP node LPs.
Constructor Detail

IloCplex.Algorithm

public IloCplex.Algorithm()