Basic Constraints

The following table shows how create basic constraints using Rule Assembly Language.

Constraint Type Advanced Rule Language

A requires B noncumulatively

req(A, B)

A requires B cumulatively

inc(A,B)

A excludes B

excl(A,B)

A provides the amount B to C

inc(*(A,B),C)

A consumes the amount B from C

inc(*(A,-(B)),C)

A's minimum quantity is B, enforced

>=(A,B)

A's maximum quantity is B, enforced

<=(A,B)

A recommends B

rec(req(A,B))