TL;DR
This paper investigates the computational complexity of bound propagation, a core technique in constraint programming for narrowing down variable domains. The authors prove that computing the fixpoint of even simple linear constraints is NP-complete, explaining why existing algorithms can be slow and suggesting that truly polynomial-time solutions are unlikely for general cases.
What Problem Does This Paper Address?
Constraint Programming (CP) solvers often use a "branch and prune" strategy. A crucial part of the "prune" step is bound propagation, where constraints are used to reduce the possible range of values (domains) for variables. This process is repeated until no further reductions are possible (a fixpoint is reached). While this is effective when variable domains are small, it can become prohibitively slow when domains are large, as the number of iterations can grow exponentially with the size of the domain representation. The paper asks a fundamental question: is this slow convergence an artifact of suboptimal algorithms, or is the problem of finding a bound-consistent fixpoint inherently hard, even for simple constraints?
Methods
The paper focuses on bound(R) consistency, a common form of consistency where variable bounds are maintained using real-valued supports. The core of the paper involves analyzing the complexity of computing the greatest common fixpoint of a set of propagators (functions that narrow domains).
The authors introduce two main computational problems:
- Function Problem: Compute the greatest common fixpoint.
- Decision Problem: Determine if the greatest common fixpoint is non-empty (i.e., if the propagators stabilize to non-empty domains).
The primary focus is on the Decision Problem. They analyze the complexity of fixpoint computation for various types of constraints:
- Linear Inequalities: They prove that computing a fixpoint for systems of linear inequalities is NP-complete. This is achieved by reducing the problem to Two Variables Per Inequality (TVPI) Integer Linear Programming, which is known to be NP-complete.
- Monotone TVPI Constraints: A restricted class of TVPI constraints where coefficients have opposite signs. They show that fixpoint computation for these is equivalent to deciding the feasibility of monotone TVPI Integer Programs, which is NP-complete.
- Quadratic Constraints: Adding simple squaring operations to linear constraints strengthens the NP-completeness result, making it NP-complete even for a bounded number of variables and constraints.
- Max Constraints: The fixpoint computation for max constraints mixed with unit linear constraints is shown to be equivalent to an open problem called Max-Atom, suggesting a complex relationship.
- Unit Linear Constraints: A tractable case is identified where all coefficients in linear constraints are units ({−1, 0, +1}). In this specific scenario, fixpoint computation can be solved in polynomial time using Linear Programming, as rounding is effectively eliminated.
Datasets
Not discussed in the paper.
Key Insights and Ideas
- Inherent Hardness: The paper demonstrates that the slow convergence observed in bound propagation for numerical constraints is not just an algorithmic issue but an intrinsic property of the problem itself. Computing a fixpoint for simple linear constraints is NP-complete.
- Explaining Slow Convergence: The NP-completeness result provides a theoretical explanation for why standard iterative fixpoint algorithms can take exponential time, especially with large domains.
- Tractable Cases Exist: While the general problem is hard, the paper identifies specific, restricted cases (like unit linear constraints) where efficient, polynomial-time solutions are possible. This highlights the importance of constraint structure.
- Connection to Integer Programming: The NP-completeness proofs rely heavily on reductions to known NP-complete problems in Integer Linear Programming, particularly TVPI feasibility.
- Max-Atom Equivalence: The complexity of fixpoint computation for max constraints is linked to the Max-Atom problem, an open problem with connections to parity games and model-checking, indicating deep theoretical links.
Key Results
- NP-Completeness for Linear Constraints: The core result is that the decision problem of whether a set of bound(R) consistency propagators for linear inequalities has a non-empty common fixpoint is NP-complete. This holds even for monotone TVPI constraints.
- Strengthened Hardness for Quadratic Constraints: Adding simple squaring operations to linear constraints makes the problem NP-complete even with a bounded number of variables and constraints.
- Tractability for Unit Linear Constraints: Fixpoint computation for linear constraints with unit coefficients can be solved in polynomial time.
- Open Problem for Max Constraints: The fixpoint computation for max constraints mixed with unit linear constraints is equivalent to the Max-Atom problem, whose complexity is an open question.
Limitations and Future Work
- Focus on Bound(R) Consistency: The paper primarily focuses on bound(R) consistency. While it mentions bound(Z) consistency, it notes that for linear equalities, bound(Z) consistency propagators might not be polynomial-time computable unless P=NP.
- General Linear Constraints: The NP-completeness result holds for general linear constraints. The paper identifies a tractable case (unit coefficients) but leaves open the question of whether other restrictions on coefficients (beyond unit) might lead to fixed-parameter tractability.
- Max-Atom Complexity: The complexity of fixpoint computation for max constraints remains an open problem, linked to the Max-Atom problem.
- Future Work: The authors suggest exploring fixed-parameter tractability for general coefficient bounds in linear constraints and further investigating the Max-Atom problem. They also briefly touch upon max-closed constraints and their tractability.
Summary updated