arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1810.12975cs.LOmath.CO
收藏

SAT求解器中基数约束编码的比较

A comparison of encodings for cardinality constraints in a SAT solver

Ed Wynn

摘要:

基数约束在许多SAT问题中很重要;以前的研究提供了关于最佳编码的矛盾结论。在这里,比较了三种编码:Sinz的顺序计数器,Bailleux和Boufkhad的基于树的方法,以及Ab 'ıo和同事的基于排序的方法。顺序计数器的方法被发现是最快的这些相关的,组合的测试用例的范围。所有编码都允许辅助变量中的多个解决方案用于主变量的单个解决方案;多个解决方案的数量可以非常大,并且可能会妨碍Sat求解器。开发了编码的变体,其中额外的子句减少了多个解决方案的数量。这些变量被发现有显着的影响不大的解决方案的时间,即使条款的数量大约是一倍。结果强调了众所周知的观察,子句计数和编码大小的其他措施是不可靠的指标的难度,一个SAT问题。

英文摘要:

Cardinality constraints are important in many Sat problems; previous studies provide contradictory conclusions about the best encoding to use. Here, three encodings are compared: Sinz's sequential-counter, Bailleux and Boufkhad's tree-based, and Ab\'ıo and coworkers' sort-based approaches. The sequential-counter approach is found to be the fastest of these for a range of related, combinatorial test cases. All encodings permit multiple solutions in the auxiliary variables for a single solution to the main variables; the numbers of multiple solutions can be very large, and might impede a Sat solver. Variants of the encodings are developed, where extra clauses reduce the numbers of multiple solutions. These variants are found to have remarkably little effect on solution time, even when the number of clauses is approximately doubled. The results accentuate the well-known observation that clause count and other measures of encoding size are not reliable indicators of the difficulty of a Sat problem.

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

↑