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.

Explicit arraysAnother useful syntax to dynamically create arrays to be used in expressions or constraintsis to explicitly define the array using the [ ] notation and including any variables or valuesinto it.Mixes are not allowed. For example, you can write:forall(i in R)allDifferent([x[i], y[i], z[i]);86I 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!