arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1401.4605cs.AIcs.DS
收藏

加权约束满足中基于流的投影安全全局代价函数的一致性技术

Consistency Techniques for Flow-Based Projection-Safe Global Cost Functions in Weighted Constraint Satisfaction

The Chinese University of Hong Kong(香港中文大学)

J. H. M. Lee, Ka Lun Leung

摘要:

许多组合问题处理偏好和违规,其目标是找到最小成本的解决方案。加权约束满足是一个框架建模这样的问题,它包括一组成本函数来衡量违反的程度或偏好的不同组合的变量分配。加权约束满足问题(WCSP)的典型求解方法是基于分支定界搜索的,该方法通过使用AC *、FDAC *、EDAC * 等强大的一致性技术来推导隐藏的代价信息并在搜索过程中进行值修剪,从而使其实用化。然而,这些技术被设计成仅在以表格形式表示的二进制和三进制成本函数上是有效的。在处理许多现实生活中的问题时,需要高元(或全局)成本函数。我们调查有效的表示方案和算法带来的好处的一致性技术,也高arity成本函数,这往往是来自硬全球约束从经典的约束满足。文献中提出一些全局费用函数可以表示为流网络,最小费用流算法可以在多项式时间内计算这种网络的最小费用。我们表明,天真地采用这种基于流的算法方法的全局成本函数可以导致更强形式的零逆一致性。我们进一步展示了如何修改该方法来处理成本预测和扩展,以保持广义版本的AC * 和FDAC * 的成本函数超过两个变量。对于更强的EDAC *,类似的推广不那么简单。我们揭示了在共享多个变量的成本函数上实施EDAC * 时的振荡问题。为了避免振荡,我们提出了一个弱版本的EDAC * 和推广到弱EDGAC * 的非二进制成本函数。使用各种基准测试,涉及软变量的硬全局约束ALLDIFFERENT,GCC,EQUIPMENT和正则,实证结果表明,我们的建议提供了改进的数量级相比,传统的约束优化方法,无论是在时间和修剪。

英文摘要:

Many combinatorial problems deal with preferences and violations, the goal of which is to find solutions with the minimum cost. Weighted constraint satisfaction is a framework for modeling such problems, which consists of a set of cost functions to measure the degree of violation or preferences of different combinations of variable assignments. Typical solution methods for weighted constraint satisfaction problems (WCSPs) are based on branch-and-bound search, which are made practical through the use of powerful consistency techniques such as AC*, FDAC*, EDAC* to deduce hidden cost information and value pruning during search. These techniques, however, are designed to be efficient only on binary and ternary cost functions which are represented in table form. In tackling many real-life problems, high arity (or global) cost functions are required. We investigate efficient representation scheme and algorithms to bring the benefits of the consistency techniques to also high arity cost functions, which are often derived from hard global constraints from classical constraint satisfaction. The literature suggests some global cost functions can be represented as flow networks, and the minimum cost flow algorithm can be used to compute the minimum costs of such networks in polynomial time. We show that naive adoption of this flow-based algorithmic method for global cost functions can result in a stronger form of null-inverse consistency. We further show how the method can be modified to handle cost projections and extensions to maintain generalized versions of AC* and FDAC* for cost functions with more than two variables. Similar generalization for the stronger EDAC* is less straightforward. We reveal the oscillation problem when enforcing EDAC* on cost functions sharing more than one variable. To avoid oscillation, we propose a weak version of EDAC* and generalize it to weak EDGAC* for non-binary cost functions. Using various benchmarks involving the soft variants of hard global constraints ALLDIFFERENT, GCC, SAME, and REGULAR, empirical results demonstrate that our proposal gives improvements of up to an order of magnitude when compared with the traditional constraint optimization approach, both in terms of time and pruning.

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

↑