[Paper Review] Combining finite and continuous solvers
This paper presents a lightweight, interoperable bridge between the finite domain solver Choco and the continuous domain solver Ibex, enabling Choco to natively use Ibex's interval arithmetic for modeling complex continuous constraints. By embedding Ibex as a global constraint, Choco gains expressive power for nonlinear and statistical constraints without duplicating development efforts, significantly enhancing modeling flexibility while reducing maintenance overhead.
Combining efficiency with reliability within CP systems is one of the main concerns of CP developers. This paper presents a simple and efficient way to connect Choco and Ibex, two CP solvers respectively specialised on finite and continuous domains. This enables to take advantage of the most recent advances of the continuous community within Choco while saving development and maintenance resources, hence ensuring a better software quality.
Motivation & Objective
- To address the challenge of integrating advanced continuous-domain solving techniques into finite-domain solvers like Choco without duplicating effort.
- To enable Choco users to model complex continuous constraints—such as nonlinear equations, statistical functions, and physical models—using a simple, expressive interface.
- To allow both Choco and Ibex developers to focus on their respective strengths (finite and continuous domains) while improving software quality through shared maintenance.
- To provide a generic, reusable integration pattern that can be extended to other solvers or modeling frameworks.
Proposed method
- Designing a bridge that exposes Ibex's contractors as global constraints within Choco’s constraint propagation framework.
- Representing continuous constraints as strings of mathematical expressions (e.g., "(x+y)/2=z") that are parsed and executed by Ibex’s interval arithmetic engine.
- Using real variable views in Choco to link finite domain integer variables to continuous expressions, enabling hybrid modeling.
- Leveraging Ibex’s built-in contractors (e.g., HC4, Shaving, X-newton) for bound consistency propagation on continuous constraints.
- Implementing a lightweight, language-agnostic interface that avoids deep code integration while preserving performance and correctness.
- Validating the approach on a real-world hybrid problem (Santa Claus) involving integer assignment and continuous objective functions.
Experimental results
Research questions
- RQ1Can a finite domain solver like Choco efficiently and reliably leverage the advanced continuous solving capabilities of a dedicated continuous solver like Ibex?
- RQ2How can the integration of continuous solvers into finite domain frameworks be achieved with minimal implementation and maintenance overhead?
- RQ3To what extent can hybrid modeling—combining discrete and continuous constraints—be expressed naturally and efficiently using this bridge?
- RQ4What is the impact of this integration on modeling expressiveness, especially for nonlinear and statistical constraints?
- RQ5Can this approach be generalized to other solvers or used as a template for future solver interoperation?
Key findings
- The bridge successfully enables Choco to model and solve hybrid problems involving both finite and continuous domains using a simple, string-based interface.
- The integration allows direct modeling of complex continuous constraints such as statistical functions (e.g., Deviation, Spread) and nonlinear equations without ad hoc reformulations.
- The Santa Claus problem was solved optimally with an average deviation of 2.8888888888888866, demonstrating the framework’s practical effectiveness.
- The approach reduces development and maintenance costs by reusing Ibex’s mature continuous solving technology within Choco.
- The use of real variable views allows integer variables to be seamlessly involved in continuous expressions, expanding modeling scope.
- The framework is generic and extensible, providing a reusable model for interoperability between specialized solvers.
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.