Gent, Ian, Jefferson, Christopher, Linton, Steve et al. (2 more authors) (2014) Generating custom propagators for arbitrary constraints. Artificial Intelligence. pp. 1-33. ISSN 0004-3702
Abstract
Constraint Programming (CP) is a proven set of techniques for solving complex combinatorial problems from a range of disciplines. The problem is specified as a set of decision variables (with finite domains) and constraints linking the variables. Local reasoning (propagation) on the constraints is central to CP. Many constraints have efficient constraint-specific propagation algorithms. In this work, we generate custom propagators for constraints. These custom propagators can be very efficient, even approaching (and in some cases exceeding) the efficiency of hand-optimised propagators. Given an arbitrary constraint, we show how to generate a custom propagator that establishes GAC in small polynomial time. This is done by precomputing the propagation that would be performed on every relevant subdomain. The number of relevant subdomains, and therefore the size of the generated propagator, is potentially exponential in the number and domain size of the constrained variables. The limiting factor of our approach is the size of the generated propagators. We investigate symmetry as a means of reducing that size. We exploit the symmetries of the constraint to merge symmetric parts of the generated propagator. This extends the reach of our approach to somewhat larger constraints, with a small run-time penalty. Our experimental results show that, compared with optimised implementations of the table constraint, our techniques can lead to an order of magnitude speedup. Propagation is so fast that the generated propagators compare well with hand-written carefully optimised propagators for the same constraints, and the time taken to generate a propagator is more than repaid.
Metadata
Item Type: | Article |
---|---|
Authors/Creators: |
|
Copyright, Publisher and Additional Information: | Copyright © 2014 The Authors. Published by Elsevier B.V. Open Access funded by Engineering and Physical Sciences Research Council. |
Keywords: | Constraint programming,Constraint satisfaction problem,Propagation algorithms,Combinatorial search |
Dates: |
|
Institution: | The University of York |
Academic Units: | The University of York > Faculty of Sciences (York) > Computer Science (York) |
Depositing User: | Pure (York) |
Date Deposited: | 27 Mar 2019 11:20 |
Last Modified: | 09 Apr 2025 23:21 |
Published Version: | https://doi.org/10.1016/j.artint.2014.03.001 |
Status: | Published |
Refereed: | Yes |
Identification Number: | 10.1016/j.artint.2014.03.001 |
Open Archives Initiative ID (OAI ID): | oai:eprints.whiterose.ac.uk:144140 |