ilog.cplex
Class IloCplex.BranchDirection

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

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

This class represents branch directions. Branch directions can be used with methods IloCplex.setDirection() and IloCplex.setDirections() to instruct the IloCplex MIP optimizer in which branch to evaluate first when 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
          Sets the branch direction downwards.
static IloCplex.BranchDirection Global
          Sets the branch to the default direction.
static IloCplex.BranchDirection Up
          Sets the branch direction upwards.
 
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
Sets the branch direction upwards. Setting this branch direction for a variable instructs IloCplex to first process the node where the lower bound has been tightened when branching on that variable.

Down

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

Global

public static final IloCplex.BranchDirection Global
Sets the branch to the default 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()