Skip to content

Global Difference Constraint Propagation for Constraint Programming

Jul 2026 · arXiv.org · Vol abs/2607.20022 · 0 citations · 32 references
Computer Science

TL;DR

This paper describes how to build a (bounds consistent) global propagator for difference constraints that treats them all simultaneously, and shows how to explain propagations by a global difference constraint propagator, in order to use it within a lazy clause generation solver.

Abstract

Difference constraints of the form $x - y \leq d$ 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.

View source

Similar papers

Open access Aug 2026

Efficient Reformulations of Half-reified Global Constraints using Auxiliary Variables

A set of reformulation rules are proposed that allow the use of half-reification of a global constraint with any CP solver that supports the “normal” global constraint propagator, and expand the range of available solvers and constraint models that can be used in XCP techniques or for solving CSPs with compound constra...

Ignace Bleukx, Hélène Verhaeghe, Dimos Tsouros et al. · 1 citation
Open access Jul 2026

Bound-Founded Semantics for Answer Set Programming with Difference Constraints: Preliminary Report

A many-sorted variant of the Bound-founded Logic of Here-and-There (HTb) is introduced, providing a versatile framework capable of characterizing equilibrium models across a wide spectrum of alternative semantics for extensions of ASP with linear constraints.

Pedro Cabalar, Jorge Fandinno, N. Rühling et al. · 0 citations
Conference 2026

From Literals to Atomic Constraints: Generalising Conflict-Driven Clause Learning for Constraint Programming

This work presents the first systematic analysis of how leading LCG solvers maintain their SAT encodings, based on source-code inspection and developer correspondence, and proposes a native CDCL framework for CP, replacing SAT literals with atomic constraints, enabling conflict analysis, nogood learning, and nogood pro...

Imko Marijnissen, Maarten Flippo, Emir Demirovi'c · 0 citations
Open access Aug 2026

Proving Total Correctness of Top-Down Solvers with Widening and Narrowing

The top-down solver TD is a generic fixpoint algorithm that can be used to compute partial post-solutions of equation systems for abstract interpretation. We consider two extensions of the TD to deal with infinite strictly ascending chains. For the TD extended with warrowing, we formally prove that it always returns pa...

Sarah Tilscher, Alexandra Graß, Helmut Seidl et al. · 0 citations

Using SAT-Solving

J. Bransen, L. T. van Binsbergen, Koen Claessen et al. · 0 citations
Review Open access Sep 2025

Termination Analysis of Linear-Constraint Programs

This paper aims to provide an overview of techniques in termination analysis for programs with numerical variables and transitions defined by linear constraints. This subarea of program analysis is challenging due to the existence of undecidable problems, and this paper systematically explores approaches that mitigate...

Amir M. Ben-Amram, S. Genaim, Joël Ouaknine et al. · 1 citation

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.