Creates and returns an instance of IObjective representing an objective to maximize the expression expr and added to the invoking model.

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

Syntax

C#
IObjective AddMaximize(
	INumExpr expr
)

Parameters

expr
Type: ILOG.Concert..::..INumExpr
Expression to maximize.

Return Value

An IObjective object representing the objective to maximize expr.

Remarks