Sets the user object attached to the node with the specified number.

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

Syntax

C#
protected virtual Object SetNodeData(
	long node,
	Object data
)
Visual Basic
Protected Overridable Function SetNodeData ( _
	node As Long, _
	data As Object _
) As Object

Parameters

node
Type: System..::..Int64
Number of node for which user data shall be changed.
data
Type: System..::..Object
New user data for the specified node.

Return Value

The old user object attached to the node with number node. If no user object was attached to the node, null will be returned.

See Also