ilog.cplex
Class IloCplex.BranchType

java.lang.Object
  extended byilog.cplex.IloCplex.BranchType
Enclosing class:
IloCplex

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

This class identifies the branch type for BranchCallback.

The branch type indicates what type of branch IloCplex is about to make when the BranchCallback is called. Possible types include:

See Also:
IloCplex.BranchCallback

Field Summary
static IloCplex.BranchType BranchOnAny
          An instance of IloCplex.BranchType indicating a complex branching.
static IloCplex.BranchType BranchOnSOS1
          An instance of IloCplex.BranchType indicating a branch on a Special Ordered Set (SOS) of type 1 (one).
static IloCplex.BranchType BranchOnSOS2
          An instance of IloCplex.BranchType indicating a branch on a Special Ordered Set (SOS) of type 2.
static IloCplex.BranchType BranchOnVariable
          An instance of IloCplex.BranchType indicating a branch on a single variable.
 
Method Summary
 boolean equals(java.lang.Object obj)
          This method tests whether two branch types are equal.
 java.lang.String toString()
          Returns a string representing the invoking branch type.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BranchOnVariable

public static final IloCplex.BranchType BranchOnVariable
An instance of IloCplex.BranchType indicating a branch on a single variable.


BranchOnAny

public static final IloCplex.BranchType BranchOnAny
An instance of IloCplex.BranchType indicating a complex branching.


BranchOnSOS1

public static final IloCplex.BranchType BranchOnSOS1
An instance of IloCplex.BranchType indicating a branch on a Special Ordered Set (SOS) of type 1 (one).


BranchOnSOS2

public static final IloCplex.BranchType BranchOnSOS2
An instance of IloCplex.BranchType indicating a branch on a Special Ordered Set (SOS) of type 2.

Method Detail

equals

public boolean equals(java.lang.Object obj)
This method tests whether two branch types are equal.


toString

public java.lang.String toString()
Returns a string representing the invoking branch type.

Returns:
A string representing the invoking branch type.