ilog.cplex
Class IloCplex.NodeId

java.lang.Object
  extended byilog.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 node identifier, NodeId, to every node it creates. In fact, the NodeId of a node created with one of the methods IloCplex.BranchCallback.makeBranch 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 object IloCplex.NodeCallback allows you to access the NodeId of all remaining nodes.


Method Summary
 boolean equals(java.lang.Object obj)
          Tests 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)
Tests whether two node identifiers are equal.


toString

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

Returns:
A string with the numeric value of the invoking node identifier.