Creates and returns an instance of IObjective representing an objective to minimize the expression expr, assigned the name name, and added to the invoking model.

Namespace: ILOG.Concert
Assembly: ILOG.Concert (in ILOG.Concert.dll) Version: 22.1.0.0

Syntax

C#
IObjective AddMinimize(
	INumExpr expr,
	string name
)
Visual Basic
Function AddMinimize ( _
	expr As INumExpr, _
	name As String _
) As IObjective

Parameters

expr
Type: ILOG.Concert..::..INumExpr
Expression to minimize.
name
Type: System..::..String
Name assigned to the new IObjective object.

Return Value

An IObjective object representing the objective to minimize expr.

Remarks