This method must be implemented by the user to specify the logic of the goal.

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

Syntax

C#
public abstract Cplex..::..Goal Execute(
	Cplex cplex
)
Visual Basic
Public MustOverride Function Execute ( _
	cplex As Cplex _
) As Cplex..::..Goal

Parameters

cplex
Type: ILOG.CPLEX..::..Cplex
The Cplex object calling this method.

Return Value

The instance of Cplex.Goal that will be pushed on to the goal stack of the current.

Remarks

The Cplex.Goal returned by this method will be pushed on the goal stack and will thus be executed next.

See Also