The OPTMODEL Procedure |
The MIN aggregation operator evaluates the numeric expression expression for each member of the index set index-set. The result is the minimum of the values that are returned by the expression. Missing values are handled with the SAS numeric sort order, so a missing value is treated as smaller than any nonmissing value. If the index set is empty, then the result is the largest positive number representable on the machine.
The following example produces the output 0.2:
proc optmodel; put (min{i in 2..5} 1/i);
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.