• No se han encontrado resultados

Domain Decomposition Methods in Gradient Descent Prodcedures for Optimal Control Problems

N/A
N/A
Protected

Academic year: 2023

Share "Domain Decomposition Methods in Gradient Descent Prodcedures for Optimal Control Problems"

Copied!
21
0
0

Texto completo

(1)

Domain Decomposition Methods in Gradient Descent Prodcedures for Optimal Control Problems

IX: Partial differential equations, optimal design and numerics Benasque, 2022

Lukas Wolff, Falk Hante, Dani¨el Veldman, Enrique Zuazua 26.08.2022

FAU Erlangen-N¨urnberg, Subproject C07 of TRR154 of the DFG

(2)

Introduction

(3)

Motivation

Overarching goal: Optimization of gas network operation

I.e.: Optimal control of nonlinear PDE’s on large domains/networks:

minu∈KJ(y (u), u) with

ˆ target functional J (operational cost, distance to target state)

ˆ control u (compressor stations, valves)

ˆ state y (pressure, density, velocity)

ˆ set of admissible controls K

1

(4)

Optimal control of gas flow on networks

Let (E, V) a network with boundary nodes Vb, interior nodes V0and compressor nodes Vc. Our goal is to solve

min

u∈UJ(y , u) :=

Z

E×[0,T ]

(y − yd)2

2∥u∥2U (1)

such that

t(φ(ye)) − ∂x(φ(∂xye)) = 0 in {e} × (0, T ), e ∈ E

νeφ(∂xy ) + γvφ(y ) = g in {v } × (0, T ) v ∈ Vb, e ∈ E(v ) ye = ye′ in {v } × (0, T ), v ∈ V0, e, e∈ E(v ) P

e∈E(v )νeφ(∂xye) = 0 in {v } × (0, T ), v ∈ V0\ Vc

νeφ(∂xye) = γv(φ(ye′) − φ(ye) + ue)

in {v } × (0, T ), v ∈ Vc, e, e∈ E(v ) ye(0, ·) = ye,0 on e ∈ E

(2)

with nonlinearity φ : s 7→ |s|12s. Our project (C07 of TRR154) concerns gradient descent procedures for this kind of problem:

ˆ Does the equation allow for an adjoint state?

ˆ Can we decrease numerical cost of the GD by using domain decomposition?

2

(5)

Optimal control of parabolic p-Laplacian equations

For α < 2 consider problems of the form min

u∈U J(y , u) =1 2

Z T 0

Z

|y − yd|2+λ 2

Z T 0

Z

∂Ω

u2 (3a)

s.t.









ty − ∆αy = 0 in (0, T ) × Ω,

|∇y |α−2∂y

∂ν+ γy = γu on (0, T ) × ∂Ω, y (x , 0) = y0 in Ω

(3b)

for some fixed y0∈ L2(Ω), γ, λ > 0 , yd∈ L2(Ω) and a control

u ∈ U ⊂ Lα−1α (0, T , L2(∂Ω)). The formal adjoint p can become singular:

−∂tp − ∇ · φ(∇y )∇p = 0

Open problem: Assuming only ∇y ̸= 0 a.e., is the solution operator of (3) differentiable? [cf. Fernandez-Casas, 1995]

Theorem (LW, Zuazua, 2022)

Assuming 0 < C1≤ |∇y | ≤ C2< ∞, the solution operator of (3) is Gˆateaux differentiable and an adjoint state exists.

3

(6)

Domain Decomposition for

Gradient Descent

(7)

Motivation: Gradient Descent Procedures for Optimal Control

For simplicity, consider min

u∈L2(Ω)

J(y , u) :=1

2∥y − yd2L2(Ω)

2∥u∥2L2(Ω) (4) with

−∆y = f + u in Ω

y = 0 on ∂Ω.

Optimality System: Optimal statey¯and its adjointp¯satisfy

−∆y¯ = f −λ1p¯ in Ω

¯

y = 0 on ∂Ω

,

−∆p¯ =y¯− yd in Ω

¯

