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: ILOG.Concert (in ILOG.Concert.dll) Version: 22.1.0.0

Syntax

C#
IObjective AddMaximize(
	INumExpr expr
)
Visual Basic
Function AddMaximize ( _
	expr As INumExpr _
) As IObjective

Parameters

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

Return Value

An IObjective object representing the objective to maximize expr.

Remarks