5.79. compare_and_count
DESCRIPTION | LINKS |
- Origin
- Constraint
- Arguments
- Restrictions
- Purpose
Enforce the condition
.
- Example
-
The constraint holds since no more than pairs of variables are equal, i.e.,Β the first, third and fifth pairs.
- Typical
- Arg. properties
Contractible wrt. and (remove items from same position) when .
Extensible wrt. and (add items at same position) when .
- See also
- Keywords
constraint type: predefined constraint, counting constraint.