Convex Optimization · Problem 4.64

Duality — Boyd & Vandenberghe

Mathematics — Optimization · optimization-with-recourse

Problem

Optimization with recourse. In an optimization problem with recourse, also called two-stage optimization, the cost function and constraints depend not only on our choice of variables, but also on a discrete random variable s∈{1,…,S}s \in \{1, \ldots, S\}, which is interpreted as specifying which of SS scenarios occurred. The scenario random variable ss has known probability distribution π\pi, with πi=prob(s=i)\pi_i = \mathbf{prob}(s = i), i=1,…,Si = 1, \ldots, S. In two-stage optimization, we are to choose the values of two variables, x∈Rnx \in \mathbf{R}^n and z∈Rqz \in \mathbf{R}^q. The variable xx must be chosen before the particular scenario ss is known; the variable zz, however, is chosen after the value of the scenario random variable is known. In other words, zz is a function of the scenario random variable ss. To describe our choice zz, we list the values we would choose under the different scenarios, i.e., we list the vectors z1,…,zS∈Rq.z_1, \ldots, z_S \in \mathbf{R}^q. Here z3z_3 is our choice of zz when s=3s = 3 occurs, and so on. The set of values x∈Rn,z1,…,zS∈Rqx \in \mathbf{R}^n, \qquad z_1, \ldots, z_S \in \mathbf{R}^q is called the policy, since it tells us what choice to make for xx (independent of which scenario occurs), and also, what choice to make for zz in each possible scenario. The variable zz is called the recourse variable (or second-stage variable), since it allows us to take some action or make a choice after we know which scenario occurred. In contrast, our choice of xx (which is called the first-stage variable) must be made without any knowledge of the scenario. For simplicity we will consider the case with no constraints. The cost function is given by f:Rn×Rq×{1,…,S}→R,f : \mathbf{R}^n \times \mathbf{R}^q \times \{1, \ldots, S\} \to \mathbf{R}, where f(x,z,i)f(x, z, i) gives the cost when the first-stage choice xx is made, second-stage choice zz is made, and scenario ii occurs. We will take as the overall objective, to be minimized over all policies, the expected cost E f(x,zs,s)=∑i=1Sπif(x,zi,i).\mathbf{E}\, f(x, z_s, s) = \sum_{i=1}^S \pi_i f(x, z_i, i). Suppose that ff is a convex function of (x,z)(x, z), for each scenario i=1,…,Si = 1, \ldots, S. Explain how to find an optimal policy, i.e., one that minimizes the expected cost over all possible policies, using convex optimization.

Browse the problem library