arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1504.05846cs.AI
收藏

广义支持度与约束推理机的形式化开发

Generalized Support and Formal Development of Constraint Propagators

University of Wyoming(怀俄明大学);University of St Andrews(圣安德鲁斯大学)

James Caldwell, Ian P. Gent, Peter Nightingale

摘要:

约束编程(英语:Constraint programming)是一种用于解决组合问题的技术,其中问题被建模为一组决策变量(通常具有有限域)和一组表达决策变量之间关系的约束。约束编程中的一个关键概念是传播:对一个约束或一组约束进行推理,以导出新的事实,通常是从决策变量的域中删除值。对于许多类约束,存在专门的传播算法(传播器)。支持度的概念在传播子的设计中是普遍存在的。传统上,当一个域值不再有支持时,它可能会被删除,因为它不参与任何解决方案。诸如AC 2001之类的弧一致性算法利用单个域值形式的支持。GAC算法(如GAC-Schema)使用一个值元组来支持每个文字。我们以两种方式概括这些支持的概念。首先,我们允许一组元组作为支持。其次,将支持对象从一组文字(GAC-Schema)推广到整个约束或其中的任意部分,设计了一种利用广义支持度构造正确传播子的方法。一个约束被表示为一个家庭的支持属性,这可能是证明正确的约束的形式语义。利用Curry-Howard同构将构造性证明解释为程序,我们展示了如何从支撑性质的构造性证明中导出正确的传播子。该框架经过精心设计,可以产生高效的算法。派生算法可以利用动态文字触发器或监视文字来提高效率。最后,给出了两个推导有效算法的实例。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