Skip to main content
QUICK REVIEW

[Paper Review] A Deep Reinforcement Learning Approach for Solving the Traveling Salesman Problem with Drone

Aigerim Bogyrbayeva, Taehyun Yoon|arXiv (Cornell University)|Dec 22, 2021
Vehicle Routing Optimization MethodsEngineering7 citations
TL;DR

This paper proposes a hybrid deep reinforcement learning model combining an attention-based encoder with an LSTM decoder to solve the Traveling Salesman Problem with Drone (TSP-D), enabling coordinated routing of a truck and drone. The LSTM decoder captures inter-vehicle dependencies through hidden state memory, significantly improving solution quality and computational efficiency over stateless attention models, achieving performance comparable to operations research baselines.

ABSTRACT

Reinforcement learning has recently shown promise in learning quality solutions in many combinatorial optimization problems. In particular, the attention-based encoder-decoder models show high effectiveness on various routing problems, including the Traveling Salesman Problem (TSP). Unfortunately, they perform poorly for the TSP with Drone (TSP-D), requiring routing a heterogeneous fleet of vehicles in coordination -- a truck and a drone. In TSP-D, the two vehicles are moving in tandem and may need to wait at a node for the other vehicle to join. State-less attention-based decoder fails to make such coordination between vehicles. We propose a hybrid model that uses an attention encoder and a Long Short-Term Memory (LSTM) network decoder, in which the decoder's hidden state can represent the sequence of actions made. We empirically demonstrate that such a hybrid model improves upon a purely attention-based model for both solution quality and computational efficiency. Our experiments on the min-max Capacitated Vehicle Routing Problem (mmCVRP) also confirm that the hybrid model is more suitable for the coordinated routing of multiple vehicles than the attention-based model. The proposed model demonstrates comparable results as the operations research baseline methods.

Motivation & Objective

  • To address the challenge of coordinated routing between heterogeneous vehicles (truck and drone) in last-mile delivery.
  • To overcome the limitations of stateless attention-based models in handling inter-vehicle dependencies and waiting constraints in TSP-D.
  • To develop an end-to-end deep reinforcement learning model that learns high-quality solutions without external algorithmic components.
  • To evaluate the model's generalization to other coordinated routing problems, such as the min-max Capacitated Vehicle Routing Problem (mmCVRP).

Proposed method

  • The model uses an attention-based encoder to embed customer locations and vehicle states into contextual representations.
  • An LSTM-based decoder maintains a hidden state that encodes the sequence of actions taken by each vehicle, enabling memory of past decisions and coordination.
  • The decoder computes attention over unvisited nodes using a context vector that incorporates the current vehicle's state, the previous node's embedding, and the remaining capacity of the decision-making vehicle.
  • The model is trained via reinforcement learning with a reward shaped to minimize the makespan (time to serve all customers).
  • The architecture is extended to mmCVRP by adapting the input representation and reward function to handle multiple vehicles and capacity constraints.
  • The model is evaluated on TSP-D and mmCVRP using standard benchmarks, comparing against attention-only models and OR-Tools baselines.

Experimental results

Research questions

  • RQ1Can a deep reinforcement learning model effectively coordinate a heterogeneous fleet of vehicles (truck and drone) in TSP-D, where vehicles may wait for each other?
  • RQ2Does an LSTM-based decoder outperform a stateless attention decoder in modeling inter-vehicle dependencies and improving solution quality for TSP-D?
  • RQ3Can the proposed hybrid model generalize to other coordinated routing problems such as mmCVRP with multiple vehicles and capacity constraints?
  • RQ4How does the model's performance compare to established operations research methods like OR-Tools in terms of solution quality and computational efficiency?
  • RQ5Is the model robust across different problem sizes and distributions of customer locations?

Key findings

  • The proposed hybrid model (HM) significantly outperforms the pure attention model (AM) in TSP-D, achieving lower solution costs and faster inference times.
  • On TSP-D instances with 20, 50, and 100 customers, HM achieved a mean cost gap of 1.38%, 5.39%, and 9.93% respectively, compared to Concorde, while being much faster than exact methods.
  • For mmCVRP with three vehicles, HM achieved a gap of 1.04% on N=20 and 0.00% on N=30, matching OR-Tools performance with lower computational time.
  • The LSTM decoder’s ability to maintain a hidden state that tracks decision history enables better coordination between the truck and drone, especially in handling waiting constraints.
  • The model generalizes well to mmCVRP, demonstrating that the same architecture and hyperparameters can be applied to different coordinated routing problems.
  • While HM performs competitively on TSP-D and mmCVRP, it underperforms compared to AM on classical TSP, indicating a need for future work on universal architectures for diverse routing problems.

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.