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:
- Up, to first use the branch where the lower bound of the variable
has been tightened.
- Down, to first use the branch where the upper bound of the variable
has been tightened.
- Global, to use the globally selected or default branch direction.
- See Also:
IloCplex.setDirection(ilog.concert.IloNumVar, ilog.cplex.IloCplex.BranchDirection)
,
IloCplex.setDirections(ilog.concert.IloNumVar[], ilog.cplex.IloCplex.BranchDirection[])
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
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.
IloCplex.BranchDirection
public IloCplex.BranchDirection()