# A learning-based algorithm to quickly compute good primal solutions for Stochastic Integer Programs

arXiv: https://arxiv.org/abs/1912.08112 · HTML: https://mlsanity.com/paper/1912.08112/

## Key facts

- Cited by 13 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 17 Dec 2019.

## Built on by (most cited first, 13 of 13)

- [MIP-GNN: A Data-Driven Framework for Guiding Combinatorial Solvers](https://mlsanity.com/paper/2205.14210/) (2022)
- [Exploring the Power of Graph Neural Networks in Solving Linear Optimization Problems](https://mlsanity.com/paper/2310.10603/) (2023)
- [Neur2SP: Neural Two-Stage Stochastic Programming](https://mlsanity.com/paper/2205.12006/) (2022)
- [An actor-critic algorithm with policy gradients to solve the job shop scheduling problem using deep double recurrent agents](https://mlsanity.com/paper/2110.09076/) (2021)
- [Fast Continuous and Integer L-shaped Heuristics Through Supervised Learning](https://mlsanity.com/paper/2205.00897/) (2022)
- [USCO-Solver: Solving Undetermined Stochastic Combinatorial Optimization Problems](https://mlsanity.com/paper/2107.07508/) (2021)
- [PROPEL: Supervised and Reinforcement Learning for Large-Scale Supply Chain Planning](https://mlsanity.com/paper/2504.07383/) (2025)
- [ICNN-enhanced 2SP: Leveraging input convex neural networks for solving two-stage stochastic programming](https://mlsanity.com/paper/2505.05261/) (2025)
- [Combinatorial Optimization Augmented Machine Learning](https://mlsanity.com/paper/2601.10583/) (2026)
- [HGCN2SP: Hierarchical Graph Convolutional Network for Two-Stage Stochastic Programming](https://mlsanity.com/paper/2511.16027/) (2025)
- [Machina Economicus: A New Paradigm for Prosumers in the Energy Internet of Smart Cities](https://mlsanity.com/paper/2403.14660/) (2024)
- [Contextual Scenario Generation for Two-Stage Stochastic Programming](https://mlsanity.com/paper/2502.05349/) (2025)
- [Fusing Backdoors, Machine Learning, and Optimization for Large-Scale Parametric Mixed-Integer Programs](https://mlsanity.com/paper/2606.21440/) (2026)

## Abstract (arXiv)

We propose a novel approach using supervised learning to obtain near-optimal primal solutions for two-stage stochastic integer programming (2SIP) problems with constraints in the first and second stages. The goal of the algorithm is to predict a "representative scenario" (RS) for the problem such that, deterministically solving the 2SIP with the random realization equal to the RS, gives a near-optimal solution to the original 2SIP. Predicting an RS, instead of directly predicting a solution ensures first-stage feasibility of the solution. If the problem is known to have complete recourse, second-stage feasibility is also guaranteed. For computational testing, we learn to find an RS for a two-stage stochastic facility location problem with integer variables and linear constraints in both stages and consistently provide near-optimal solutions. Our computing times are very competitive with those of general-purpose integer programming solvers to achieve a similar solution quality.
