ILOG CPLEX .NET Reference Manual

Cplex.NodeCallback.GetBranchVar Method (Int32)

Returns the variable that was branched upon to create the node specified by number node.

protected virtual INumVar GetBranchVar(
   int node
);

Parameters

node
The number of the node from which you want to obtain the variable.

Return Value

The branch variable of the node with number node.

Remarks

If that node has been created by branching on a constraint or on multiple variables, null will be returned.

See Also

Cplex.NodeCallback Class | ILOG.CPLEX Namespace | Cplex.NodeCallback.GetBranchVar Overload List