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

用于软约束的SAT近似至多k编码

Approximate-At-Most-k Encoding of SAT for Soft Constraints

Shunji Nishimura

AI总结:

本文提出近似至多k编码方法,以显著减少SAT中至多k约束的布尔表达式数量,虽牺牲完备性,但作为软约束仍能覆盖可观解空间,是一种高效替代编码方案。

摘要:

在布尔可满足性问题(SAT)领域,至多k约束(at-most-k constraints)用于将真值目标变量的数量限制在至多k个,常被用来描述目标问题。至多k约束不仅用于绝对必要的约束(硬约束),也用于具有挑战性的约束(软约束),以搜索更好的解。将至多k约束编码为布尔表达式时存在一个问题:布尔表达式的数量基本上会随目标变量数量呈指数增长,因此当变量数量很大时,至多k约束往往面临困难。为了解决这一问题,本文提出了一种新的至多k约束编码方法,称为近似至多k(approximate-at-most-k)。一方面,该方法的布尔表达式总数少于传统方法;另一方面,它丧失了完备性,即某些满足原始至多k约束的布尔值赋值在近似至多k下不被允许,因此称之为近似。尽管不具备完备性,但仅将其用作软约束时仍具有潜在优势。例如,对32个变量中的近似至多16约束,其文字数量仅为传统至多k约束的15%,并且覆盖了44%的解空间。因此,近似至多k可以成为至多k的一种替代编码方法,尤其是在作为软约束使用时。

英文摘要:

In the field of Boolean satisfiability problems (SAT), at-most-k constraints, which suppress the number of true target variables at most k, are often used to describe objective problems. At-most-k constraints are used not only for absolutely necessary constraints (hard constraints) but also for challenging constraints (soft constraints) to search for better solutions. To encode at-most-k constraints into Boolean expressions, there is a problem that the number of Boolean expressions basically increases exponentially with the number of target variables, so at-most-k often has difficulties for a large number of variables. To solve this problem, this paper proposes a new encoding method of at-most-k constraints, called approximate-at-most-k, which has totally fewer Boolean expressions than conventional methods on the one hand. On the other hand, it has lost completeness, i.e., some Boolean value assignments that satisfy the original at-most-k are not allowed with approximate-at-most-k; hence, it is called approximate. Without completeness, we still have potential benefits by using them only as soft constraints. For example, approximate-at-most-16 out of 32 variables requires only 15% of a conventional at-most-k on the literal number and covers 44% of the solution space. Thus, approximate-at-most-k can become an alternative encoding method for at-most-k, especially as soft constraints.

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

↑