mlsanityData to 14 Oct 2026

PyEPO: A PyTorch-based End-to-End Predict-then-Optimize Library for Linear and Integer Programming

arXiv 2206.14234 ↗First posted 28 Jun 2022math.OC cs.LGcited by 32

Not on the map. Why?

Abstract (arXiv)

In deterministic optimization, it is typically assumed that all problem parameters are fixed and known. In practice, however, some parameters may be a priori unknown but can be estimated from contextual information. A typical predict-then-optimize approach separates predictions and optimization into two distinct stages. Recently, end-to-end predict-then-optimize has emerged as an attractive alternative. This work introduces the PyEPO package, a PyTorch-based end-to-end predict-then-optimize library in Python. To the best of our knowledge, PyEPO (pronounced like textitpineapple with a silent ``n") is the first such generic tool for linear and integer programming with predicted objective function coefficients. It includes various algorithms such as surrogate decision losses, black-box solvers, and perturbed methods. PyEPO offers a user-friendly interface for defining new optimization problems, applying state-of-the-art algorithms, and using custom neural network architectures. We conducted experiments comparing various methods on problems such as Shortest Path, Multiple Knapsack, and Traveling Salesperson Problem, and discussed empirical insights that may guide future research. PyEPO and its documentation are available at https://github.com/khalil-research/PyEPO.

Key facts. Cited by 32 papers in the map (data through 14 Oct 2026). Builds on 19 of its 52 references that are in the map. First posted on arXiv 28 Jun 2022.

Builds on

19 of 52 references.

References · 19

  1. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  3. 2016TensorFlow: Large-Scale Machine Learning on Heterogeneous Distributed Systemscited by 664
  4. 2017OptNet: Differentiable Optimization as a Layer in Neural Networkscited by 599
  5. 2019Differentiable Convex Optimization Layerscited by 465
  6. 2017Smart "Predict, then Optimize"cited by 339
  7. 2018Melding the Data-Decisions Pipeline: Decision-Focused Learning for Combinatorial Optimizationcited by 227
  8. 2019Differentiation of Blackbox Combinatorial Solverscited by 226
  9. 2015MXNet: A Flexible and Efficient Machine Learning Library for Heterogeneous Distributed Systemscited by 195
  10. 2019Learning with Fenchel-Young Lossescited by 119
  11. 2016On Differentiating Parameterized Argmin and Argmax Problems with Application to Bi-level Optimizationcited by 112
  12. 2019MIPaaL: Mixed Integer Program as a Layercited by 94
7 more
  1. 2019Smart Predict-and-Optimize for Hard Combinatorial Optimization Problemscited by 89
  2. 2020Interior Point Solving for LP-based prediction+optimisationcited by 83
  3. 2020Learning with Differentiable Perturbed Optimizerscited by 81
  4. 2019Differentiating Through a Cone Programcited by 73
  5. 2021Decision-Focused Learning: Through the Lens of Learning to Rankcited by 62
  6. 2020Decision Trees for Decision-Making under the Predict-then-Optimize Frameworkcited by 53
  7. 2020Contrastive Losses and Solution Caching for Predict-and-Optimizecited by 52

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 2; 2023: 8; 2024: 8; 2025: 3; 2026: 11.

32 papers.

Sort:

  1. 2023Decision-Focused Learning: Foundations, State of the Art, Benchmark and Future Opportunitiescited by 130
  2. 2023A Survey of Contextual Optimization Methods for Decision Making under Uncertaintycited by 82
  3. 2022Learning with Combinatorial Optimization Layers: a Probabilistic Approachcited by 29
  4. 2023Estimate-Then-Optimize versus Integrated-Estimation-Optimization versus Sample Average Approximation: A Stochastic Dominance Perspectivecited by 20
  5. 2023Landscape Surrogate: Learning Decision Losses for Mathematical Optimization Under Partial Informationcited by 18
  6. 2024Decision-Focused Learning with Directional Gradientscited by 16
  7. 2024First-Order Methods for Linearly Constrained Bilevel Optimizationcited by 10
  8. 2023Benchmarking PtO and PnO Methods in the Predictive Combinatorial Optimization Regimecited by 8
  9. 2023CaVE: A Cone-Aligned Approach for Fast Predict-then-optimize with Binary Linear Programscited by 8
  10. 2024DataSP: A Differential All-to-All Shortest Path Algorithm for Learning Costs and Predicting Paths with Contextcited by 6
  11. 2023Robust Losses for Decision-Focused Learningcited by 5
  12. 2024Decision-Focused Evaluation of Worst-Case Distribution Shiftcited by 4
20 more
  1. 2022Towards Improving Unit Commitment Economics: An Add-On Tailor for Renewable Energy and Reserve Predictionscited by 2
  2. 2024What is the Right Notion of Distance between Predict-then-Optimize Tasks?cited by 2
  3. 2025Smart Surrogate Losses for Contextual Stochastic Linear Optimization with Robust Constraintscited by 2
  4. 2026Relaxation-Informed Training of Neural Network Surrogate Modelscited by 2
  5. 2024Contextual Stochastic Vehicle Routing with Time Windowscited by 1
  6. 2025Decision-Focused Learning Enhanced by Automated Feature Engineering for Energy Storage Optimisationcited by 1
  7. 2025ID-PaS+ : Identity-Aware Predict-and-Search for General Mixed-Integer Linear Programscited by 1
  8. 2026Differentiable Knapsack and Top-k Operators via Dynamic Programmingcited by 1
  9. 2026Decision-Focused On-Policy Learning for Contextual Linear Optimization with Partial Feedbackcited by 1
  10. 2023Decision-focused predictions via pessimistic bilevel optimization: complexity and algorithmscited by 0
  11. 2024The Differentiable Feasibility Pumpcited by 0
  12. 2024Smart Predict-then-Optimize Method with Dependent Data: Risk Bounds and Calibration of Autoregressioncited by 0
  13. 2026Autocorrelated Optimize-via-Estimate: Predict-then-Optimize versus Finite-sample Optimalcited by 0
  14. 2026partialCBDs: Differentiable Causal Block Diagramscited by 0
  15. 2026Multi-Agent Decision-Focused Learning via Value-Aware Sequential Communicationcited by 0
  16. 2026IGT-OMD: Implicit Gradient Transport for Decision-Focused Learning under Delayed Feedbackcited by 0
  17. 2026Scaling Decision-Focused Learning to Large Problems with Lagrangian Decompositioncited by 0
  18. 2026Optimization with Dynamic Constraint Learning (DCL)cited by 0
  19. 2026Decision-Focused Learning in Network Interdiction Gamescited by 0
  20. 2026Decision-Driven Regularization: A Blended Model for Learning and Optimizationcited by 0