Global Difference Constraint Propagation for Constraint Programming
Lucas Kletzander, Jip J. Dekker, Andreas Schutt, Peter J. Stuckey
Abstract
Difference constraints of the form are well studied, with efficient algorithms for satisfaction and implication, because of their connection to shortest paths. Finite domain propagation algorithms, however, typically do not make use of these algorithms, and treat each difference constraint as a separate propagator. Propagation does guarantee completeness of solving, but can be needlessly slow. In this paper we describe how to build a (bounds consistent) global propagator for difference constraints that treats them all simultaneously. SAT modulo theory solvers have included theory solvers for difference constraints for some time. While a theory solver for difference constraints gives the basis of a global difference constraint propagator, we show how the requirements on the propagator are quite different. Crucially, we show how to explain propagations by a global difference constraint propagator, in order to use it within a lazy clause generation solver. We give experiments showing that treating difference constraints globally can substantially improve on the standard propagation approach.
Create a lesson
Related papers
Bound-Founded Semantics for Answer Set Programming with Difference Constraints: Preliminary Report
Shared title terminologycs.AIPedro Cabalar, Jorge Fandinno, Nicolas Rühling et al.
Do We Really Need an LLM for Weight-Space Programming? A Deterministic Forward-Only Paradigm and Its Capability Boundaries
Shared title terminologycs.AILin Yao
CA-RAG: Constraint-Aligned Retrieval for Structurally Faithful Long-Form Generation
Shared title terminologycs.AIVimal Kumar Kumar, Meghana Kshirsagar, Conor Ryan
Refining and Aligning Clinical Reasoning with Health Guidelines via Formal Constraints
Shared title terminologycs.AIXiaoyang Fan, Yufan Cai, Zhe Hou et al.
Same World, Differently Given: History-Dependent Perceptual Reorganization in Artificial Agents
Shared title terminologycs.AIHongju Pae
Integrating Reasoning Systems for Trustworthy AI, Proceedings of the 4th Workshop on Logic and Practice of Programming (LPOP)
Shared title terminologycs.AIAnil Nerode, Yanhong A. Liu