FRAMES NO FRAMES

IloMax

public IloEvaluator< IloObject > IloMax(IloEvaluator< IloObject > left, IloEvaluator< IloObject > right)
public IloEvaluator< IloObject > IloMax(IloEvaluator< IloObject > left, IloNum c)
public IloEvaluator< IloObject > IloMax(IloNum c, IloEvaluator< IloObject > right)
Definition file: ilsolver/iloselector.h
Include file: <ilsolver/iloselector.h>

These functions create a composite IloEvaluator<IloObject> instance. These evaluators return the greatest value of the float values returned by the two evaluators given as argument, or the least value between the float value and the evaluator given as argument.

For more information, see Selectors.


IloMax

public IloNum IloMax(const IloNumArray vals)
public IloNum IloMax(IloNum val1, IloNum val2)
public IloInt IloMax(const IloIntArray vals)
public IloNumExprArg IloMax(const IloNumExprArray exprs)
public IloIntExprArg IloMax(const IloIntExprArray exprs)
public IloNumExprArg IloMax(const IloNumExprArg x, const IloNumExprArg y)
public IloNumExprArg IloMax(const IloNumExprArg x, IloNum y)
public IloNumExprArg IloMax(IloNum x, const IloNumExprArg y)
public IloIntExprArg IloMax(const IloIntExprArg x, const IloIntExprArg y)
public IloIntExprArg IloMax(const IloIntExprArg x, IloInt y)
public IloNumExprArg IloMax(const IloIntExprArg x, IloNum y)
public IloIntExprArg IloMax(const IloIntExprArg x, int y)
public IloIntExprArg IloMax(IloInt x, const IloIntExprArg y)
public IloNumExprArg IloMax(IloNum x, const IloIntExprArg y)
public IloIntExprArg IloMax(int x, const IloIntExprArg y)
Definition file: ilconcert/iloexpression.h
Returns a numeric value representing the max of numeric values.

These functions compare their arguments and return the greatest value.


IloMax

public IloNumToNumStepFunction IloMax(const IloNumToNumStepFunction f1, const IloNumToNumStepFunction f2)
Definition file: ilconcert/ilonumfunc.h
Creates and returns a function equal to the maximal value of its argument functions.

This operator creates and returns a function equal to the maximal value of the functions f1 and f2. That is, for all points x in the definition interval, the resulting function is equal to the max(f1(x), f2(x)). The argument functions f1 and f2 must be defined on the same interval. The resulting function is defined on the same interval as the arguments. See also: IloNumToNumStepFunction.