Abstract
Several methods for dynamically adapting the local consistency property applied by a CP solver during search have been put forward in recent and older literature. We propose the classification of such methods in three categories depending on the level of granularity where decisions about which local consistency property to apply are taken: node, variable, and value oriented. We then present a detailed review of existing methods from each category, and evaluate them theoretically according to several criteria. Taking one recent representative method from each class, we then perform an experimental study. Results show that simple variable and value oriented methods are quite efficient when the older dom/ddeg heuristic is used for variable ordering, while a carefully tuned node oriented method does not seem to offer notable improvement compared to standard arc consistency propagation. In contrast, under the more realistic setting of dom/wdeg, the variable and value oriented methods cannot compete with standard propagation, while the node oriented method is very efficient. Finally, we obtain a new adaptive propagation method by integrating the variable and value oriented approaches and adding an amount of randomization The resulting method is simple, competitive, and almost parameter-free.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Notes
Of course, value ordering also plays a part, but to a much lesser degree than variable ordering.
ValAdapt displays high total cpu time on qcp because of one instance where the interaction between propagation and dom/wdeg seems to mislead search. It is faster than AC on the rest of the instances.
This is due to the interplay between the propagation mechanism and dom/wdeg. RVarVal takes 4.7 million nodes to solve this instance while AC takes 2.7 million.
References
Balafrej A, Bessiere C, Bouyakh E, Trombettoni G (2014) Adaptive singleton-based consistencies. In: Proceedings of the twenty-eighth AAAI conference on artificial intelligence, pp 2601–2607
Balafrej A, Bessiere C, Coletta R, Bouyakh E (2013) Adaptive parameterized consistency. In: Proceedings of the CP-2013, pp 143–158
Balafrej A, Bessiere C, Paparrizou A (2015) Multi-armed bandits for adaptive constraint propagation. In: Proceedings of the twenty-fourth international joint conference on artificial intelligence, IJCAI 2015, Buenos Aires, Argentina, July 25–31, 2015, pp 290–296
Bennaceur H, Affane M (2001) Partition-k-AC: an efficient filtering technique combining domain partition and arc consistency. In: Principles and practice of constraint programming—CP 2001, 7th international conference, CP 2001, Paphos, Cyprus, November 26–December 1, 2001, Proceedings, pp 560–564
Berlandier P (1995) Improving domain filtering using restricted path consistency. In: Proceedings of IEEE CAIA’95, pp 32–37
Bessiere C, Cardon S, Debruyne R, Lecoutre C (2011) Efficient algorithms for singleton ARC consistency. Constraints 16:25–53
Bessière C, Régin J (1996) MAC and combined heuristics: two reasons to forsake FC (and CBJ?). In: Proceedings of CP’96. Cambridge MA, pp 61–75
Bessière C, Stergiou K, Walsh T (2008) Domain filtering consistencies for non-binary constraints. Artif Intell 172(6–7):800–822
Bessiere C, Paparrizou A, Stergiou K (2015) Strong bounds consistencies and their application to linear constraints. Proc AAAI 2015:3717–3723
Borrett J, Tsang E, Walsh N (1996) Adaptive constraint satisfaction: the quickest first principle. In: Proceedings of ECAI’96, pp 160–164
Boussemart F, Heremy F, Lecoutre C, Sais L (2004) Boosting systematic search by weighting constraints. In: Proceedings of ECAI’04, pp 482–486
Debruyne R, Bessière C (1997) From restricted path consistency to max-restricted path consistency. In: Proceedings of CP-97, pp 312–326
Debruyne R, Bessière C (2001) Domain filtering consistencies. JAIR 14:205–230
Dechter R, van Beek P (1997) Local and global relational consistency. Theoret Comput Sci 173:283–308
El Sakkout H, Wallace M, Richards B (1996) An instance of adaptive constraint propagation. In: Proceedings of CP’96, pp 164–178
Epstein S, Freuder EC, Wallace R, Morozov A, Samuels B (2002) The adaptive constraint engine. In: Proceedings of CP-2002, pp 525–540
Epstein S, Freuder E, Wallace R, Li X (2005) Learning propagation policies. In: Proceedings of the international workshop on constraint propagation and implementation, pp 1–15
Freuder E, Elfe C (1996) Neighborhood inverse consistency preprocessing. In: Proceedings of AAAI’96, pp 202–208
Freuder E, Wallace R (1991) Selective relaxation for constraint satisfaction problems. In: Proceedings of ICTAI’91
Gomes C, Selman B, Kautz H (1998) Boosting combinatorial search through randomization. In: Proceedings of AAAI-98, pp 431–437
Haralick R, Elliot G (1980) Increasing tree search efficiency for constraint satisfaction problems. Artif Intell 14:263–313
Janssen P, Jégou P, Nouguier B, Vilarem M (1989) A filtering process for general constraint satisfaction problems: achieving pairwise consistency using an associated binary representation. In: Proceedings of the IEEE workshop on tools for artificial intelligence, pp 420–427
Karakashian S, Woodward R, Reeson C, Choueiry B, Bessière C (2010) A first practical algorithm for high levels of relational consistency. In: Proceedings of AAAI’10, pp 101–107
Katriel I, Van Hentenryck P (2006) Randomized filtering algorithms. Technical report CS-06-09, Brown University
Lecoutre C (2011) Str2: optimized simple tabular reduction for table constraints. Constraints 16(4):341–371
Lecoutre C, Paparrizou A, Stergiou K (2012) Extending STR to a higher-order consistency. In: Proceedings of AAAI’13
Lhomme O (2005) Quick shaving. In: Proceedings of AAAI’05, pp 411–415
Likitvivatanavong C, Wei X, Yap RHC (2014) Higher-order consistencies through GAC on factor variables. In: Principles and practice of constraint programming—20th international conference, CP 2014. Proceedings, pp 497–513
Mehta D, van Dongen M (2007) Probabilistic consistency boosts MAC and SAC. In: Proceedings of IJCAI’07, pp 143–148
Michel L, Van Hentenryck P (2012) Activity-based search for black-box constraint programming solvers. In: Integration of AI and OR techniques in contraint programming for combinatorial optimzation problems—9th international conference, CPAIOR 2012, Nantes, France, May 28–June 1, 2012. Proceedings, pp 228–243
Mackworth AK (1977) Consistency in networks of relations. Artif Intell 8(1):99–118
Montanari U (1974) Network of constraints: fundamental properties and applications to picture processing. Inf Sci 7:95–132
Paparrizou A, Stergiou K (2012) Evaluating simple fully automated heuristics for adaptive constraint propagation. In: IEEE 24th international conference on tools with artificial intelligence, ICTAI 2012, Athens, Greece, November 7–9, 2012, pp 880–885
Paparrizou A, Stergiou K (2017) On neighborhood singleton consistencies. In: Proceedings of the twenty-sixth international joint conference on artificial intelligence, IJCAI 2017, Melbourne, Australia, August 19–25, 2017, pp 736–742
Pesant G, Quimper C, Zanarini A (2012) Counting-based search: branching heuristics for constraint satisfaction problems. J Artif Intell Res 43:173–210
Prosser P, Stergiou K, Walsh T (2000) Singleton consistencies. In: Proceedings of CP-2000, Melbourne, pp 353–368
Sabin K,Freuder EC (1997) Understanding and improving the MAC algorithm. In: Proceedings of CP-1997, pp 167–181
Stergiou K (2008) Heuristics for dynamically adapting propagation. In: Proceedings of ECAI’08, pp 485–489
Stergiou K (2008) Strong domain filtering consistencies for non-binary constraint satisfaction problems. Int J Artif Intell Tools 17(5):781–802
Stergiou K (2009) Heuristics for dynamically adapting propagation in constraint satisfaction problems. AI Commun 22(3):125–141
Szymanek R, Lecoutre C (2008) Constraint-level advice for shaving. In: Proceedings of ICLP’08, pp 636–650
Ullmann JR (2007) Partition search for non-binary constraint satisfaction. Inf Sci 177(18):3639–3678
Wallace R (2015) SAC and neighbourhood SAC. AI Commun 28(2):345–364
Wallace R (2016) Neighbourhood SAC: extensions and new algorithms. AI Commun 29(2):249–268
Woodward R, Choueiry B (2017) Weight-based variable ordering in the context of high-level consistencies. CoRR arXiv:abs/1711.00909
Woodward R, Choueiry B, Bessiere C (2017) Cycle-based singleton local consistencies. In: Proceedings of the Thirty-First AAAI conference on artificial intelligence, February 4–9, 2017, San Francisco, California, USA, pp 5005–5006
Woodward R, Choueiry B, Bessiere C (2018) A reactive strategy for high-level consistency during search. In: Proceedings of the twenty-seventh international joint conference on artificial intelligence, IJCAI 2018, July 13–19, 2018, Stockholm, Sweden, pp 1390–1397
Woodward R, Schneider A, Choueiry B, Bessiere B (2014) Adaptive parameterized consistency for non-binary CSPS by counting supports. In: Principles and practice of constraint programming—20th international conference, CP 2014, Lyon, France, September 8–12, 2014. Proceedings, pp 755–764
Woodward RJ, Karakashian S, Choueiry BY, Bessière C (2011) Solving difficult CSPS with relational neighborhood inverse consistency. In: Proceedings of AAAI, pp 112–119
Zanarini A, Pesant G (2009) Where can I get a quick shave?. In: Proceedings of the CP-09 workshop on constraint modelling and reformulation, pp 186–200
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Stergiou, K. Adaptive constraint propagation in constraint satisfaction: review and evaluation. Artif Intell Rev 54, 5055–5093 (2021). https://doi.org/10.1007/s10462-021-10012-4
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10462-021-10012-4