12.07.2015 Views

ILOG OPL Development Studio Language Reference Manual

ILOG OPL Development Studio Language Reference Manual

ILOG OPL Development Studio Language Reference Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Aggregate operatorsInteger and float expressions can also be constructed using aggregate operators for computingsummations (sum), products (prod), minima (min), and maxima (max) of a collection ofrelated expressions. For instance, the excerptint capacity[Routes] = ...;int minCap = min(r in Routes) capacity[r];uses the aggregate operator min to compute the minimum value in array capacity. Theform of the formal parameters in these aggregate operators is very general and is discussedat length in Formal parameters.For information on operators in general, see Operators in the <strong>Language</strong> Quick <strong>Reference</strong>.94I L O G O P L D E V E L O P M E N T S T U D I O L A N G U A G ER E F E R E N C E M A N U A L

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!