p = 0 on ∂Ω.

(5) Gradient Descent: Find ¯y by iteratively computing

−∆y(n) = f + u(n) in Ω y(n) = 0 on ∂Ω ,

−∆p(n) = y(n)− yd in Ω

p(n) = 0 on ∂Ω (6)

u(n+1)= u(n)− η

p(n)+ λu(n)

(7) Main challenge: Repeated computation of forward and adjoint system is numerically expensive! Particularly for very large domains.

4

(8)

Domain Decomposition Methods

Consider the Poisson problem

−∆y = f in Ω

y = 0 on ∂Ω (8)

on a domain Ω ⊂ Rd. Fix a decomposition Ω = Ω1∪ Ω2with Ω1∩ Ω2= ∅ and Γ := Ω1∩ Ω2.

Picture taken from [LL04]

Then, the iterative procedure defined by





− ∆yin = f |i in Ωi

yin = 0 on ∂Ωi\ Γ

νiyin+ yin = −∂νjyjn−1+ yjn−1 on Γ, j ̸= i

(9)

converges towards y for n → ∞ [Lio90]. Note: parallelizable!

5

(9)

Domain Decomposition and Gradient Descent

How can DDM be used in the context of gradient descent?

1. Performing DDM in each iteration of GD (see [CY11]):

ˆ Outer Iteration: Adjoint-based gradient descent

ˆ Inner Iteration: Solve forward and adjoint system by DDM 2. Decomposing the optimal control problem:

ˆ Outer Iteration: DDM for optimality systems (see [BD96], [LL04])

ˆ Inner Iteration: Solve decomposed optimality systems by gradient descent Idea:Can a ”diagonal” approach be performed?

6

(10)

Proposed Procedure

Iteratively for n = 1, 2, . . . do:

1. Compute the state equation in all Ωi in parallel:





− ∆yin = f |i+ un|i in Ωi

yin = 0 on ∂Ωi\ Γij

νyin+ yin = −∂νjyjn−1+ yjn−1 on Γ, j ̸= i

(10)

2. Compute the adjoint equation in all Ωi in parallel:





− ∆pin = yin− yd|i in Ωi

pni = 0 on ∂Ωi\ Γ

νpni + pin = −∂νjpjn−1+ pn−1j on Γij, j ̸= i

(11)

3. Update the controls in Ωi based on pin. Questions:

ˆ Can convergence be ensured?

ˆ Can a numerical advantage be achieved?

7

(11)

Results

(12)

Numerical Experiments

0 1 2 3 4 5 6 7 8 9 10

