Prune the current node.
Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0
Syntax
| C# |
|---|
public abstract void PruneCurrentNode() |
| Visual Basic |
|---|
Public MustOverride Sub PruneCurrentNode |
Remarks
The function tells CPLEX that the current node does not require further processing and can be pruned. Do not mix calls to pruneCurrentNode() and makeBranch. Pruning a node will override any branching requests.
This method can be invoked only from Cplex.Callback.Context.Id.Relaxation and Cplex.Callback.Context.Id.Branching it will throw an exception when invoked from another context.
Throws ILOG.Concert.Exception if an error occurs.