Static Optimization
Static Optimization
Optimization
Trihastuti Agustinah
Electrical Engineering Department
Institut Teknologi Sepuluh Nopember
1.1 Optimization without constraints
– Gradient of L:
𝜕𝐿
𝐿𝑢 ≜
𝜕𝑢
– Hessian matrix:
𝜕2 𝐿
𝐿𝑢𝑢 = → curvature matrix
𝜕𝑢2
1.1 Optimization without constraints
𝐿𝑢 = 0
– If Luu is semidefinite, then the higher terms of the expansion (1) must be
examined to determine the type of critical point
Example 1: Quadratic surfaces
Let 𝑢 ∈ 𝑅2 and
1 𝑇
𝐿 𝑢 = 𝑢 𝑄𝑢 + 𝑆 𝑇 𝑢
2
𝑞11 𝑞12 𝑠1
where 𝑄 = 𝑞 𝑞22 ; 𝑆 = 𝑠2
12
– Critical point:
𝑇 𝑇
1 𝜕𝑢𝑇 𝜕 𝑢 𝑄𝑢 𝜕(𝑆 𝑇 𝑢)𝑇
𝐿𝑢 = 𝑄𝑢 + +
2 𝜕𝑢 𝜕𝑢 𝜕𝑢
1
= 𝑄𝑢 + 𝑄 𝑇 𝑢 + 𝑆 = 𝑄𝑢 + 𝑆 = 0
2
Example 1: Quadratic surfaces
– Note:
𝜕𝐻
𝐻𝜆 = = 𝑓(𝑥, 𝑢)
𝜕𝜆
Hamiltonian approach
Necessary conditions for a minimum point of 𝐿(𝑥, 𝑢) that also
satisfies the constraint 𝑓 𝑥, 𝑢 = 0
𝜕𝐻
=𝑓=0
𝜕𝜆
𝜕𝐻
= 𝐿𝑥 + 𝑓𝑥𝑇 𝜆 = 0
𝜕𝑥
𝜕𝐻
= 𝐿𝑢 + 𝑓𝑢𝑇 𝜆 = 0
𝜕𝑢
Consider the quadratic performance index – The conditions for a stationary point:
1 𝑇 1 𝑇
𝐿 𝑥, 𝑢 = 𝑥 𝑄𝑥 + 𝑢 𝑅𝑢 𝐻𝜆 = 𝑥 + 𝐵𝑢 + 𝑐 = 0 …(i)
2 2
with linear constraint 𝐻𝑥 = 𝑄𝑥 + 𝜆 = 0 …(ii)
𝑓 𝑥, 𝑢 = 𝑥 + 𝐵𝑢 + 𝑐 = 0
𝐻𝑢 = 𝑅𝑢 + 𝐵𝑇 𝜆 = 0 …(iii)
where 𝑥 ∈ 𝑅𝑛 , 𝑢 ∈ 𝑅𝑚 , 𝑓 ∈ 𝑅𝑛 , 𝜆 ∈ 𝑅𝑛 ; 𝑄, 𝑅, and 𝐵 are
matrices The stationary point u* in term of :
Assume that 𝑄 > 0 and 𝑅 > 0 (both symmetric) 𝑢∗ = −𝑅−1 𝐵𝑇 𝜆
Determine the critical point. According to (ii)
𝜆 = −𝑄𝑥
– The Hamiltonian:
Taking into account (4) results in
𝐻 𝑥, 𝑢, 𝜆 = 𝐿 𝑥, 𝑢 + 𝜆𝑇 𝑓(𝑥, 𝑢)
1 𝑇 1 𝑇 λ = 𝑄𝐵𝑢 + 𝑄𝑐
= 𝑥 𝑄𝑥 + 𝑢 𝑅𝑢 + 𝜆𝑇 (𝑥 + 𝐵𝑢 + 𝑐)
2 2
Thank you