Skip to main content
Log in

Managing dynamic CSPs with preferences

  • Published:
Applied Intelligence Aims and scope Submit manuscript

Abstract

We present a new framework, managing Constraint Satisfaction Problems (CSPs) with preferences in a dynamic environment. Unlike the existing CSP models managing one form of preferences, ours supports four types, namely: unary and binary constraint preferences, composite preferences and conditional preferences. This offers more expressive power in representing a wide variety of dynamic constraint applications under preferences and where the possible changes are known and available a priori. Conditional preferences allow some preference functions to be added dynamically to the problem, during the resolution process, if a given condition on some variables is true. A composite preference is a higher level of preference among the choices of a composite variable. Composite variables are variables whose possible values are CSP variables. In other words, this allows us to represent disjunctive CSP variables. The preferences are viewed as a set of soft constraints using the fuzzy CSP framework. Solving constraint problems with preferences consists in finding a solution satisfying all the constraints while optimizing the global preference value. This is handled by four variants of the branch and bound algorithm, we propose in this paper, and where constraint propagation is used to improve the time efficiency in practice. In order to evaluate and compare the performance of these four strategies, we conducted an experimental study on randomly generated dynamic CSPs with quantitative preferences. The results are reported and discussed in the paper.

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

Access this article

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

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15

Similar content being viewed by others

Notes

  1. There are special cases where CSPs are solved in polynomial time, for instance, the case where a CSP network is a tree [15, 19].

  2. We call CSP variables, the variables of a traditional CSP.

  3. In this paper, we are assuming that the constraints are binary and are defined in extension. For instance, the constraint C ij between 2 variables X i and X j is the subset of the Cartesian product of X i ’s and X j ’s domains.

  4. Note that we only consider here the case of binary constraints. Non binary constraints can actually be converted into binary ones in polynomial time as shown in [2].

