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

用BEE编译对SAT的有限域约束:Director's Cut

Compiling Finite Domain Constraints to SAT with BEE: the Director's Cut

Michael Codish, Yoav Fekete, Amit Metodi

摘要:

BEE是一个编译器,它通过将有限域约束编码为CNF并应用底层SAT求解器来简化有限域约束的求解。在BEE中,约束被建模为布尔函数,该布尔函数传播关于布尔文字之间的等式的信息。然后应用该信息来简化约束的CNF编码。我们把这个过程称为等传播。一个关键因素是,一次只考虑约束模型的一小部分,可以应用更强大的,甚至是完整的推理来检测该部分中的等效文字。一旦检测到,等价物传播以简化整个约束模型并促进对其他片段的进一步推理。BEE在最近的几篇论文中有描述。在本文中,经过快速审查的BEE,我们详细说明了两个没有文档的实现细节:混合编码的基数约束和完整的等传播。然后,我们描述正在进行的工作,旨在扩展BEE考虑二进制表示的数字。

英文摘要:

BEE is a compiler which facilitates solving finite domain constraints by encoding them to CNF and applying an underlying SAT solver. In BEE constraints are modeled as Boolean functions which propagate information about equalities between Boolean literals. This information is then applied to simplify the CNF encoding of the constraints. We term this process equi-propagation. A key factor is that considering only a small fragment of a constraint model at one time enables to apply stronger, and even complete reasoning to detect equivalent literals in that fragment. Once detected, equivalences propagate to simplify the entire constraint model and facilitate further reasoning on other fragments. BEE is described in several recent papers. In this paper, after a quick review of BEE, we elaborate on two undocumented details of the implementation: the hybrid encoding of cardinality constraints and complete equi-propagation. We thendescribe on-going work aimed to extend BEE to consider binary representation of numbers.

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

↑