Returns the depth of the current node in the search tree.

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

Syntax

C#
public int GetDepth()
Visual Basic
Public Function GetDepth As Integer

Return Value

The depth of the current node in the branch-and-cut tree.

Remarks

The root node is defined to have depth 0 (zero); the depth of other nodes is their distance from the root, or, equivalently, the number of branches taken to get from the root to that node. This method can be called only from the methods init and check.

See Also