arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 0906.3527cs.DScs.DM
收藏

适用于最大2-Sat、最大2- CSP以及介于两者之间的所有数据的通用最快算法

A universally fastest algorithm for Max 2-Sat, Max 2-CSP, and everything in between

Serge Gaspers, Gregory B. Sorkin

摘要:

在本文中,我们介绍了“混合”的最大2-CSP公式组成的“简单条款”,即合取和析取的变量对,和一般的2-变量条款,它可以是任何整数值的布尔变量对的函数。这允许算法使用特定于AND和OR子句的有效约简,以及需要通用CSP设置的其他强大约简。我们使用这里介绍的新的减少,和最近的减少,如“子句学习”和“2-减少”推广到我们的设置的简单和一般条款的混合物。通过非简单子句的分数p参数化实例,我们给出了一个精确的(指数时间)算法,这是已知的最快的多项式空间算法,p=0(包括经过充分研究的Max 2-Sat问题,但也包括任意混合AND和OR子句的实例);唯一有效的AND,OR和一般整数值子句混合算法;并且对于一般Max 2-CSP(p=1)并列为最快。由于纯2-Sat输入实例在求解过程中可能被转换为通用CSP实例,因此算法的效率和通用性是齐头并进的。我们的算法分析和优化是一个变化的熟悉的测量和征服的方法,导致优化的数学程序,是凸的,而不仅仅是准凸的,因此可以有效地解决,并与证书的最优性。我们产生了一个家庭的运行时间上限公式,每个优化的实例与特定值的p,但有效的所有实例。

英文摘要:

In this paper we introduce "hybrid" Max 2-CSP formulas consisting of "simple clauses", namely conjunctions and disjunctions of pairs of variables, and general 2-variable clauses, which can be any integer-valued functions of pairs of boolean variables. This allows an algorithm to use both efficient reductions specific to AND and OR clauses, and other powerful reductions that require the general CSP setting. We use new reductions introduced here, and recent reductions such as "clause-learning" and "2-reductions" generalized to our setting's mixture of simple and general clauses. Parametrizing an instance by the fraction p of non-simple clauses, we give an exact (exponential-time) algorithm that is the fastest known polynomial-space algorithm for p=0 (which includes the well-studied Max 2-Sat problem but also instances with arbitrary mixtures of AND and OR clauses); the only efficient algorithm for mixtures of AND, OR, and general integer-valued clauses; and tied for fastest for general Max 2-CSP (p=1). Since a pure 2-Sat input instance may be transformed to a general CSP instance in the course of being solved, the algorithm's efficiency and generality go hand in hand. Our algorithm analysis and optimization are a variation on the familiar measure-and-conquer approach, resulting in an optimizing mathematical program that is convex not merely quasi-convex, and thus can be solved efficiently and with a certificate of optimality. We produce a family of running-time upper-bound formulas, each optimized for instances with a particular value of p but valid for all instances.

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

↑