OptMaster: A DAG-Based Framework for Formulation and Heuristic Discovery in Optimization
Hang Lin, Yuanpeng Gao, Yuzhi Zhang, Kun Yuan, Gang Yan, Siheng Chen, Linfeng Zhang, Weinan E
Abstract
Optimization problems are fundamental across science and industry, including planning, scheduling, and resource allocation. While LLMs show promise in automating optimization, they struggle to bridge the gap between real-world requirements and both mathematical formulations and effective heuristic designs. Furthermore, the field lacks a unified framework that spans problem formulation and heuristic discovery for NP-hard settings. To address these challenges, we propose OptMaster, a unified framework that spans optimization from formulation to heuristic discovery, structuring the process as a Directed Acyclic Graph (DAG) where each node represents a candidate solution. The DAG architecture enables crossbranch knowledge transfer when search progress stagnates. Within each node, we further replace textual self-reflection with independently generated verification code, grounding the evaluation in deterministic computation to suppress hallucinations. OptMaster achieves competitive performance across two optimization paradigms. In Formulation Intelligence, OptMaster achieves stateof-the-art accuracy across the three most challenging benchmarks in the field. In Heuristic Discovery, OptMaster matches or surpasses the best known solutions on Circle Packing (n = 26, 32) and achieves a cut of 9,590 on Gset70 with significantly reduced time and search budgets.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- CALM: Co-evolution of Algorithms and Language Model for Automatic Heuristic Design cites ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolution
- CALM: Co-evolution of Algorithms and Language Model for Automatic Heuristic Design cites Evolution of Heuristics: Towards Efficient Automatic Algorithm Design Using Large Language Model
- Solver-Informed RL: Grounding Large Language Models for Authentic Optimization Modeling cites Chain-of-Experts: When LLMs Meet Complex Operations Research Problems
Builds on9
- ReEvo: Large Language Models as Hyper-Heuristics with Reflective EvolutionHaoran Ye, Jiarui Wang, Zhiguang Cao, Federico Berto et al.NeurIPS 2024 · 424 citations
- Evolution of Heuristics: Towards Efficient Automatic Algorithm Design Using Large Language ModelFei Liu, Xialiang Tong, Mingxuan Yuan, Xi Lin et al.ICML 2024 · 238 citations
- Chain-of-Experts: When LLMs Meet Complex Operations Research ProblemsZiyang Xiao, Dongxiang Zhang, Yangjun Wu, Lilin Xu et al.ICLR 2024 · 136 citations
- Solver-Informed RL: Grounding Large Language Models for Authentic Optimization ModelingYitian Chen, Jingfan Xia, Siyu Shao, Dongdong Ge et al.NeurIPS 2025 · 54 citations
- CALM: Co-evolution of Algorithms and Language Model for Automatic Heuristic DesignZiyao Huang, Weiwei Wu, Kui Wu, Wei-Bin Lee et al.ICLR 2026 · 41 citations
Related papers
- OptiVerse: A Comprehensive Benchmark towards Optimization Problem SolvingXinyu Zhang, Boxuan Zhang, Yuchen Wan, Lingling Zhang et al.ACL Findings 2026
- Autoformulation of Mathematical Optimization Models Using LLMsNicolás Astorga, Tennison Liu, Yuanzhang Xiao, Mihaela van der SchaarICML 2025
- OptiMUS: Scalable Optimization Modeling with (MI)LP Solvers and Large Language ModelsAli AhmadiTeshnizi, Wenzhi Gao, Madeleine UdellICML 2024 · 77 citations
- GraphMaster: Automated Graph Synthesis via LLM Agents in Data-Limited EnvironmentsEnjun Du, Xunkai Li, Tian Jin, Zhihan Zhang et al.NeurIPS 2025 · 25 citations
- LLMOPT: Learning to Define and Solve General Optimization Problems from ScratchCaigao Jiang, Xiang Shu, Hong Qian, Xingyu Lu et al.ICLR 2025
