Reinforcement Learning for Solving the Vehicle Routing Problem

Mohammadreza Nazari, Afshin Oroojlooy, Lawrence V. Snyder, Martin Takáč
2/12/2018
1,315 citations
cs.AIcs.LGstat.ML
rl

No official code found. Best implementation: OptMLGroup/VRP-RL (709 stars, Python, last commit 2021-05-05). 2 more below.

Abstract

We present an end-to-end framework for solving the Vehicle Routing Problem (VRP) using reinforcement learning. In this approach, we train a single model that finds near-optimal solutions for problem instances sampled from a given distribution, only by observing the reward signals and following feasibility rules.

Show full abstract

Our model represents a parameterized stochastic policy, and by applying a policy gradient algorithm to optimize its parameters, the trained model produces the solution as a sequence of consecutive actions in real time, without the need to re-train for every new problem instance. On capacitated VRP, our approach outperforms classical heuristics and Google's OR-Tools on medium-sized instances in solution quality with comparable computation time (after training). We demonstrate how our approach can handle problems with split delivery and explore the effect of such deliveries on the solution quality. Our proposed framework can be applied to other variants of the VRP such as the stochastic VRP, and has the potential to be applied more generally to combinatorial optimization problems.

View on arXivView PDF

Code Implementations(3)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
OptMLGroup/VRP-RLCommunity709Python–2021-05-05
mveres01/pytorch-drl4vrpCommunity533Python–2020-05-07
ajayn1997/RL-VRP-PtrNtwrkCommunity75–––
OptMLGroup/VRP-RLCommunity25%

Reinforcement Learning for Solving the Vehicle Routing Problem

709234PythonOct 22, 20185 years ago

Implementation of: Nazari, Mohammadreza, et al. "Deep Reinforcement Learning for Solving the Vehicle Routing Problem." arXiv preprint arXiv:1802.04240 (2018).

533122PythonFeb 27, 20186 years ago

Reinforcement Learning for Solving the Vehicle Routing Problem

7518

Similar Papers

Cite this paper

@article{nazari2018reinforcement,
  title  = {Reinforcement Learning for Solving the Vehicle Routing Problem},
  author = {Mohammadreza Nazari and Afshin Oroojlooy and Lawrence V. Snyder and Martin Takáč},
  year   = {2018},
  eprint = {1802.04240},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1802.04240}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1802.04240.svg)](https://codeofpaper.com/paper/1802.04240)

Discussion