[论文解读] Edge-DIRECT: A Deep Reinforcement Learning-based Method for Solving Heterogeneous Electric Vehicle Routing Problem with Time Window Constraints
Edge-DIRECT 提出了一种基于图增强编码器和双注意力解码器的深度强化学习方法,用于求解具有时间窗的异构电动车辆路径问题(HEVRPTW)。通过将时间窗重叠建模为边,并整合能量消耗、行驶时间与车辆异质性,该方法在真实世界数据集上实现了优于最先进 DRL 和启发式方法的解决方案质量与更快的执行速度。
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.
研究动机与目标
- 为解决 NP-难的异构电动车辆路径问题(HEVRPTW),该问题结合了车辆异质性、时间窗交付要求以及电动车能量约束。
- 克服现有基于 DRL 的方法在路径规划中忽略时间可行性、车辆异质性与能量消耗的局限性。
- 开发一种可扩展的端到端深度强化学习框架,利用问题的结构化洞察以提升路径规划性能。
- 在真实世界数据集上评估该方法,并证明其在解决方案质量与计算效率方面优于最先进 DRL 与启发式方法。
提出的方法
- Edge-DIRECT 使用图注意力网络(GAT)对基于时间窗重叠与行驶时间连接的客户节点进行编码,使模型在编码阶段即可捕捉时间可行性。
- 编码器将节点间的能量消耗与行驶时间作为边特征,增强在电动车约束下可行路径的表征能力。
- 引入双注意力解码器,通过分别关注电动车的电池容量与载重容量特征,实现对车辆的有选择性分配,以应对车队异质性。
- 模型采用类似 Transformer 的策略网络,结合自注意力机制,通过可微分策略学习生成高质量且可行的路径。
- 该方法通过深度强化学习进行训练,结合课程学习与贪婪解码策略,以最小化总成本(包括行驶时间与能量消耗)为目标。
- 图表示基于时间窗重叠与行驶时间动态构建,形成具有时间感知特性的连接结构,引导策略网络决策。

实验结果
研究问题
- RQ1将时间窗重叠作为图结构引入,如何提升 HEVRPTW 中路径的可行性与解决方案质量?
- RQ2通过双注意力解码器建模车辆异质性,在多大程度上提升了路径规划性能与成本效率?
- RQ3在编码器中整合能量消耗与行驶时间,如何影响模型生成低成本、可行电动车路径的能力?
- RQ4Edge-DIRECT 在真实世界 HEVRPTW 实例上,与最先进 DRL 与启发式方法相比,在性能与效率方面表现如何?
主要发现
- 在 HEVRPTW-100 数据集上,Edge-DIRECT 实现了 704.2 的成本,显著优于 EVRPTW-RL(4024.1)与 ACO(3987.4),同时耗时更短(11.10s vs. 17.31s)。
- 消融实验表明,时间窗图编码模块对成本降低贡献最大,在 HEVRPTW-100 上相比基线降低了 285.5 单位成本。
- 与仅使用边增强编码器的变体相比,异质性解码器使成本效率提升了 188.6 单位,证明其在处理车队多样性中的关键作用。
- 当充电站与客户比例从 2% 提升至 20% 时,Edge-DIRECT 将总成本降低了 14.6%(从 3201.5 降至 3068.3),同时推理速度仍快于 EVRPTW-RL。
- 在 100 个客户的实例上,Edge-DIRECT 的计算时间相比 EVRPTW-RL 减少了 40%,尽管成本更低,凸显其高效性。
- 该模型在所有数据集上均保持了具有竞争力的性能,路径效率优于 VNS/TS,且在成本降低方面超越 ACO,同时运行时间显著更短。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。