math.OCSep 29, 2026

TACIT: Optimization Models that Learn from Their Mistakes

Authors: Maxime Bouscary, Marco Molinaro, Sirui Li, Saurabh Amin, Ishai Menache, Konstantina Mellou

Organizations: Massachusetts Institute of Technology, Cambridge, MA, USA · Microsoft Research, Redmond, WA, USA

Abstract

Real-world optimization problems are difficult to model accurately because many objectives and constraints reside in domain experts' tacit knowledge, making them hard to formalize. As a result, optimization models often contain miscalibrated objectives, missing constraints, or omitted decision variables, leading to solutions that fail to reflect operational realities. We address this challenge by automatically repairing misspecified formulations using historical data consisting of past solutions and subsequent user overrides. Traditional approaches such as inverse optimization and constraint learning tend to overfit sparse data and produce complex formulations. Our central idea is to combine the reasoning capabilities and prior knowledge of LLMs with the formal grounding provided by optimization. We realize this idea through two complementary paradigms. Top-down, an LLM proposes structural repairs, including new constraints and variables, whose numerical parameters are calibrated and validated through optimization. Bottom-up, optimization infers cuts from observed decisions, which the LLM contextualizes into interpretable, generalizable modeling constraints. We evaluate our approach on 38 misspecification scenarios spanning nine classes of optimization problems, several drawn from real-world applications, and show that TACIT can repair 78.9% of them (vs. 60.5% for the best baseline).

Figures & tables

Appendix figures & tables7 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. SemOPT: Fixing Semantic Errors in LLM-based Optimization Modeling via Reward-Guided Search

    Sep 29, 2026Zetong Zhou, Wentao Zhang, Jingyuan Wang +3Optimization ModelingFunctional Code Solvers

  2. Democratizing Large-Scale Re-Optimization with LLM-Guided Model Patches

    May 18, 2026Tinghan Ye, Arnaud Deza, Ved Mohan +2Optimization ModelingOperations Research

  3. OptiMUS-0.3: Using Large Language Models to Model and Solve Optimization Problems at Scale

    Jul 29, 2024Ali AhmadiTeshnizi, Wenzhi Gao, Herman Brunborg +3Optimization ModelingSolvers