[Paper Review] Decompositions of All Different, Global Cardinality and Related Constraints
This paper presents a decomposition of global constraints such as All-Different and Global Cardinality Constraint (GCC) into simple arithmetic constraints that maintain bound or range consistency, enabling efficient propagation without requiring monolithic propagators. The approach allows integration into new solvers and enables cross-constraint propagation via shared variables, with experiments showing significant search space reduction through Hall interval detection.
We show that some common and important global constraints like ALL-DIFFERENT and GCC can be decomposed into simple arithmetic constraints on which we achieve bound or range consistency, and in some cases even greater pruning. These decompositions can be easily added to new solvers. They also provide other constraints with access to the state of the propagator by sharing of variables. Such sharing can be used to improve propagation between constraints. We report experiments with our decomposition in a pseudo-Boolean solver.
Motivation & Objective
- To develop a decomposition of global constraints like All-Different and GCC into simple arithmetic constraints that preserve strong local consistency.
- To enable efficient integration of these constraints into new constraint solvers without implementing custom propagators.
- To provide shared variables across decompositions that enhance cross-constraint propagation.
- To explore whether complex propagation can be simulated via simple, modular decompositions.
- To investigate the impact of detecting Hall intervals on search space reduction.
Proposed method
- Decompose the All-Different constraint into arithmetic constraints using auxiliary variables to represent domain intervals and enforce pairwise distinctness via sum and range constraints.
- Use Hall intervals—intervals of values that exactly cover the domains of a number of variables equal to the interval size—as a basis for pruning.
- Implement bound consistency (BC) and range consistency (RC) propagation on the decomposed arithmetic constraints using standard constraint propagation techniques.
- Introduce augmented binary and Hall interval-based decompositions (BI and HI) to detect and exploit small and large Hall intervals for pruning.
- Integrate the decompositions into a pseudo-Boolean solver to evaluate performance on benchmark problems.
- Use shared auxiliary variables across constraints to propagate state information and improve filtering.
Experimental results
Research questions
- RQ1Can global constraints like All-Different and GCC be decomposed into simple arithmetic constraints while still achieving bound or range consistency?
- RQ2Does such a decomposition enable effective propagation comparable to monolithic propagators?
- RQ3Can the decomposition be easily integrated into new constraint solvers without custom implementation?
- RQ4To what extent does detecting Hall intervals reduce search space in practice?
- RQ5Can shared variables in the decomposition improve propagation between constraints?
Key findings
- The decomposition of All-Different and GCC constraints into arithmetic constraints achieves bound and range consistency, matching the pruning power of monolithic propagators.
- Experiments show that detecting small Hall intervals (HI₁) leads to significant reductions in backtracks and runtime, especially on double-wheel graceful graph instances.
- The augmented BI decomposition outperforms standard BI on many instances, particularly when large Hall intervals are present.
- On double-wheel graceful graphs, HI₁ reduced backtracks by up to 90% compared to standard BI on instances with 10 variables.
- The introduction of auxiliary variables enables cross-constraint propagation, improving filtering beyond isolated constraint processing.
- The results suggest that focusing propagation and nogood learning on small Hall intervals may be more effective than targeting large ones, except in cases where large intervals are frequent.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.