Double Deep Q-Network-Based Solution for the Dynamic Electric Vehicle Routing Problem
Source abstract
Abstract
The Dynamic Electric Vehicle Routing Problem (D-EVRP) presents a framework that requires electric vehicles to meet demand with limited energy capacity. When dynamic demand flows and charging requirements are considered together, traditional methods cannot provide sufficient adaptation for real-time decision-making. Therefore, a learning-based approach was chosen to ensure that decision-making processes respond quickly to changing conditions. The solution utilizes a model with a Double Deep Q-Network (DDQN) architecture and a discrete valuation structure. Prioritized Experience Replay (PER) was implemented to increase model stability, allowing infrequent but effective experiments to contribute more to the learning process. The state representation is constructed using the vehicle’s location, battery level, load status, and current customer demands. Scalability is ensured by dividing customer locations into clusters using the K-means method, with each cluster handled by an independent representative. The approach was tested with real-world road data obtained from the Meşelik Campus of Osmangazi University in Eskişehir. Experiments conducted under different demand levels and data sizes have shown that the PER-assisted DDQN structure produces more stable and shorter route lengths in dynamic scenarios, but random selection, greedy method and genetic algorithm experience significant performance losses as dynamicity increases.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Vehicle Routing Optimization Methods · Electric Vehicles and Infrastructure · Transportation and Mobility Innovations
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Computer Engineering, Eskisehir Osmangazi University, Eskisehir 26040, Türkiye
Department of Computer Engineering, Erzincan Binali Yildirim University, Erzincan 24100, Türkiye
The Center for Intelligent Systems Applications Research (CISAR), Eskisehir 26040, Türkiye
Department of Industrial Engineering, Eskisehir Osmangazi University, Eskisehir 26040, Türkiye
Funding
Scientific and Technological Research Council of Turkey
References (59)
Show source-provided references
1. Grid integration of electric vehicles within electricity and carbon markets: A comprehensive overview10.1016/j.etran.2025.100435 ↗
2. A green vehicle routing problem10.1016/j.tre.2011.08.001 ↗
3. The electric vehicle-routing problem with time windows and recharging stations10.1287/trsc.2013.0490 ↗
4. Partial recharge strategies for the electric vehicle routing problem with time windows10.1016/j.trc.2016.01.013 ↗
5. Vehicle dispatching with time-dependent travel times10.1016/S0377-2217(02)00147-9 ↗
6. A review of dynamic vehicle routing problems10.1016/j.ejor.2012.08.015 ↗
7. Bent, R., and Van Hentenryck, P. (2007, January 6–12). Waiting and relocation strategies in online stochastic vehicle routing. Proceedings of the International Joint Conference on Artificial Intelligence (IJCAI), Hyderabad, India.
8. Van Hasselt, H., Guez, A., and Silver, D. (2016, January 12–17). Deep reinforcement learning with double q-learning. Proceedings of the AAAI Conference on Artificial Intelligence, Phoenix, AZ, USA.10.1609/aaai.v30i1.10295 ↗
9. Offline–online approximate dynamic programming for dynamic vehicle routing with stochastic requests10.1287/trsc.2017.0767 ↗
10. Dynamic stochastic electric vehicle routing with safe reinforcement learning10.1016/j.tre.2021.102496 ↗
11. Adaptive routing and recharging policies for electric vehicles10.1287/trsc.2016.0724 ↗
12. The electric vehicle routing problem with nonlinear charging function10.1016/j.trb.2017.02.004 ↗
13. Online over time processing of combinatorial problems10.1007/s10601-018-9287-4 ↗
14. Nazari, M., Oroojlooy, A., Snyder, L., and Takác, M. (2018, January 3–8). Reinforcement learning for solving the vehicle routing problem. Proceedings of the 32nd International Conference on Neural Information Processing Systems (NIPS’18), Montréal, QC, Canada.
15. Kool, W., Van Hoof, H., and Welling, M. (2018). Attention, learn to solve routing problems!. arXiv.
16. Mnih, V., Badia, A.P., Mirza, M., Graves, A., Lillicrap, T., Harley, T., Silver, D., and Kavukcuoglu, K. (2016, January 19–24). Asynchronous methods for deep reinforcement learning. Proceedings of the International Conference on Machine Learning (ICML), New York, NY, USA.
17. Wang, Z., Schaul, T., Hessel, M., Hasselt, H., Lanctot, M., and Freitas, N. (2016, January 19–24). Dueling network architectures for deep reinforcement learning. Proceedings of the International Conference on Machine Learning (ICML), New York, NY, USA.
18. Study of Q-learning and deep Q-network learning control for a rotary inverted pendulum system10.1007/s42452-024-05690-y ↗
19. Guan, Q., Cao, H., Niu, T., Jia, L., Xue, S., and Chen, B. (2025). Diverse route-driven deep reinforcement learning for vehicle routing problems. Neurocomputing, 131099.10.1016/j.neucom.2025.131099 ↗
20. The Dynamic Traveling Salesman Problem with Time-Dependent and Stochastic travel times: A deep reinforcement learning approach10.1016/j.trc.2025.105022 ↗
21. Kang, M., Tian, H., Zhang, J., Zheng, D., and Wu, Y. (2024, January 3–6). A Deep Reinforcement Learning Algorithm for Dynamic Electric Vehicle Routing Problem. Proceedings of the 50th Annual Conference of the IEEE Industrial Electronics Society (IECON 2024), Chicago, IL, USA.10.1109/IECON55916.2024.10905409 ↗
22. Deep reinforcement learning for dynamic vehicle routing with demand and traffic uncertainty
23. A comparison of reinforcement learning policies for dynamic vehicle routing problems with stochastic customer requests10.1016/j.cie.2024.110747 ↗
24. Knowledge-guided hybrid deep reinforcement learning for the dynamic multi-depot electric vehicle routing problem10.1016/j.cor.2025.107217 ↗
25. Deep reinforcement learning for the dynamic and uncertain vehicle routing problem10.1007/s10489-022-03456-w ↗
26. Konovalenko, A., and Hvattum, L.M. (2024). Optimizing a dynamic vehicle routing problem with deep reinforcement learning: Analyzing state-space components. Logistics, 8.10.3390/logistics8040096 ↗
27. Muñoz, P.B., Cortés, E., and Contreras, F. (2025, January 16–19). Capacitated vehicle routing model with time limit for waste collection and recycling in a university campus. Proceedings of the 2025 IEEE International Conference on Engineering, Technology, and Innovation (ICE/ITMC), Valencia, Spain.10.1109/ICE/ITMC65658.2025.11106642 ↗
28. Shah, K. (2025, January 10–12). Enhancing campus navigation: A VRP analysis for autonomous vehicle routing. Proceedings of the 2025 ASEE PSW Conference, Pomona, CA, USA.
29. An electric vehicle routing problem with intermediate nodes for shuttle fleets10.1109/TITS.2020.3023673 ↗
30. Taş, M.B.H., Özkan, K., Sarıçiçek, İ., and Yazici, A. (2025). Transportation Mode Selection Using Reinforcement Learning in Simulation of Urban Mobility. Appl. Sci., 15.10.3390/app15020806 ↗
31. Lund, K., Madsen, O.B., and Rygaard, J.M. (1996). Vehicle Routing Problems with Varying Degrees of Dynamism, IMM—Technical University of Denmark. Technical Report.
32. Dynamic vehicle routing with random requests: A literature review10.1016/j.ijpe.2022.108751 ↗
33. Anticipatory route selection10.1287/trsc.1030.0071 ↗
34. Scenario-based planning for partially dynamic vehicle routing with stochastic customers10.1287/opre.1040.0124 ↗
35. Solving a dynamic and stochastic vehicle routing problem with a sample scenario hedging heuristic10.1287/trsc.1060.0166 ↗
36. Budgeting time for dynamic vehicle routing with stochastic customer requests10.1287/trsc.2016.0719 ↗
37. Mozhdehi, A., Mohammadizadeh, M., and Wang, X. (2024). Edge-Direct: A deep reinforcement learning-based method for solving heterogeneous electric vehicle routing problem with time window constraints. arXiv.10.1145/3678717.3691208 ↗
38. Aslan Yıldız, Ö., Sarıçiçek, İ., and Yazıcı, A. (2025). A reinforcement learning-based solution for the capacitated electric vehicle routing problem from the last-mile delivery perspective. Appl. Sci., 15.10.3390/app15031068 ↗
39. Aslan Yıldız, Ö., Sarıçiçek, İ., and Yazıcı, A. (2025, December 10). ESOGU-EVRP-PDP-TW. Mendeley Data, Version 1. Available online: https://data.mendeley.com/datasets/trntd8shmz/1.
40. Lee, K., and Chae, J. (2021). A proposal and analysis of new realistic sets of benchmark instances for vehicle routing problems with asymmetric costs. Appl. Sci., 11.10.3390/app11114790 ↗
41. Grinberger, A.Y., Minghini, M., Juhász, L., Yeboah, G., and Mooney, P. (2022). OSM science—The academic study of the OpenStreetMap project, data, contributors, community, and applications. ISPRS Int. J. Geo-Inf., 11.10.3390/ijgi11040230 ↗
42. OpenStreetMap history for intrinsic quality assessment: Is OSM up-to-date?10.1186/s40965-019-0067-x ↗
43. Krajzewicz, D., Hertkorn, G., Rössel, C., and Wagner, P. (2002, January 28–30). SUMO (Simulation of Urban Mobility)—An open-source traffic simulation. Proceedings of the 4th Middle East Symposium on Simulation and Modelling (MESM 2002), Sharjah, United Arab Emirates.
44. Behrisch, M., Bieker, L., Erdmann, J., and Krajzewicz, D. (2011, January 23–29). SUMO—Simulation of urban mobility: An overview. Proceedings of the SIMUL 2011, The Third International Conference on Advances in System Simulation, Barcelona, Spain.
45. Berner, C., Brockman, G., Chan, B., Cheung, V., Dębiak, P., Dennison, C., Farhi, D., Fischer, Q., Hashme, S., and Hesse, C. (2019). Dota 2 with large scale deep reinforcement learning. arXiv.
46. Mastering the game of Go with deep neural networks and tree search10.1038/nature16961 ↗
47. Clustering algorithm for a vehicle routing problem with time windows10.3846/transport.2022.16850 ↗
48. A clustering-based multi-agent reinforcement learning framework for finer-grained taxi dispatching10.1109/TITS.2024.3370820 ↗
49. García Sánchez, D., Tabares, A., Faria, L.T., Rivera, J.C., and Franco, J.F. (2022). A clustering approach for the optimal siting of recharging stations in the electric vehicle routing problem with time windows. Energies, 15.10.3390/en15072372 ↗
50. A greedy search based evolutionary algorithm for electric vehicle routing problem10.1007/s10489-022-03555-8 ↗
51. Prosser, P., and Shaw, P. (1996). Study of Greedy Search with Multiple Improvement Heuristics for Vehicle Routing Problems, University of St. Andrews.
52. A greedy tabu dual heuristic algorithm for the cyclic pickup and delivery problem with 3D loading constraints10.1038/s41598-024-82534-0 ↗
53. A genetic algorithm for the vehicle routing problem10.1016/S0305-0548(02)00051-5 ↗
54. Ochelska-Mierzejewska, J., Poniszewska-Marańda, A., and Marańda, W. (2021). Selected genetic algorithms for vehicle routing problem solving. Electronics, 10.10.3390/electronics10243147 ↗
55. An Adaptive Memetic Algorithm for Dynamic Electric Vehicle Routing Problem with Time-Varying Demands
56. Gaon, T., Gabay, Y., and Weiss Cohen, M. (2025). Optimizing electric vehicle routing efficiency using k-means clustering and genetic algorithms. Future Internet, 17.10.3390/fi17030097 ↗
57. Two-step genetic algorithm for dynamic route optimization of electric vehicles based on demand analysis10.1007/s13369-025-10076-2 ↗
58. Evolving routing policies for electric vehicles by means of genetic programming10.1007/s10489-024-05803-5 ↗
59. Đurasevic, M., and Gala, F.J.G. (2024, January 18–20). Automated design of routing policies for the dynamic electric vehicle routing problem with genetic programming. Proceedings of the International Joint Conference on Computational Intelligence, Porto, Portugal.10.5220/0013058900003837 ↗