cs.AIApr 1, 2026

Infeasibility Aware Large Language Models for Combinatorial Optimization

Authors: Yakun Wang, Min Chen, Zeguan Wu, Junyu Liu, Sitao Zhang, Zhenwen Shao

Organizations: Lehigh University, Bethlehem, PA 18015, USA · Department of Computer Science, University of Pittsburgh, Pittsburgh, PA 15260, USA · Johnson & Johnson, New Brunswick, NJ 08933, USA

Abstract

Large language models (LLMs) are increasingly explored for NP-hard combinatorial optimization problems, but most existing methods emphasize feasible-instance solution generation and do not explicitly address infeasibility detection. We propose an infeasibility-aware framework that combines certifiable dataset construction, supervised fine-tuning, and LLM-assisted downstream search. For the minor-embedding problem, we introduce a new mathematical programming formulation together with provable zero-phase infeasibility screening, which enables scalable construction of training instances labeled either as feasible with structured certificates or as certifiably infeasible. Using training data generated through this exact optimization pipeline, we show that an 8B-parameter LLM can be fine-tuned to jointly perform solution generation and infeasibility detection. We further utilize LLM outputs as warm starts for downstream local search, providing a practical way to accelerate optimization even when the LLM outputs are imperfect. Experiments show that our fine-tuned model improves overall accuracy by up to 30% over GPT-5.2; meanwhile LLM-guided warm starts provide up to 2×2\times speedup compared with starting from scratch in downstream local search.

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Formalize, Don't Optimize: The Heuristic Trap in LLM-Generated Combinatorial Solvers

    May 12, 2026Haoyu Wang, Yuliang Song, Tao Li +5Large Language Model-Guided OptimizationLLM-Based Program Synthesis

  2. Teaching LLMs to Generate Challenging MILP Instances via Solver Feedback

    Sep 29, 2026Jitin Singla, Parikshit Pareek, Pratik Jawanpuria +1Mixed-Integer Linear ProgrammingLarge Language Model-Guided Optimization