Skip to main content
QUICK REVIEW

[Paper Review] Edge-DIRECT: A Deep Reinforcement Learning-based Method for Solving Heterogeneous Electric Vehicle Routing Problem with Time Window Constraints

Arash Mozhdehi, Mahdi Mohammadizadeh|arXiv (Cornell University)|Jun 28, 2024
Vehicle Routing Optimization MethodsEngineering3 citations
TL;DR

Edge-DIRECT proposes a deep reinforcement learning method with a graph-enhanced encoder and dual-attention decoder to solve the heterogeneous electric vehicle routing problem with time windows (HEVRPTW). By modeling time-window overlaps as edges and integrating energy, travel time, and vehicle heterogeneity, it achieves superior solution quality and faster execution than state-of-the-art DRL and heuristic methods on real-world datasets.

ABSTRACT

In response to carbon-neutral policies in developed countries, electric vehicles route optimization has gained importance for logistics companies. With the increasing focus on customer expectations and the shift towards more customer-oriented business models, the integration of delivery time-windows has become essential in logistics operations. Recognizing the critical nature of these developments, this article studies the heterogeneous electric vehicle routing problem with time-window constraints (HEVRPTW). To solve this variant of vehicle routing problem (VRP), we propose a DRL-based approach, named Edge-enhanced Dual attentIon encoderR and feature-EnhanCed dual aTtention decoder (Edge-DIRECT). Edge-DIRECT features an extra graph representation, the node connectivity of which is based on the overlap of customer time-windows. Edge-DIRECT's self-attention encoding mechanism is enhanced by exploiting the energy consumption and travel time between the locations. To effectively account for the heterogeneity of the EVs' fleet, a dual attention decoder has been introduced. Experimental results based on two real-world datasets reveal that Edge-DIRECT outperforms a state-of-the-art DRL-based method and a well-established heuristic approach in solution quality and execution time. Furthermore, it exhibits competitive performance when compared to another leading heuristic method.

Motivation & Objective

  • To address the NP-hard heterogeneous electric vehicle routing problem with time-window constraints (HEVRPTW), which combines vehicle heterogeneity, time-window delivery requirements, and EV energy constraints.
  • To overcome limitations in existing DRL-based methods that ignore temporal feasibility, vehicle heterogeneity, and energy consumption in route planning.
  • To develop a scalable, end-to-end deep reinforcement learning framework that leverages structural problem insights for improved routing performance.
  • To evaluate the method on real-world datasets and demonstrate superiority over state-of-the-art DRL and heuristic approaches in solution quality and computational efficiency.

Proposed method

  • Edge-DIRECT uses a graph attention network (GAT) to encode customer nodes connected by edges based on overlapping time-windows and travel time, enabling the model to capture temporal feasibility during encoding.
  • The encoder incorporates energy consumption and travel time between nodes as edge features, enhancing the representation of feasible routes under EV constraints.
  • A dual-attention decoder is introduced to handle fleet heterogeneity by separately attending to battery and cargo capacity features of EVs, enabling selective vehicle assignment.
  • The model employs a Transformer-style policy network with self-attention mechanisms to generate high-quality, feasible routes through differentiable policy learning.
  • The method is trained via deep reinforcement learning with curriculum learning and greedy decoding, optimizing for total cost, including travel time and energy consumption.
  • The graph representation is dynamically constructed based on time-window overlap and travel time, forming a time-aware connectivity structure that guides the policy network.
Figure 1 . Illustration of Edge-DIRECT’s policy network architecture.
Figure 1 . Illustration of Edge-DIRECT’s policy network architecture.

Experimental results

Research questions

  • RQ1How does incorporating time-window overlap as a graph structure improve route feasibility and solution quality in HEVRPTW?
  • RQ2To what extent does modeling vehicle heterogeneity through a dual-attention decoder enhance routing performance and cost efficiency?
  • RQ3How does the integration of energy consumption and travel time in the encoder affect the model’s ability to generate low-cost, feasible EV routes?
  • RQ4How does Edge-DIRECT compare in performance and efficiency to state-of-the-art DRL and heuristic methods on real-world HEVRPTW instances?

Key findings

  • Edge-DIRECT achieved a 704.2 cost on the HEVRPTW-100 dataset, outperforming EVRPTW-RL (4024.1) and ACO (3987.4) in cost while using significantly less time (11.10s vs. 17.31s).
  • The ablation study showed that the time-window graph encoding module contributed most to cost reduction, decreasing cost by 285.5 units compared to the baseline on HEVRPTW-100.
  • The heterogeneous decoder improved cost efficiency by 188.6 units compared to the edge-enhanced encoder-only variant, demonstrating its critical role in handling fleet diversity.
  • As the charging station-to-customer ratio increased from 2% to 20%, Edge-DIRECT reduced total cost by 14.6% (from 3201.5 to 3068.3) while maintaining faster inference than EVRPTW-RL.
  • Edge-DIRECT achieved a 40% reduction in computational time compared to EVRPTW-RL on the 100-customer instance, despite lower cost, highlighting its efficiency.
  • The model maintained competitive performance across all datasets, outperforming VNS/TS in route efficiency and surpassing ACO in cost reduction with substantially less running time.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.