- Introduced by
- Birge, J. R.; Louveaux, F.; Sen, S.
- Year
- 1990s–2000s
- Type
- Stochastic optimization model
- Family
- Simulation / optimization
What does it do?
Stochastic Mixed-Integer Programming (SMIP) is an optimization framework that finds the best mix of binary, integer, and continuous decisions when key parameters — costs, demands, capacities — are uncertain and modeled as probability distributions over a set of scenarios.
It extends classical MIP by embedding scenario trees or expected-value objectives that hedge against uncertainty while respecting combinatorial constraints.
The intuition behind the method
Many real planning problems force yes/no or whole-number choices — build a facility or not, assign an integer number of vehicles — yet the future is uncertain. SMIP formalizes this by considering a collection of plausible future scenarios and choosing first-stage commitments (before uncertainty is revealed) that minimize expected cost or maximize expected benefit across all scenarios. The integer constraints make the problem combinatorially hard, but decomposition algorithms exploit the scenario structure to make large instances tractable.
History
Sen and Higle (2005) present the C3 theorem and a D2 algorithm for large-scale stochastic mixed-integer programming, based on set convexification. Birge and Louveaux (1997) provide a textbook introduction to stochastic programming, which is the reference point for the two-stage framework described on this page.
When to use it
Use SMIP when decisions involve discrete or binary choices (invest/not invest, number of units to open) and key input parameters are genuinely uncertain with quantifiable probability distributions. Ideal for supply chain network design under demand uncertainty, energy capacity expansion, healthcare facility planning, and disaster response pre-positioning. Do not use when all decisions are continuous (use stochastic LP instead), when uncertainty cannot be meaningfully quantified as distributions, when the number of scenarios required to represent uncertainty leads to intractable model sizes and decomposition is unavailable, or when a simulation-based heuristic suffices for the decision quality required.
Limitations and considerations
- Computational complexity grows combinatorially with number of scenarios and integer variables; large instances may be intractable without effective decomposition.
- Requires explicit probability distributions or scenario sets — misspecified uncertainty models lead to solutions that perform poorly out-of-sample.
- Two-stage formulations may oversimplify multi-period decisions; multi-stage SMIP is significantly harder.
- Integer second-stage recourse destroys the convexity exploited by standard Benders cuts, requiring specialized integer L-shaped cuts.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Handles combinatorial discrete decisions under uncertainty in a single optimization model, so that integrality of first-stage commitments is respected in the hedged plan.
- Produces first-stage plans that balance expected performance across all scenarios, rather than being tuned to a single forecast.
- VSS and EVPI give a quantitative check on whether explicit stochastic modelling changes the decision compared with the mean-value solution.
- Decomposition algorithms (L-shaped, progressive hedging) can make larger scenario sets tractable than a monolithic solve of the deterministic equivalent, though performance depends on the structure of the problem.
- Supported by widely used MIP solvers (CPLEX, Gurobi) and modelling languages (AMPL, Pyomo), so prototypes can be built without writing a solver from scratch.
Applications
- Supply chain network design with uncertain customer demands and binary facility location decisions.
- Electric power capacity expansion planning under uncertain renewable generation and load growth.
- Healthcare system resource allocation (integer staff, binary clinic openings) under epidemiological uncertainty.
- Humanitarian logistics pre-positioning of discrete relief supplies ahead of disaster scenarios.
- Financial portfolio optimization with transaction costs and integer lot-size constraints under market uncertainty.
- Airline crew scheduling under uncertain flight delays with binary assignment variables.
How it works
How it works
Identify decision variables: first-stage decisions x made before uncertainty is revealed (integers and/or binaries among them), and second-stage recourse variables y(xi) made after scenario xi materializes. Specify objective coefficients, constraint matrices, and the probability distribution or discrete scenario set for uncertain parameters.
Construct a finite scenario set {xi_1, ..., xi_S} with associated probabilities {p_1, ..., p_S} approximating the underlying distribution. Scenarios can be derived from historical data, expert elicitation, Latin hypercube sampling, or moment-matching methods. Scenario quality directly affects solution quality. A practical stability check is to solve the model for increasing scenario counts, or for several independent scenario sets of the same size, and to accept the first-stage decision as stable when it no longer changes across these runs and the spread of the objective estimate is negligible for the decision at hand.
Formulate the deterministic equivalent: minimize c'x + sum_s p_s Q(x, xi_s) subject to first-stage constraints and integrality. Q(x, xi_s) is the second-stage value function, the optimal cost of recourse actions given x and scenario xi_s. The combined program is a large MIP whose size grows with the number of scenarios.
Formula
\min_{x \in X} c^T x + \mathbb{E}_\xi[Q(x,\xi)] \quad \text{s.t. } Ax = b,\; x \in \mathbb{Z}^p \times \mathbb{R}^{n-p}Solve using decomposition algorithms: the L-shaped method (Benders decomposition) for convex second stages, branch-and-cut with scenario subproblems, or progressive hedging, which decomposes by scenario. When the second stage contains integer variables, the value function loses the convexity that standard Benders cuts rely on, so integer L-shaped cuts are added to the master problem. General MIP cutting planes, such as lift-and-project cuts, are a separate tool that the MIP solver may apply internally; they are not part of the L-shaped method. These decomposition loops are typically implemented in a modelling environment on top of a MIP solver such as CPLEX or Gurobi.
Evaluate the solution via the Value of Stochastic Solution (VSS = EEV - RP) and the Expected Value of Perfect Information (EVPI = RP - WS), where RP is the recourse problem optimal value, EEV is the expected cost of using the deterministic mean-value solution, and WS is the wait-and-see value. These metrics quantify the benefit of modeling uncertainty explicitly. For a minimization problem both are nonnegative, because RP does not exceed EEV and does not fall below WS. A VSS close to zero means the mean-value solution performs almost as well as the stochastic solution, so the added modelling effort may not change the decision; a large VSS indicates that ignoring uncertainty would lead to a noticeably worse plan. EVPI bounds what it would be worth to know the scenario before deciding; a small EVPI means that perfect advance information would add little value, so investment in forecasting is hard to justify. Because a MIP solver stops at a finite optimality gap, a VSS or EVPI smaller than that gap should not be read as a real difference. Report both values together with an out-of-sample test on scenarios not used in the optimization.
Common pitfalls
- Using too few scenarios under-represents uncertainty and yields overconfident first-stage decisions; using too many makes the deterministic equivalent too large to solve.
- Confusing first-stage and second-stage variable roles produces formulations that do not respect the timing of information revelation.
- Relying on the expected-value solution and ignoring stochasticity can be significantly suboptimal, so VSS should be computed to justify the SMIP effort.
- Neglecting integrality in the recourse stage when it is actually present yields a relaxation whose solution may be infeasible once the integer recourse decisions are imposed.
- Default MIP solver settings (for example branching priorities and cut strategies) often need adjustment when the solver runs an L-shaped or other decomposition loop.
Frequently asked questions
How is SMIP different from regular Mixed-Integer Programming?
Regular MIP optimizes under fixed, known parameters. SMIP explicitly models uncertain parameters as a set of scenarios with probabilities, optimizing expected performance across all scenarios while ensuring first-stage decisions are made before uncertainty is revealed.
How many scenarios do I need?
No universal rule exists. The adequate number depends on how sensitive the first-stage decisions are to the scenario set and on how large the resulting MIP becomes. Scenario reduction techniques help keep the model solvable. The stability check described under scenario generation, which tests whether the optimal first-stage decision changes as scenarios are added, shows whether the number is adequate.
What is the L-shaped method?
The L-shaped method is a Benders decomposition adapted for stochastic programs. It iteratively solves a master MIP over first-stage variables and scenario subproblems, adding optimality and feasibility cuts to the master until convergence. For integer recourse, integer L-shaped cuts replace standard Benders cuts.
When should I use progressive hedging instead of L-shaped?
Progressive hedging decomposes by scenario, which suits parallel computing when there are many scenarios with large subproblems. Its convergence guarantees are established for convex problems, so when the second stage contains integer variables it is typically used as a heuristic. The L-shaped method, with integer cuts for integer recourse, is a natural choice when there are fewer scenarios and the subproblems are well structured; the best choice depends on the problem.
Can SMIP handle more than two stages?
Yes, but multi-stage SMIP requires a scenario tree that grows rapidly with the number of stages, and decomposition becomes substantially more complex. Two-stage models are common in applied work, and multi-period dynamics are often approximated through a rolling horizon or aggregation.
Related methods
Sources
Birge, J. R., & Louveaux, F. (1997). Introduction to Stochastic Programming. Springer Series in Operations Research. New York: Springer.
ISBN: 9780387982175Sen, S., & Higle, J. L. (2005). The C3 theorem and a D2 algorithm for large scale stochastic mixed-integer programming: Set convexification. Mathematical Programming, 104(1), 1–20.
Open DOI reference