Returns the IObjective object of the active model, or null if no IObjective object is currently in the active model.

Namespace: ILOG.OPL
Assembly: oplall (in oplall.dll)

Syntax

C#
public virtual IObjective GetObjective()

Return Value

The IObjective object in the active model, or null if there is no IObjective.

See Also