ilog.cplex
Class IloCplex.NodeId

java.lang.Object
  |
  +--ilog.cplex.IloCplex.NodeId
Enclosing class:
IloCplex

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

A class for uniquely identifying a MIP node in a branch-and-cut tree.

IloCplex assigns a NodeId to every node it creates. In fact, the NodeId of a node created with one of the IloCplex.BranchCallback.makeBranch methods is returned by these methods.

The NodeId of the current node can be queried from a goal or from a callback that is called at a node. The IloCplex.NodeCallback allows you to access the NodeId of all remaining nodes.


Method Summary
 boolean equals(java.lang.Object obj)
          This method can be use to test whether two node identifiers are equal.
 java.lang.String toString()
          Returns a string with the numeric value of the invoking node identifier.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

equals

public boolean equals(java.lang.Object obj)
This method can be use to test whether two node identifiers are equal.

Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Returns a string with the numeric value of the invoking node identifier.

Overrides:
toString in class java.lang.Object
Returns:
A string with the numeric value of the invoking node identifier.