##
**An optimal coarse-grained arc consistency algorithm.**
*(English)*
Zbl 1132.68691

Summary: The use of constraint propagation is the main feature of any constraint solver. It is thus of prime importance to manage the propagation in an efficient and effective fashion. There are two classes of propagation algorithms for general constraints: fine-grained algorithms where the removal of a value for a variable will be propagated to the corresponding values for other variables, and coarse-grained algorithms where the removal of a value will be propagated to the related variables. One big advantage of coarse-grained algorithms, like AC-3, over fine-grained algorithms, like AC-4, is the ease of integration when implementing an algorithm in a constraint solver. However, fine-grained algorithms usually have optimal worst case time complexity while coarse-grained algorithms do not. For example, AC-3 is an algorithm with non-optimal worst case complexity although it is simple, efficient in practice, and widely used. In this paper we propose a coarse-grained algorithm, AC2001/3.1, that is worst case optimal and preserves as much as possible the ease of its integration into a solver (no heavy data structure to be maintained during search). Experimental results show that AC2001/3.1 is competitive with the best fine-grained algorithms such as AC-6. The idea behind the new algorithm can immediately be applied to obtain a path consistency algorithm that has the best-known time and space complexity. The same idea is then extended to non-binary constraints.

### MSC:

68T20 | Problem solving in the context of artificial intelligence (heuristics, search strategies, etc.) |

### Keywords:

arc consistency; constraint programming systems; constraint networks; path consistency; non-binary constraints### Software:

Choco
PDF
BibTeX
XML
Cite

\textit{C. Bessière} et al., Artif. Intell. 165, No. 2, 165--185 (2005; Zbl 1132.68691)

### References:

[1] | Bessière, C.; Régin, J., Refining the basic constraint propagation algorithm, (), 309-315 |

[2] | Zhang, Y.; Yap, R., Making AC-3 an optimal algorithm, (), 316-321 |

[3] | Mackworth, A., Consistency in networks of relations, Artificial intelligence, 8, 99-118, (1977) · Zbl 0341.68061 |

[4] | McGregor, J., Relational consistency algorithms and their application in finding subgraph and graph isomorphism, Inform. sci., 19, 229-250, (1979) · Zbl 0442.68065 |

[5] | Mohr, R.; Henderson, T., Arc and path consistency revisited, Artificial intelligence, 28, 225-233, (1986) |

[6] | Bessière, C.; Freuder, E.C.; Régin, J.C., Using inference to reduce arc consistency computation, (), 592-598 |

[7] | Bessière, C.; Freuder, E.; Régin, J., Using constraint metaknowledge to reduce arc consistency computation, Artificial intelligence, 107, 125-148, (1999) · Zbl 0911.68192 |

[8] | Mackworth, A.; Freuder, E., The complexity of some polynomial network consistency algorithms for constraint satisfaction problems, Artificial intelligence, 25, 65-74, (1985) |

[9] | Chmeiss, A.; Jégou, P., Efficient path-consistency propagation, Internat. J. artificial intelligence tools, 7, 2, 121-142, (1998) |

[10] | Wallace, R., Why AC-3 is almost always better than AC-4 for establishing arc consistency in csps, (), 239-245 |

[11] | Bessière, C., Arc-consistency and arc-consistency again, Artificial intelligence, 65, 179-190, (1994) |

[12] | Dechter, R.; Pearl, J., Network-based heuristics for constraint-satisfaction problems, Artificial intelligence, 34, 1-38, (1988) · Zbl 0643.68156 |

[13] | Prosser, P., An empirical study of phase transition in binary constraint satisfaction problems, Artificial intelligence, 81, 1-2, 81-109, (1996) |

[14] | Frost, D.; Bessière, C.; Dechter, R.; Régin, J., Random uniform CSP generators, (1996) |

[15] | Cabon, C.; de Givry, S.; Lobjois, L.; Schiex, T.; Warners, J., Radio link frequency assignment, Constraints, 4, 79-89, (1999) · Zbl 1020.94500 |

[16] | Gent, I.; MacIntyre, E.; Prosser, P.; Shaw, P.; Walsh, T., The constrainedness of arc consistency, (), 327-340 |

[17] | Sabin, D.; Freuder, E., Contradicting conventional wisdom in constraint satisfaction, (), 10-20 |

[18] | Singh, M., Path consistency revisited, Internat. J. artificial intelligence tools, 6, 1-2, 127-141, (1996) |

[19] | Mackworth, A., On Reading sketch maps, (), 598-606 |

[20] | ILOG, User’s manual, ILOG Solver 4.4, ILOG S.A., 1999 |

[21] | Laburthe, F., User’s manual, CHOCO, (2000) |

[22] | Perlin, M., Arc consistency for factorable relations, Artificial intelligence, 53, 329-342, (1992) · Zbl 1193.68140 |

[23] | Gaschnig, J., Experimental case studies of backtrack vs waltz-type vs new algorithms for satisfying assignment problems, (), 268-277 |

[24] | Lecoutre, C.; Boussemart, F.; Hemery, F., Exploiting multidirectionality in coarse-grained arc consistency algorithms, (), 480-494 |

[25] | Wallace, R.; Freuder, E., Ordering heuristics for arc consistency algorithms, (), 163-169 |

[26] | Mohr, R.; Masini, G., Good old discrete relaxation, (), 651-656 |

[27] | Bessière, C.; Régin, J., Arc consistency for general constraint networks: preliminary results, (), 398-404 |

[28] | Van Hentenryck, P.; Deville, Y.; Teng, C., A generic arc-consistency algorithm and its specializations, Artificial intelligence, 57, 291-321, (1992) · Zbl 0763.68059 |

[29] | Zhang, Y.; Yap, R., Arc consistency on n-ary monotonic and linear constraints, (), 470-483 · Zbl 1044.68810 |

This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. It attempts to reflect the references listed in the original paper as accurately as possible without claiming the completeness or perfect precision of the matching.