Skip to main content
Log in

Exact and heuristic dynamic programming algorithms for the traveling salesman problem with flexible time windows

  • Original Paper
  • Published:
Optimization Letters Aims and scope Submit manuscript

Abstract

This article proposes extensions of exact and heuristic dynamic programming algorithms for the traveling salesman problem with flexible time windows, which are a limited enlargement of the generally referred to as hard time windows. The service of a customer can be started before or after the hard time window at a penalty cost. The addressed problem thus requires the determination of a sequence of customers and their respective service start times in order to minimize the sum of traveling cost with earliness and lateness cost. Computational tests are conducted on a variety of symmetric and asymmetric instances proposed in the literature, and the advantages of flexible windows are stressed.

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.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6

Similar content being viewed by others

References

  1. Ahuja, R., Magnanti, T., Orlin, J.: Network Flows: Theory, Algorithms, and Applications. Prentice Hall, Upper Saddle River, NJ (1993)

    MATH  Google Scholar 

  2. Balakrishnan, N.: Simple heuristics for the vehicle routeing problem with soft time windows. J. Oper. Res. Soc. 44(3), 279–287 (1993)

    Article  Google Scholar 

  3. Balas, E.: New classes of efficiently solvable generalized traveling salesman problems. Ann. Oper. Res. 86, 529–558 (1999)

    Article  MathSciNet  Google Scholar 

  4. Balas, E., Simonetti, N.: Linear time dynamic-programming algorithms for new classes of restricted TSPs: a computational study. INFORMS J. Comput. 13(1), 56–75 (2001)

    Article  MathSciNet  Google Scholar 

  5. Balas, E., Simonetti, N., Vazacopoulos, A.: Job shop scheduling with setup times, deadlines and precedence constraints. J. Sched. 11(4), 253–262 (2008)

    Article  MathSciNet  Google Scholar 

  6. Baldacci, R., Mingozzi, A., Roberti, R.: New state-space relaxations for solving the traveling salesman problem with time windows. INFORMS J. Comput. 24(3), 356–371 (2012)

    Article  MathSciNet  Google Scholar 

  7. Bellman, R.: Dynamic Programming. Princeton University Press, Upper Saddle River, NJ (1957)

    MATH  Google Scholar 

  8. Bhusiri, N., Qureshi, A.G., Taniguchi, E.: The trade-off between fixed vehicle costs and time-dependent arrival penalties in a routing problem. Transp. Res. Part E Log. 62, 1–22 (2014)

    Article  Google Scholar 

  9. Chiang, W.C., Russell, R.A.: A metaheuristic for the vehicle routeing-problem with soft time windows. J. Oper. Res. Soc. 55(12), 1298–1310 (2004)

    Article  Google Scholar 

  10. Denardo, E.V.: Dynamic Programming: Models and Applications. Prentice Hall, Upper Saddle River, NJ (1982)

    MATH  Google Scholar 

  11. Desaulniers, G., Lessard, F., Hadjar, A.: Tabu search, partial elementarity, and generalized k-path inequalities for the vehicle routing problem with time windows. Transp. Sci. 42(3), 387–404 (2008)

    Article  Google Scholar 

  12. Desrochers, M.: An algorithm for the shortest path problem with resource constraints. Technical report G-88-27, GERAD, Montreal (1988)

  13. Desrosiers, J., Dumas, Y., Solomon, M.M., Soumis, F.: Time constrained routing and scheduling. In: Ball, M.O., Magnanti, T.L., Monma, C.L., Nemhauser, F.L. (eds.) Handbooks in Operations Research and Management Science. Network Routing, vol. 8, pp. 35–139. Elsevier, Amsterdam (1995)

    MATH  Google Scholar 

  14. Dumas, Y., Desrosiers, J., Gelinas, E., Solomon, M.M.: An optimal algorithm for the traveling salesman problem with time windows. Oper. Res. 43(2), 367–371 (1995)

    Article  MathSciNet  Google Scholar 

  15. Dumas, Y., Soumis, F., Desrosiers, J.: Optimizing the schedule for a fixed vehicle path with convex inconvenience costs. Transp. Sci. 24, 145–152 (1990)

    Article  MathSciNet  Google Scholar 

  16. Feillet, D., Dejax, P., Gendreau, M., Gueguen, C.: An exact algorithm for the elementary shortest path problem with resource constraints: application to some vehicle routing problems. Networks 44(3), 216–229 (2004)

    Article  MathSciNet  Google Scholar 

  17. Fischetti, M., Toth, P.: A polyhedral approach to the asymmetric traveling salesman problem. Manag. Sci. 43(11), 1520–1536 (1997)

    Article  Google Scholar 

  18. Fischetti, M., Toth, P., Vigo, D.: A branch-and-bound algorithm for the capacitated vehicle routing problem on directed graphs. Oper. Res. 42(5), 846–859 (1994)

    Article  MathSciNet  Google Scholar 

  19. Fleischmann, B.: The discrete lot-sizing and scheduling problem with sequence-dependent setup costs. Eur. J. Oper. Res. 75(2), 395–404 (1994)

    Article  Google Scholar 

  20. Fry, T.D., Leong, G.K.: Single machine scheduling: a comparison of two solution procedures. OMEGA Int. J. Manag. Sci. 15(4), 277–282 (1987)

    Article  Google Scholar 

  21. Golden, B.L., Stewart, W.R.: Empirical analysis of heuristics. In: Lawler, E.L., Lenstra, J.K., Rinnooy Kan, A.H.G., Shmoys, D.B. (eds.) The traveling salesman problem, pp. 207–250. Wiley, Chichester (1985)

    Google Scholar 

  22. Ibaraki, T., Imahori, S., Kubo, M., Masuda, T., Uno, T., Yagiura, M.: Effective local search algorithms for routing and scheduling problems with general time window constraints. Transp. Sci. 39(2), 206–232 (2005)

    Article  Google Scholar 

  23. Kohl, N., Desrosiers, J., Madsen, O.B.G., Solomon, M.M., Soumis, F.: 2-path cuts for the vehicle routing problem with time windows. Transp. Sci. 33(1), 101–116 (1999)

    Article  Google Scholar 

  24. Koskosidis, Y.A., Powell, W.B., Solomon, M.M.: An optimization based heuristic for vehicle routeing and scheduling with soft time window constraints. Transp. Sci. 26, 69–85 (1992)

    Article  Google Scholar 

  25. Li, J.Q.: A computational study of bi-directional dynamic programming for the traveling salesman problem with time windows. Working paper, University of California, Berkeley (2009)

  26. Liberatore, F., Righini, G., Salani, M.: A column generation algorithm for the vehicle routing problem with soft time windows. 4OR. Q. J. Oper. Res. 9(1), 49–82 (2011)

    Article  MathSciNet  Google Scholar 

  27. Qureshi, A., Taniguchi, E., Yamada, T.: An exact solution approach for vehicle routing and scheduling problems with soft time windows. Transp. Res. Part E Log. 45(6), 960–977 (2009)

    Article  Google Scholar 

  28. Reinelt, G.: TSPLIB—a traveling salesman problem library. ORSA J. Comput. 3(4), 376–384 (1991)

    Article  MathSciNet  Google Scholar 

  29. Righini, G., Salani, M.: Symmetry helps: bounded bidirectional dynamic programming for the elementary shortest path problem with resource constraints. Discrete Optim. 3(3), 255–273 (2006)

    Article  MathSciNet  Google Scholar 

  30. Savelsbergh, M.W.P.: Local search in routing problems with time windows. Ann. Oper. Res. 4(1), 285–305 (1985)

    Article  MathSciNet  Google Scholar 

  31. Sexton, T.R., Bodin, L.D.: Optimizing single vehicle many-to-many operations with desired delivery times: I. Sched. Transp. Sci. 19(4), 378–410 (1985)

    Article  MathSciNet  Google Scholar 

  32. Sexton, T.R., Choi, Y.: Pickup and delivery of partial loads with soft time windows. Am. J. Math. Soc. 6, 369–398 (1986)

    MATH  Google Scholar 

  33. Taillard, E., Badeau, P., Gendreau, M., Guertin, F., Potvin, J.Y.: A tabu search heuristic for the vehicle routing problem with soft time windows. Transp. Sci. 31(2), 170–186 (1997)

    Article  Google Scholar 

  34. Taş, D., Jabali, O., Woensel, T.V.: A vehicle routing problem with flexible time windows. Comput. Oper. Res. 52, 39–54 (2014)

    Article  Google Scholar 

  35. Vidal, T., Crainic, T.G., Gendreau, M., Prins, C.: Timing problems and algorithms: time decisions for sequences of activities. Networks 65(2), 102–128 (2015)

    Article  MathSciNet  Google Scholar 

Download references

Acknowledgements

This research was funded by the Conselho Nacional de Desenvolvimento Científico e Tecnológico (CNPq-Brazil, Grants 141064/2015-3 and 305577/2014-0) and the Fundação de Amparo à Pesquisa do Estado de São Paulo (FAPESP-Brazil, Grants 2016/01860-1 and 2016/06566-4). We are grateful for the valuable suggestions made by the editor and referees.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ramon Faganello Fachini.

Electronic supplementary material

Below is the link to the electronic supplementary material.

Supplementary material 1 (PDF 1035 kb)

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Fachini, R.F., Armentano, V.A. Exact and heuristic dynamic programming algorithms for the traveling salesman problem with flexible time windows. Optim Lett 14, 579–609 (2020). https://doi.org/10.1007/s11590-018-1342-y

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11590-018-1342-y

Keywords

Navigation