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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Piecewise-linear functions.................................................................................................................95Set expressions...............................................................................................................................102Boolean expressions.......................................................................................................................104Constraints.................................................................................................................................................105Introduction.....................................................................................................................................106Using constraints.............................................................................................................................107Constraint labels.............................................................................................................................111Types of constraints........................................................................................................................121Formal parameters.....................................................................................................................................133Basic formal parameters.................................................................................................................134Tuples of parameters.......................................................................................................................137Filtering in tuples of parameters......................................................................................................138Scheduling..................................................................................................................................................141Introduction.....................................................................................................................................143Piecewise linear and stepwise functions.........................................................................................145Interval variables.............................................................................................................................148Unary constraints on interval variables...........................................................................................152Precedence constraints between interval variables........................................................................153Constraints on groups of interval variables.....................................................................................154A logical constraint between interval variables: presenceOf...........................................................155Expressions on interval variables....................................................................................................156Sequencing of interval variables.....................................................................................................158Cumulative functions.......................................................................................................................161State functions................................................................................................................................166Notations.........................................................................................................................................171<strong>ILOG</strong> Script for <strong>OPL</strong>................................................................................................................173<strong>Language</strong> structure....................................................................................................................................175Syntax.............................................................................................................................................177Expressions in <strong>ILOG</strong> Script.............................................................................................................183Statements......................................................................................................................................197Built-in values and functions.......................................................................................................................205Numbers..........................................................................................................................................207<strong>ILOG</strong> Script strings..........................................................................................................................221<strong>ILOG</strong> Script Booleans.....................................................................................................................231<strong>ILOG</strong> Script arrays..........................................................................................................................237Objects............................................................................................................................................243Dates...............................................................................................................................................251The null value..................................................................................................................................259The undefined value........................................................................................................................260<strong>ILOG</strong> Script functions......................................................................................................................261Miscellaneous functions..................................................................................................................262Index........................................................................................................................2636I 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!