[Paper Review] Decomposition During Search for Propagation-Based Constraint Solvers
This paper introduces Decomposition During Search (DDS), a novel integration of And/Or tree search into propagation-based constraint solvers that dynamically decomposes sub-problems into independent partial problems to eliminate redundant search work. By leveraging constraint propagation and global constraints—particularly through decomposable propagators—DDS achieves average search tree reductions of 11.3x and 25.3x, and runtime speedups of 3- to 4-fold in hard #P problems like graph coloring and protein structure prediction.
We describe decomposition during search (DDS), an integration of And/Or tree search into propagation-based constraint solvers. The presented search algorithm dynamically decomposes sub-problems of a constraint satisfaction problem into independent partial problems, avoiding redundant work. The paper discusses how DDS interacts with key features that make propagation-based solvers successful: constraint propagation, especially for global constraints, and dynamic search heuristics. We have implemented DDS for the Gecode constraint programming library. Two applications, solution counting in graph coloring and protein structure prediction, exemplify the benefits of DDS in practice.
Motivation & Objective
- To eliminate redundant search work in propagation-based constraint solvers during exhaustive solution counting, a #P-hard problem.
- To integrate And/Or tree search dynamically into modern constraint programming systems that rely on constraint propagation and global constraints.
- To enable efficient decomposition of constraint sub-problems during search, particularly in the presence of global constraints.
- To demonstrate the practical performance benefits of DDS in real-world, hard combinatorial problems such as protein structure prediction and graph coloring.
- To evaluate how DDS interacts with dynamic search heuristics and constraint propagation, especially in complex constraint graphs.
Proposed method
- Introduces Decomposition During Search (DDS), a dynamic decomposition mechanism that identifies independent sub-problems during search based on constraint graph structure.
- Leverages constraint propagation to detect decomposability, enabling early detection of independent sub-problems without prior static analysis.
- Extends the Gecode constraint programming library with a prototype DDS engine supporting incremental constraint graph maintenance and dynamic sub-problem decomposition.
- Employs global constraint decomposability—especially for All-different and binary neighboring constraints—as a key enabler for effective decomposition.
- Uses a hybrid search strategy combining depth-first search with And/Or tree exploration, where independent sub-problems are solved in parallel via decomposition.
- Applies dynamic variable ordering heuristics within each sub-problem, preserving the benefits of adaptive search while minimizing redundant exploration.
Experimental results
Research questions
- RQ1How can And/Or tree search be effectively integrated into propagation-based constraint solvers without sacrificing performance or modularity?
- RQ2To what extent does constraint propagation influence the detectability and effectiveness of dynamic sub-problem decomposition?
- RQ3How do global constraints, particularly those with efficient propagators, enable or constrain the application of decomposition during search?
- RQ4What performance improvements can be achieved in hard #P problems like solution counting for graph coloring and protein structure prediction using DDS?
- RQ5How does DDS interact with dynamic search heuristics, and can it be combined effectively with existing constraint solver features?
Key findings
- DDS achieved an average search tree size reduction of 11.3x on the PS-48 test set (48-length HP-sequences) and 25.3x on PS-64 (64-length sequences) compared to standard DFS.
- The number of constraint propagations was reduced by a factor of 3.27 on PS-48 and 5.43 on PS-64, indicating significant pruning of redundant work.
- Despite using the same variable selection heuristics, DDS achieved a 3- to 4-fold runtime speedup over DFS, demonstrating competitive performance with minimal implementation overhead.
- The performance gain of DDS increases with problem size and solution degeneracy, highlighting its scalability on hard, high-degeneracy instances.
- The success of DDS is highly dependent on the decomposability of the constraint graph, with some constraints (e.g., linear equations) inherently limiting decomposition opportunities.
- Global constraint decomposition—especially of the All-different constraint in protein structure prediction—was identified as a critical enabler for effective DDS application.
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.