IDEAS home Printed from https://ideas.repec.org/a/eee/transe/v204y2025ics1366554525004582.html

Dynamic routing optimization of electric vehicles for retailers based on consumer behavior prediction

Author

Listed:
  • Ge, Xianlong
  • Yin, Qiushuang
  • Moktadir, Md. Abdul
  • Ren, Jingzheng

Abstract

To address the dual challenges of declining retailer profit margins and rising logistics costs, we propose to use the surplus capacity of electric vehicles (EVs) to conduct opportunistic sales and construct a new decision-making framework that integrates consumer behavior prediction and a dynamic customer insertion strategy to improve corporate profit margins by actively exploring potential demand. First, a stacked ensemble learning model is built based on user historical behavior data to predict the user’s purchase probability, accurately identify high-purchase probability customers and push demand product orders to them. Then, a two-stage dynamic path optimization model is designed. Static customer order information and prediction probability are used as input parameters of the model for path optimization in the initial stage. By setting a high-probability purchase customer threshold, high-purchase rate customers are screened out, and resources are pre-allocated. In order to quantify the prediction uncertainty, the Chernoff approximation is introduced to transform random constraints into deterministic constraints, and the safety margin is calculated to ensure that the pre-allocated resources can meet the dynamic demand. In the second stage, combined with the improved Bernoulli distribution, the actual dynamic customer demand is calculated based on the prediction probability, prediction accuracy and deviation factor. The path re-optimization is achieved through the profit-maximizing insertion strategy, and the battery replacement solution is introduced to reduce the risk of battery life interruption. In terms of solution algorithm, we adopt the mileage saving-tabu search hybrid algorithm, integrate multiple local search operations, and enhance the global optimization capability. Experimental results show that: (1) The pre-allocation strategy based on the prediction results can make the service rate of high-probability purchase customers reach up to 100%, and the enterprise profit increases by 30.598%. (2) The average solution time of the solution strategy we proposed is 5.7382 s, the average cost increase rate is 21.1975%, and the average increase in cost per dynamic customer is 26.1495 CNY. These three key indicators are significantly better than the two strategies of rolling time domain and pre-processing all dynamic requirements in advance.

