Probabilistic Constraints in Optimization with PDEs R. Henrion - - PowerPoint PPT Presentation

probabilistic constraints in optimization with pdes
SMART_READER_LITE
LIVE PREVIEW

Probabilistic Constraints in Optimization with PDEs R. Henrion - - PowerPoint PPT Presentation

Weierstrass Institute for Applied Analysis and Stochastics Probabilistic Constraints in Optimization with PDEs R. Henrion (Weierstrass Institute Berlin) Based on joint work with H. Farshbaf Shaker, H. Heitsch, D. Hmberg (WIAS, Berlin), M.


slide-1
SLIDE 1

Weierstrass Institute for Applied Analysis and Stochastics

Probabilistic Constraints in Optimization with PDEs

  • R. Henrion (Weierstrass Institute Berlin)

Based on joint work with H. Farshbaf Shaker, H. Heitsch, D. Hömberg (WIAS, Berlin), M. Gugat (FAU Erlangen), W.V. Ackooij (EDF R&D, Paris)

Mohrenstrasse 39 · 10117 Berlin · Germany · Tel. +49 30 20372 0 · www.wias-berlin.de

  • Nov. 13, 2019
slide-2
SLIDE 2

A probabilistic program - standard setting

Optimization problem with probabilistic constraint: minimize f(x) subject to

P(gi(x, ξ) ≤ 0 (i = 1, . . . , m)) ≥ p} x ∈ X ⊆ Rn ξ: s-dimensional random vector (continuously distributed)

chronology: x ξ

Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 2 (19)

slide-3
SLIDE 3

A probabilistic program - standard setting

Optimization problem with probabilistic constraint: minimize f(x) subject to

P(gi(x, ξ) ≤ 0 (i = 1, . . . , m)) ≥ p} x ∈ X ⊆ Rn ξ: s-dimensional random vector (continuously distributed)

chronology: x ξ Perspectives:

Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 2 (19)

slide-4
SLIDE 4

A probabilistic program - standard setting

Optimization problem with probabilistic constraint: minimize f(x) subject to

P(g(x, ξ, t) ≤ 0 ∀t ∈ T) ≥ p} x ∈ X ⊆ Rn ξ: s-dimensional random vector (continuously distributed)

chronology: x ξ Perspectives:

infinite inequality system Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 2 (19)

slide-5
SLIDE 5

A probabilistic program - standard setting

Optimization problem with probabilistic constraint: minimize f(x) subject to

P(g(x, ξ, t) ≤ 0 ∀t ∈ T) ≥ p} x ∈ X ⊆ Banach space ξ: s-dimensional random vector (continuously distributed)

chronology: x ξ Perspectives:

infinite inequality system infinite dimensional decisions Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 2 (19)

slide-6
SLIDE 6

A probabilistic program - standard setting

Optimization problem with probabilistic constraint: minimize f(x) subject to

P(g(x, ξ, t) ≤ 0 ∀t ∈ T) ≥ p} x ∈ X ⊆ Banach space ξ: s-dimensional random vector (continuously distributed)

chronology: x1 ξ1 x2 ξ2 · · · xs ξs Perspectives:

infinite inequality system infinite dimensional decisions Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 2 (19)

slide-7
SLIDE 7

A probabilistic program - standard setting

Optimization problem with probabilistic constraint: minimize f(x) subject to

P(g(x1, x2(ξ1), . . . , xs(ξs−1), ξ, t) ≤ 0 ∀t ∈ T) ≥ p} x ∈ X ⊆ Banach space ξ: s-dimensional random vector (continuously distributed)

chronology: x1 ξ1 x2 ξ2 · · · xs ξs Perspectives:

infinite inequality system infinite dimensional decisions dynamic decisions Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 2 (19)

slide-8
SLIDE 8

Probabilistic state constraints in PDE constrained optimization1

Simple PDE arising in shape optimization of mechanical structures or crystal growth:

−∇x · (κ(x) ∇xy(x)) = r(x, ξ), x ∈ D n · (κ(x) ∇xy(x)) + α y(x) = u(x) x ∈ ∂D,

Probabilistic state constraint:

P(y(x, ξ) ≤ ¯ y ∀x ∈ C ⊆ D) ≥ p

Using control to state operator Y (r, u), probabilistic state constraint turns into a probabilistic constraint on the decision (control) variable:

