Advertisement

Reasoning on Sequences in Constraint-Based Local Search Frameworks

  • Renaud De Landtsheer
  • Yoann Guyot
  • Gustavo Ospina
  • Fabian Germeau
  • Christophe Ponsard
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 10848)

Abstract

This paper explains why global constraints for routing cannot be integrated into Constraint-Based Local Search (CBLS) frameworks. A technical reason for this is identified and defined as the multi-variable bottleneck. We solve this bottleneck by introducing a new type of variables: “sequence of integers”. We identify key requirements and defines a vocabulary for this variable type, through which it communicates with global constraints. Dedicated data structures are designed for efficiently representing sequences in this context. Benchmarks are presented to identify how to best parametrise those data structures and to compare our approach with other state-of-the-art local search frameworks: LocalSolver and GoogleCP. Our contribution is included in the CBLS engine of the open source OscaR framework.

Keywords

Local search CBLS Global constraints Sequences OscaR.cbls 

Notes

Acknowledgements

This research was conducted under the SAMOBI CWALITY (grant nr. 1610019) and the PRIMa-Q CORNET (grant nr. 1610088) research projects from the Walloon Region of Belgium. We thank YourKit profiler and LocalSolver for making their software freely available to us for this research. We also warmly thank Pierre Flener and the anonymous referees for their feedback on earlier versions of this work.

References

  1. 1.
    Glover, F.W., Kochenberger, G.A.: Handbook of Metaheuristics. International Series in Operations Research & Management Science. Springer, New York (2003).  https://doi.org/10.1007/b101874CrossRefMATHGoogle Scholar
  2. 2.
    Mladenović, N., Urošević, D., Hanafi, S.: Variable neighborhood search for the travelling deliveryman problem. 4OR 11(1), 57–73 (2013)MathSciNetCrossRefGoogle Scholar
  3. 3.
    Savelsbergh, M.W.P.: The vehicle routing problem with time windows: minimizing route duration. ORSA J. Comput. 4(2), 146–154 (1992)CrossRefGoogle Scholar
  4. 4.
    Van Hentenryck, P., Michel, L.: Constraint-Based Local Search. MIT Press, Cambridge (2009)MATHGoogle Scholar
  5. 5.
    Newton, M.A.H., Pham, D.N., Sattar, A., Maher, M.: Kangaroo: an efficient constraint-based local search system using lazy propagation. In: Lee, J. (ed.) CP 2011. LNCS, vol. 6876, pp. 645–659. Springer, Heidelberg (2011).  https://doi.org/10.1007/978-3-642-23786-7_49CrossRefGoogle Scholar
  6. 6.
    De Landtsheer, R., Ponsard, C.: OscaR.cbls: an open source framework for constraint-based local search. In: Proceedings of ORBEL’27, 2013Google Scholar
  7. 7.
    Benoist, T., Estellon, B., Gardi, F., Megel, R., Nouioua, K.: LocalSolver 1.x: a black-box local-search solver for 0-1 programming. 4OR 9(3), 299–316 (2011)MathSciNetCrossRefGoogle Scholar
  8. 8.
    Pralet, C., Verfaillie, G.: Dynamic online planning and scheduling using a static invariant-based evaluation model. In: Proceedings of the 23rd International Conference on Automated Planning and Scheduling, ICAPS 2013, Rome, Italy, 10-14 June 2013. AAAI (2013)Google Scholar
  9. 9.
    OscaR Team. OscaR: Operational research in Scala (2012). Available under the LGPL licence from https://bitbucket.org/oscarlib/oscar
  10. 10.
    OR-Tools Team. OR-Tools: Google Optimization Tools. https://code.google.com/p/or-tools/
  11. 11.
    Di Gaspero, L., Schaerf, A.: EASYLOCAL++: an object-oriented framework for the flexible design of local-search algorithms. Softw.: Pract. Exp. 33(8), 733–765 (2003)Google Scholar
  12. 12.
    Björdal, G.: String variables for constraint-based local search. Master’s thesis, Uppsala University (2016). https://uu.diva-portal.org/smash/get/diva2:954752/FULLTEXT01.pdf
  13. 13.
    Lin, S., Kernighan, B.W.: An effective heuristic algorithm for the traveling-salesman problem. Oper. Res. 21(2), 498–516 (1973)MathSciNetCrossRefGoogle Scholar
  14. 14.
    Savelsbergh, M.W.P., Sol, M.: The general pickup and delivery problem. Transp. Sci. 29, 17–29 (1995)CrossRefGoogle Scholar
  15. 15.
    De Landtsheer, R., Guyot, Y., Ospina, G., Ponsard, C.: Combining neighborhoods into local search strategies. In: Amodeo, L., Talbi, E.-G., Yalaoui, F. (eds.) Recent Developments in Metaheuristics. ORSIS, vol. 62, pp. 43–57. Springer, Cham (2018).  https://doi.org/10.1007/978-3-319-58253-5_3CrossRefGoogle Scholar
  16. 16.
    Meurisse, Q., De Landtsheer, R.: Generic support for global routing constraint in constraint-based local search frameworks. In: Proceedings of the 32th ORBEL Annual Meeting, pp. 129–130, 1–2 February 2018Google Scholar
  17. 17.
    Pralet, C.: An incomplete constraint-based system for scheduling with renewable resources. In: Beck, J.C. (ed.) CP 2017. LNCS, vol. 10416, pp. 243–261. Springer, Cham (2017).  https://doi.org/10.1007/978-3-319-66158-2_16CrossRefGoogle Scholar
  18. 18.
    Abdulla, P.A., Atig, M.F., Chen, Y.-F., Holík, L., Rezine, A., Rümmer, P., Stenman, J.: Norn: an SMT solver for string constraints. In: Kroening, D., Păsăreanu, C.S. (eds.) CAV 2015. LNCS, vol. 9206, pp. 462–469. Springer, Cham (2015).  https://doi.org/10.1007/978-3-319-21690-4_29CrossRefGoogle Scholar
  19. 19.
    Fu, X., Powell, M.C., Bantegui, M., Li, C.-C.: Simple linear string constraints. Formal Aspects Comput. 25(6), 847–891 (2013)MathSciNetCrossRefGoogle Scholar
  20. 20.
    Ganesh, V., Kieżun, A., Artzi, S., Guo, P.J., Hooimeijer, P., Ernst, M.: HAMPI: a string solver for testing, analysis and vulnerability detection. In: Gopalakrishnan, G., Qadeer, S. (eds.) CAV 2011. LNCS, vol. 6806, pp. 1–19. Springer, Heidelberg (2011).  https://doi.org/10.1007/978-3-642-22110-1_1CrossRefGoogle Scholar
  21. 21.
    Scott, J.D., Flener, P., Pearson, J., Schulte, C.: Design and implementation of bounded-length sequence variables. In: Salvagnin, D., Lombardi, M. (eds.) CPAIOR 2017. LNCS, vol. 10335, pp. 51–67. Springer, Cham (2017).  https://doi.org/10.1007/978-3-319-59776-8_5CrossRefMATHGoogle Scholar

Copyright information

© Springer International Publishing AG, part of Springer Nature 2018

Authors and Affiliations

  • Renaud De Landtsheer
    • 1
  • Yoann Guyot
    • 1
  • Gustavo Ospina
    • 1
  • Fabian Germeau
    • 1
  • Christophe Ponsard
    • 1
  1. 1.CETIC Research CentreCharleroiBelgium

Personalised recommendations