MAX


Purpose
Maximum value of an arbitrary number of items
Synopsis
MAX(value1, value2, ...)
Argument
value1, ... 
Each argument is one of the following: a constant; a variable; a formula evaluating to a single value; or an XV
Example
Given the following matrix items:
Column: A
Column: B
XV    : XVB: = = = B ^ 2
             = = = A * B
then the following are all valid uses of the function:
MAX(A,99)
MAX(A,B,99)
MAX(A,B^2)
MAX(SQRT(A),B)
MAX(XVB)
Further information

MAX is not always differentiable and so alternative modeling approaches should be used where possible.

If an XV is used as an argument to the function, then all members of the XV will be included.




If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.