cs.AIOct 8, 2025

VRPAgent: LLM-Driven Discovery of Heuristic Operators for Vehicle Routing Problems

Authors: André Hottung, Federico Berto, Chuanbo Hua, Nayeli Gast Zepeda, Daniel Wetzel, Michael Römer, Haoran Ye, Davide Zago, 

Organizations: Bielefeld University · Radical Numerics · KAIST · Peking University · 

Abstract

Designing high-performing heuristics for vehicle routing problems (VRPs) is a complex task that requires both intuition and deep domain knowledge. Large language model (LLM)-based code generation has recently shown promise across many domains, but it still falls short of producing heuristics that rival those crafted by human experts. In this paper, we propose VRPAgent, a framework for VRPs that integrates LLM-generated components into a metaheuristic and refines them through a novel genetic search. By using the LLM to generate problem-specific operators, embedded within a shared metaheuristic framework for VRPs, VRPAgent keeps tasks manageable, guarantees correctness, and still enables the discovery of novel and powerful strategies. Across multiple VRPs, including the capacitated VRP, the VRP with time windows, and the prize-collecting VRP, our method discovers heuristic operators that outperform handcrafted methods and recent learning-based approaches while requiring only a single CPU core. To our knowledge, VRPAgent is one of the first LLM-based methods to advance the state-of-the-art in VRPs, highlighting a promising future for automated heuristics discovery.

Figures & tables

Appendix figures & tables10 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. PyVRP+^+: LLM-Driven Metacognitive Heuristic Evolution for Hybrid Genetic Search in Vehicle Routing Problems

    Apr 9, 2026Manuj Malik, Jianan Zhou, Shashank Reddy Chirra +1Automated Heuristic DesignLarge Language Model-Guided Optimization

  2. Reinforcement Learning Enhanced LLM Agents for Complex Vehicle Routing Problems

    Sep 1, 2026Yi Chen, Zikang Yu, Jiahai Wang +3Multi-Agent System OptimizationLLM-Guided RL

  3. Enhancing CVRP Solver through LLM-driven Automatic Heuristic Design

    Feb 26, 2026Zhuoliang Xie, Fei Liu, Zhenkun Wang +1Vehicle RoutingAutomated Heuristic Design