Suggested Citation

  • Ge, Xianlong & Yin, Qiushuang & Moktadir, Md. Abdul & Ren, Jingzheng, 2025. "Dynamic routing optimization of electric vehicles for retailers based on consumer behavior prediction," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 204(C).
  • Handle: RePEc:eee:transe:v:204:y:2025:i:c:s1366554525004582
    DOI: 10.1016/j.tre.2025.104417
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S1366554525004582
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.tre.2025.104417?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. G. Clarke & J. W. Wright, 1964. "Scheduling of Vehicles from a Central Depot to a Number of Delivery Points," Operations Research, INFORMS, vol. 12(4), pages 568-581, August.
    2. Michel Gendreau & François Guertin & Jean-Yves Potvin & Éric Taillard, 1999. "Parallel Tabu Search for Real-Time Vehicle Routing and Dispatching," Transportation Science, INFORMS, vol. 33(4), pages 381-390, November.
    3. Schaer, Oliver & Kourentzes, Nikolaos & Fildes, Robert, 2019. "Demand forecasting with user-generated online information," International Journal of Forecasting, Elsevier, vol. 35(1), pages 197-212.
    4. G. B. Dantzig & J. H. Ramser, 1959. "The Truck Dispatching Problem," Management Science, INFORMS, vol. 6(1), pages 80-91, October.
    5. Evgeny A. Antipov & Elena B. Pokryshevskaya, 2020. "Interpretable machine learning for demand modeling with high-dimensional data using Gradient Boosting Machines and Shapley values," Journal of Revenue and Pricing Management, Palgrave Macmillan, vol. 19(5), pages 355-364, October.
    6. Yu, Vincent F. & Anh, Pham Tuan & Baldacci, Roberto, 2023. "A robust optimization approach for the vehicle routing problem with cross-docking under demand uncertainty," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 173(C).
    7. Ouyang, Zhiyuan & Leung, Eric Ka Ho & Huang, George Q., 2022. "Community logistics for dynamic vehicle dispatching: The effects of community departure “time” and “space”," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 165(C).
    8. Fildes, Robert & Kolassa, Stephan & Ma, Shaohui, 2022. "Post-script—Retail forecasting: Research and practice," International Journal of Forecasting, Elsevier, vol. 38(4), pages 1319-1324.
    9. Basso, Rafael & Kulcsár, Balázs & Sanchez-Diaz, Ivan & Qu, Xiaobo, 2022. "Dynamic stochastic electric vehicle routing with safe reinforcement learning," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 157(C).
    10. Makridakis, Spyros & Spiliotis, Evangelos & Assimakopoulos, Vassilios, 2022. "M5 accuracy competition: Results, findings, and conclusions," International Journal of Forecasting, Elsevier, vol. 38(4), pages 1346-1364.
    11. Wadi Khalid Anuar & Lai Soon Lee & Hsin-Vonn Seow & Stefan Pickl, 2022. "A Multi-Depot Dynamic Vehicle Routing Problem with Stochastic Road Capacity: An MDP Model and Dynamic Policy for Post-Decision State Rollout Algorithm in Reinforcement Learning," Mathematics, MDPI, vol. 10(15), pages 1-70, July.
    12. Ma, Shaohui & Fildes, Robert, 2021. "Retail sales forecasting with meta-learning," European Journal of Operational Research, Elsevier, vol. 288(1), pages 111-128.
    13. Raeesi, Ramin & Zografos, Konstantinos G., 2020. "The electric vehicle routing problem with time windows and synchronised mobile battery swapping," Transportation Research Part B: Methodological, Elsevier, vol. 140(C), pages 101-129.
    14. Zhang, Lele & Ding, Pengyuan & Thompson, Russell G., 2023. "A stochastic formulation of the two-echelon vehicle routing and loading bay reservation problem," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 177(C).
    15. Sarkar, Biswajit & Kar, Sumi & Pal, Anita, 2024. "Does the bullwhip effect really help a dual-channel retailing with a conditional home delivery policy?," Journal of Retailing and Consumer Services, Elsevier, vol. 78(C).
    16. Kotzab, Herbert & Yumurtacı Hüseyinoğlu, Işık Özge & Şen, Irmak & Mena, Carlos, 2024. "Exploring home delivery service attributes: Sustainability versus delivery expectations during the COVID-19 pandemic," Journal of Retailing and Consumer Services, Elsevier, vol. 78(C).
    17. Keskin, Merve & Branke, Juergen & Deineko, Vladimir & Strauss, Arne K., 2023. "Dynamic multi-period vehicle routing with touting," European Journal of Operational Research, Elsevier, vol. 310(1), pages 168-184.
    18. Fildes, Robert & Ma, Shaohui & Kolassa, Stephan, 2022. "Retail forecasting: Research and practice," International Journal of Forecasting, Elsevier, vol. 38(4), pages 1283-1318.
    19. Xi Chen & Zachary Owen & Clark Pixton & David Simchi-Levi, 2022. "A Statistical Learning Approach to Personalization in Revenue Management," Management Science, INFORMS, vol. 68(3), pages 1923-1937, March.
    20. Shuyun Ren & Hau-Ling Chan & Tana Siqin, 2020. "Demand forecasting in retail operations for fashionable products: methods, practices, and real case study," Annals of Operations Research, Springer, vol. 291(1), pages 761-777, August.
    21. Xinan Yang & Arne K. Strauss & Christine S. M. Currie & Richard Eglese, 2016. "Choice-Based Demand Management and Vehicle Routing in E-Fulfillment," Transportation Science, INFORMS, vol. 50(2), pages 473-488, May.
    22. Zaghloul, Maha & Barakat, Sherif & Rezk, Amira, 2024. "Predicting E-commerce customer satisfaction: Traditional machine learning vs. deep learning approaches," Journal of Retailing and Consumer Services, Elsevier, vol. 79(C).
    23. Montero-Manso, Pablo & Hyndman, Rob J., 2021. "Principles and algorithms for forecasting groups of time series: Locality and globality," International Journal of Forecasting, Elsevier, vol. 37(4), pages 1632-1653.
    24. Marlin W. Ulmer, 2020. "Dynamic Pricing and Routing for Same-Day Delivery," Transportation Science, INFORMS, vol. 54(4), pages 1016-1033, July.
    25. Abdollahi, Mohammad & Yang, Xinan & Nasri, Moncef Ilies & Fairbank, Michael, 2023. "Demand management in time-slotted last-mile delivery via dynamic routing with forecast orders," European Journal of Operational Research, Elsevier, vol. 309(2), pages 704-718.
    26. Gür Ali, Özden & Gürlek, Ragıp, 2020. "Automatic Interpretable Retail forecasting with promotional scenarios," International Journal of Forecasting, Elsevier, vol. 36(4), pages 1389-1406.
    27. Niels Agatz & Ann Campbell & Moritz Fleischmann & Martin Savelsbergh, 2011. "Time Slot Management in Attended Home Delivery," Transportation Science, INFORMS, vol. 45(3), pages 435-449, August.
    28. Luan Thanh Le & Trang Xuan-Thi-Thu, 2024. "Discovering supply chain operation towards sustainability using machine learning and DES techniques: a case study in Vietnam seafood," Maritime Business Review, Emerald Group Publishing Limited, vol. 9(3), pages 243-262, July.
    29. Huber, Jakob & Stuckenschmidt, Heiner, 2020. "Daily retail demand forecasting using machine learning with emphasis on calendric special days," International Journal of Forecasting, Elsevier, vol. 36(4), pages 1420-1438.
    30. Chen, Rui & Jia, Shuai & Meng, Qiang, 2023. "Dynamic container drayage booking and routing decision support approach for E-commerce platforms," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 177(C).
    31. Pedro Amorim & Nicole DeHoratius & Fredrik Eng-Larsson & Sara Martins, 2024. "Customer Preferences for Delivery Service Attributes in Attended Home Delivery," Management Science, INFORMS, vol. 70(11), pages 7559-7578, November.
    32. Pereira, Marina Meireles & Frazzon, Enzo Morosini, 2021. "A data-driven approach to adaptive synchronization of demand and supply in omni-channel retail supply chains," International Journal of Information Management, Elsevier, vol. 57(C).
    33. Klein, Robert & Koch, Sebastian & Steinhardt, Claudius & Strauss, Arne K., 2020. "A review of revenue management: Recent generalizations and advances in industry applications," European Journal of Operational Research, Elsevier, vol. 284(2), pages 397-412.
    34. Kolassa, Stephan, 2022. "Commentary on the M5 forecasting competition," International Journal of Forecasting, Elsevier, vol. 38(4), pages 1562-1568.
    35. Zhang, Jian & Luo, Kelin & Florio, Alexandre M. & Van Woensel, Tom, 2023. "Solving large-scale dynamic vehicle routing problems with stochastic requests," European Journal of Operational Research, Elsevier, vol. 306(2), pages 596-614.
    36. Mo, Baichuan & Wang, Qingyi & Guo, Xiaotong & Winkenbach, Matthias & Zhao, Jinhua, 2023. "Predicting drivers’ route trajectories in last-mile delivery using a pair-wise attention-based pointer neural network," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 175(C).
    37. Laporte, Gilbert, 1992. "The vehicle routing problem: An overview of exact and approximate algorithms," European Journal of Operational Research, Elsevier, vol. 59(3), pages 345-358, June.
    38. Mir Ehsan Hesam Sadati & Vahid Akbari & Bülent Çatay, 2022. "Electric vehicle routing problem with flexible deliveries," International Journal of Production Research, Taylor & Francis Journals, vol. 60(13), pages 4268-4294, July.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Fildes, Robert & Kolassa, Stephan & Ma, Shaohui, 2022. "Post-script—Retail forecasting: Research and practice," International Journal of Forecasting, Elsevier, vol. 38(4), pages 1319-1324.
    2. Okazaki, Ryota & Oyama, Yuki & Imura, Naoto & Nishinari, Katsuhiro, 2025. "Evaluating choice-based demand management strategies for day-to-day home delivery planning," Research in Transportation Economics, Elsevier, vol. 113(C).
    3. Marco Zanotti, 2025. "Do global forecasting models require frequent retraining?," Working Papers 551, University of Milano-Bicocca, Department of Economics.
    4. Long, Xueying & Bui, Quang & Oktavian, Grady & Schmidt, Daniel F. & Bergmeir, Christoph & Godahewa, Rakshitha & Lee, Seong Per & Zhao, Kaifeng & Condylis, Paul, 2025. "Scalable probabilistic forecasting in retail with gradient boosted trees: A practitioner’s approach," International Journal of Production Economics, Elsevier, vol. 279(C).
    5. Feddersen, Leif & Cleophas, Catherine, 2026. "Hierarchical neural additive models for interpretable demand forecasts," International Journal of Forecasting, Elsevier, vol. 42(1), pages 216-234.
    6. Marco Zanotti, 2025. "The cost of ensembling: is it always worth combining?," Working Papers 554, University of Milano-Bicocca, Department of Economics.
    7. Jean-François Cordeau & Manuel Iori & Dario Vezzali, 2024. "An updated survey of attended home delivery and service problems with a focus on applications," Annals of Operations Research, Springer, vol. 343(2), pages 885-922, December.
    8. Marco Zanotti, 2025. "On the stability of global forecasting models," Working Papers 553, University of Milano-Bicocca, Department of Economics.
    9. Fleckenstein, David & Klein, Robert & Steinhardt, Claudius, 2023. "Recent advances in integrating demand management and vehicle routing: A methodological review," European Journal of Operational Research, Elsevier, vol. 306(2), pages 499-518.
    10. Waßmuth, Katrin & Köhler, Charlotte & Agatz, Niels & Fleischmann, Moritz, 2023. "Demand management for attended home delivery—A literature review," European Journal of Operational Research, Elsevier, vol. 311(3), pages 801-815.
    11. Ninja Soeffker & Marlin W. Ulmer & Dirk C. Mattfeld, 2024. "Balancing resources for dynamic vehicle routing with stochastic customer requests," OR Spectrum: Quantitative Approaches in Management, Springer;Gesellschaft für Operations Research e.V., vol. 46(2), pages 331-373, June.
    12. Saccomanno, Francesco Paolo & Trivella, Alessio & Guerriero, Francesca, 2026. "Integrated sales planning for in-store retail: A multi-stage stochastic optimization approach," European Journal of Operational Research, Elsevier, vol. 329(2), pages 669-686.
    13. Gür Ali, Özden & Amorim, Pedro, 2024. "Personalized choice model for forecasting demand under pricing scenarios with observational data—The case of attended home delivery," International Journal of Forecasting, Elsevier, vol. 40(2), pages 706-720.
    14. Jean-François Cordeau & Manuel Iori & Dario Vezzali, 2023. "A survey of attended home delivery and service problems with a focus on applications," 4OR, Springer, vol. 21(4), pages 547-583, December.
    15. Avraham, Edison & Raviv, Tal, 2021. "The steady-state mobile personnel booking problem," Transportation Research Part B: Methodological, Elsevier, vol. 154(C), pages 266-288.
    16. Sagaert, Yves R. & Kourentzes, Nikolaos, 2025. "Inventory management with leading indicator augmented hierarchical forecasts," Omega, Elsevier, vol. 136(C).
    17. Abdollahi, Mohammad & Yang, Xinan & Nasri, Moncef Ilies & Fairbank, Michael, 2023. "Demand management in time-slotted last-mile delivery via dynamic routing with forecast orders," European Journal of Operational Research, Elsevier, vol. 309(2), pages 704-718.
    18. Marlin W. Ulmer & Alan Erera & Martin Savelsbergh, 2022. "Dynamic service area sizing in urban delivery," OR Spectrum: Quantitative Approaches in Management, Springer;Gesellschaft für Operations Research e.V., vol. 44(3), pages 763-793, September.
    19. Yuan, Zijian & Wang, Tao & Tian, Junfang & Zhang, Jing & Zheng, Jianfeng & Wu, Jianjun & Gao, Ziyou, 2026. "Mitigate the range anxiety: two-stage optimization for the electric vehicle routing problem with time windows and battery status uncertainty," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 205(C).
    20. Koch, Sebastian & Klein, Robert, 2020. "Route-based approximate dynamic programming for dynamic pricing in attended home delivery," European Journal of Operational Research, Elsevier, vol. 287(2), pages 633-652.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:transe:v:204:y:2025:i:c:s1366554525004582. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/wps/find/journaldescription.cws_home/600244/description#description .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.