This function defines a multi-criterion expression for lexicographic ordering.

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

Syntax

C#
public virtual CplexMultiCriterionExpr StaticLex(
	INumExpr[] criteria,
	string name
)
Visual Basic
Public Overridable Function StaticLex ( _
	criteria As INumExpr(), _
	name As String _
) As CplexMultiCriterionExpr

Parameters

criteria
Type: array<ILOG.Concert..::..INumExpr>[]()[][]
an array of numerical expressions.
name
Type: System..::..String
the name for the new multi-criterion expression. This argument can be null, in which case, the name will be set to null.

Remarks

A lexicographic ordering means that any improvement of a criterion with higher priority is more important than any improvement of a lower priority criterion.

Note: A shallow copy of criteria will be made when passed to this method. Thus, after calling this method, any modifications to criteria should be avoided.

See Also