Skip to main content
Log in

Variable neighborhood search for the stochastic and dynamic vehicle routing problem

  • Published:
Annals of Operations Research Aims and scope Submit manuscript

Abstract

In this paper, the authors consider the vehicle routing problem (VRP) with stochastic demand and/or dynamic requests. The classical VRP consists of determining a set of routes starting and ending at a depot that provide service to a set of customers. Stochastic demands are only revealed when the vehicle arrives at the customer location; dynamic requests mean that new orders from previously unknown customers can be received and scheduled over time. The variable neighborhood search algorithm (VNS) proposed in this study can be extended by sampling for stochastic scenarios and adapted for the dynamic setting. We use standard sets of benchmark instances to evaluate our algorithms. When applying sampling based VNS, on average we were able to improve results obtained by a classical VNS by 4.39 %. Individual instances could be improved by up to 8.12 %. In addition, the proposed VNS framework matches 32 out of 40 best known solutions and provides one new best solution. In the dynamic case, VNS improves on existing results and provides new best solutions for 7 out of 21 instances. Finally, this study offers results for stochastic and dynamic scenarios. Our experiments show that the sampling based dynamic VNS provides better results when the demand deviation is small, and reduces the excess route duration by 45–90 %.

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

Similar content being viewed by others

References

  • Ak, A., & Erera, A. L. (2007). A paired-vehicle recourse strategy for the vehicle-routing problem with stochastic demands. Transportation Science, 41(2), 222–237.

    Article  Google Scholar 

  • Augerat, P., Belenguer, J. M., Benavent, E., Corberán, Á., & Naddef, D. (1998). Separating capacity constraints in the CVRP using tabu search. European Journal of Operational Research, 106(2–3), 546–557.

    Article  Google Scholar 

  • Bent, R., & Van Hentenryck, P. (2004). Scenario-based planning for partially dynamic vehicle routing with stochastic customers. Operations Research, 52(6), 977–987.

    Article  Google Scholar 

  • Bianchi, L., Birattari, M., Chiarandini, M., Manfrin, M., Mastrolilli, M., Paquete, L., et al. (2006). Hybrid metaheuristics for the vehicle routing problem with stochastic demands. Journal of Mathematical Modelling and Algorithms, 5(1), 91–110.

    Article  Google Scholar 

  • Branchini, R. M., Armentano, V. A., & Løkketangen, A. (2009). Adaptive granular local search heuristic for a dynamic vehicle routing problem. Computers & Operations Research, 36(11), 2955–2968.

    Article  Google Scholar 

  • Bräysy, O. (2003). A reactive variable neighborhood search for the vehicle routing problem with time windows. INFORMS Journal on Computing, 15(4), 347–368.

    Article  Google Scholar 

  • Christiansen, C. H., & Lysgaard, J. (2007). A branch-and-price algorithm for the capacitated vehicle routing problem with stochastic demands. Operations Research Letters, 35(6), 773–781.

    Article  Google Scholar 

  • Christofides, N., & Eilon, S. (1969). An algorithm for the vehicle-dispatching problem. OR, 20(3), 309–318.

    Article  Google Scholar 

  • Christofides, N., Mingozzi, A., & Toth, P. (1979). The vehicle routing problem, chap. 11. London: Wiley.

    Google Scholar 

  • Clarke, G., & Wright, J. W. (1964). Scheduling of vehicles from a central depot to a number of delivery points. Operations Research, 12(4), 568–581.

    Article  Google Scholar 

  • Croes, A. (1958). A method for solving traveling salesman problems. Operations Research, 5, 791–812.

    Article  Google Scholar 

  • Dantzig, G. B., & Ramser, J. H. (1959). The truck dispatching problem. Management Science, 6(1), 80–91.

    Article  Google Scholar 

  • Erera, A. L., Morales, J. C., & Savelsbergh, M. W. P. (2010). The vehicle routing problem with stochastic demand and duration constraints. Transportation Science, 44(4), 474–492.

    Article  Google Scholar 

  • Fisher, M. L., & Jaikumar, R. (1981). A generalized assignment heuristic for vehicle routing. Networks, 11(2), 109–124.

    Article  Google Scholar 

  • Garey, M. R., & Johnson, D. S. (1979). Computers and intractability: A guide to the theory of NP-completeness. San Francisco: W. H. Freeman.

    Google Scholar 

  • Geekbench benchmark. (2010). http://www.primatelabs.ca/.

  • Gendreau, M., Guertin, F., Potvin, J. Y., & Taillard, E. (1999). Parallel tabu search for real-time vehicle routing and dispatching. Transportation Science, 33(4), 381–390.

    Article  Google Scholar 

  • Gendreau, M., Laporte, G., & Séguin, R. (1996). A tabu search heuristic for the vehicle routing problem with stochastic demands and customers. Operations Research, 44(3), 469–477.

    Article  Google Scholar 

  • Goodson, J. C., Ohlmann, J. W., & Thomas, B. W. (2012). Cyclic-order neighborhoods with application to the vehicle routing problem with stochastic demand. European Journal of Operational Research, 217(2), 312–323.

    Article  Google Scholar 

  • Goodson, J. C., Ohlmann, J. W., & Thomas, B. W. (2013). Rollout policies for dynamic solutions to the multivehicle routing problem with stochastic demand and duration limits. Operations Research, 61(1), 138–154.

    Article  Google Scholar 

  • Gutjahr, W. J., Katzensteiner, S., & Reiter, P. (2007). A VNS algorithm for noisy problems and its application to project portfolio analysis. In SAGA 2007, lecture notes in computer science, vol. 4665, (pp. 93–104). Berlin: Springer.

  • Hansen, P., & Mladenović, N. (1999). An introduction to variable neighborhood search. In S. Voß, S. Martello, I. Osman, & C. Roucairol (Eds.), Metaheuristics: Advances and trends in local search paradigms for optimization, chap. 30 (pp. 433–458). Dordrecht: Kluwer.

    Chapter  Google Scholar 

  • Hanshar, F. T., & Ombuki-Berman, B. M. (2007). Dynamic vehicle routing using genetic algorithms. Applied Intelligence, 27, 89–99.

    Article  Google Scholar 

  • Hvattum, L. M., Løkketangen, A., & Laporte, G. (2006). Solving a dynamic and stochastic vehicle routing problem with a sample scenario hedging heuristic. Transportation Science, 40(4), 421–438.

    Article  Google Scholar 

  • Khouadjia, M. R., Sarasola, B., Alba, E., Jourdan, L., & Talbi, E. G. (2011). Multi-environmental cooperative parallel metaheuristics for solving dynamic optimization problems. In IPDPS Workshops, (pp. 395–403). IEEE.

  • Khouadjia, M. R., Sarasola, B., Alba, E., Jourdan, L., & Talbi, E. G. (2012). A comparative study between dynamic adapted PSO and VNS for the vehicle routing problem with dynamic requests. Applied Soft Computing, 12(4), 1426–1439.

    Article  Google Scholar 

  • Kilby, P., Prosser, P., & Shaw, P. (1998). Dynamic VRPs: A study of scenarios. Tech. rep.: University of Strathclyde, UK.

  • Kritzinger, S., Tricoire, F., Doerner, K. F., Hartl, R. F., & Stützle, T. (2012). A unified framework for routing problems with fixed fleet size. Technical Report, submitted.

  • Kuo, Y., & Wang, C. C. (2012). A variable neighborhood search for the multi-depot vehicle routing problem with loading cost. Expert Systems with Applications, 39(8), 6949–6954.

    Article  Google Scholar 

  • Kytöjoki, J., Nuortio, T., Bräysy, O., & Gendreau, M. (2007). An efficient variable neighborhood search heuristic for very large scale vehicle routing problems. Computers & Operations Research, 34(9), 2743–2757.

    Article  Google Scholar 

  • Laporte, G., Louveaux, F. V., & van Hamme, L. (2002). An integer l-shaped algorithm for the capacitated vehicle routing problem with stochastic demands. Operations Research, 50(3), 415–423.

    Article  Google Scholar 

  • Lecluyse, C., Van Woensel, T., & Peremans, H. (2009). Vehicle routing with stochastic time-dependent travel times. 4OR, 7(4), 363–377.

    Article  Google Scholar 

  • Lei, H., Laporte, G., & Guo, B. (2011). The capacitated vehicle routing problem with stochastic demands and time windows. Computers & Operations Research, 38(12), 1775–1783.

    Article  Google Scholar 

  • Li, X., Tian, P., & Leung, S. C. (2010). Vehicle routing problems with time windows and stochastic travel and service times: Models and algorithm. International Journal of Production Economics, 125(1), 137–145.

    Article  Google Scholar 

  • Lorini, S., Potvin, J. Y., & Zufferey, N. (2011). Online vehicle routing and scheduling with dynamic travel times. Computers & Operations Research, 38(7), 1086–1090.

    Article  Google Scholar 

  • Mendoza, J. E., Rousseau, L. M., & Villegas, J. G. A hybrid metaheuristic for the vehicle routing problem with stochastic demand and duration constraints. Under review.

  • Mendoza, J. E., Castanier, B., Guéret, C., Medaglia, A. L., & Velasco, N. (2010). A memetic algorithm for the multi-compartment vehicle routing problem with stochastic demands. Computers & Operations Research, 37(11), 1886–1898.

    Article  Google Scholar 

  • Mendoza, J. E., & Villegas, J. G. (2013). A multi-space sampling heuristic for the vehicle routing problem with stochastic demands. Optimization Letters, 7(7), 1503–1516.

    Article  Google Scholar 

  • Montemanni, R., Gambardella, L. M., Rizzoli, A. E., & Donati, A. V. (2005). Ant colony system for a dynamic vehicle routing problem. Journal of Combinatorial Optimization, 10(4), 327–343.

    Article  Google Scholar 

  • Mu, Q., Fu, Z., Lysgaard, J., & Eglese, R. (2011). Disruption management of the vehicle routing problem with vehicle breakdown. Journal of the Operational Research Society, 62(4), 742–749.

    Article  Google Scholar 

  • Pillac, V., Gendreau, M., Guéret, C., & Medaglia, A. L. (2013). A review of dynamic vehicle routing problems. European Journal of Operational Research, 225(1), 1–11.

    Article  Google Scholar 

  • Polacek, M., Hartl, R. F., Doerner, K., & Reimann, M. (2004). A variable neighborhood search for the multi depot vehicle routing problem with time windows. Journal of Heuristics, 10(6), 613–627.

    Article  Google Scholar 

  • Potvin, J. Y., & Rousseau, J. M. (1995). An exchange heuristic for routing problems with time windows. Journal of the Operational Research Society, 46, 1433–1446.

    Article  Google Scholar 

  • Potvin, J. Y., Xu, Y., & Benyahia, I. (2006). Vehicle routing and scheduling with dynamic travel times. Computers & Operations Research, 33, 1129–1137.

    Article  Google Scholar 

  • Psaraftis, H. N. (1988). Dynamic vehicle routing problems (vol. 16). North Holland.

  • Psaraftis, H. N. (1995). Dynamic vehicle routing: Status and prospects. Annals of Operations Research, 61, 143–164.

    Article  Google Scholar 

  • Sarasola, B., Khouadjia, M. R., Alba, E., Jourdan, L., & Talbi, E. G. (2011). Flexible variable neighborhood search in dynamic vehicle routing. In EvoApplications (1), lecture notes in computer science, vol. 6624, (pp. 344–353). Berlin: Springer.

  • Schilde, M., Doerner, K. F., & Hartl, R. F. (2011). Metaheuristics for the dynamic stochastic dial-a-ride problem with expected return transports. Computers & Operations Research, 38(12), 1719–1730.

    Article  Google Scholar 

  • Secomandi, N. (2001). A rollout policy for the vehicle routing problem with stochastic demands. Operations Research, 49(5), 796–802.

    Article  Google Scholar 

  • Secomandi, N., & Margot, F. (2009). Reoptimization approaches for the vehicle-routing problem with stochastic demands. Operations Research, 57(1), 214–230.

    Article  Google Scholar 

  • Taillard, É. D. (1993). Parallel iterative search methods for vehicle routing problems. Networks, 23(8), 661–673.

    Article  Google Scholar 

  • Taillard, É. D., Badeau, P., Gendreau, M., Guertin, F., & Potvin, J. Y. (1997). A tabu search heuristic for the vehicle routing problem with soft time windows. Transportation Science, 31(2), 170–186.

    Article  Google Scholar 

  • Ulmer, M. W., Brinkmann, J., & Mattfeld, D. C. (2013). Anticipatory planning for courier, express and parcel services. To appear in Proceedings of Logistik Management.

  • Zachariadis, E. E., & Kiranoudis, C. T. (2010). An open vehicle routing problem metaheuristic for examining wide solution neighborhoods. Computers & Operations Research, 37(4), 712–723.

    Article  Google Scholar 

  • Zhang, T., Chaovalitwongse, W., & Zhang, Y. (2012). Scatter search for the stochastic travel-time vehicle routing problem with simultaneous pick-ups and deliveries. Computers & Operations Research, 39(10), 2277–2290.

    Article  Google Scholar 

