discrete constraints
The constraints which restrict properties to a specific set of values (such as integers). These constraints can be applied to a property:
- Multiple
- Threshold
- BOOL
- AND
- MIN
- MAX
The Multiple and Threshold constraints are applied to a property in the Optimization definition. For example:
Multiple: Processes.planned production, 10
Where, the Pocesses.planned production is a multiple of 10.
The BOOL, AND, MIN, and MAX constraints can be defined in the Class Model through the property definition. The property definitions that include such a function with specified arguments, are posted as discrete constraint. For example:
A = BOOL(B)
This indicates that A = 1 when B > 0, and A = 0 when B <= 0. When A and B are posted, this BOOL function is considered as discrete constraint. In certain scenarios, discrete constraints can be removed during pre-optimization. Discrete constraints must be considered as having a negative impact Solver performance.