Generalized Support and Formal Development of Constraint Propagators

04/22/2015
by   James Caldwell, et al.
0

Constraint programming is a family of techniques for solving combinatorial problems, where the problem is modelled as a set of decision variables (typically with finite domains) and a set of constraints that express relations among the decision variables. One key concept in constraint programming is propagation: reasoning on a constraint or set of constraints to derive new facts, typically to remove values from the domains of decision variables. Specialised propagation algorithms (propagators) exist for many classes of constraints. The concept of support is pervasive in the design of propagators. Traditionally, when a domain value ceases to have support, it may be removed because it takes part in no solutions. Arc-consistency algorithms such as AC2001 make use of support in the form of a single domain value. GAC algorithms such as GAC-Schema use a tuple of values to support each literal. We generalize these notions of support in two ways. First, we allow a set of tuples to act as support. Second, the supported object is generalized from a set of literals (GAC-Schema) to an entire constraint or any part of it. We design a methodology for developing correct propagators using generalized support. A constraint is expressed as a family of support properties, which may be proven correct against the formal semantics of the constraint. Using Curry-Howard isomorphism to interpret constructive proofs as programs, we show how to derive correct propagators from the constructive proofs of the support properties. The framework is carefully designed to allow efficient algorithms to be produced. Derived algorithms may make use of dynamic literal triggers or watched literals for efficiency. Finally, two case studies of deriving efficient algorithms are given.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/22/2019

A Hypergraph Based Approach for the 4-Constraint Satisfaction Problem Tractability

Constraint Satisfaction Problem (CSP) is a framework for modeling and so...
research
02/04/2014

Short and Long Supports for Constraint Propagation

Special-purpose constraint propagation algorithms frequently make implic...
research
07/10/2020

Half-checking propagators

Propagators are central to the success of constraint programming, that i...
research
01/21/2014

Domain Views for Constraint Programming

Views are a standard abstraction in constraint programming: They make it...
research
06/08/2015

NP-hardness of sortedness constraints

In Constraint Programming, global constraints allow to model and solve m...
research
01/17/2013

View-based propagation of decomposable constraints

Constraints that may be obtained by composition from simpler constraints...
research
02/14/2017

Constraint Answer Set Solver EZCSP and Why Integration Schemas Matter

Researchers in answer set programming and constraint programming have sp...

Please sign up or login with your details

Forgot password? Click here to reset