Tutorial On Control and State Constrained Optimal Control Problems and Applications - Part 3: Pure State Constraints
Tutorial On Control and State Constrained Optimal Control Problems and Applications - Part 3: Pure State Constraints
Helmut Maurer
University of Münster
Institute of Computational and Applied Mathematics
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
Outline
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
Minimize
Z tf
J(u, x) = g (x(tf )) + f0 (x(t), u(t)) dt
0
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
Hamiltonian
H(x, λ, u) = λ0 f (x, u) + λ f (x, u) λ ∈ Rn (row vector)
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
Rtf Rtf
λ(t) = Hx (s) ds + sx (x(s)) dµ(s)
t t
+ (λ0 g + ρψ)x (x(tf )) ( if s(x(tf )) < 0 ),
Ztf
dµ(t) ≤ 0 and sx (t))dµ(t) = 0
0
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
Augmented Hamiltonian
Minimum condition
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
Academic Example
R2
Minimize J(x, u) = ( u 2 + x 2 ) dt
0
subject to ẋ = x 2 − u , x(0) = 1, x(2) = 1 ,
and the state constraint x(t) ≥ a , ∀ 0 ≤ t ≤ 2.
control u
2.5
"u.dat"
"u-a=0.6.dat"
2 "u-a=0.7.dat"
"u-a=0.85.dat"
1.5
0.5
-0.5
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
multiplier eta
5
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
control u
3
2
1
0
-1
-2
-3
-4
-5
-6
0 0.5 1 1.5 2 2.5 3 3.5 4
multiplier eta
16
14
12
10
8
6
4
2
0
0 0.5 1 1.5 2 2.5 3 3.5 4
Minimize Z tf
J(u, x) = g (x(tf )) + ( f01 (x(t)) + f02 (x(t) ) · u(t) dt
0
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
Optimal control:
Stengel RF, Ghigliazza R, Kulkarni N, Laplace O,
Optimal control of innate immune response,
Optimal Control Applications and Methods 23, 91–104 (2002),
Lisa Poppe, Julia Meskauskas: Diploma theses, Universität
Münster (2006,2008).
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
Control variables:
u1 (t) : pathogen killer
u2 (t) : plasma cell enhancer
u3 (t) : antibody enhancer
u4 (t) : organ healing factor
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
Final time: tf = 10
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
2
L –functional, d = 0 : optimal state and control variables
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
2
L –functional, d = 0 : state constraint x4 (t) ≤ 0.2
2
L –functional, multiplier η(t) for constraint x4 (t) ≤ 0.2
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
2
L –functional, delay d > 0 , constraint x4 (t) ≤ α
Dynamics with state delay d > 0
Initial conditions
x1 (t) = 0 , −d ≤ t < 0, x1 (0) = 3,
x3 (t) = 4/3 , −d ≤ t ≤ 0,
x2 (0) = 2, x4 (0) = 0.
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
2
L –functional : delay d = 1 and x4 (t) ≤ 0.2
2
L –functional : delay d = 1 and x4 (t) ≤ 0.2
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
2
L –functional, d = 1 : multiplier η(t) for x4 (t) ≤ 0.2
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
1
L –functional : no delays
Minimize
J1 (x, u) = x1 (tf )2 + x4 (tf )2
Rtf
+ ( x12 + x42 + u1 + u2 + u3 + u4 ) dt
0
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
1
L –functional : umax = 2
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
1
L –functional : non-delayed, time–optimal control for
x1 (tf ) = x4 (tf ) = 0, x3 (tf ) = 4/3
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
K̇ = Y − C − A − (δ + n)K , K (0) = K0 .
( δ = 0.075, n = 0.03 )
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
Maximize consumption
Ztf
J(K , M, T , C , A) = e −(n−ρ)t ln (C (t)) dt
0
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
2 292
291.8
1.5
291.6
1
291.4
0.5 291.2
0 291
0 50 100 150 200 0 50 100 150 200
Consumption C Capital K
1.6
1
1.4
0.98 1.2
0.96 1
0.94 0.8
0.6
0.92
0.4
0.9 0.2
0.88 0
0 50 100 150 200 0 50 100 150 200
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
Consumption C Capital K
0.94 1.5
0.92 1.45
0.9 1.4
0.88 1.35
0.86
1.3
0.84
0.82 1.25
0.8 1.2
0.78 1.15
0.76 1.1
0 50 100 150 200 0 50 100 150 200
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
Consumption C Capital K
0.94 1.65
0.935 1.6
0.93
0.925 1.55
0.92 1.5
0.915
1.45
0.91
0.905 1.4
0.9 1.35
0.895
0.89 1.3
0.885 1.25
0 50 100 150 200 0 50 100 150 200
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
Consumption C Capital K
1 1.5
1.45
0.95
1.4
0.9
1.35
0.85
1.3
0.8 1.25
0.75 1.2
0 50 100 150 200 0 50 100 150 200
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
Consumption C Capital K
1.6
1
0.98 1.5
0.96 1.4
0.94 1.3
0.92 1.2
0.9
1.1
0.88
0.86 1
0.84 0.9
0 50 100 150 200 0 50 100 150 200
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
Consumption C Capital K
1.4
1
0.98 1.35
0.96 1.3
0.94
0.92 1.25
0.9 1.2
0.88
1.15
0.86
0.84 1.1
0 50 100 150 200 0 50 100 150 200
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro
Theory of Optimal Control Problems with Pure State Constraints Academic Example: order q = 1 of the state constraint Va
Helmut Maurer Tutorial on Control and State Constrained Optimal Control Pro