Learning Linear Programs from Optimal Decisions
Yingcong Tan, Daria Terekhov, Andrew Delong
Abstract
We propose a flexible gradient-based framework for learning linear programs from optimal decisions. Linear programs are often specified by hand, using prior knowledge of relevant costs and constraints. In some applications, linear programs must instead be learned from observations of optimal decisions. Learning from optimal decisions is a particularly challenging bi-level problem, and much of the related inverse optimization literature is dedicated to special cases. We tackle the general problem, learning all parameters jointly while allowing flexible parametrizations of costs, constraints, and loss functions. We also address challenges specific to learning linear programs, such as empty feasible regions and non-unique optimal decisions. Experiments show that our method successfully learns synthetic linear programs and minimum-cost multi-commodity flow instances for which previous methods are not directly applicable. We also provide a fast batch-mode PyTorch implementation of the homogeneous interior point algorithm, which supports gradients by implicit differentiation or backpropagation.
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.
15 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers15
- CombOptNet: Fit the Right NP-Hard Problem by Learning Integer Programming ConstraintsAnselm Paulus, Michal Rolínek, Vít Musil, Brandon Amos et al.ICML 2021 · 73 citations
- Strategic Classification Made PracticalSagi Levanon, Nir RosenfeldICML 2021 · 68 citations
- Differentiation Through Black-Box Quadratic Programming SolversConnor W. Magoon, Fengyu Yang, Noam Aigerman, Shahar Z. KovalskyNeurIPS 2025 · 14 citations
- An Exact Symbolic Reduction of Linear Smart Predict+Optimize to Mixed Integer Linear ProgrammingJihwan Jeong, Parth Jaggi, Andrew Butler, Scott SannerICML 2022 · 14 citations
- Maximum Optimality Margin: A Unified Approach for Contextual Linear Programming and Inverse Linear ProgrammingChunlin Sun, Shang Liu, Xiaocheng LiICML 2023 · 13 citations
Related papers
- Inverse Optimization via Learning Feasible RegionsKe Ren, Peyman Mohajerin Esfahani, Angelos GeorghiouICML 2025
- Inverse Optimization Latent Variable Models for Learning Costs Applied to Route ProblemsAlan A. Lahoud, Erik Schaffernicht, Johannes Andreas StorkNeurIPS 2025
- From Inverse Optimization to Feasibility to ERMSaurabh Mishra, Anant Raj, Sharan VaswaniICML 2024 · 4 citations
- A Unified Linear Programming Framework for Offline Reward Learning from Human Demonstrations and FeedbackKihyun Kim, Jiawei Zhang, Asuman E. Ozdaglar, Pablo A. ParriloICML 2024 · 2 citations
- A Value-Function-based Interior-point Method for Non-convex Bi-level OptimizationRisheng Liu, Xuan Liu, Xiaoming Yuan, Shangzhi Zeng et al.ICML 2021 · 96 citations
