[Paper Review] Distributed solving through model splitting
This paper proposes a novel method for distributed constraint solving by splitting the search space through model modification rather than altering the solver. It partitions the domain of the current variable into equal parts, adds constraints to restrict each submodel to one partition, enabling independent, communication-free solving across machines—offering fault tolerance, restartability, and portability without solver-level parallelism support.
Constraint problems can be trivially solved in parallel by exploring different branches of the search tree concurrently. Previous approaches have focused on implementing this functionality in the solver, more or less transparently to the user. We propose a new approach, which modifies the constraint model of the problem. An existing model is split into new models with added constraints that partition the search space. Optionally, additional constraints are imposed that rule out the search already done. The advantages of our approach are that it can be implemented easily, computations can be stopped and restarted, moved to different machines and indeed solved on machines which are not able to communicate with each other at all.
Motivation & Objective
- Address the challenge of efficiently distributing large-scale constraint problems across non-communicating machines.
- Overcome limitations of traditional parallel solvers that require tight coupling, work stealing, or solver-level modifications.
- Enable fault tolerance and restartability by encoding search state as constraints in the model.
- Provide a simple, generic, and portable method for distributing constraint solving that works across heterogeneous or disconnected systems.
- Support both complete and partial search space partitioning to improve load balancing and resource utilization in large problems.
Proposed method
- Stop the solver at a chosen search point and generate restart nogoods to encode the current search state.
- Partition the domain of the currently assigned variable into n approximately equal-sized segments.
- Create n new constraint models, each with an additional constraint restricting the variable to one partition (e.g., x ≤ 2 or x ≥ 3).
- Solve each model independently on separate machines, with no communication required during execution.
- Use the same restart nogoods across all models to prevent re-exploring previously searched regions.
- Dynamically adjust the splitting factor and time allocation based on resource utilization and performance feedback.
Experimental results
Research questions
- RQ1Can constraint problems be effectively distributed without modifying the solver or requiring networked communication?
- RQ2How can search state be preserved and reused across independent solvers to avoid redundant computation?
- RQ3To what extent can model splitting improve load balancing and resource utilization in large, long-running constraint problems?
- RQ4Can this approach support fault tolerance, restartability, and portability across different machines and solvers?
- RQ5How does model splitting compare to traditional work-stealing or distributed backtracking in terms of simplicity and scalability?
Key findings
- Model splitting enables distributed solving without requiring solver-level parallelism or network communication between workers.
- The approach supports restarting and moving computations between machines, even if they are not connected during execution.
- Restart nogoods ensure that previously explored search space is not revisited, maintaining correctness across splits.
- The method is particularly effective for large problems that take hours or days to solve, where communication overhead would otherwise dominate.
- The technique allows for dynamic adjustment of splitting parameters to improve resource utilization and load balancing over time.
- The approach is generic and can be implemented in any constraint solver that supports outputting and reusing search state as constraints.
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.