Returns the depth in the search tree of the current node.
Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0
Syntax
| C# |
|---|
protected int GetDepth() |
| Visual Basic |
|---|
Protected 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 evaluate.