Understanding Failure Patterns in LLM-Based Mathematical Optimization Modeling

Ryoichi Takase, Xian Yeow Lee, Hikaru Tomonari, Masaya Tsunokake
11/24/2026
cs.LG

No confident code implementation found for this paper.

Abstract

Industrial optimization involves complex constraints, making optimization modeling difficult to automate. Large language models (LLMs) have been explored for generating optimization models from natural language, but their reliability in end-to-end settings remains limited, often producing non-executable, infeasible, or feasible but incorrect solutions.

Show full abstract

In this work, we study failure modes in LLM-based optimization modeling by decomposing the process into three components: mathematical reasoning, solver usage, and domain knowledge, and constructing datasets that target each aspect. Using these datasets, we analyze how different components relate to errors and find that they are associated with different types of failure, although these relationships are not always strong or consistent. Furthermore, while combining these components improves execution reliability, feasible but incorrect solutions remain the dominant failure mode, suggesting a remaining gap between executability and correctness. These findings highlight limitations of current dataset designs and suggest the importance of data that better capture constraint completeness and formulation accuracy to enhance reliability.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{takase2026understanding,
  title  = {Understanding Failure Patterns in LLM-Based Mathematical Optimization Modeling},
  author = {Ryoichi Takase and Xian Yeow Lee and Hikaru Tomonari and Masaya Tsunokake},
  year   = {2026},
  eprint = {2611.33351},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.33351v1}
}

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

Discussion