NO FRAMES

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
This operator creates and returns a function equal to the maximal value of the functions f1 and f2.

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.