cs.AIOct 15, 2026

Self-Guided LLM Reasoning for Error Diagnosis in Vehicle Routing Problems

Authors: Ni Zhang, Jianan Zhou, Yue-Jiao Gong, Zhiguang Cao

Organizations: Singapore Management University · Nanyang Technological University · South China University of Technology

Abstract

Vehicle Routing Problems (VRPs) are fundamental to many real-world applications. Recent advances in large language models (LLMs) have spurred progress in solving these NP-hard problems. However, most existing approaches assume that input instances are error-free, neglecting the presence of faults commonly encountered in real-world data. In this work, we systematically investigate the capability of LLMs to detect (and correct) errors in VRP instances, and identify key limitations, particularly in handling complex instances or errors that substantially increase the LLM's reasoning burden. To overcome these challenges, we propose a self-guided reasoning framework in which LLMs autonomously generate code that provides structured insights to aid in error diagnosis. Experiments across diverse problem settings and LLMs demonstrate that our framework significantly improves error detection performance, achieving near-perfect accuracy.

Figures & tables

Appendix figures & tables8 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Reinforcement Learning Enhanced LLM Agents for Complex Vehicle Routing Problems

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

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

    Oct 8, 2025André Hottung, Federico Berto, Chuanbo Hua +9Vehicle RoutingAutomated Heuristic Design

  3. Beyond Objective Equivalence: Constraint Injection for LLM-Based Optimization Modeling on Vehicle Routing Problems

    Jun 3, 2026Xizi Luo, Changhong He, Dongdong Geng +2Vehicle RoutingNatural Language to Optimization Modeling