Iteration; Iteration/(# Subgraphs) 104

Convergence of (S)GD using DD

Standard GD GD with DD SGD with DD

Figure 1: |V| = 422, |E| = 1143, Number of Subgraphs M = 20

Descent Procedure Time [s]

Standard GD 97

GD with DD 68

SGD with DD 72

8

(13)

Convergence Analysis

Theorem (Hante, LW, Veldman, Zuazua, 2022)

We can chose the stepsize η > 0 sufficiently small such that for the optimal control problem (4) on networks and 1D domains the proposed procedure converges towards the optimal control ¯u.

Idea of the proof: For small stepsizes, the change in the control in each step is small enough to not disturb the convergence of the domain decomposition method.

9

(14)

Framework of the proof

H,U Hilbert spaces, X , Y Banach spaces,A ∈ L(X , Y), B ∈ L(U , Y), C ∈ L(X , H). Consider the optimal control problem

min

u∈U J(y , u) =12∥Cy − zd2H+12∥u∥2U

s.t. Ay = Bu + f ,

(12) for some given zd∈ H and f ∈ Y. Note that Ay = f can be solved by the iteration

Myn+1= Nyn+ f (13)

for A = M − N and ρ(M−1N) < 1. Consider the following descent procedure:

For n = 0, 1, 2, . . . compute





Myn+1 = Nyn+ Bun+ f , Mp˜ n+1 = ˜Npn+ C(Cyn+1− zd), un+1 ← un− η(Bpn+1+ un).

(14)

Proposition

If ρ(M−1N) < 1 and ρ( ˜M−1N) < 1, there exists η˜ 0> 0 such that for all

stepsizes 0 < η < η0the algorithm (14) converges for all initial guesses. 10

(15)

How to understand DDM in this framework?

Let Ay = f denote the poisson equation on Ω. We can then decompose

A =

"

M1 N1

N2 M2

#

=

"

M1 0 0 M2

#

| {z }

=:M

"

0 −N1

−N2 0

#

| {z }

=:N

where Miyi = Niyj+ f corresponds to





−∆yi = f |i in Ωi

yi = 0 on ∂Ωi\ Γ

νiyi+ yi = −∂νjyj+ yj on Γ, j ̸= i where we decomposed Ω = Ω1∪ Ω2. This can be made precise!

11

(16)

Sketch of proof of the proposition

Proof.

The algorithm (14) can be written in matrix form as

M 0 0

−CC M˜ 0 0 ηB IU

| {z }

M2(η)

 yk+1

pk+1

uk+1

−

N 0 B

0 N˜ 0

0 0 IU− ηIU

| {z }

N2(η)

 yk

pk

uk

=

 f

−Czd

0

.

Establishing the convergence comes down to showing that

ρ(M−12 (η)N2(η)) < 1. Using ρ(M−1N) < 1 and ρ( ˜M−1N) < 1, this can be˜ done for η > 0 small enough.

12

(17)

Outlook

(18)

Outlook

Future goals:

ˆ Extend our convergence results, particularly to instationary problems

ˆ Investigate possible advantages of choosing subdomains stochastically

ˆ Analyze the influence of the decomposition method on the convergence properties, particularly on networks

13

(19)

Thank you for your attention!

Are there any Questions?

13

(20)

References i

References

[BD96] J.-D. Benamou and B. Despr`es. A Domain Decomposition Method for the Helmholtz Equation and Related Optimal Control Problems.Research Report RR-2791. Projet IDENT.

INRIA, 1996. url: https://hal.inria.fr/inria-00073899.

[CY11] H. Chang and D. Yang. A Schwarz domain decomposition method with gradient projection for optimal control governed by elliptic partial differential equations.In: Journal of

computational and applied mathematics 235.17 (2011), pp. 5078–5094.

14

(21)

References ii

[Lio90] P.-L. Lions. “On the Schwarz alternating method. III: a variant for nonoverlapping subdomains”.In: Third international symposium on domain decomposition methods for partial differential equations. Vol. 6. SIAM Philadelphia, PA. 1990, pp. 202–223.

[LL04] J. E. Lagnese and G. Leugering. Domain Decomposition Methods in Optimal Control of Partial Differential Equations.

Basel: Birkh¨auser Basel, 2004. isbn: 978-3-0348-9610-8. doi:

10.1007/978-3-0348-7885-2.

15

Referencias

Documento similar

In Sections 4 and 5, we construct and analyse regularized BIE formulations for both penetrable and impenetrable scattering problems; Nyström discretizations of the elastodynamics

This iterative approach should be used for problems where implicit schemes are required, for instance: Stiff problems, algebraic-differential equations or Hamiltonian systems.. In

In solving a nonlinear program, primal methods work on the original problem directly by searching the feasible region for an optimal solution.. Each point generated in the process

More precisely, if the solution of the system of partial differential equations (1.1) is smooth enough and defined as the L 2 ( U ; R d )-gradient flow of the polyconvex

In order to address this, CROWD will rely on a global control framework that interfaces with all the mechanisms and con- figures them for global optimal operation.As many of the

This results in a cascade control scheme, where the outer loop consists of a gradient descent control of the internal dynamics, and the inner loop is the input–output

[3], who applied the Enhanced Frequency Domain Decomposition (EFDD) method to identify the modal properties of a numerical model of spar floating platform implemented in ANSYS

In this work, an H ∞ gain-scheduling controller able to optimize vehicle braking in an emergency situation was developed, trying to achieve the optimal longitudinal slip value from