References

  1. Allen JF (1983) Maintaining knowledge about temporal intervals. Commun ACM 26(11):832–843

    Article  MATH  Google Scholar 

  2. Bacchus F, van Beek P (1998) On the conversion between non-binary and binary constraint satisfaction problems. In: Proceedings of the national conference on artificial intelligence (AAAI-98). AAAI Press, Menlo Park, pp 310–319

    Google Scholar 

  3. Bessière C, Régin JC, Yap RHC, Zhang Y (2005) An optimal coarse-grained arc consistency algorithm. Artif Intell 165(2):165–185

    Article  MATH  Google Scholar 

  4. Bistarelli S, Montanari U, Rossi F, Schiex T, Verfaillie G, Fargier H (1999) Semiring-based CSPs and valued CSPs: frameworks, properties and comparison. Constraints 3(2–3):199–240

    Article  MathSciNet  Google Scholar 

  5. Cooper MC (2005) High-order consistency in valued constraint satisfaction. Constraints 10:283–305

    Article  MathSciNet  MATH  Google Scholar 

  6. Cooper MC, de Givry S, Sanchez M, Schiex T, Zytnicki M, Werner T (2010) Soft arc consistency revisited. Artif Intell 174:449–478

    Article  MATH  Google Scholar 

  7. Boutilier C, Brafman RI, Domshlak C, Hoos HH, Poole D (2004) CP-nets: a tool for representing and reasoning with conditional ceteris paribus preference statements. J Artif Intell Res 21:135–191

    MathSciNet  MATH  Google Scholar 

  8. Craenen B, Eiben AE, Van Hemert JI (2003) Comparing evolutionary algorithms on binary constraint satisfaction problems. IEEE Trans Evol Comput 7(5):424–444

    Article  Google Scholar 

  9. Dechter R (2003) Constraint processing. Morgan Kaufmann, San Mateo

    Google Scholar 

  10. Di Rosa E, Giunchiglia E, Maratea M (2010) Solving satisfiability problems with preferences. Constraints 15(4):485–515

    Article  MathSciNet  MATH  Google Scholar 

  11. Freuder EC, Wallace RJ (1992) Partial constraint satisfaction. Artif Intell 58:21–70

    Article  MathSciNet  Google Scholar 

  12. Freuder E, Wallace RJ, Heffernan R (2003) Ordinal constraint satisfaction. In: 5th international workshop on soft constraints (Soft)

    Google Scholar 

  13. Gelain M, Pini MS, Rossi F, Venable KB, Walsh T (2011) A local search approach to solve incomplete fuzzy CSPs. In: Proceedings of the 3rd international conference on agents and artificial intelligence, Rome. Artificial intelligence, vol 1, pp 582–585

    Google Scholar 

  14. Guesgen H, Hertzberg J (1993) A constraint-based approach to spatiotemporal reasoning. Appl Intell 3(1):71–90

    Article  Google Scholar 

  15. Haralick RM, Elliott GL (1980) Increasing tree search efficiency for constraint satisfaction problems. Artif Intell 14:263–313

    Article  Google Scholar 

  16. Khatib L, Morris P, Morris R, Rossi F, Sperduti A, Venable KB (2007) Solving and learning a tractable class of soft temporal constraints: theoretical and experimental results. AI Commun 20(3):181–209

    MathSciNet  MATH  Google Scholar 

  17. Li J, Burke EK, Qu R (2010) A pattern recognition based intelligent search method and two assignment problem case studies. Appl Intell. doi:10.1007/s10489-010-0270-z

    Google Scholar 

  18. Mackworth AK (1977) Consistency in networks of relations. Artif Intell 8:99–118

    Article  MATH  Google Scholar 

  19. Mackworth AK, Freuder E (1985) The complexity of some polynomial network-consistency algorithms for constraint satisfaction problems. Artif Intell 25:65–74

    Article  Google Scholar 

  20. Mansour N, Isahakian V, Ghalayini I (2011) Scatter search technique for exam timetabling. Appl Intell 34(2):299–310

    Article  Google Scholar 

  21. Meseguer P, Rossi F, Schiex T (2006) Soft constraints. In: Handbook of constraint programming, pp 281–328

    Chapter  Google Scholar 

  22. Miguel I, Shen Q (2000) Dynamic flexible constraint satisfaction. Appl Intell 13(3):231–245

    Article  Google Scholar 

  23. Mitra D (2002) A path-consistent singleton modeling (CSM) algorithm for arc-constrained networks. Appl Intell 17(3):313–318

    Article  MATH  Google Scholar 

  24. Mittal S, Falkenhainer B (1990) Dynamic constraint satisfaction problems. In: Proceedings of the 8th national conference on artificial intelligence, Boston, MA, August 1990. AAAI Press, Menlo Park, pp 25–32

    Google Scholar 

  25. Moffitt MD, Pollack ME (2006) Temporal preference optimization as weighted constraint satisfaction. In: Proceedings of the national conference on artificial intelligence, AAAI-06. AAAI Press, Menlo Park

    Google Scholar 

  26. Mouhoub M, Sukpan A (2012) Conditional and composite temporal CSPs. Appl Intell 36(1):90–107

    Article  Google Scholar 

  27. Mouhoub M, Jashmi BJ (2011) Heuristic techniques for variable and value ordering in CSPs. In: Krasnogor N, Lanzi PL (eds) GECCO. ACM, New York, pp 457–464.

    Google Scholar 

  28. Prestwich SD, Rossi F, Venable KB, Walsh T (2005) Constraint-based preferential optimization. In: Veloso MM, Kambhampati S (eds) AAAI’05. AAAI Press/MIT Press, Menlo Park, pp 461–466

    Google Scholar 

  29. Ruttkay Zs (1994) Fuzzy constraint satisfaction. In: Proc. 3rd IEEE international conference on fuzzy systems, pp 1263–1268

    Chapter  Google Scholar 

  30. Sabar NR, Ayob M, Qu R, Kendall G (2011) A graph coloring constructive hyper-heuristic for examination timetabling problems. Appl Intell. doi:10.1007/s10489-011-0309-9

    MATH  Google Scholar 

  31. Sabin D, Freuder EC (1996) Configuration as composite constraint satisfaction. In: Luger GF (ed) Proceedings of the (1st) artificial intelligence and manufacturing research planning workshop. AAAI Press, Menlo Park, pp 153–161

    Google Scholar 

  32. Sabin D, Freuder EC, Wallace RJ (2003) Greater efficiency for conditional constraint satisfaction. In: Proc of ninth international conference on principles and practice of constraint programming—CP 2003. Lecture Notes in Computer Science, vol 2833. Springer, Berlin, pp 649–663

    Chapter  Google Scholar 

  33. Schiex T, Fargier H, Verfaillie G (1995) Valued constraint satisfaction problems: hard and easy problems. In: Mellish C (ed) IJCAI’95: proceedings international joint conference on artificial intelligence, Montréal. Morgan Kaufmann, San Mateo

    Google Scholar 

  34. Selman B, Kautz HA (1993) An empirical study of greedy local search for satisfiability testing. In: AAAI’93, Washington, DC. AAAI Press/MIT Press, Menlo Park, pp 46–51

    Google Scholar 

  35. Stützle T, Hoos HH (1998) Improvements on the ant system: introducing the MAX-MIN ant system. In: Artificial neural networks and genetic algorithms. Springer, Berlin, pp 245–249

    Chapter  Google Scholar 

  36. Wallace RJ (2005) Conditional lexicographic orders in constraint satisfaction problems. In: Eleventh international conference on principles and practice of constraint programming (CP 2005), Sitges, Barcelona, Spain. Lecture Notes in Computer Science, vol 3709. Springer, Berlin

    Google Scholar 

  37. Xu K, Li W (2000) Exact phase transitions in random constraint satisfaction problems. J Artif Intell Res 12:93–103

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Malek Mouhoub.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Mouhoub, M., Sukpan, A. Managing dynamic CSPs with preferences. Appl Intell 37, 446–462 (2012). https://doi.org/10.1007/s10489-012-0338-z

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10489-012-0338-z

Keywords

Navigation