ILOG CPLEX .NET Reference Manual

Cplex.SearchLimit.Depth Property

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

protected int Depth {get;}

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 the current node.

This method can be called only from the methods Init and Check.

See Also

Cplex.SearchLimit Class | ILOG.CPLEX Namespace