On the Power and Limitations of Affine Policies in Two-Stage Adaptive Optimization I: An Affine Policy Is Optimal When the Uncertainty Set Is a SimplexResearch Paper
Motivation
Two-stage adaptive optimization models decisions taken in two rounds: a first-stage decision is fixed before an uncertain parameter is revealed, and a second-stage decision is chosen after the parameter is observed, so that the second stage may depend on arbitrarily. The objective is the worst case over an uncertainty set of possible parameters. Such models arise in robust network design, capacity planning and two-stage covering problems, and they generalize the two-stage robust combinatorial problems (set cover, facility location) studied by Dhamdhere, Goyal, Ravi and Singh.
Optimizing over all functions is intractable in general: Bertsimas and Goyal note that the optimal second stage is piecewise linear in with possibly exponentially many pieces (Bemporad, Borrelli and Morari, 2003). A standard remedy, introduced for robust linear programs by Ben-Tal, Goryashko, Guslitzer and Nemirovski (2004), restricts the second stage to affine policies (linear decision rules) ; the best affine policy is computable by a single convex program and performs well empirically. The question is when this restriction loses nothing.
Timeline of the relevant results:
- 2004. Ben-Tal, Goryashko, Guslitzer and Nemirovski introduce affinely adjustable robust counterparts and show that the best affine policy is tractable for many uncertainty sets (doi:10.1007/s10107-003-0454-y).
- 2010. Bertsimas, Iancu and Parrilo prove that affine policies are optimal for a class of multistage robust problems with one-dimensional uncertainty per stage and box uncertainty sets (doi:10.1287/moor.1100.0444).
- 2012. Bertsimas and Goyal, the source of this mission, prove that an affine policy is optimal for model (1) whenever is a simplex (Theorem 1), and show that this exactness breaks down for slightly larger sets (doi:10.1007/s10107-011-0444-4).
Setting
Let , , and . The problem of model (1) is
where inequalities between vectors are componentwise. A pair satisfying the constraints is feasible; its worst-case cost is . A feasible pair is optimal when its worst-case cost equals , and an affine policy is a second stage of the form with , , still required to be nonnegative on . The value is the same minimum restricted to affine policies.
A simplex in is the convex hull
of affinely independent points, that is, points for which are linearly independent. The proof works with the matrix , the matrix of display (2), and the affine rule . In Lean these are Qmat v, Ymat v g and interpolant v g, with vertices v : Fin (m+1) → Fin m → ℝ.
Formalization targets
Goal: Theorem 1
If with affinely independent and is feasible, then there exist , and such that
is an optimal solution of , optimal among all (not only affine) two-stage solutions. In particular .
Milestones
The proof of Theorem 1 has no numbered lemma; the milestones are its displayed steps, in attack order:
- is invertible (PDF p. 6).
- For with : (PDF p. 6).
- (PDF pp. 6–7).
- Displays (3)–(5): for any feasible , the pair is feasible and every bound on the worst-case cost of also bounds that of (PDF p. 7).
Significance
The result. Theorem 1 identifies a class of uncertainty sets on which the tractable affine restriction is exact, for every constraint matrix and and every nonnegative cost. It is the positive anchor of the paper: Sections 3 and 4 show that with extreme points the best affine policy can already be worse by a factor , and that on sets with exponentially many extreme points the gap can be ; Section 6 uses a dominating simplex, on which affine policies are exact, to build an -approximation for general . The theorem also says that on a simplex the whole adaptive problem reduces to scenario copies of a linear program.
Formalizing it. The result is proved on paper; no machine-checked version is known on Prove2Me. This mission produces the model (1) in Lean, the barycentric-coordinate identity for a simplex in matrix form, and a statement of optimality that asserts attainment of the minimum in (1), which the paper's proof takes for granted.
Difficulty
Two steps are not routine to formalize. First, the paper starts from "an optimal solution ", that is, it assumes the minimum in (1) is attained. Over arbitrary functions this is not automatic; on a simplex it follows because the problem reduces to a finite linear program on the vertices, whose optimum is attained, but Mathlib has no theory of linear-programming attainment, so this reduction has to be built. Second, the affine-independence step needs the passage from affine independence of points to invertibility of the matrix , and the identity requires the barycentric coordinates and the inverse matrix to be matched index by index. The naive idea of comparing and as real infima does not prove the goal: equality of the two infima says nothing about the existence of an optimal solution.
Formalization scope
Vectors in are Fin m → ℝ, with the componentwise order; matrices are Matrix (Fin m) (Fin n) ℝ. The paper's indices start at , Lean's at : is v (j-1) and is v (Fin.last m). The simplex is convexHull ℝ (Set.range v); it is compact, convex and, by affine independence, full-dimensional, so these standing assumptions of (1) are not stated separately. Nonnegativity of is the hypothesis that all vertices are nonnegative (the page writes , a slip for ). Feasibility of (1) is a hypothesis, as the paper assumes. Optimality (IsOptimalAdapt) means: feasible, and every worst-case cost bound achieved by any feasible two-stage solution is achieved by this one. The values and are infima of the sets of achievable bounds; they are provided for reference and the goal does not depend on them.
The goal must not be replaced by , by optimality among affine policies only, or by a version that assumes an optimal solution exists: each of these drops the content "there is an optimal solution and it is affine". The goal does not mention , or the interpolant.
A complete development needs: linear-programming attainment for a finite system of linear inequalities with a cost bounded below (reusable well beyond this mission), the linear-algebra lemmas relating affine independence to an invertible edge matrix (reusable for barycentric coordinates in general), and the convex-hull representation of points of a simplex. Contributions of any of these as separate lemmas are welcome.
Selected references
- D. Bertsimas, V. Goyal, On the power and limitations of affine policies in two-stage adaptive optimization, Math. Program. Ser. A, 2012. doi:10.1007/s10107-011-0444-4
- A. Ben-Tal, A. Goryashko, E. Guslitzer, A. Nemirovski, Adjustable robust solutions of uncertain linear programs, Math. Program. 99(2), 351–376, 2004. doi:10.1007/s10107-003-0454-y
- D. Bertsimas, D. A. Iancu, P. A. Parrilo, Optimality of affine policies in multistage robust optimization, Math. Oper. Res. 35(2), 363–394, 2010. doi:10.1287/moor.1100.0444
- A. Bemporad, F. Borrelli, M. Morari, Min–max control of constrained uncertain discrete-time linear systems, IEEE Trans. Autom. Control 48(9), 1600–1606, 2003. doi:10.1109/TAC.2003.816984