P(¯ y − Y (r(x, ξ), u(x)) ≥ 0 ∀x ∈ C) ≥ p

Motivates to investigate optimization problems

min{f(x) | P(g(x, ξ, t) ≥ 0 ∀t ∈ T)

  • ϕ(x)

≥ p}

with X Banach space and T arbitrary (maybe compact) index set.

1Farshbaf-Shaker, H.. D. Hömberg 2018

Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 3 (19)

slide-9
SLIDE 9

Semicontinuity of ϕ(x) := P(g(x, ξ, t) ≥ 0

∀t ∈ T)

for g : X × Rs × T → R

Proposition Let X be a Banach space. Assume that g is weakly sequentially upper semicontinuous (w.s.u.s.) in the first two arguments. Then, ϕ : X → R is w.s.u.s. In particular, the probabilistic constraint M := {x ∈ X | ϕ(x) ≥ p} is weakly sequentially closed. Proposition Assume that

  • 1. g is weakly sequentially lower semicontinuous (w.s.l.s.).
  • 2. T is compact.
  • 3. Let x ∈ X be such that

P( inf

t∈T g(x, ξ, t) = 0) = 0

Then, ϕ is w.s.l.s. at x. The technical condition 3. may be replaced by the easier to verify conditions

ξ has a density. g is concave in the second argument. There exists ¯

z ∈ Rm with g(x, ¯ z, t) > 0 for all t ∈ T .

Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 4 (19)

slide-10
SLIDE 10

Convexity of the probabilistic constraint M := {x ∈ X | ϕ(x) ≥ p}

As before, let ϕ(x) := P(g(x, ξ, t) ≥ 0

∀t ∈ T).

Theorem (Prekopa) Assume that

g is quasiconcave in the first two variables simultaneously. ξ has a log-concave density (e.g. Gaussian etc.)

Then, the probabilistic constraint defines a convex set M for all p ∈ [0, 1]. All these properties may be verified by imposing standard assumptions for the simple PDE displayed before.

= ⇒ existence of solutions, convex optimization problem (along with convex objective)

Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 5 (19)

slide-11
SLIDE 11

Spheric-radial decomposition of a Gaussian random vector in Rm

Let ξ ∼ N(0, R) with R = LLT . Then,

P (ξ ∈ M) =

  • v∈Sm−1

µη ({r ≥ 0 : rLv ∈ M})dµζ(v),

where µη, µζ are the laws of η ∼ χ(m) and of the uniform distribution on Sm−1.

M

𝑇𝑛−1 𝑤 𝑀𝑤

Sampling of uniform distribution on the sphere Application to parameter-dependent inequality systems: 2,

ϕ(x) := P(g(x, ξ, t) ≤ 0 ∀t ∈ T) =

  • v∈Sm−1

µη ({r ≥ 0 : g(x, rLv, t) ≤ 0 ∀t ∈ T}) dµζ(v)

Obtain ∇ϕ as another spherical integral by differentiating under the integral (if allowed!) Apply nonlinear programming method to solve optimization problem.

2Deák (1980,2000), Royset/Polak (2004,2007), W.v. Ackooij, H. (2014,2017)

Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 6 (19)

slide-12
SLIDE 12

Differentiability of

ϕ(x)=P(gi(x, ξ) ≤ 0 (i=1, . . . , m))

Theorem Assume that

X- ref.+sep. B-space, g ∈ C1(X × Rm, Rp) and gi(x, ·) convex. ϕ(¯

x) > 0.5 at a point of interest ¯ x.

∃l > 0 : ∇xgi(x, z) ≤ lez

∀x ∈ B1/l(¯ x) ∀z : z ≥ l ∀i = 1, . . . , m.

rank {∇zgi(¯

x, z), ∇zgj(¯ x, z)} = 2 ∀i = j ∈ I(z) ∀z : g(¯ x, z) ≤ 0,

where, I(z) := {i | gi(¯

x, z) = 0}.

Then, ϕ is strictly differentiable at ¯

x and the gradient formula ∇ϕ (¯ x) = −

  • v∈Sm−1

χ (ρ (¯ x, v))

  • ∇zgi∗(v) (¯

x, ρ (¯ x, v) Lv) , Lv ∇xgi∗(v) (¯ x, ρ (¯ x, v) Lv) dµζ(v)

