Professional Documents
Culture Documents
2011-Oct 19
2011-Oct 19
1
IEOR160 2011
Nonlinear Programs:
2
IEOR160 2011
( x 14) ( y 15)
(x - 8)2 x x x +y
+ (y - 9)2 e 49 u 2 e 13 e 24
3
IEOR160 2011
Note: the optimal solution is not at a corner point. It is where the isocontour first hits the feasible region.
x
2 4 6 8 10 12 14 16 18
4
Another example:
y
18 16 14 12 10 8 6 4 2 0 0
IEOR160 2011
Then the global unconstrained minimum is also feasible. The optimal solution is not on the boundary of the feasible region.
x
2 4 6 8 10 12 14 16 18
5
z = f(x)
x 1
6
7
IEOR160 2011
We say that a set S is convex, if for every two points x and y in S, and for every real number P in [0,1], Px + (1-P)y I S.
12 10 8 6
x y
4 2
W
2 4 6 8 10 12 14
8 8
9
IEOR160 2011
10
IEOR160 2011
Rule of thumb: suppose for all x, y the midpoint of x and y is in S. Then S is convex.
It is convex if the entire line segment is always in S.
(x+y)/2
S
11
IEOR160 2011
B C
IEOR160 2011
B C
B C
12 12
g(x)
x
IEOR160 2011
13
(y+z)/2
Convex Functions
Convex Functions: f(P y + (1- P)z) eP f(y) + (1- P)f(z) for every y and z and for 0ePe. e.g., P = 1/2 f(y/2 + z/2) ef(y)/2 + f(z)/2 We say strict convexity if sign Line joining any points is < for 0 P .
is above the curve
x
IEOR160 2011
14
(y+z)/2
Concave Functions
Concave Functions: f(P y + (1- P)z) u P f(y) + (1- P)f(z) for every y and z and for 0 ePe. e.g., P = 1/2 f(y/2 + z/2) u f(y)/2 + f(z)/2 We say strict concavity if sign is < for 0 P .
x
IEOR160 2011
15
(y+z)/2
16
IEOR160 2011
f(-x)
-x
IEOR160 2011
17
x
IEOR160 2011
18
f(x) = x2.
f(x) = 2x, f(x) = 2
2.5 2 1.5
f(x) = 1/x2
19
8 7 6 5 4 3 2 1
f(x)+g(x)
f(x)
-3
IEOR160 2011
0 -2 -1 0 1 2
g(x)
3 20
8 7 6 5 4 3 2 1
max[f(x), g(x)]
f(x)
-3
IEOR160 2011
0 -2 -1 0 1 2
g(x)
3 21
f(x) = 1/x for x > 0 f(x) = |x| f(x) = - ln(x) for x > 0
22
IEOR160 2011
x
IEOR160 2011
23
A local min of a convex function on a convex feasible region is also a global min. Strict convexity implies that the global minimum is unique. The following NLPs can be solved Minimization Problems with a convex objective function and linear constraints
24
IEOR160 2011
25
A local max of a concave function on a convex feasible region is also a global max. Strict concavity implies that the global optimum is unique. Given this, the following NLPs can be solved Maximization Problems with a concave objective function and linear constraints
26
IEOR160 2011