Skip to Main content Skip to Navigation
Journal articles

Embarrassingly Parallel Search in Constraint Programming

Abstract : We introduce an Embarrassingly Parallel Search (EPS) method for solving constraint problems in parallel, and we show that this method matches or even outperforms state-of-the-art algorithms on a number of problems using various computing infrastructures. EPS is a simple method in which a master decomposes the problem into many disjoint subprob-lems which are then solved independently by workers. Our approach has three advantages: it is an efficient method; it involves almost no communication or synchronization between workers; and its implementation is made easy because the master and the workers rely on an underlying constraint solver, but does not require to modify it. This paper describes the method, and its applications to various constraint problems (satisfaction, enumeration, optimization). We show that our method can be adapted to different underlying solvers (Gecode, Choco2, OR-tools) on different computing infrastructures (multi-core, data centers , cloud computing). The experiments cover unsatisfiable, enumeration and optimization problems, but do not cover first solution search because it makes the results hard to analyze. The same variability can be observed for optimization problems, but at a lesser extent because the optimality proof is required. EPS offers good average performance, and matches or outperforms other available parallel implementations of Gecode as well as some solvers portfolios. Moreover, we perform an in-depth analysis of the various factors that make this approach efficient as well as the anomalies that can occur. Last, we show that the decomposition is a key component for efficiency and load balancing.
Complete list of metadatas

Cited literature [98 references]  Display  Hide  Download
Contributor : Arnaud Malapert <>
Submitted on : Thursday, April 6, 2017 - 11:06:56 AM
Last modification on : Tuesday, May 26, 2020 - 6:50:56 PM
Document(s) archivé(s) le : Friday, July 7, 2017 - 12:52:19 PM


Publisher files allowed on an open archive




Arnaud Malapert, Jean-Charles Régin, Mohamed Rezgui. Embarrassingly Parallel Search in Constraint Programming. Journal of Artificial Intelligence Research, Association for the Advancement of Artificial Intelligence, 2016, 57, pp.421 - 464. ⟨10.1613/jair.5247⟩. ⟨hal-01502813⟩



Record views


Files downloads