Mathematical formulation
We are given the set of gases G={lin,lox} and the set of time periods T={1,2,...,N}, the maximum production level Plin and Plox for each period and the inventory capacity Slin and Slox for each gas. The demand is given by the parameter demtg for t∈ T,g∈ G.
The uncertainty set is defined by every vector of interruptions (χ)i∈ T such that χi ∈ [0,1] and not more than K of its elements are positive:
Let us define the variables prodtg and invtg representing the production and inventory level, respectively, at period t for gas g. Without uncertainty in the input data, the model would have simple of constraints: bounds on the variables and fixing of the initial inventory level:
and the production planning constraint would consist of a mass conservation constraint for every gas g and time period t:
The modeling is more involved for this case. A first attempt would be to write the robust constraint by multiplying the production variable by (1-χt), so that the actual production at time period t is zero if χt=1:
However, this would yield no feasible solution: for each robust constraint related to production at time period t the uncertain χt would be set to one, and no production would occur. We need to aggregate the production constraints in such a way that the balance between production and demand yields an inventory that is nonnegative at every time period. The above constraint is replaced by the following one:
This robust constraint considers uncertainty in the interruptions but allows for a production plan that satisfies all demands even with K interruptions. In order to deal with contour conditions and take into account the initial inventory, we add a slight modification to the uncertainty set and require that no interruption happens at time period 1:
Finally, the robust value of the inventory must take into account the situation in which, after planning the production, no interruption actually occurs: this is simply enforced by bounding the inventory at every time period as the sum of all accumulated production discounted by the accumulated demand: