Creates and returns a goal that always fails.

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

Syntax

C#
public Cplex..::..Goal FailGoal()
Visual Basic
Public Function FailGoal As Cplex..::..Goal

Return Value

The new fail goal.

Remarks

The node on which the goal is executed will be pruned, thus discarding the subtree rooted at that node.

See Also