Lecture 1 - Optimization Problems
Lecture 1 - Optimization Problems
Content
Introduction
Definitions
Localand Global Optima
Convex Sets and Functions
Convex Programming Problems
Optimization Problems
Introduction
General Nonlinear Programming Problems
subject to gi ( x) 0 i 1, ,m
h j ( x) 0 j 1, ,p constraints
x Rn
Local Minima vs. Global Minima
subject to gi ( x) 0 i 1, ,m
h j ( x) 0 j 1, ,p constraints
x Rn
local minimum
global minimum
Local optimality Global optimality
subject to gi ( x) 0 i 1, ,m
h j ( x) 0 j 1, ,p constraints
x Rn
f (x) convex
gi (x) concave
hj (x) linear
Local optimality Global optimality
subject to gi ( x) 0 i 1, ,m
h j ( x) 0 j 1, ,p constraints
x Rn
f (x) linear
a special case of
gi (x) linear convex programming problems
hj (x) linear
Local optimality Global optimality
subject to gi ( x) 0 i 1, ,m
h j ( x) 0 j 1, ,p constraints
x Rn
f (x) linear
gi (x) linear
hj (x) linear
Integer Programming Problems
subject to gi ( x) 0 i 1, ,m
h j ( x) 0 j 1, ,p constraints
xZn
f (x) linear
gi (x) linear
hj (x) linear
The Hierarchy of Optimization Problems
Definitions
Optimization Problems
minimize f ( x)
subject to gi ( x) 0 i 1, ,m
h j ( x) 0 j 1, ,p
xR n
Optimization Problems
minimize
Minimize
f ( x) cost c: FR1
subject to gi ( x) 0 i 1, ,m
Define the set of feasible points
h j ( x) 0 j 1, ,p
F
xR n
Definition:
Instance of an Optimization Problem
Goal:
To find f F such that
c( f ) c(g) for all gF.
A global optimum
Definition:
Optimization Problem
c : (V , E )
( i , j )E
dij
Linear Programming (LP)
minimize c1 x1 c2 x2 cn xn
am1 x1 am 2 x2 amn xn bm
x1 , x2 , , xn 0
minimize c1 x1 c2 x2 cn xn
am1 x1 am 2 x2 amn xn bm
minimize cx
Subject to Ax b
x0
am1 x1 am 2 x2 amn xn bm
minimize cx
Subject to Ax b
x0
F x x R , Ax b, x 0
n
c : x cx
minimize c1 x1 c2 x2 cn xn
x1 , x2 , , xn 0
minimize 4 x1 2 x2 3x3
Subject to x1 x2 x3 2
x1 , x2 , x3 0
c 4 2 3
A 1 1 1 b 2
minimize c1 x1 c2 x2 cn xn
x1 , x2 , , xn 0
minimize 4 x1 2 x2 3x3
Subject to x1 x2 x3 2
x1 , x2 , x3 0 x3
v
c(v3) = 6 3
The optimal point is at
c(v2) = 4
one of the vertices.
x2
c(v1) = 8
x1 v2
v1 The optimum
Example:
Minimal Spanning Tree (3 Nodes)
minimize 4 x1 2 x2 3x3
x1 , x2 , x3 {0,1} x3
x3{0, 1} x1{0, 1}
c2=2 c1=4
x2
c3=3
x2{0, 1} x1
Some integer programs can be
transformed into linear programs.
Example:
Minimal Spanning Tree (3 Nodes)
minimize 4 x1 2 x2 3x3
x2
c3=3
x2{0, 1} x1
Optimization Problems
For combinatorial optimization,
the choice of N is critical.
Neighborhoods
Given an optimization problem with instance
(F, c),
a neighborhood is a mapping
N :F 2 F
f F gN2(f )
Subject to Ax b
x0
N ( x) y Ay b, y 0, and y x
Local Optima
(F, c) an instance of an optimization problem
Given
N neighborhood
small
C Global
Local minimum
minimum A Local
minimum
B
0 1 F
Improve( f ) s s N ( f ) and c( s) c( f )
Decent Algorithm
f = initial feasible solution
While Improve(f ) do
f = any element in Improve(f )
return f
Decent algorithm is usually stuck at a local
minimum unless the neighborhood N is exact.
Exactness of Neighborhood
C Global
Local minimum
minimum A Local
minimum
B
0 1 F
TSP f F gN2(f )
Nn: exact
N is exact
MST
Convex Combination
x, y Rn
01 z = x +(1)y
A convex combination of x, y.
convex nonconvex
z = x +(1)y
Convex Sets 01
n=1
S is convex iff S is an interval.
Convex Sets
Convex Functions
S Rn a convex set
x x +(1)y y
Lemma
S a convex set
St x c ( x ) t , x S
c(x) a convex function on S
t a real number is convex.
Concave Functions
S Rn a convex set
c is a convex
Optimization Problems
Convex Programming
Problems
Theorem
a convex function
a convex set
Define N ( x) y y F and x y
N ( x) is exact for every > 0.
(F, c) an instance of optimization problem
a convex function
a convex set
Theorem
Define N ( x) y y F and x y
N ( x) is exact for every > 0.
Pf)
Let x be a local minimum w.r.t. N for any fixed > 0.
Let yF be any other feasible point.
F x
N ( x )
(F, c) an instance of optimization problem
a convex function
a convex set
Theorem
Define N ( x) y y F and x y
N ( x) is exact for every > 0.
Pf)
Let x be a local minimum w.r.t. N for any fixed > 0.
Let yF be any other feasible point.
<<1 such that z x (1 ) y and z N ( x). c( z ) c( x)
Since c is convex, we have
c( z ) c( x (1 ) y ) y
c( x) (1 )c( y ) z
c( z ) c( x) F x
Therefore, c( y )
1
c( x) c( x)
c( x)
1 N ( x )
Important property:
Local minimum Global Minimum
Convex function
Defined by gi ( x) 0, i 1, ,m
gi : R R
n
Concave functions
Important property:
Local minimum Global Minimum
Defined by gi ( x) 0, i 1, ,m
gi : R R
n
Concave functions
Important property:
Local minimum Global Minimum
Convex function
Convex
Defined by gi ( x) 0, i 1, ,m
g :R R
i
n
Concave functions
Theorem