Skip to main content
FRAMES NO FRAMES

IloStaticLex

public IloMultiCriterionExpr IloStaticLex(IloEnv env, IloNumExprArray criteria, const IloNumArray weights, const IloIntArray priorities, const IloNumArray absTols, const IloNumArray relTols, const char * name=0)
Definition file: ilconcert/ilolinear.h
Defines a multi-criterion expression.

This function defines a multi-criterion expression for lexicographic ordering. A lexicographic ordering means that any improvement of a criterion with higher priority is more important than any improvement of a lower priority criterion. weights specifies weights by which to multiply the expression of the corresponding criterion in criteria. 0 can be passed to use defaults.

priorities specifies the priority for each criterion. Each criterion is assigned the priority specified by the corresponding entry in this array. 0 can be passed to use defaults; in this case, priorities are implicitly assigned by the order in which the criteria are specified in criteria. For example, if n criteria are passed in, then the first criterion will be given a priority of n - 1, the second criterion will be given a priority of n - 2, and so on, until the last criterion is given a priority of 0.

absTols specifies the absolute tolerance to be used when solving the corresponding criterion in criteria. This argument can be 0 to use defaults. When specifying a new value, the same limits apply as with the IloCplex::Param::MIP::Tolerances::AbsMIPGap parameter. See the section on Specifying multiple objective problems in the CPLEX User's Manual for the details on the meaning of this tolerance.

relTols specifies the relative tolerance to be used when solving the corresponding criterion in criteria. This argument can be 0 to use defaults. When specifying a new value, the same limits apply as with the IloCplex::Param::MIP::Tolerances::MIPGap parameter. Note that a nondefault setting of this parameter only applies to MIP multiobjective problems. See the section on Specifying multiple objective problems in the CPLEX User's Manual for the details on the meaning of this tolerance.

name is set to 0 by default.

See Also:


IloStaticLex

public IloMultiCriterionExpr IloStaticLex(IloEnv env, IloNumExprArray criteria, const char * name)
public IloMultiCriterionExpr IloStaticLex(IloEnv env, IloNumExprArray criteria)
public IloMultiCriterionExpr IloStaticLex(IloEnv env, IloNumExprArg c1)
public IloMultiCriterionExpr IloStaticLex(IloEnv env, IloNumExprArg c1, IloNumExprArg c2)
public IloMultiCriterionExpr IloStaticLex(IloEnv env, IloNumExprArg c1, IloNumExprArg c2, IloNumExprArg c3)
public IloMultiCriterionExpr IloStaticLex(IloEnv env, IloNumExprArg c1, IloNumExprArg c2, IloNumExprArg c3, IloNumExprArg c4)
Definition file: ilconcert/ilolinear.h
Defines a multi-criterion expression.

This function defines a multi-criterion expression for lexicographic ordering. A lexicographic ordering means that any improvement of a criterion with higher priority is more important than any improvement of a lower priority criterion.

The priorities are dictated by the order in which the criteria are passed in criteria. name is set to 0 by default.

See Also: