IDEAS home Printed from https://ideas.repec.org/a/eee/appene/v410y2026ics0306261926002643.html

Transformer-enhanced multi-agent reinforcement learning for dynamic electric logistics Fleet routing under time-varying traffic

Author

Listed:
  • Liu, Wei
  • Wang, Youqi
  • Li, Bingbing
  • Wen, Yixun
  • Zhang, Hao
  • Zhuang, Weichao
  • Yin, Guodong
  • Chen, Boli

Abstract

This paper proposes a Transformer-Enhanced Multi-Agent Reinforcement Learning (TE-MARL) framework for electric logistics fleet routing under time-varying traffic and coupled power-grid loads, with the goal of minimizing overall operating cost. First, we develop a linear congestion model with a 30-min smooth transition to approximate the continuous dynamics of traffic flows. In parallel, we establish an energy consumption–charging coupling model that captures the effects of congestion, speed, specific energy consumption, and peak–valley grid-load fluctuations on charging efficiency. Next, we design a three-module Transformer-based policy network that incorporates traffic-aware attention to strengthen the representation of congestion features. The framework employs centralized training with decentralized execution (CTDE) and Proximal Policy Optimization (PPO) to enhance generalization and stability in highly dynamic environments. Beyond conventional objectives such as minimizing travel time and energy consumption, we introduce a Traffic Adaptability Cost metric to quantify the robustness of routing solutions to traffic fluctuations. Extensive experiments under high station density and multi-vehicle coordination compare TE-MARL with state-of-the-art learning-based and heuristic baselines. The results indicate that, on a representative C100-S20-V8 instance, TE-MARL reduces total travel time and total energy consumption by 20.4% and 17.6% relative to a MARL baseline, and by 14.9% and 10.9% relative to a hybrid Q-DH method, while achieving 100% feasibility and higher traffic adaptability. These gains substantially mitigate the risks of peak-hour time-window violations and excessive energy use.

Suggested Citation

  • Liu, Wei & Wang, Youqi & Li, Bingbing & Wen, Yixun & Zhang, Hao & Zhuang, Weichao & Yin, Guodong & Chen, Boli, 2026. "Transformer-enhanced multi-agent reinforcement learning for dynamic electric logistics Fleet routing under time-varying traffic," Applied Energy, Elsevier, vol. 410(C).
  • Handle: RePEc:eee:appene:v:410:y:2026:i:c:s0306261926002643
    DOI: 10.1016/j.apenergy.2026.127612
    as

    Download full text from publisher

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

    File URL: https://libkey.io/10.1016/j.apenergy.2026.127612?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.

    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:appene:v:410:y:2026:i:c:s0306261926002643. 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.

    We have no bibliographic references for this item. You can help adding them by using 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/405891/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.