holds true. Here, i∗(v) := {i|ρ(¯

x, v) = ρi(¯ x, v)}.

μ 𝜍(𝑦, 𝑤) 𝜍1 (𝑦, 𝑤1) 𝜍2 (𝑦, 𝑤2) 𝑀𝑤 𝑕2 (𝑦, 𝑨) ≤ 0 𝑕1 (𝑦, 𝑨) ≤ 0 Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 7 (19)

slide-13
SLIDE 13

Optimal Neumann boundary control for vibrating string3

For given initial conditions y0 ∈ H1(0, 1), y1 ∈ L2(0, 1), solve

min u2

L2(0,T )

subject to cost function

y(0, x) = y0(x), yt(0, x) = y1(x), x ∈ (0, 1)

initial conditions

y(t, 0) = 0, yx(t, 1) = u(t), t ∈ (0, T)

boundary conditions

ytt(t, x) = c2 yxx(t, x), (t, x) ∈ (0, T) × (0, 1)

wave equation

y(T, x) = 0, yt(T, x) = 0, x ∈ (0, 1)

terminal conditions

3Farshbaf-Shaker, Gugat, Heitsch, H. 2019

Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 8 (19)

slide-14
SLIDE 14

Analytical solutions

Control-to-state operator u → y given analytically by y(t, x) = ∞

n=0 αn(t) ϕn(x), where

ϕn(x) := √ 2 √ L sin π 2 + nπ x L

  • αn(t)

:= α0

n cos

  • λn c t
  • + α1

n 1 √λn c sin

  • λn c t
  • +c2 ϕn(L)

1 √λn c

t u(s) sin

  • λn c (t − s)
  • ds

Theorem (Gugat 2015) Let T ≥ 2, k := max{n ∈ N : 2n ≤ T} and ∆ := T − 2k.... For t ∈ [0, 2), let

d(t) := k + 1, t ∈ (0, ∆], k, t ∈ (∆, 2).

Then the optimal control u0 that solves (NEC) is 4–periodic, with

u0(t) =     

1 2d(t)

  • y′

0(1 − t) − y1(1 − t)

  • ,

t ∈ (0, 1),

1 2d(t)

  • y′

0(t − 1) + y1(t − 1)

  • ,

t ∈ (1, 2).

Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 9 (19)

slide-15
SLIDE 15

Solution of the deterministic problem

For initial conditions y0(x) = x, y1(x) = 0 one gets a bang-bang solution:

1 2 3 4 t

  • 0.2
  • 0.1

0.1 0.2 u(t)

Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 10 (19)

slide-16
SLIDE 16

Solution of the deterministic problem

For initial conditions y0(x) = x, y1(x) = 0 one gets a bang-bang solution:

1 2 3 4 t

  • 0.2
  • 0.1

0.1 0.2 u(t)

How to adapt the problem when initial conditions are random?

0.5 1 0.25 0.5 0.75 1 Out-of-sample: Initial State [Initial State y(0,x)] [Position x] Epsilon = 0.100, N = 100, T = 4, S = 256

Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 10 (19)

slide-17
SLIDE 17

Solution of the deterministic problem

For initial conditions y0(x) = x, y1(x) = 0 one gets a bang-bang solution:

1 2 3 4 t

  • 0.2
  • 0.1

0.1 0.2 u(t)

How to adapt the problem when initial conditions are random?

0.5 1 0.25 0.5 0.75 1 Out-of-sample: Initial State [Initial State y(0,x)] [Position x] Epsilon = 0.100, N = 100, T = 4, S = 256

Terminal conditions of deterministic problem

y(T, x) = 0, yt(T, x) = 0, x ∈ (0, 1)

equivalent to "Terminal energy = zero":

E(u) := 1 yx(T, x)2 + 1 c2 yt(T, x)2 dx = 0

Relaxation: Probability (E(u) ≤ ε) ≥ p.

Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 10 (19)

slide-18
SLIDE 18

Probabilistic problem min u2

L2(0,T )

subject to cost function

y(0, x) = yω

0 (x), yt(0, x) = 0, x ∈ (0, 1)

initial conditions

y(t, 0) = 0, yx(t, 1) = u(t), t ∈ (0, T)

boundary conditions

ytt(t, x) = c2 yxx(t, x), (t, x) ∈ (0, T) × (0, 1)

wave equation

P(Eω(u)) = P 1

