AISENov 20, 2025

An Agent-Based Framework for the Automatic Validation of Mathematical Optimization Models

arXiv:2511.16383v11 citationsh-index: 18
Originality Incremental advance
AI Analysis

This addresses the need for reliable validation in automated optimization modeling, though it is incremental as it extends software testing methods to this domain.

The paper tackles the problem of validating optimization models generated by LLMs from natural language descriptions, proposing an agent-based framework that achieves high mutation coverage in experiments.

Recently, using Large Language Models (LLMs) to generate optimization models from natural language descriptions has became increasingly popular. However, a major open question is how to validate that the generated models are correct and satisfy the requirements defined in the natural language description. In this work, we propose a novel agent-based method for automatic validation of optimization models that builds upon and extends methods from software testing to address optimization modeling . This method consists of several agents that initially generate a problem-level testing API, then generate tests utilizing this API, and, lastly, generate mutations specific to the optimization model (a well-known software testing technique assessing the fault detection power of the test suite). In this work, we detail this validation framework and show, through experiments, the high quality of validation provided by this agent ensemble in terms of the well-known software testing measure called mutation coverage.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes