ilog.cplex
Class IloCplex.BranchDirection

java.lang.Object
  |
  +--ilog.cplex.IloCplex.BranchDirection
Enclosing class:
IloCplex

public abstract static class IloCplex.BranchDirection
extends java.lang.Object

Enumeration of branch direction values.

Branch directions can be used with the methods IloCplex.setDirection and IloCplex.setDirections to select the child node to evaluate first after branching on a specific variable. There are three settings:

See Also:
IloCplex.setDirection(ilog.concert.IloNumVar, ilog.cplex.IloCplex.BranchDirection), IloCplex.setDirections(ilog.concert.IloNumVar[], ilog.cplex.IloCplex.BranchDirection[])

Field Summary
static IloCplex.BranchDirection Down
          Downwards branch direction.
static IloCplex.BranchDirection Global
          Global branch direction.
static IloCplex.BranchDirection Up
          Upwards branch direction.
 
Constructor Summary
IloCplex.BranchDirection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Up

public static final IloCplex.BranchDirection Up
Upwards branch direction. Setting this branch direction for a variable instructs IloCplex to first process the node where the lower bound has been tightened after branching on that variable.


Down

public static final IloCplex.BranchDirection Down
Downwards branch direction. Setting this branch direction for a variable instructs IloCplex to first process the node where the upper bound has been tightened after branching on that variable.


Global

public static final IloCplex.BranchDirection Global
Global branch direction. Setting this branch direction for a variable instructs IloCplex to first process the node according to the globally selected or default branch direction.

Constructor Detail

IloCplex.BranchDirection

public IloCplex.BranchDirection()