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.

Constraints available in constraint programmingThis section lists the constraints and expressions available for <strong>OPL</strong> CP models. See the <strong>OPL</strong><strong>Language</strong> Quick <strong>Reference</strong> and the CP Optimizer User’s <strong>Manual</strong> for further details.♦Arithmetic constraints and expressions♦Logical constraints for CP♦Compatibility constraints♦Specialized constraintsArithmetic constraints and expressionsThe following arithmetic constraints and expressions are available for <strong>OPL</strong> CP models. Thereferences point to the <strong>OPL</strong> <strong>Language</strong> Quick <strong>Reference</strong>.♦Arithmetic operations●addition●subtraction●multiplication●scalar products●integer division●floating-point division●modular arithmetic♦Arithmetic expressions for use in constraints.●standard deviation: see standardDeviation●minimum: see min●maximum: see max●counting: see count●absolute value: see abs●element or index: see element♦Arithmetic constraints●equal toI 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 L129

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

Saved successfully!

Ooh no, something went wrong!