Académique Documents
Professionnel Documents
Culture Documents
Related courses:
◮ SC4060: Model predictive control
◮ SC4040: Filtering & identification
◮ WI4217: Optimal control theory: Fundamentals & related
topics
Three subproblems:
Formulation:
Translation of engineering demands and requirements
into a mathematical well-defined optimization
problem
Initialization:
Choice of right algorithm
Choice of initial values for parameters
Optimization procedure;
Various optimization techniques
Various computer platforms
I. Optimization Techniques
1. Introduction
2. Linear Programming
3. Quadratic Programming
4. Nonlinear Optimization
5. Constraints in Nonlinear Optimization
6. Convex Optimization
7. Global Optimization
8. Summary
9. Matlab Optimization Toolbox
10. Multi-Objective Optimization
Appendix E. Integer Optimization
min f (x)
x
s.t. h(x) = 0
g (x) 6 0
◮ f : objective function
◮ x : parameter vector
◮ h(x) = 0 : equality constraints
◮ g (x) 6 0 : inequality constraints
f (x) is a scalar
g (x) and h(x) may be vectors
f (x ∗ ) = min f (x)
x
where
x ∗ = arg min f (x)
x
◮ Constrained optimization:
f (x ∗ ) = min f (x)
x
h(x ∗ ) = 0
g (x ∗ ) 6 0
where
n o
x ∗ = arg min f (x), h(x) = 0, g (x) 6 0
x
max f (x) = − min − f (x)
x x
−f
x∗
min c T x , A x 6 b , x > 0
x
◮ Quadratic programming
min x T Hx + c T x , A x = b , x > 0
x
min x T Hx + c T x , A x 6 b , x > 0
x
◮ Convex optimization
min f (x) , g (x) 6 0 where f and g are convex
x
◮ Nonlinear optimization
min f (x) , h(x) = 0 , g (x) 6 0
x
where f , h, and g are non-convex and nonlinear
Optimization in Systems and Control Optimization — Introduction 10 / 30
Convex set
Set C in Rn is convex if x, y ∈ C , λ ∈ [0, 1] :
(1 − λ)x + λy ∈ C
x (λ = 0)
(1 − λ)x + λy
y (λ = 1)
A function f is unimodal if
a) The domain dom(f ) is a convex set.
b) ∃ x ∗ ∈ dom(f ) such
f (x ∗ ) 6 f (x) ∀ x ∈ dom(f )
xT x
f (x) = x ∈ R2
1 + xT x
2
1
0.8
1
0.6 x2 0
f 0.4
−1
0.2
0 −2
4
2
−3
0 4
2
−2 0
−4
x2 −4 −4
−2
x1 −4 −3 −2 −1 0 1 2 3 4
x1
2.5
2
3000
1.5
2500
2000 x2 1
f 1500
1000 0.5
500
0
0
3
2 2 −0.5
1 1
0
0 −1 −1
x2 −1 −2 x1
−2 −1.5 −1 −0.5 0
x1
0.5 1 1.5 2
A function f is quasiconvex if
a) Domain dom(f ) is a convex set
b) For all x, y ∈ dom(f )
and 0 6 λ 6 1
there holds
f (1 − λ)x + λy 6 max (f (x), f (y ))
Alternative definition:
A function f is quasiconvex if the sublevel set
A function f is convex if
a) Domain dom(f ) is a convex set.
b) For all x, y ∈ dom(f )
and 0 6 λ 6 1
there holds
f (1 − λ)x + λy 6 (1 − λ)f (x) + λf (y )
f (y )
(1 − λ)f (x) + λf (y )
f (x)
f (1 − λ)x + λy
x (1 − λ)x + λy y
(λ = 0) (λ = 1)
Optimization in Systems and Control Optimization — Introduction 18 / 30
Test: Unimodal, quasiconvex, convex
Given: Function f with graph
f
∂f
∂x1
∂f
Gradient of f : ∇f (x) =
∂x2
..
.
∂f
∂xn
x: vector
h: vector-valued
f
α
f (x0 )
x2
∇f (x0 )
θ
β
x1 x0
for all x ∈ Rn
x̃0 x0
Optimization in Systems and Control Optimization — Introduction 24 / 30
Classes of optimization problems
◮ Linear programming
min c T x , A x = b , x > 0
x
min c T x , A x 6 b , x > 0
x
◮ Quadratic programming
min x T Hx + c T x , A x = b , x > 0
x
min x T Hx + c T x , A x 6 b , x > 0
x
◮ Convex optimization
min f (x) , g (x) 6 0 where f and g are convex
x
◮ Nonlinear optimization
min f (x) , h(x) = 0 , g (x) 6 0
x
where f , h, and g are non-convex and nonlinear
Optimization in Systems and Control Optimization — Introduction 25 / 30
Conditions for extremum → learn by heart!
◮ Unconstrained optimization problem: min f (x)
x
Zero-gradient condition: ∇f (x) = 0
◮ Equality constrained optimization problem: min f (x)
x
Lagrange conditions: s.t. h(x) = 0
∇f (x) + ∇h(x) λ = 0
h(x) = 0
◮ Inequality constrained optimization problem: min f (x)
x
Kuhn-Tucker conditions: s.t. g (x) 6 0
∇f (x) + ∇g (x) µ + ∇h(x) λ = 0 h(x) = 0
µT g (x) = 0
µ>0
h(x) = 0
g (x) 6 0
Optimization in Systems and Control Optimization — Introduction 26 / 30
Convergence
k xk+1 − x ∗ k
β1 = lim
k→∞ k xk − x ∗ k
k xk+1 − x ∗ k
β2 = lim
k→∞ k xk − x ∗ k2
v4 v5
v3
x0
v2
v1
x∗