TL;DR
This paper clarifies the confusion surrounding "bounds consistency" in constraint satisfaction problems (CSPs) by precisely defining three common but incompatible notions. It establishes a hierarchy of these consistencies and identifies conditions under which they become equivalent, providing a crucial reference for implementing and understanding constraint propagation algorithms.
What Problem Does This Paper Address?
Constraint programming is a powerful technique for solving complex problems by combining search with constraint propagation. Constraint propagation aims to prune the search space by removing inconsistent values from variable domains. For arithmetic constraints in finite integer domains, "bounds consistency" is a popular method for building these propagators. However, the literature presents multiple, often conflicting, definitions of bounds consistency. This ambiguity makes it difficult for practitioners to implement and for users to understand the behavior of constraint solvers claiming to support bounds consistency. This paper aims to resolve this confusion by clearly defining and comparing the existing notions of bounds consistency.
Methods
The authors meticulously define three distinct notions of bounds consistency:
- Bounds(D) consistency: Based on integer solutions, requiring that for each variable's domain bounds, there's a supporting integer solution.
- Bounds(Z) consistency: Also based on integer solutions, but requires supporting integer solutions where other variables' values are strictly within their bounds (not just within their domains).
- Bounds(R) consistency: Based on real solutions, requiring that for each variable's domain bounds, there's a supporting real solution.
They then analyze the relationships between these definitions, establishing a strict hierarchy: Bounds(D) is the strongest, followed by Bounds(Z), and then Bounds(R). The paper also investigates conditions under which these different notions become equivalent, particularly for monotonic constraints and certain types of linear equations. They use formal definitions, examples, and proofs to demonstrate these relationships.
Datasets
Not discussed in the paper. The paper focuses on theoretical definitions and properties of consistency notions rather than empirical evaluation on specific datasets.
Key Insights and Ideas
- The "Bounds Consistency" Label is Ambiguous: The core insight is that "bounds consistency" isn't a single concept but rather three distinct, incompatible notions (Bounds(D), Bounds(Z), Bounds(R)). This explains much of the historical confusion.
- A Clear Hierarchy Exists: The paper establishes a strict hierarchy of strength: Bounds(D) > Bounds(Z) > Bounds(R). This is crucial for understanding the pruning power of different propagators.
- Monotonicity is Key to Equivalence: For a significant class of constraints, specifically monotonic constraints (generalizations of linear inequalities), all three bounds consistency notions (and even domain consistency) become equivalent. This is a powerful result for understanding when simpler definitions suffice.
- Real vs. Integer Solutions Matter: The distinction between requiring integer solutions (Bounds(D), Bounds(Z)) and real solutions (Bounds(R)) is critical. Bounds(R) is weaker and computationally cheaper (linear time for linear equations) but can be less meaningful for purely integer constraints.
- NP-Completeness for Stronger Notions: Checking Bounds(Z) and Bounds(D) consistency for linear equations is NP-complete, highlighting a significant computational barrier compared to the linear time complexity of Bounds(R) consistency.
Key Results
- Formal Definitions: The paper provides precise, formal definitions for three commonly used notions of bounds consistency.
- Incompatibility Proven: The paper demonstrates that these three notions are generally incompatible, meaning a domain consistent with one might not be consistent with another.
- Hierarchy Established: A clear hierarchy of consistency strength is proven: Bounds(D) is stronger than Bounds(Z), which is stronger than Bounds(R).
- Equivalence Conditions Identified: For monotonic constraints and certain linear equations, the paper shows that Bounds(R), Bounds(Z), and Bounds(D) consistency (and even domain consistency) are equivalent.
- NP-Completeness for Linear Equations: Checking Bounds(Z) and Bounds(D) consistency for linear equations is shown to be NP-complete, while Bounds(R) consistency is linear time.
Limitations and Future Work
- Focus on Integer Domains: The paper primarily focuses on finite integer domains. While it touches upon real solutions for Bounds(R), a deeper exploration of bounds consistency for purely real-valued constraints might be a future direction.
- Specific Constraint Types: While the paper analyzes monotonic constraints and linear equations, exploring the equivalence of bounds consistency notions for other classes of constraints (e.g., non-monotonic constraints, global constraints beyond those discussed) could be valuable.
- Practical Implementation Guidance: While the paper provides theoretical clarity, further work could translate these precise definitions into concrete guidelines for implementing efficient and correct bounds propagators in constraint programming systems. The paper mentions that its definitions can serve as a basis for verifying implementations, which is a step in this direction.
Summary updated