Creates and returns an objective to maximize the multi-criterion expression.

Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0

Syntax

C#
public virtual IObjective Maximize(
	CplexMultiCriterionExpr expr,
	string name
)
Visual Basic
Public Overridable Function Maximize ( _
	expr As CplexMultiCriterionExpr, _
	name As String _
) As IObjective

Parameters

expr
Type: ILOG.CPLEX..::..CplexMultiCriterionExpr
the multi-criterion expression to maximize.
name
Type: System..::..String
the name for the new objective.

See Also

[!:Cplex.StaticLex(INumExpr[], double[], int[], double[], double[], String)]