public static class IloCplex.BranchType
extends java.lang.Object
This class identifies the branch type for
IloCplex.BranchCallback.
The branch type reports what type of branch IloCplex is
about to make when the BranchCallback is called.
Possible types include:
BranchOnVariable reports branching on a single
variable.BranchOnSOS1 reports branching on an SOS of type 1.BranchOnSOS2 reports branching on an SOS of type 2.BranchOnAny reports a more complex branching.IloCplex.BranchCallback| Modifier and Type | Field and Description |
|---|---|
static IloCplex.BranchType |
BranchOnAny
An instance of
IloCplex.BranchType reporting a
complex branching. |
static IloCplex.BranchType |
BranchOnSOS1
An instance of
IloCplex.BranchType reporting a
branch on a special ordered set (SOS) of type 1 (one). |
static IloCplex.BranchType |
BranchOnSOS2
An instance of
IloCplex.BranchType reporting a
branch on a special ordered set (SOS) of type 2. |
static IloCplex.BranchType |
BranchOnVariable
An instance of
IloCplex.BranchType reporting a
branch on a single variable. |
public static final IloCplex.BranchType BranchOnVariable
An instance of IloCplex.BranchType reporting a
branch on a single variable.
public static final IloCplex.BranchType BranchOnAny
An instance of IloCplex.BranchType reporting a
complex branching.
public static final IloCplex.BranchType BranchOnSOS1
An instance of IloCplex.BranchType reporting a
branch on a special ordered set (SOS) of type 1 (one).
public static final IloCplex.BranchType BranchOnSOS2
An instance of IloCplex.BranchType reporting a
branch on a special ordered set (SOS) of type 2.
public boolean equals(java.lang.Object obj)
This method tests whether two branch types are equal.
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
Returns a string representing the invoking branch type.
toString in class java.lang.Object