Using Transformers and Reinforcement Learning for the Team Orienteering Problem Under Dynamic Conditions

This paper presents a reinforcement learning (RL) approach for solving the team orienteering problem under both deterministic and dynamic travel time conditions. The proposed method builds on the transformer architecture and is trained to construct routes that adapt to real-time variations, such as traffic and environmental changes. A key contribution of this work is the model’s ability to generalize across problem instances with varying numbers of nodes and vehicles, eliminating the need for retraining when problem size changes. To assess performance, a comprehensive set of experiments involving 27,000 synthetic instances is conducted, comparing the RL model with a variable neighborhood search metaheuristic. The results indicate that the RL model achieves competitive solution quality while requiring significantly less computational time. Moreover, the RL approach consistently produces feasible solutions across all dynamic instances, demonstrating strong robustness in meeting time constraints. These findings suggest that learning-based methods can offer efficient, scalable, and adaptable solutions for routing problems in dynamic and uncertain environments.

Authors

Institutions

Publication Details

Journal
Mathematics
Published
2025-07-20
DOI
https://doi.org/10.3390/math13142313
Primary Topic
Vehicle Routing Optimization Methods
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Using Transformers and Reinforcement Learning for the Team Orienteering Problem Under Dynamic Conditions

Marc Escoto, Majsa Ammouriova, Antoni Guerrero, Angel Alejandro Juan et al.
Mathematics
Vehicle Routing Optimization Methods
article

Using Transformers and Reinforcement Learning for the Team Orienteering Problem Under Dynamic Conditions

Marc Escoto, Majsa Ammouriova, Antoni Guerrero, Angel Alejandro Juan, Yangchongyi Men
article en

Abstract

This paper presents a reinforcement learning (RL) approach for solving the team orienteering problem under both deterministic and dynamic travel time conditions. The proposed method builds on the transformer architecture and is trained to construct routes that adapt to real-time variations, such as traffic and environmental changes. A key contribution of this work is the model’s ability to generalize across problem instances with varying numbers of nodes and vehicles, eliminating the need for retraining when problem size changes. To assess performance, a comprehensive set of experiments involving 27,000 synthetic instances is conducted, comparing the RL model with a variable neighborhood search metaheuristic. The results indicate that the RL model achieves competitive solution quality while requiring significantly less computational time. Moreover, the RL approach consistently produces feasible solutions across all dynamic instances, demonstrating strong robustness in meeting time constraints. These findings suggest that learning-based methods can offer efficient, scalable, and adaptable solutions for routing problems in dynamic and uncertain environments.

MathematicsVol. 13(14)
Universitat Oberta de Catalunya (ES), German Jordanian University (JO), Ingeniería y Soluciones Informáticas (Spain) (ES), Universitat Politècnica de València (ES), Universitat Politècnica de Catalunya (ES)
European Commission, Agencia Estatal de Investigación
Openalex Percentile: Top 75%
Vehicle Routing Optimization Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.