Skip to main content
Log in

Non-binary quantified CSP: algorithms and modelling

  • Published:
Constraints Aims and scope Submit manuscript

Abstract

The Quantified Constraint Satisfaction Problem (QCSP) extends classical CSP in a way which allows reasoning about uncertainty. In this paper I present novel algorithms for solving QCSP. Firstly I present algorithms to perform constraint propagation on reified disjunction constraints of any length. The algorithms make full use of quantifier information to provide a high level of consistency. Secondly I present a scheme to enforce the non-binary pure value rule. This rule is capable of pruning universal variables. Following this, two problems are modelled in non-binary QCSP: the game of Connect 4, and a variant of job-shop scheduling with uncertainty, in the form of machine faults. The job shop scheduling example incorporates probability bounding of scenarios (such that only fault scenarios above a probability threshold are considered) and optimization of the schedule makespan. These contribute to the art of modelling in QCSP, and are a proof of concept for applying QCSP methods to complex, realistic problems. Both models make use of the reified disjunction constraint, and the non-binary pure value rule. The example problems are used to evaluate the QCSP algorithms presented in this paper, identifying strengths and weaknesses, and to compare them to other QCSP approaches.

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.

Similar content being viewed by others

References

  1. Apt, K. R. (2003). Principles of constraint programming. Cambridge: Cambridge University Press.

    Google Scholar 

  2. Bacchus, F., & Stergiou, K. (2007). Solution directed backjumping for QCSP. In Proceedings 13th international conference on the principles and practice of constraint programming (CP 2007) (pp. 148–163).

  3. Bacchus, F., & Walsh, T. (2004). A constraint algebra. Technical Report APES-77-2004, APES Research Group. http://www.dcs.st-and.ac.uk/~apes/apesreports.html.

  4. Balafoutis, T., & Stergiou, K. (2006). Algorithms for stochastic CSPs. In Proceedings 12th international conference on the principles and practice of constraint programming (CP 2006) (pp. 44–58).

  5. Baptiste, P., Le Pape, C., & Nuijten, W. (2001). Constraint-based scheduling. Norwell: Kluwer Academic.

    MATH  Google Scholar 

  6. Benedetti, M., Lallouet, A., & Vautard, J. (2006). Reasoning on quantified constraints. In Rappresentazione della conoscenza e ragionamento automatico.

  7. Benedetti, M., Lallouet, A., & Vautard, J. (2007). Qcsp made practical by virtue of restricted quantification. In Proceedings 20th international joint conference on artificial intelligence (IJCAI 2007) (pp. 38–43).

  8. Benedetti, M., Lallouet, A., & Vautard, J. (2008). Modeling adversary scheduling with QCSP+. In Proceedings 23rd annual ACM symposium on applied computing.

  9. Benedetti, M., Lallouet, A., & Vautard, J. (2008). Quantified constraint optimization. In Proceedings 14th international conference on principles and practice of constraint programming (pp. 463–477).

  10. Bessière, C., & Régin, J.-C. (1997). Arc consistency for general constraint networks: Preliminary results. In Proceedings 15th international joint conference on artificial intelligence (IJCAI 97), (pp. 398–404).

  11. Bordeaux, L. (2005). Boolean and interval propagation for quantified constraints. In Proceedings 1st international workshop on quantification in constraint programming (at CP 2005).

  12. Bordeaux, L., Cadoli, M., & Mancini, T. (2005). CSP properties for quantified constraints: Definitions and complexity. In Proceedings 20th national conference on artificial intelligence (AAAI 2005) (pp. 360–365).

  13. Bordeaux, L., & Monfroy, E. (2002). Beyond NP: Arc-consistency for quantified constraints. In Proceedings 8th international conference on the principles and practice of constraint programming (CP 2002) (pp. 371–386).

  14. Bordeaux, L., & Zhang, L. (2007). A solver for quantified boolean and linear constraints. In Proceedings ACM symposium on applied computing (SAC) (pp. 321–325).

  15. Börner, F., Bulatov, A., Jeavons, P., & Krokhin, A. (2003). Quantified constraints: Algorithms and complexity. In Proceedings 17th international workshop on computer science logic (CSL 2003) (pp. 58–70).

  16. Cadoli, M., Giovanardi, A., & Schaerf, M. (1998). An algorithm to evaluate quantified Boolean formulae. In Proceedings 15th national conference on artificial intelligence (AAAI 98) (pp. 262–267).

  17. Cadoli, M., Schaerf, M., Giovanardi, A., & Giovanardi, M. (2002). An algorithm to evaluate quantified Boolean formulae and its experimental evaluation. Journal of Automated Reasoning, 28(2), 101–142.

    Article  MATH  MathSciNet  Google Scholar 

  18. Carlier, J., & Pinson, E. (1990). A practical use of Jackson’s preemptive schedule for solving the job-shop problem. Annals of Operations Research, 26, 269–287.

    MATH  MathSciNet  Google Scholar 

  19. Caseau, Y., & Laburthe, F. (1994). Improved CLP Scheduling with Task Intervals. In Proceedings 11th international conference on logic programming (ICLP 94). Cambridge: MIT.

    Google Scholar 

  20. Choi, C. W., Harvey, W., Ho-Man Lee, J., & Stuckey, P. J. (2006). Finite domain bounds consistency revisited. In Proceedings 19th Australian joint conference on artificial intelligence (AI 2006) (pp. 49–58).

  21. Christopher Beck, J., & Fox, M. S. (2000). Dynamic problem structure analysis as a basis for constraint-directed scheduling heuristics. Artificial Intelligence, 117, 31–81.

    Article  Google Scholar 

  22. Davenport, A. J., & Christopher Beck, J. (2000). A survey of techniques for scheduling with uncertainty. Unpublished manuscript. http://tidel.mie.utoronto.ca/publications.php.

  23. Eclipse user manual release 5.10. (2006). http://eclipse.crosscoreop.com/doc/.

  24. Gent, I., & Rowley, A. (2003). Encoding Connect-4 using quantified Boolean formulae. Technical Report APES-68-2003, APES research group.

  25. Gent, I. P., Giunchiglia, E., Narizzano, M., Rowley, A. G. D., & Tacchella, A. (2003). Watched data structures for QBF solvers. In Proceedings 6th international conference on theory and applications of satisfiability testing (SAT 2003) (pp. 25–36).

  26. Gent, I. P., Nightingale, P., Rowley, A., & Stergiou, K. (2008). Solving quantified constraint satisfaction problems. Artificial Intelligence, 172, 738–771.

    Article  MATH  MathSciNet  Google Scholar 

  27. Gent, I. P., Nightingale, P., & Stergiou, K. (2005). QCSP-Solve: A solver for quantified constraint satisfaction problems. In Proceedings 19th international joint conference on artificial intelligence (IJCAI 2005) (pp. 138–143).

  28. Giunchiglia, E., Narizzano, M., & Tacchella, A. (2006). Clause/term resolution and learning in the evaluation of quantified Boolean formulas. Journal of Artificial Intelligence Research (JAIR), 26, 371–417.

    MATH  MathSciNet  Google Scholar 

  29. Giunchiglia, E., Narizzano, M., & Tacchella, A. (2001). Backjumping for quantified Boolean logic satisfiability. In Proceedings 17th international joint conference on artificial intelligence (IJCAI 2001) (pp. 275–281).

  30. Mamoulis, N., & Stergiou, K. (2004). Algorithms for quantified constraint satisfaction problems. In Proceedings 10th international conference on the principles and practice of constraint programming (CP 2004) (pp. 752–756).

  31. Manandhar, S., Tarim, A., & Walsh, T. (2003). Scenario-based stochastic constraint programming. In Proceedings 18th international joint conference on artificial intelligence (IJCAI 2003) (pp. 257–262).

  32. Martin, P., & Shmoys, D. B. (1996). A new approach to computing optimal schedules for the job-shop scheduling problem. In Proceedings 5th international conference on integer programming and combinatorial optimization (IPCO 96) (pp. 389–403).

  33. Nightingale, P. (2007). Consistency and the quantified constraint satisfaction problem. PhD thesis, St Andrews University: School of Computer Science.

  34. Rossi, F., Petrie, C., & Dhar, V. (1990). On the equivalence of constraint satisfaction problems. In Proceedings 9th European conference on artificial intelligence (ECAI 90) (pp. 550–556).

  35. Rossi, F., van Beek, P., & Walsh, T. (Eds.) (2006). Handbook of constraint programming. Amsterdam: Elsevier.

    Google Scholar 

  36. Sadeh, N. M., Sycara, K. P., & Xiong, Y. (1995). Backtracking techniques for the job shop scheduling constraint satisfaction problem. Artificial Intelligence, 76(1–2), 455–480.

    Article  Google Scholar 

  37. Stergiou, K. (2005). Repair-based methods for quantified CSPs. In Proceedings 11th international conference on the principles and practice of constraint programming (CP 2005) (pp. 652–666).

  38. Tarim, A., Manandhar, S., & Walsh, T. (2006). Stochastic constraint programming: A scenario-based approach. Constraints, 11(1), 53–80.

    Article  MATH  MathSciNet  Google Scholar 

  39. van den Akker, J. M., Hurkens, C. A. J., & Savelsbergh, M. W. P. (2000). Time-indexed formulations for machine scheduling problems: column generation. INFORMS Journal on Computing, 12(2), 111–124.

    Article  MATH  MathSciNet  Google Scholar 

  40. Verger, G., & Bessière, C. (2006). Blocksolve: A bottom-up approach for solving quantified CSPs. In Proceedings 12th international conference on the principles and practice of constraint programming (CP 2006) (pp. 635–649). Nantes, France.

  41. Walsh, T. (2002). Stochastic constraint programming. In Proceedings 15th European conference on artificial intelligence (ECAI 2002) (pp. 111–115).

  42. Weisstein, E. W. (2009). Correlation coefficient. http://mathworld.wolfram.com/CorrelationCoefficient.html.

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Peter Nightingale.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Nightingale, P. Non-binary quantified CSP: algorithms and modelling. Constraints 14, 539–581 (2009). https://doi.org/10.1007/s10601-009-9068-1

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10601-009-9068-1

Keywords

Navigation