SAILOR: Solver-Assisted Interactive LLM-based Optimization Recovery

Shaghayegh Sadeghi, Stephen L. Smith, David C. Del Rey Fern'andez
9/12/2026
cs.AI

Official code: sshaghayeghs/SAILOR (0 stars, Python, last commit 2026-06-11).

Abstract

Natural-language descriptions of optimization problems may be incomplete or vague about numerical information that a solver requires, including costs, capacities, demands, bounds, and penalties. A language model can translate the description into code, but when a required value is absent it must either stop or guess.

Show full abstract

We present SAILOR, a proof-of-concept system that detects such unsupported numerical choices, asks the user targeted follow-up questions, and updates the optimization model before returning a solution. Questions are prioritized using uncertainty and solver-derived estimates of how strongly each missing value affects the current model. We evaluate the pipeline on 1,723 instances from seven masked benchmarks using an idealized simulator that returns ground-truth values. Exact objective-value agreement ranges from 27.0% to 87.6% across datasets, with 1.4--5.7 questions per instance on average. These results establish feasibility under controlled branch-and-reveal feedback; they do not measure performance with human users or general structural model repair. Code is available at: https://github.com/sshaghayeghs/SAILOR.

View on arXivView PDF

Code Implementations(1)

Solver-Assisted Interactive LLM-based Optimization Recovery

00Python, HTMLApr 23, 20265 months ago

Similar Papers

Cite this paper

@article{sadeghi2026sailor,
  title  = {SAILOR: Solver-Assisted Interactive LLM-based Optimization Recovery},
  author = {Shaghayegh Sadeghi and Stephen L. Smith and David C. Del Rey Fern'andez},
  year   = {2026},
  eprint = {2609.13945},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.13945v1}
}

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

Discussion