0 yω x (T, x)2 + 1 c2 yω t (T, x)2 dx ≤ ε

  • ≥ p

Terminal conditions

Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 11 (19)

slide-19
SLIDE 19

Modeling random initial data

Deterministic initial data (representation as Fourier series):

y0 =

  • n=0

α0

nϕn;

y1 =

  • n=0

α1

nϕn

Random initial data by multiplicative noise (representation as Fourier series):

0 = ∞

  • n=0

nα0 nϕn;

1 = ∞

  • n=0

nα1 nϕn

Series converge a.s., e.g., if all random coefficients are identically distributed with finite variance. Random control-to-state operator (u, ω) → y can be analytically described similar as in the deterministic

  • case. This allows us to shortly write our control problem as

min u2

L2(0,T )

subject to

ϕ(u) := P(g(u, (aω

n)∞ n=0, (bω n)∞ n=0) ≤ ε) ≥ p

(P).

with an analytically given function g.

Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 12 (19)

slide-20
SLIDE 20

The approximating problem with finite number of Fourier coefficients

Theorem The approximating problem with finite number of Fourier coefficients

min u2

L2(0,T )

subject to

ϕN(u) ≥ p (PN)

is convex and - if the feasible set is nonempty - has a unique solution u∗

N . Moreover, u∗ N → u∗ in the L2

norm, where u∗ is a solution of the true problem (P).

  • 0.25

0.25 1 2 3 4 [Control u] [Time] Epsilon = 0.100, N = 10, T = 4 / Stochastic (S = 256) Sigma = 0.001 Sigma = 0.050 Sigma = 0.100 Sigma = 0.200

Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 13 (19)

slide-21
SLIDE 21

Algorithmic approach

In order to solve our problem

min u2

L2(0,T )

subject to

ϕN(u) := P(gN(u, aω

n, bω n) ≤ 0) ≥ p,

we

assume a joint multivariate distribution of (aω n, bω n) with identical marginals N(1, 0.2) develop analytical formulae for ϕN, ∇ϕN using spheric-radial decomposition of Gaussian random

vectors

assume piecewise constant controls on a mesh of size M apply a projected gradient algorithm for the numerical solution

In our examples, we put N = 100 (number of Fourier coefficients = dimension of multivariate Gaussian distribution) and M = 256 (grid of time interval)

Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 14 (19)

slide-22
SLIDE 22

Solution of the probabilistic problem (Example 1)

Optimal control for y0(x) = x, y1(x) = 0, ε = 0.1 and p = 0.10, 0.15, . . . , 0.85, 0.9,

  • 0.25

0.25 1 2 3 4

pMax = 0.9078 p = 0.90 p = 0.85 p = 0.47 p = 0.10

  • Expect. Sol.

Control u(t) Time t Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 15 (19)

slide-23
SLIDE 23

Energy of scenarios as function of time Eω(u, t) := 1 yω

x (t, x)2 + 1

c2 yω

t (t, x)2 dx

Optimal probabilistic control for ε = 0.1 and

p = 0.9

Optimal deterministic control (expected initial condition) for ε = 0.1

0.5 1 1.5 2 1 2 3 4

Out-of-sample: Energy for probabilistic solution

[Energy E(t)] [Time t] Epsilon = 0.100, N = 100, T = 4, S = 256 0.5 1 1.5 2 1 2 3 4

Out-of-sample: Energy for deterministic solution

[Energy E(t)] [Time t] Epsilon = 0.100, N = 100, T = 4, S = 256

Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 16 (19)

slide-24
SLIDE 24

Solution of the probabilistic problem (Example 2)

Optimal control for y0(x) = π−1sin(πx), y1(x) = 0, ε = 0.1 and p = 0.10, 0.15, . . . , 0.85, 0.9,

  • 0.25

0.25 1 2 3 4

pMax = 0.9945

  • Expect. Sol.

p = 0.99 p = 0.95 p = 0.43 p = 0.05

Control u(t) Time t

Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 17 (19)

slide-25
SLIDE 25

Maximum probability as function of tolerance

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1 Probability Epsilon Tolerance

Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 18 (19)

slide-26
SLIDE 26

Cost as function of probability

0.05 0.1 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 Cost of control Probability

Probabilistic Constraints in Optimization with PDEs · Nov. 13, 2019 · Page 19 (19)