Stochastic optimization
Stochastic optimization is the branch of mathematical optimization concerned with decision problems in which some of the data are uncertain and are represented as random variables with a known or estimated probability distribution. Rather than optimizing against a single deterministic scenario, the decision maker optimizes an expectation, a quantile, or another functional of a random objective, often subject to constraints that must hold either on average, with high probability, or for every realization. The paradigm originates with George Dantzig's 1955 formulation of "linear programming under uncertainty", which introduced the idea of choosing a plan before uncertainty is resolved and then paying a cost to adjust once it is observed.[1] The modern theory is developed at length in the standard monographs of Birge and Louveaux and of Shapiro, Dentcheva and Ruszczyński.[2][3]
The term is used in two overlapping senses. In the mathematical-programming tradition it denotes stochastic programming: models in which the uncertainty is described by a distribution and the objective is an expectation or a risk measure. In a broader sense it also covers stochastic search and simulation-based methods whose iterations are themselves randomized. This article treats the first sense — optimization of a decision under distributional uncertainty — and contrasts it with the deterministic worst-case alternative, robust optimization.
Two-stage and multistage recourse
The canonical model is the two-stage stochastic program with recourse. A first-stage decision is chosen "here and now", before the random vector is observed; after a realization of becomes known, a second-stage or recourse decision is taken to correct or complete the plan. Writing for the optimal second-stage cost, the problem is to minimize over the feasible first-stage set. The expected recourse function is the object that couples the stages, and a central structural result is that for problems with fixed recourse and finitely many scenarios this function is piecewise linear and convex in , which makes the two-stage problem a large but convex program.[2] Extending the idea to several decision epochs, in which information is revealed and decisions are taken in alternating stages, gives the multistage stochastic program, whose scenario representation grows exponentially in the number of stages.[3]
Because the expectation is an integral over the distribution of , the exact problem is tractable in closed form only in special cases. When the distribution is discretized into a finite set of scenarios with associated probabilities, the two-stage program becomes a deterministic-equivalent linear or mixed-integer program; decomposition methods such as the L-shaped (Benders) method exploit the block structure of this equivalent to solve it without forming it in full.[2]
Sample average approximation
When the distribution is continuous or high-dimensional, a widely used strategy is sample average approximation (SAA), also called the sample-path or Monte Carlo method. A sample is drawn from the distribution of , the true expectation is replaced by the empirical average , and the resulting deterministic problem is solved. Kleywegt, Shapiro and Homem-de-Mello analyzed this scheme for stochastic discrete optimization and showed that, under mild conditions, the probability that an optimal solution of the sampled problem is an exact optimal solution of the true problem approaches one exponentially fast as the sample size grows.[4] Because SAA reduces a stochastic program to a sequence of ordinary optimization problems driven by simulated data, it links stochastic programming to the Monte Carlo method and to statistical estimation, and it comes with confidence-interval procedures that bound the optimality gap of the returned solution.[4] Convergence of the sampled optimal value and optimal solutions to their true counterparts is treated generally under the heading of epigraphical or epi-convergence in the reference texts.[3]
Chance constraints
Not every requirement can be averaged. When a constraint expresses reliability — a service level that must be met, a resource that must not be exceeded — it is natural to require that it hold with at least a prescribed probability. Charnes and Cooper introduced chance-constrained programming for exactly this situation, replacing a hard constraint by the probabilistic requirement for a small risk level .[5] Individual chance constraints control each requirement separately, while a joint chance constraint bounds the probability that any of several requirements is violated. Chance-constrained feasible sets are generally non-convex, and much of the subsequent theory concerns conditions — such as log-concavity of the underlying distribution — under which convexity is recovered, together with tractable convex approximations and sampling-based reformulations.[3]
Risk measures
Optimizing the expected cost is risk-neutral: it treats a gain and an equally likely loss symmetrically and is insensitive to the spread of outcomes. Risk-averse stochastic optimization instead optimizes a risk measure of the random cost. A widely adopted choice is the Conditional value at risk (CVaR), the expected loss in the worst fraction of outcomes. Rockafellar and Uryasev showed that CVaR can be minimized by minimizing a convex auxiliary function jointly over the decision and an added scalar, so that risk-averse problems retain the convexity and linear-programming structure of their risk-neutral counterparts.[6] This result underlies risk-averse Portfolio optimization and, more generally, the theory of coherent and convex risk measures that provides the axiomatic backbone of modern risk-averse stochastic programming.[3]
Contrast with robust optimization
Stochastic optimization presumes a probability distribution and optimizes an expectation or a probabilistic guarantee. Robust optimization takes a different stance: it dispenses with the distribution, describes uncertainty by an uncertainty set of possible parameter values, and optimizes against the worst case within that set. Bertsimas, Brown and Caramanis survey the theory and note that, for many uncertainty sets, the robust counterpart of a tractable nominal problem remains a tractable convex program, which makes robust models attractive when a distribution is unavailable or unreliable.[7] The two paradigms are complementary rather than exclusive: distributionally robust optimization occupies the middle ground, optimizing the worst-case expectation over a family (an "ambiguity set") of distributions consistent with the available data, and chance constraints can be viewed as connecting the probabilistic and set-based views.[7][3]
Application to workforce and capacity planning
Staffing and capacity planning in contact centers and other service operations is a natural setting for stochastic optimization because future demand — call and contact volumes, handle times, shrinkage — is uncertain when schedules must be committed. A two-stage recourse formulation fits the planning horizon directly: the first stage fixes the staffing plan or shift roster before demand is known, and the second stage represents the recourse actions available once demand materializes, such as overtime, voluntary time off, or the use of a flexible reserve pool, each with its own cost.[2] Chance constraints express service-level agreements, requiring, for example, that the probability of meeting an answer-time target across an interval be at least a stated value rather than met only in expectation.[5] Sample average approximation lets planners drive such models with simulated or historical demand scenarios instead of a closed-form demand distribution.[4] Where demand can shift abruptly — during Irregular operations or demand shocks — a risk measure such as CVaR, or a distributionally robust formulation, hedges against the tail scenarios that a risk-neutral expected-cost plan would under-weight.[6][7]
See also
- Mathematical optimization
- Monte Carlo method
- Conditional value at risk
- Portfolio optimization
- Irregular operations
References
- ↑ Dantzig, G. B. (1955). "Linear Programming under Uncertainty". Management Science 1 (3–4), 197–206. doi:10.1287/mnsc.1.3-4.197.
- ↑ 2.0 2.1 2.2 2.3 Birge, J. R., Louveaux, F. (2011). Introduction to Stochastic Programming, 2nd ed. Springer. ISBN 978-1-4614-0236-7.
- ↑ 3.0 3.1 3.2 3.3 3.4 3.5 Shapiro, A., Dentcheva, D., Ruszczyński, A. (2021). Lectures on Stochastic Programming: Modeling and Theory, 3rd ed. SIAM. ISBN 978-1-611976-58-8.
- ↑ 4.0 4.1 4.2 Kleywegt, A. J., Shapiro, A., Homem-de-Mello, T. (2002). "The Sample Average Approximation Method for Stochastic Discrete Optimization". SIAM Journal on Optimization 12 (2), 479–502. doi:10.1137/S1052623499363220.
- ↑ 5.0 5.1 Charnes, A., Cooper, W. W. (1959). "Chance-Constrained Programming". Management Science 6 (1), 73–79. doi:10.1287/mnsc.6.1.73.
- ↑ 6.0 6.1 Rockafellar, R. T., Uryasev, S. (2000). "Optimization of Conditional Value-at-Risk". Journal of Risk 2 (3), 21–41.
- ↑ 7.0 7.1 7.2 Bertsimas, D., Brown, D. B., Caramanis, C. (2011). "Theory and Applications of Robust Optimization". SIAM Review 53 (3), 464–501. doi:10.1137/080734510.
