Skip to main content
Log in

Adaptive constraint propagation in constraint satisfaction: review and evaluation

  • Published:
Artificial Intelligence Review Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Explore related subjects

Discover the latest articles, news and stories from top researchers in related subjects.

Notes

  1. Of course, value ordering also plays a part, but to a much lesser degree than variable ordering.

  2. http://www.cril.univ-artois.fr/~lecoutre/research/benchmarks/benchmarks.html.

  3. 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.

  4. 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

    Article  MathSciNet  Google Scholar 

  • 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

    Article  MathSciNet  Google Scholar 

  • Bessiere C, Paparrizou A, Stergiou K (2015) Strong bounds consistencies and their application to linear constraints. Proc AAAI 2015:3717–3723

    Google Scholar 

  • 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

    Article  MathSciNet  Google Scholar 

  • Dechter R, van Beek P (1997) Local and global relational consistency. Theoret Comput Sci 173:283–308

    Article  MathSciNet  Google Scholar 

  • 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

    Article  Google Scholar 

  • 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

    Article  MathSciNet  Google Scholar 

  • 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

    Article  MathSciNet  Google Scholar 

  • Montanari U (1974) Network of constraints: fundamental properties and applications to picture processing. Inf Sci 7:95–132

    Article  MathSciNet  Google Scholar 

  • 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

    Article  MathSciNet  Google Scholar 

  • 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

    Article  Google Scholar 

  • Stergiou K (2009) Heuristics for dynamically adapting propagation in constraint satisfaction problems. AI Commun 22(3):125–141

    Article  MathSciNet  Google Scholar 

  • 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

    Article  MathSciNet  Google Scholar 

  • Wallace R (2015) SAC and neighbourhood SAC. AI Commun 28(2):345–364

    Article  MathSciNet  Google Scholar 

  • Wallace R (2016) Neighbourhood SAC: extensions and new algorithms. AI Commun 29(2):249–268

    Article  MathSciNet  Google Scholar 

  • 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

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kostas Stergiou.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10462-021-10012-4

Keywords