ConvexSpring25_Week3
ConvexSpring25_Week3
47
Level-set Characterization
In other words, if we can find some ↵ for which lev↵ (f ) is not a convex set, the
function f is not a convex function.
Converse is not true. A function is called quasi-convex if its domain and all level
sets are convex sets.
48
Restriction of a Convex Function on a Line
49
First Order Condition
A global lower bound on the function can be obtained at any point based on local
information (f (x), rf (x)).
50
Second Order Condition
51
Examples of Convex Functions
x> x
f1 (x, y) = y if y > 0 and +1 if y 0 (square to linear function).
Pn xi
f2 (x) = log( i=1 e ) (log-sum-exp function).
f3 (X) = log det(X) where X 2 S++
n (log-determinant function).
52
Examples of Convex Functions
53
Convexity Preserving Operations
Pn >
Example: g(x) = ||Ax + b||2 , h(x) = i=1 log(ai x + b).
54
Convexity Preserving Operations
55
Convexity Preserving Operations
56
Convexity Preserving Operations
57
Convexity Preserving Operations
Other scalar composition rules can also be directly extended to the vector case.
Examples:
If g is convex, then eg(x) is also convex.
1
If g is concave and positive, then g(x) is convex.
P
If gi are convex, then log( ki=1 egi (x) ) is convex.
58
Recall: Optimization Problem
where
x decision variable, often a vector in Rn
X set of feasible solutions, often a subset of Rn
f : Rn ! R cost function
Goal:
Find x⇤ 2 X that minimizes the cost function, i.e., f (x⇤ ) f (x) for every
x 2 X.
Optimal value: f ⇤ := inf x2X f (x)
Optimal solution: x⇤ 2 X if f (x⇤ ) = f ⇤ .
min f (x)
x2Rn
subject to gi (x) 0, i 2 {1, 2, . . . , m}
hj (x) = 0, j 2 {1, 2, . . . , p}.
59
Recall
60
Feasibility Problem
min 0
x2Rn
subject to gi (x) 0, i 2 {1, 2, . . . , m}
hj (x) = 0, j 2 {1, 2, . . . , p}.
61
Convex Optimization Problems
is convex when the feasibility set X is a convex set and the cost function f (x)
is a convex function.
min f (x)
x2Rn
subject to gi (x) 0, i 2 {1, 2, . . . , m}
hj (x) = 0, j 2 {1, 2, . . . , p},
is convex when
f and gi are convex functions.
hj are affine functions.
62
Simple Examples of Convex Functions
63
1. Local Optimum is Global
64
2. Uniqueness under Strict Convexity
65
3. Necessary and Sufficient Optimality Condition
66
Equivalent Optimization Problems
67
Equivalence: Maximization
68
Equivalence: Epigraph Form
69
Equivalence: Slack Variables
70
Equivalence: From Equality to Inequality Constraints
71
Equivalence: From Constrained to Unconstrained
72
Equivalence: Scalar Multipliers and Constant Terms
73
Equivalence: Monotone Transformations
74
Inner Approximation
75
Relaxation and Soft Constraints
76