Semantic-Driven Mathematical Modeling and Adaptive Refactoring for Logistics Optimization: A Language-Model Orchestrated Optimization Pipeline

2026-99-0750

5/15/2026

Authors
Abstract
Content
While large language models (LLMs) offer a convenient natural language interface for logistics optimization problems, it remains challenging to directly generate reliable mathematical models and executable code from unstructured text requirements. LLMs tend to produce invalid constraints or syntactically incorrect code. In addition, traditional logistics optimization methods lack the flexibility to adjust warehouse rules or operational goals without manual expert intervention. To address these issues, we propose LOOP (a Language-Model Orchestrated Optimization Pipeline), which automatically translates natural-language requirements into optimization algorithm code while retaining the rigor of classical models and solvers. LOOP leverages task-specific agents to construct accurate mathematical models and adopts a difference-driven code generation approach. First, it synchronizes model changes into executable code via semantic mapping and ensemble difference analysis. Second, it incorporates a multi-layered verification mechanism to detect and correct pre-execution logical inconsistencies between the model and code. We evaluate LOOP on the capacitated vehicle routing problem (CVRP) using the Augerat benchmark dataset (six difficulty levels). Experimental results show that the final code achieves a 96.3% pass rate across 54 cases, and generated solutions differed by only 1.5% from expert baselines. These findings confirm that LOOP improves the agility of dynamic constraint solution development without sacrificing quality.
Meta TagsDetails
DOI
https://doi.org/10.4271/2026-99-0750
Citation
Ding, R., Li, Q., and Li, X., "Semantic-Driven Mathematical Modeling and Adaptive Refactoring for Logistics Optimization: A Language-Model Orchestrated Optimization Pipeline," Interntional Conference on the New Energy and Intelligent Vehicles, Hefei, China, November 2, 2025, https://doi.org/10.4271/2026-99-0750.
Additional Details
Publisher
Published
14 hours ago
Product Code
2026-99-0750
Content Type
Technical Paper
Language
English