Opt Lecture 1
Opt Lecture 1
Opt Lecture 1
Email: thaonguyen@neu.edu.vn
27/9/2022
1 / 17
Contents
1 Introduction
2 Mathematics Preliminaries
3 Unconstrained Optimization
4 Constrained Optimization
2 / 17
Materials
Daniel Leonard, Ngo Van Long, 1992, Optimal control theory and
static optimization in economics, Cambridge University Press.
3 / 17
What is Optimization?
4 / 17
Example 1 : Manufacturing Problem
5 / 17
Example 1 : Manufacturing Problem
xj ≥ 0 (j = 1, . . . , n).
6 / 17
Example 2: Portfolio optimization
n assets
wi : allocation of ith asset, for i = 1, . . . , n
ri : return of ith asset. Assume we know E (ri ), covariance matrix.
Question: Find w =(w1 , . . . , wn ) to minimize the risk of portfolio subjected
to the constraints on expected value of portfolio return.
7 / 17
Example 2: Portfolio optimization
n assets
wi : allocation of ith asset, for i = 1, . . . , n
ri : return of ith asset. Assume we know E (ri ), covariance matrix.
Question: Find w =(w1 , . . . , wn ) to minimize the risk of portfolio subjected
to the constraints on expected value of portfolio return.
subject to: w1 + w2 + · · · + wn = 1,
E (w1 r1 + · · · + wn rn ) ≥ R .
8 / 17
Example 3: Shortest Path
n: number of places
dij : distance from place i to place j (i = 1, . . . , n, j = 1, . . . , n)
Question: A man can start at any place. Find the shortest path for the
man to walk through all other n − 1 places once and then return to the
starting place.
9 / 17
Example 3: Shortest Path
n: number of places
dij : distance from place i to place j (i = 1, . . . , n, j = 1, . . . , n)
Question: A man can start at any place. Find the shortest path for the
man to walk through all other n − 1 places once and then return to the
starting place.
Pn Pn
minimize i =1 j =1 dij xij ,
n
X
subject to: xij = 1, j = 1, . . . , n,
i =1
X n
xij = 1, i = 1, . . . , n,
j =1
Optimization Problem:
minimize f (x),
s.t: x ∈ D.
11 / 17
Optimization Problem
Optimization Programming:
minimize f (x),
12 / 17
Definition
x∗ ∈ argminx∈D f (x)