Академический Документы
Профессиональный Документы
Культура Документы
Topics Convex sets and convex programming First-order optimality conditions Examples Problem classes
General NLP
Minimize f(x) s.t. gi(x) (, , =) bi, i = 1,,m x = (x1,,xn)T is the n-dimensional vector of decision variables f (x) is the objective function gi(x) are the constraint functions bi are fixed known constants
Convex Sets
Definition: A set S n is convex if every point on the line segment connecting any two points x1, x2 S is also in S. Mathematically, this is equivalent to x0 = x1 + (1)x2 S for all such 0 1.
x1
x2
x1
x1 x2 x2
x1
Convex Programming
Min f (x1,,xn) s.t. gi(x1,,xn) bi i = 1,,m x1 0,,xn 0 is a convex program if f is convex and each gi is convex. Max f (x1,,xn) s.t. gi(x1,,xn) bi i = 1,,m x1 0,,xn 0 is a convex program if f is concave and each gi is convex.
Maximize f (x) = (x1 2)2 + (x2 2)2 subject to 3x1 2x2 6 x1 + x2 x1 + x2 2x1 3x2 3 7 4
5 4 3 2 1
x1
Optimality conditions Stationarity: L(x, ) = f (x) + igi (x) = 0 Complementarity: igi(x) = 0, i = 1,,m Feasibility: gi(x) bi, i = 1,,m Nonnegativity: i 0, i = 1,,m
i=1 m
Solution by Substitution
s 2r 2 h= 2r Volume = V = r2 [ s 2r 2 rs r 3 ] = 2 2r
r=(
h = 2(
V(r ) =
d2V 0 for all r 0 dr 2 Thus V(r ) is concave on r 0 so the solution is a global maximum.
I2 100v I1 I6 I3 10
I4 I5 20
I7
Problem: Determine the current flows I1, I2,,I7 so that the total content is minimized Content: G(I) =
Solution Approach
Electrical Engineering: Use Kirchoffs laws to find currents when power source is given. Operations Research: Optimize performance measure in network taking flow balance into account. Linear resistor: Voltage, v(I ) = IR Content function, G(I ) = I R/2 Battery: Voltage, v(I ) = E Content function, G(I ) = EI
2
10 I 4
-100 I1
5 I3
10 I5
0 I6
0 I7
Minimize Z = 100I1 + 5I22 + 5I32 + 10I42 + 10I52 subject to I1 I2 = 0, I2 I3 I4 = 0, I5 I6 = 0, I5 + I7 = 0, I3 + I6 I7 = 0, I1 I6 = 0 Solution: I1 = I2 = 50/9, I3 = 40/9, I4 = I5 = 10/9, I6 = 50/9, I7 = 10/9
10