Skip to main content

Abstract

The cumulative constraint is the key to the success of Constraint Programming in solving scheduling problems with cumulative resources. It limits the maximum amount of a resource consumed by the tasks at any time point. However, there are few global constraints that ensure that a minimum amount of a resource is consumed at any time point. We introduce such a constraint, the MinCumulative. We show that filtering the constraint is NP-Hard and propose a checker and a filtering algorithm based on the fully elastic relaxation used for the cumulative constraint. We also show how to model MinCumulative using the SoftCumulative constraint. We present experiments comparing the different methods to solve MinCumulative using Constraint Programming.

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 69.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.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

Notes

  1. 1.

    https://github.com/yanickouellet/min-cumulative-paper-public.

References

  1. Aggoun, A., Beldiceanu, N.: Extending chip in order to solve complex scheduling and placement problems. Math. Comput. Model. 17(7), 57–73 (1993)

    Article  Google Scholar 

  2. Baptiste, P., Le Pape, C., Nuijten, W.: Constraint-Based Scheduling. Kluwer Academic Publishers (2001)

    Google Scholar 

  3. Beldiceanu, N., Carlsson, M.: A new multi-resource cumulatives constraint with negative heights. In: Van Hentenryck, P. (ed.) CP 2002. LNCS, vol. 2470, pp. 63–79. Springer, Heidelberg (2002). https://doi.org/10.1007/3-540-46135-3_5

    Chapter  Google Scholar 

  4. Burke, E.K., De Causmaecker, P., Berghe, G.V., Van Landeghem, H.: The state of the art of nurse rostering. J. Sched. 7(6), 441–499 (2004)

    Article  MathSciNet  MATH  Google Scholar 

  5. Carlier, J., Sahli, A., Jouglet, A., Pinson, E.: A faster checker of the energetic reasoning for the cumulative scheduling problem. Int. J. Prod. Res. 1–16 (2021)

    Google Scholar 

  6. Côté, M.C., Gendron, B., Quimper, C.G., Rousseau, L.M.: Formal languages for integer programming modeling of shift scheduling problems. Constraints 16(1), 54–76 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  7. De Clercq, A., Petit, T., Beldiceanu, N., Jussien, N.: A soft constraint for cumulative problems with over-loads of resource. In: Doctoral Programme of the 16th International Conference on Principles and Practice of Constraint Programming (CP 2010), pp. 49–54 (2010)

    Google Scholar 

  8. Ernst, A.T., Jiang, H., Krishnamoorthy, M., Owens, B., Sier, D.: An annotated bibliography of personnel scheduling and rostering. Ann. Oper. Res. 127(1–4), 21–144 (2004)

    Article  MathSciNet  MATH  Google Scholar 

  9. Fahimi, H., Ouellet, Y., Quimper, C.-G.: Linear-time filtering algorithms for the disjunctive constraint and a quadratic filtering algorithm for the cumulative not-first not-last. Constraints 23(3), 272–293 (2018). https://doi.org/10.1007/s10601-018-9282-9

    Article  MathSciNet  MATH  Google Scholar 

  10. Feydy, T., Stuckey, P.J.: Lazy clause generation reengineered. In: Gent, I.P. (ed.) CP 2009. LNCS, vol. 5732, pp. 352–366. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-04244-7_29

    Chapter  Google Scholar 

  11. Gabow, H.N., Tarjan, R.E.: A linear-time algorithm for a special case of disjoint set union. J. Comput. Syst. Sci. 30(2), 209–221 (1985)

    Article  MathSciNet  MATH  Google Scholar 

  12. Garey, M.R., Johnson, D.S.: Computers and Intractability, vol. 174. Freeman, San Francisco (1979)

    MATH  Google Scholar 

  13. Jean-Charles, R.E.: Generalized arc consistency for global cardinality constraint. In: American Association for Artificial Intelligence (AAAI 1996), pp. 209–215 (1996)

    Google Scholar 

  14. Kameugne, R., Fotso, L.P., Scott, J., Ngo-Kateu, Y.: A quadratic edge-finding filtering algorithm for cumulative resource constraints. Constraints 19(3), 243–269 (2014)

    Article  MathSciNet  MATH  Google Scholar 

  15. Katriel, I., Thiel, S.: Complete bound consistency for the global cardinality constraint. Constraints 10(3), 191–217 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  16. Lopez, P., Esquirol, P.: Consistency enforcing in scheduling: A general formulation based on energetic reasoning. In: 5th International Workshop on Project Management and Scheduling (PMS 1996) (1996)

    Google Scholar 

  17. Mercier, L., Van Hentenryck, P.: Edge finding for cumulative scheduling. INFORMS J. Comput. 20(1), 143–153 (2008)

    Article  MathSciNet  MATH  Google Scholar 

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

    Article  MathSciNet  MATH  Google Scholar 

  19. Ouellet, Y., Quimper, C.-G.: A \(O(n \log ^2 n)\) checker and \(O(n^2 \log n)\) filtering algorithm for the energetic reasoning. In: van Hoeve, W.-J. (ed.) CPAIOR 2018. LNCS, vol. 10848, pp. 477–494. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-93031-2_34

    Chapter  MATH  Google Scholar 

  20. Ouellet, Y., Quimper, C.G.: The softcumulative constraint with quadratic penalty. In: AAAI Conference on Artifical Intelligence proceeding (2022, to appear)

    Google Scholar 

  21. Prud’homme, C., Fages, J.G., Lorca, X.: Choco solver documentation. TASC, INRIA Rennes, LINA CNRS UMR 6241 (2016)

    Google Scholar 

  22. Quimper, C.G., Golynski, A., López-Ortiz, A., Van Beek, P.: An efficient bounds consistency algorithm for the global cardinality constraint. Constraints 10(2), 115–135 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  23. Schutt, A., Feydy, T., Stuckey, P.J.: Explaining time-table-edge-finding propagation for the cumulative resource constraint. In: Gomes, C., Sellmann, M. (eds.) CPAIOR 2013. LNCS, vol. 7874, pp. 234–250. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-38171-3_16

    Chapter  MATH  Google Scholar 

  24. Schutt, A., Feydy, T., Stuckey, P.J., Wallace, M.G.: Explaining the cumulative propagator. Constraints 16(3), 250–282 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  25. Tesch, A.: A nearly exact propagation algorithm for energetic reasoning in \(\cal{O}(n^2 \log n)\). In: Rueher, M. (ed.) CP 2016. LNCS, vol. 9892, pp. 493–519. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-44953-1_32

    Chapter  Google Scholar 

  26. Vilím, P.: Timetable edge finding filtering algorithm for discrete cumulative resources. In: Achterberg, T., Beck, J.C. (eds.) CPAIOR 2011. LNCS, vol. 6697, pp. 230–245. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-21311-3_22

    Chapter  MATH  Google Scholar 

  27. Wolf, A., Schrader, G.: \({ O}(n \log n)\) overload checking for the cumulative constraint and its application. In: Umeda, M., Wolf, A., Bartenstein, O., Geske, U., Seipel, D., Takata, O. (eds.) INAP 2005. LNCS (LNAI), vol. 4369, pp. 88–101. Springer, Heidelberg (2006). https://doi.org/10.1007/11963578_8

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Claude-Guy Quimper .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Ouellet, Y., Quimper, CG. (2022). A MinCumulative Resource Constraint. In: Schaus, P. (eds) Integration of Constraint Programming, Artificial Intelligence, and Operations Research. CPAIOR 2022. Lecture Notes in Computer Science, vol 13292. Springer, Cham. https://doi.org/10.1007/978-3-031-08011-1_21

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-08011-1_21

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-08010-4

  • Online ISBN: 978-3-031-08011-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics