This method returns true if and only if the invoking CP solver has extracted a model involving an objective.

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

Syntax

C#
public virtual bool HasObjective()

See Also