Download references

Acknowledgments

We acknowledge funds from the Spanish Ministry of Sciences and Innovation European FEDER, under contracts TIN2008-06491-C04-01 (M* project, http://mstar.lcc.uma.es) and TIN2011-28194 (roadME project, http://roadme.lcc.uma.es), as well as CICE, Junta de Andalucía, under contract P07-TIC-03044 (DIRICOM project, http://diricom.lcc.uma.es). Briseida Sarasola received support from grant AP2009-1680 provided by the Spanish government. The financial support by the Austrian Federal Ministry of Economy, Family and Youth and the National Foundation for Research, Technology and Development is gratefully acknowledged.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Briseida Sarasola.

Appendix

Appendix

See Tables 8, 9, 10, 11, 12, 13, 14, 15, and 16.

Table 8 Results obtained by VNS and S-VNS on the VRPSD with demands deviation equal to \(\pm \)5.0 %
Table 9 Results obtained by VNS and S-VNS on the VRPSD with demands deviation equal to \(\pm \)15.0 %
Table 10 Results obtained by VNS and S-VNS on the VRPSD with demands deviation equal to \(\pm \)20.0 %
Table 11 Results obtained by VNS and S-VNS on the VRPSD with demands deviation equal to \(\pm \)25.0 %
Table 12 Results obtained by S-VNS, MSSH (Mendoza and Villegas 2013), and SA (Goodson et al. 2012) for the Christiansen and Lysgaard benchmark
Table 13 Results obtained by D-VNS and SD-VNS on the VRPSDDR with demands deviation equal to \(\pm 5.0\) %
Table 14 Results obtained by D-VNS and SD-VNS on the VRPSDDR with demands deviation equal to \(\pm \)15.0 %
Table 15 Results obtained by D-VNS and SD-VNS on the VRPSDDR with demands deviation equal to \(\pm \)20.0 %
Table 16 Results obtained by D-VNS and SD-VNS on the VRPSDDR with demands deviation equal to \(\pm \)25.0 %

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Sarasola, B., Doerner, K.F., Schmid, V. et al. Variable neighborhood search for the stochastic and dynamic vehicle routing problem. Ann Oper Res 236, 425–461 (2016). https://doi.org/10.1007/s10479-015-1949-7

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10479-015-1949-7

Keywords

Navigation