IntroSets
IntroSets
Lecture 1
minimize cT x
subject to aTi x ≤ bi, i = 1, . . . , m
minimize kF x − gk22
subject to aTi x ≤ bi, i = 1, . . . , m
Combination of LS & LP
Same story . . . QP is a technology
Reliability: Programmed on chips to solve real-time problems
Classic application: portfolio optimization
minimize p(x)
p is polynomial of degree d; x ∈ Rn is variable
Classical view:
linear is easy
nonlinear is hard(er)
minimize f0(x)
subject to f1(x) ≤ 0, . . . , fm(x) ≤ 0
for all x, y, 0 ≤ λ ≤ 1
minimize cT x
subject to Prob(aTi x ≤ bi) ≥ η, i = 1, . . . , m
minimize cT x
subject to aTi x ≤ bi, i = 1, . . . , m
{x | Prob(aTi x ≤ bi) ≥ η, i = 1, . . . , m}
moral: very difficult and very easy problems can look quite similar
(to the untrained eye)
A brief history. . .
All convex minimization problems with: a first order oracle (returning f (x) and
a subgradient) can be solved in polynomial time in size and number of
precision digits.
Khachiyan [1979] then used the ellipsoid method to show the polynomial
complexity of LP.
Karmarkar [1984] describes the first efficient polynomial time algorithm for LP,
using interior point methods.
Nesterov and Nemirovskii [1994] show that the interior point methods used for
LPs can be applied to a larger class of structured convex problems.
minimize cT x
subject to Ax − b ∈ K
LP: {x ∈ Rn : x ≥ 0}
Second order: {(x, y) ∈ Rn × R : kxk ≤ y}
Semidefinite: {X ∈ Sn : X 0}
Again, the class of problems that can be represented using these cones is
extremely vast.
http://di.ens.fr/~aspremon/OptConvexeM2.html
you will get an automatic reply to your message if it has been received.
A final exam.
http://www.stanford.edu/~boyd/cvxbook/
http://www2.isye.gatech.edu/~nemirovs/
x = θx1 + (1 − θ)x2 (θ ∈ R)
θ = 1.2 x1
θ=1
θ = 0.6
x2
θ=0
θ = −0.2
affine set: contains the line through any two distinct points in the set
x = θx1 + (1 − θ)x2
with 0 ≤ θ ≤ 1
convex set: contains line segment between any two points in the set
x = θ 1 x 1 + θ 2 x 2 + · · · + θk x k
with θ1 + · · · + θk = 1, θi ≥ 0
x = θ 1 x 1 + θ 2 x2
with θ1 ≥ 0, θ2 ≥ 0
x1
x2
0
convex cone: set that contains all conic combinations of points in the set
x0
x
aT x = b
x0 aT x ≥ b
aT x ≤ b
xc
Ax b, Cx = d
a1 a2
P
a5
a3
a4
notation:
Sn is set of symmetric n × n matrices
Sn+ = {X ∈ Sn | X 0}: positive semidefinite n × n matrices
0.5
x y
z
example: ∈ S2+
y z
0
1
1
0
0.5
y −1 0 x
1. apply definition
example:
S = {x ∈ Rm | |p(t)| ≤ 1 for |t| ≤ π/3}
for m = 2:
2
1
1
p(t)
0
S
x2
0
−1
−1
−2
0 π/3 2π/3 π −2 −1 0 1 2
t x1
examples
images and inverse images of convex sets under perspective are convex
Ax + b
f (x) = T
, dom f = {x | cT x + d > 0}
c x+d
images and inverse images of convex sets under linear-fractional functions are
convex
1
f (x) = x
x 1 + x2 + 1
1 1
x2
x2
0 C 0
f (C)
−1 −1
−1 0 1 −1 0 1
x1 x1
examples
nonnegative orthant K = Rn+ = {x ∈ Rn | xi ≥ 0, i = 1, . . . , n}
positive semidefinite cone K = Sn+
nonnegative polynomials on [0, 1]:
x K y ⇐⇒ y − x ∈ K, x ≺K y ⇐⇒ y − x ∈ int K
examples
componentwise inequality (K = Rn+)
x Rn+ y ⇐⇒ x i ≤ yi , i = 1, . . . , n
x K y, u K v =⇒ x + u K y + v
y∈S =⇒ x K y
y ∈ S, y K x =⇒ y=x
example (K = R2+)
S2
S1 x2
x1 is the minimum element of S1
x2 is a minimal element of S2 x1
if C and D are disjoint convex sets, then there exists a 6= 0, b such that
aT x ≤ b for x ∈ C, aT x ≥ b for x ∈ D
aT x ≥ b aT x ≤ b
D
C
{x | aT x = aT x0}
x0
C
K ∗ = {y | y T x ≥ 0 for all x ∈ K}
examples
K = Rn+: K ∗ = Rn+
K = Sn+: K ∗ = Sn+
K = {(x, t) | kxk2 ≤ t}: K ∗ = {(x, t) | kxk2 ≤ t}
K = {(x, t) | kxk1 ≤ t}: K ∗ = {(x, t) | kxk∞ ≤ t}
dual cones of proper cones are proper, hence define generalized inequalities:
y K ∗ 0 ⇐⇒ y T x ≥ 0 for all x K 0
x1
S
λ2
x2
References
A. Ben-Tal and A. Nemirovski. Lectures on modern convex optimization : analysis, algorithms, and engineering applications. MPS-SIAM
series on optimization. Society for Industrial and Applied Mathematics : Mathematical Programming Society, Philadelphia, PA, 2001.
N. K. Karmarkar. A new polynomial-time algorithm for linear programming. Combinatorica, 4:373–395, 1984.
L. G. Khachiyan. A polynomial algorithm in linear programming (in Russian). Doklady Akademiia Nauk SSSR, 224:1093–1096, 1979.
A. Nemirovskii and D. Yudin. Problem complexity and method efficiency in optimization. Nauka (published in English by John Wiley,
Chichester, 1983), 1979.
Y. Nesterov. Introductory Lectures on Convex Optimization. Springer, 2003.
Y. Nesterov and A. Nemirovskii. Interior-point polynomial algorithms in convex programming. Society for Industrial and Applied
Mathematics, Philadelphia, 1994.