Constraint atleast It is defined in the catalog as follows:
atleast(N,VARIABLES,VALUE)
N int VARIABLES collection(var:dvar) VALUE int Following rules given above, we can have in XML:
<constraint name="C1" arity="4" scope="V1 V2 V3 V4" reference="global:atleast">
<parameters>
1
[ V1 V2 V3 V4 ]
2
</parameters>
</constraint>
Constraint atmost It is defined in the catalog as follows:
atmost(N,VARIABLES,VALUE)
N int VARIABLES collection(var:dvar)
VALUE int Following rules given above, we can have in XML:
<constraint name="C1" arity="4" scope="V1 V2 V3 V4" reference="global:atmost">
<parameters>
1
[ V1 V2 V3 V4 ]
2
</parameters>
</constraint>
Constraint cumulative It is defined in the catalog as follows:
cumulative(TASKS,LIMIT)
TASKS collection(origin:dvar, duration:dvar, end:dvar, height:dvar)
LIMIT int Here, we have a collection of ordered items where each item corresponds to a task with 4 attributes (origin, duration, end and height), and a limit value. As an illustration, we can have in XML:
<constraint name="C1" arity="8" scope="O1 D1 E1 H1 O2 D2 E2 H2" reference="global:cumulative">
<parameters>
[ { O1 D1 E1 H1 } { O2 D2 E2 H2 } ]
8
</parameters>
</constraint>