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.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.References
Apt, K. R. (2003). Principles of constraint programming. Cambridge: Cambridge University Press.
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).
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.
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).
Baptiste, P., Le Pape, C., & Nuijten, W. (2001). Constraint-based scheduling. Norwell: Kluwer Academic.
Benedetti, M., Lallouet, A., & Vautard, J. (2006). Reasoning on quantified constraints. In Rappresentazione della conoscenza e ragionamento automatico.
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).
Benedetti, M., Lallouet, A., & Vautard, J. (2008). Modeling adversary scheduling with QCSP+. In Proceedings 23rd annual ACM symposium on applied computing.
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).
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).
Bordeaux, L. (2005). Boolean and interval propagation for quantified constraints. In Proceedings 1st international workshop on quantification in constraint programming (at CP 2005).
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).
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).
Bordeaux, L., & Zhang, L. (2007). A solver for quantified boolean and linear constraints. In Proceedings ACM symposium on applied computing (SAC) (pp. 321–325).
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).
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).
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.
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.
Caseau, Y., & Laburthe, F. (1994). Improved CLP Scheduling with Task Intervals. In Proceedings 11th international conference on logic programming (ICLP 94). Cambridge: MIT.
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).
Christopher Beck, J., & Fox, M. S. (2000). Dynamic problem structure analysis as a basis for constraint-directed scheduling heuristics. Artificial Intelligence, 117, 31–81.
Davenport, A. J., & Christopher Beck, J. (2000). A survey of techniques for scheduling with uncertainty. Unpublished manuscript. http://tidel.mie.utoronto.ca/publications.php.
Eclipse user manual release 5.10. (2006). http://eclipse.crosscoreop.com/doc/.
Gent, I., & Rowley, A. (2003). Encoding Connect-4 using quantified Boolean formulae. Technical Report APES-68-2003, APES research group.
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).
Gent, I. P., Nightingale, P., Rowley, A., & Stergiou, K. (2008). Solving quantified constraint satisfaction problems. Artificial Intelligence, 172, 738–771.
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).
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.
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).
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).
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).
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).
Nightingale, P. (2007). Consistency and the quantified constraint satisfaction problem. PhD thesis, St Andrews University: School of Computer Science.
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).
Rossi, F., van Beek, P., & Walsh, T. (Eds.) (2006). Handbook of constraint programming. Amsterdam: Elsevier.
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.
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).
Tarim, A., Manandhar, S., & Walsh, T. (2006). Stochastic constraint programming: A scenario-based approach. Constraints, 11(1), 53–80.
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.
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.
Walsh, T. (2002). Stochastic constraint programming. In Proceedings 15th European conference on artificial intelligence (ECAI 2002) (pp. 111–115).
Weisstein, E. W. (2009). Correlation coefficient. http://mathworld.wolfram.com/CorrelationCoefficient.html.
Author information
Authors and Affiliations
Corresponding author
Rights 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
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10601-009-9068-1