Instructs branch-and-cut search not to create any child nodes for the current node.

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

Syntax

C#
protected virtual void Prune()
Visual Basic
Protected Overridable Sub Prune

Remarks

In short, if this method is called, CPLEX creates no branches at the current node. It is an error to call methods prune and makeBranch in one invocation of a branch callback.

Pruning nodes is not compatible with the method Cplex.Populate because that method retains fathomed nodes for subsequent use.

See Also