将差分约束全局处理,大幅提升求解效率。
Global Difference Constraint Propagation for Constraint Programming
- 构建全局传播器,同时处理所有差分约束
- 实验表明求解速度显著优于传统方法
- 适合需要高效约束求解的优化场景
差分约束 $x - y \ leq d$ 有成熟的满足性与蕴含算法,因其与最短路径的关联。但有限域传播算法通常将每个差分约束独立处理,虽能保证求解完备性,却可能效率低下。本文提出一种(界一致)全局差分约束传播器,可同时处理所有约束。尽管基于 SAT 模理论求解器中的差分约束理论求解器已有先例,但本文指出传播器需求差异显著。关键在于实现全局传播的解释能力,以支持懒惰子句生成求解器。实验显示,全局处理可显著优于标准传播方法。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。