ilog.cplex
Class IloCplex.BranchType

java.lang.Object
  |
  +--ilog.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 IloCplex.BranchType object indicating a complex branching.
static IloCplex.BranchType BranchOnSOS1
          An IloCplex.BranchType object indicating a branch on an SOS of type 1.
static IloCplex.BranchType BranchOnSOS2
          An IloCplex.BranchType object indicating a branch on an SOS of type 2.
static IloCplex.BranchType BranchOnVariable
          An IloCplex.BranchType object 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 IloCplex.BranchType object indicating a branch on a single variable.


BranchOnAny

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


BranchOnSOS1

public static final IloCplex.BranchType BranchOnSOS1
An IloCplex.BranchType object indicating a branch on an SOS of type 1.


BranchOnSOS2

public static final IloCplex.BranchType BranchOnSOS2
An IloCplex.BranchType object indicating a branch on an SOS of type 2.

Method Detail

equals

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

Overrides:
equals in class java.lang.Object

toString

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

Overrides:
toString in class java.lang.Object
Returns:
A string representing the invoking branch type.