Skip to main content

Abstract

Lazy clause generation is a powerful approach to reducing search in constraint programming. For use in a lazy clause generation solver, global constraints must be extended to explain themselves. In this paper we present two new generic flow-based propagators (for hard and soft flow-based constraints) with several novel features, and most importantly, the addition of explanation capability. We discuss how explanations change the tradeoffs for propagation compared with the previous generic flow-based propagator, and show that the generic propagators can efficiently replace specialized versions, in particular for gcc and sequence constraints. Using real-world scheduling and rostering problems as examples, we compare against a number of standard Constraint Programming implementations of these contraints (and in the case of soft constraints, Mixed-Integer Programming models) to show that the new global propagators are extremely beneficial on these benchmarks.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Achterberg, T.: Conflict analysis in mixed integer programming. Discrete Optimization 4(1), 4–20 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  2. Bockmayr, A., Pisaruk, N., Aggoun, A.: Network Flow Problems in Constraint Programming. In: Walsh, T. (ed.) CP 2001. LNCS, vol. 2239, pp. 196–210. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  3. Boussemart, F., Hemery, F., Lecoutre, C., Sais, L.: Boosting Systematic Search by Weighting Constraints. In: Proc. ECAI 2004, pp. 146–150 (2004)

    Google Scholar 

  4. Brand, S., Narodytska, N., Quimper, C.-G., Stuckey, P.J., Walsh, T.: Encodings of the Sequence Constraint. In: Bessière, C. (ed.) CP 2007. LNCS, vol. 4741, pp. 210–224. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  5. Davey, B., Boland, N., Stuckey, P.: Efficient Intelligent Backtracking Using Linear Programming. IJOC 14(4), 373–386 (2002)

    Article  MathSciNet  Google Scholar 

  6. Ford, L., Fulkerson, D.: Maximal flow through a network. Canad. J. Math. 8, 399–404 (1956)

    Article  MathSciNet  MATH  Google Scholar 

  7. Gauthier, J.M., Ribière, G.: Experiments in mixed-integer linear programming using pseudo-costs. Mathematical Programming 12, 26–47 (1977)

    Article  MathSciNet  MATH  Google Scholar 

  8. Gent, I.P.: Two Results on Car-sequencing Problems. Technical report APES-02-1998, Dept. of CS, University of Strathclyde, UK (1998)

    Google Scholar 

  9. Gent, I.P., Walsh, T.: CSPlib: A Benchmark Library for Constraints. In: Jaffar, J. (ed.) CP 1999. LNCS, vol. 1713, pp. 480–481. Springer, Heidelberg (1999)

    Google Scholar 

  10. Giunchiglia, E., Maratea, M., Tacchella, A.: (In)Effectiveness of Look-Ahead Techniques in a Modern SAT Solver. In: Rossi, F. (ed.) CP 2003. LNCS, vol. 2833, pp. 842–846. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  11. Gravel, M., Gagné, C., Price, W.L.: Review and Comparison of Three Methods for the Solution of the Car Sequencing Problem. J.O.R. Soc. 56(11), 1287–1295 (2005)

    Article  MATH  Google Scholar 

  12. Katsirelos, G.: Nogood processing in CSPs. Ph.D. thesis, University of Toronto, Canada (2008)

    Google Scholar 

  13. Löbel, A.: MCF 1.3 - A network simplex implementation (2004), available free of charge for academic use, http://www.zib.de/loebel

  14. Maher, M., Narodytska, N., Quimper, C.-G., Walsh, T.: Flow-Based Propagators for the SEQUENCE and Related Global Constraints. In: Stuckey, P.J. (ed.) CP 2008. LNCS, vol. 5202, pp. 159–174. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

  15. Moskewicz, M., Madigan, C., Zhao, Y., Zhang, L., Malik, S.: Chaff: engineering an efficient SAT solver. In: Proc. DAC 2001, pp. 530–535 (2001)

    Google Scholar 

  16. Ohrimenko, O., Stuckey, P., Codish, M.: Propagation via lazy clause generation. Constraints 14, 357–391 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  17. Refalo, P.: Impact-Based Search Strategies for Constraint Programming. In: Wallace, M. (ed.) CP 2004. LNCS, vol. 3258, pp. 557–571. Springer, Heidelberg (2004)

    Chapter  Google Scholar 

  18. Régin, J.C.: Generalized arc consistency for global cardinality constraint. In: Proc. AAA 1996, pp. 209–215 (1996)

    Google Scholar 

  19. Régin, J.C., Puget, J.F.: A Filtering Algorithm for Global Sequencing Constraints. In: Smolka, G. (ed.) CP 1997. LNCS, vol. 1330, pp. 32–46. Springer, Heidelberg (1997)

    Chapter  Google Scholar 

  20. Rochart, G.: Explications et programmation par contraintes avancée (in French). Ph.D. thesis, Université de Nantes, France (2005)

    Google Scholar 

  21. Smith, B.: Succeed-first or Fail-first: A Case Study in Variable and Value Ordering. In: Malyshkin, V.E. (ed.) PaCT 1997. LNCS, vol. 1277, pp. 321–330. Springer, Heidelberg (1997)

    Google Scholar 

  22. Steiger, R., van Hoeve, W.J., Szymanek, R.: An efficient generic network flow constraint. In: Proc. SAC 2011, pp. 893–900 (2011)

    Google Scholar 

  23. Tarjan, R.E.: Depth-First Search and Linear Graph Algorithms. SIAM J. Computing 1(2), 146–160 (1972)

    Article  MathSciNet  MATH  Google Scholar 

  24. Vanhoucke, M., Maenhout, B.: NSPLib – A Nurse Scheduling Problem Library: A tool to evaluate (meta-)heuristic procedures. In: Proc. ORAHS 2005 (2005)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Downing, N., Feydy, T., Stuckey, P.J. (2012). Explaining Flow-Based Propagation. In: Beldiceanu, N., Jussien, N., Pinson, É. (eds) Integration of AI and OR Techniques in Contraint Programming for Combinatorial Optimzation Problems. CPAIOR 2012. Lecture Notes in Computer Science, vol 7298. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-29828-8_10

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-29828-8_10

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-29827-1

  • Online ISBN: 978-3-642-29828-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics