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

Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0

Syntax

C#
protected virtual Cplex..::..NodeId GetNodeId(
	long node
)
Visual Basic
Protected Overridable Function GetNodeId ( _
	node As Long _
) As Cplex..::..NodeId

Parameters

node
Type: System..::..Int64
The node number of the node for which the node identifier is queried.

Return Value

The node identifier of the specified node.

Remarks

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

See Also