ILOG CPLEX .NET Reference Manual

Cplex.NodeCallback.GetNodeId Method 

Returns the node identifier of the node indicated by the node number node.

protected virtual NodeId GetNodeId(
   int node
);

Parameters

node
The node number of the node for which the node identifier is queried.

Return Value

The Cplex.NodeId of the specified node.

Remarks

An instance of Cplex numbers the nodes that remain to be explored in the branch and cut sequentially from 0 (zero) to getNremainingNodes()-1. However, when a node is created during search, it also assigns a unique Cplex.NodeId to it. This method allows you to query this Cplex.NodeId for all unexplored nodes.

See Also

Cplex.NodeCallback Class | ILOG.CPLEX Namespace