首页> 外文期刊>International journal of applied mathematics and computer science >A fine-grained arc-consistency algorithm for non-normalized constraint satisfaction problems
【24h】

A fine-grained arc-consistency algorithm for non-normalized constraint satisfaction problems

机译:非规范约束满足问题的细粒度弧一致性算法

获取原文
           

摘要

Constraint programming is a powerful software technology for solving numerous real-life problems. Many of these problems can be modeled as Constraint Satisfaction Problems (CSPs) and solved using constraint programming techniques. However, solving a CSP is NP-complete so filtering techniques to reduce the search space are still necessary. Arc-consistency algorithms are widely used to prune the search space. The concept of arc-consistency is bidirectional, i.e., it must be ensured in both directions of the constraint (direct and inverse constraints). Two of the most well-known and frequently used arc-consistency algorithms for filtering CSPs are AC3 and AC4. These algorithms repeatedly carry out revisions and require support checks for identifying and deleting all unsupported values from the domains. Nevertheless, many revisions are ineffective, i.e., they cannot delete any value and consume a lot of checks and time. In this paper, we present AC4-OP, an optimized version of AC4 that manages the binary and non-normalized constraints in only one direction, storing the inverse founded supports for their later evaluation. Thus, it reduces the propagation phase avoiding unnecessary or ineffective checking. The use of AC4-OP reduces the number of constraint checks by 50% while pruning the same search space as AC4. The evaluation section shows the improvement of AC4-OP over AC4, AC6 and AC7 in random and non-normalized instances.
机译:约束编程是一种功能强大的软件技术,可以解决许多现实生活中的问题。可以将这些问题中的许多模型化为约束满足问题(CSP),并使用约束编程技术来解决。但是,解决CSP是NP完全的,因此仍然需要减少搜索空间的过滤技术。弧一致性算法被广泛用于修剪搜索空间。圆弧一致性的概念是双向的,即必须在约束的两个方向(正向约束和反向约束)上确保它。用于过滤CSP的两种最著名和最常用的电弧一致性算法是AC3和AC4。这些算法反复执行修订,并要求进行支持检查以从域中识别和删除所有不受支持的值。但是,许多修订版本无效,即,它们不能删除任何值并消耗大量检查和时间。在本文中,我们介绍了AC4-OP,这是AC4的优化版本,它仅在一个方向上管理二进制和非规范化约束,存储了反向建立的支持以供以后评估。因此,它减少了传播阶段,避免了不必要或无效的检查。使用AC4-OP可以将约束检查的次数减少50%,同时修剪与AC4相同的搜索空间。评估部分显示了在随机和非标准化情况下,AC4-OP优于AC4,AC6和AC7。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号