Linear Stochastic Program
Two-Stage Stochastic Program Formulation
A general two-stage stochastic program can be formulated as:
If we are dealing with discrete random variable, then:
Example - Stochastic Inventory Control
Problem Definition
Consider a company that designs, produces, and sells winter items such as ski jackets. The company must commit to a specific production quantity, \(x\), before knowing the exact demand, \(d\), 3 months before the winter season starts. Demand \(d\) is estimated as a random variable. After seeing the demand, the company decides how many to sell and how many to sell at a discounted price \(v\). This is called Decision Making under Uncertainty, since decision \(x\) is made under uncertain demand \(d\).
Problem Formulaton
The decision variables for the optimization problem are:
- Here-and-Now decision: Production quantity $x. The decision must be made before the uncertainty is realized. It cannot change after the uncertainty is realized.
- Wait-and-See decision: Sell quantity \(y\), discount (savage) quantity \(z\). The decision must be made after the uncertainty is realized.
The objective function can be defined as minimizing the production cost and expected future cost which yields to a two-stage stochastic program:
First Stage: Problem with \(x\) as first-stage decision:
Second Stage: Problem with second-stage decision \(y\) and \(v\). Note that the second-stage decisions depend on \(d\), i.e., \(y\) and \(z\) are functions of \(d\):
Problem Reformulation
The two-stage program can be combined into a single stage program:
or equivalently:
Suppose the demand \(d\) is a discrete random variable with \(S\) scenarios, \(d_1, \ldots, d_S\) each \(d_i\) with a probability \(p_i\). Suppose each policy \(y(\cdot)\) has values \(y_1, \ldots, y_S\) corresponding to \(d_i\)'s. Then the problem can be converted to a deterministic Linear Program: