CAMP: Collaborative Attention Model with Profiles for Vehicle Routing Problems

Chuanbo Hua, Federico Berto, Jiwoo Son, Seunghyun Kang, Changhyun Kwon +1 more
1/6/2025
cs.MAcs.AI

Official code: ai4co/camp (32 stars, MIT, last commit 2025-12-03).

Abstract

The profiled vehicle routing problem (PVRP) is a generalization of the heterogeneous capacitated vehicle routing problem (HCVRP) in which the objective is to optimize the routes of vehicles to serve client demands subject to different vehicle profiles, with each having a preference or constraint on a per-client basis. While existing learning methods have shown promise for solving the HCVRP in real-time, no learning method exists to solve the more practical and challenging PVRP. In this paper, we propose a Collaborative Attention Model with Profiles (CAMP), a novel approach that learns efficient solvers for PVRP using multi-agent reinforcement learning. CAMP employs a specialized attention-based encoder architecture to embed profiled client embeddings in parallel for each vehicle profile. We design a communication layer between agents for collaborative decision-making across profiled embeddings at each decoding step and a batched pointer mechanism to attend to the profiled embeddings to evaluate the likelihood of the next actions. We evaluate CAMP on two variants of PVRPs: PVRP with preferences, which explicitly influence the reward function, and PVRP with zone constraints with different numbers of agents and clients, demonstrating that our learned solvers achieve competitive results compared to both classical state-of-the-art neural multi-agent models in terms of solution quality and computational efficiency. We make our code openly available at https://github.com/ai4co/camp.

View on arXivView PDF

Code Implementations(1)

ai4co/campOfficial100%
MIT

[AAMAS 2025 Oral] CAMP: Collaborative Attention Model with Profiles for Vehicle Routing Problems

321PythonDec 20, 202410 months agoMIT
ai4comulti-agent-reinforcement-learningmulti-agent-systemsneural-combinatorial-optimizationreinforcement-learning+3 more

Cite this paper

@article{hua2025camp,
  title  = {CAMP: Collaborative Attention Model with Profiles for Vehicle Routing Problems},
  author = {Chuanbo Hua and Federico Berto and Jiwoo Son and Seunghyun Kang and Changhyun Kwon and Jinkyoo Park},
  year   = {2025},
  eprint = {2501.02977},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.02977v2}
}

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/2501.02977.svg)](https://codeofpaper.com/paper/2501.02977)

Discussion