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.

Piecewise linear and stepwise functionsIn CP Optimizer, piecewise linear functions are typically used to model a known function oftime, for instance the cost incurred for completing an activity after a known date t. Stepwisefunctions are typically used to model the efficiency of a resource over time.A piecewise linear function F(t) is defined by a tuple F = piecewise(S, T, t 0 , v 0 ) where:For a complete description of the <strong>OPL</strong> syntax of a piecewise linear function, see piecewiseand pwlFunction in the <strong>OPL</strong> <strong>Language</strong> Quick <strong>Reference</strong>.A stepwise function is a special case of the piecewise linear function, where all slopes areequal to 0 and the domain and image of F are integer. A stepwise function F(t) is defined bya tuple F = stepwise(V, T) where:I 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 L145

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

Saved successfully!

Ooh no, something went wrong!