← All writing

Convex Optimization (1)

Convex Sets and Functions

Parts: 1 · 2

Chapter 1 Introduction

1.1 Mathematical optimization

A mathematical optimization problem, or just optimization problem, has the form

minimize f0(x)subject to fi(x)≤bi  i=1,...,mminimize \ f_0(x) \\ subject\ to \ f_i(x) \le b_i \ \ i = 1 ,...,m

Here x=(x1,x2,...,xn)x = (x_1,x_2, ...,x_n) is the optimization variable of the problem, the function f0:Rn→Rf_0 : \R_n \rarr \R is the objective function, the function fi:Rn→Rf_i : \R_n \rarr \R are the (inequality) constraint functions.

A vector x∗x^* is called optimal, or a solution of the problem above, if it has the smallest objective value among all vectors that satisfy the constraints: for any zz with all fi(z)≤bif_i(z) \le b_i, we have f0(x∗)≤f0(z)f_0(x^*) \le f_0(z).

As an important example, the optimization problem is called a linear program if the objective

and constraint functions f0,fif_0 , f_i are all linear, i.e. , satisfy

fi(αx+βy)=αfi(x)+βfi(y)f_i(\alpha x + \beta y) = \alpha f_i(x) +\beta f_i(y)

for all x,y∈Rnx, y \in \R_n and all α,β∈R\alpha, \beta \in \R.

A convex optimization problem is one in which the objective and constraint functions are convex, which means they satisfy the inequality

fi(αx+βy)≤αfi(x)+βfi(y)f_i(\alpha x + \beta y) \le \alpha f_i(x) +\beta f_i(y)

for all x,y∈Rnx, y \in \R_n and all α,β∈R\alpha, \beta \in \R with α+β=1,α≥0,β≥0\alpha + \beta = 1, \alpha \ge0, \beta\ge 0.

Chapter 2 Convex Set

2.1 Affine and convex set

2.1.1 Line and line segments

Suppose x1≠x2x_1 \ne x_2 are two points in RnR_n. Points of the form

y=θx1+(1−θ)x2y = \theta x_1 + (1 - \theta)x_2

where θ∈R\theta \in R , form the line passing through x1,x2x_1, x_2. Values of the parameter θ\theta between 0 and 1 correspond to the (closed) line segment between x1x_1 and x2x_2.

y=x2+θ(x1−x2)y = x_2 + \theta(x_1 -x_2)

gives another interpretation: yy is the sum of the base point x2x_2 (correspondingto θ=0\theta = 0) and the direction x1−x2x_1 − x_2 (which points from x2x_2 to x1x_1) scaled by the parameter θ\theta.

2.1.2 Affine sets

A set C⊆RnC \sube R_n is affine if the line through any two distinct points in CC lies in CC, i.e., if for any x1,x2∈Cx_1, x_2 \in C and θ∈R\theta \in R, we have θx1+(1−θ)x2∈C\theta x_1 +(1−\theta)x_2 \in C. In other words, C contains the linear combination of any two points in CC, provided the coefficients in the linear combination sum to one.

This idea can be generalized to more than two points. We refer to a point of the form θ1x1+⋅⋅⋅+θkxk\theta_1x_1 + · · · + \theta_kx_k, where θ1+⋅⋅⋅+θk=1\theta_1 + · · · + \theta_k = 1, as an affine combination of the points x1,...,xkx_1, . . . , x_k.

If CC is an affine set and x0∈Cx_0 \in C, then the set

V=C−x0={x−x0 ∣ x∈C} V = C -x_0 = \{x - x_0 \ | \ x \in C\}

is a subspace, i.e., closed under sums and scalar multiplication.

Thus, the affine set CC can be expressed as

C=V+x0={v+x0∣ v∈V}C = V + x_0 =\{v + x_0 | \ v \in V\}

The solution set of a system of linear equations, C={x∣Ax=b}C =\{x | Ax = b\}, where A∈Rm×nA\in R_{m \times n} and b∈Rmb \in R_m, is a affine set.

We also have a converse: every affine set can be expressed as the solution set of a system of linear equations.

The set of all affine combinations of points in some set C⊆RnC \sube R_n is called the affine hull of C, and denoted  aff C\ aff \ C

The affine hull is the smallest affine set that contains CC.

2.1.3 Affine dimension and relative interior

We define the affine dimension of a set CC as the dimension of its affine hull.

If the affine dimension of a set C⊆RnC \subseteq R^n is less than nn, then the set lies in the affine set aff C≠Rnaff\ C \ne R^n . We define the relative interior of the set CC, denoted relint Crelint \ C, as its interior relative to aff Caff \ C:

relint C={x∈C∣(B(x,r)∩aff C)⊆C for some r>0}relint \ C = \{x \in C | (B(x, r) \cap aff \ C )\subseteq C \ for \ some\ r > 0\}

2.1.4 Convex sets

A set CC is convex if the line segment between any two points in CC lies in CC, i.e., if for any x1,x2∈Cx_1, x_2 \in C and any θ\theta with 0≤θ≤10 ≤ θ ≤ 1, we have

θx1+(1−θ)x2∈C\theta x_1 + (1 - \theta)x_2 \in C

We call a point of the form We refer to a point of the form θ1x1+⋅⋅⋅+θkxk\theta_1x_1 + · · · + \theta_kx_k, where θ1+⋅⋅⋅+θk=1\theta_1 + · · · + \theta_k = 1 and θi≥0,i=1,...,k\theta_i \ge 0, i = 1, ...,k a convex combination of the points x1,...,xkx_1, ...,x_k.

The convex hull of a set CC, denoted conv Cconv \ C, is the set of all convex combinations of points in CC

conv C={θ1x1+⋅⋅⋅+θkxk∣ xi∈C,θi≥0,θ1+⋅⋅⋅+θk=1}conv \ C = \{\theta_1x_1 + · · · + \theta_kx_k | \ x_i \in C, \theta_i\ge0, \theta_1 + · · · + \theta_k = 1\}

It is the smallest convex set that contains CC

2.1.5 Cones

A set CC is called a cone, or nonnegative homogeneous, if for every x∈Cx \in C and θ≥0θ ≥ 0 we have θx∈Cθx \in C.

A set CC is a convex cone if it is convex and a cone, which means that for any x1,x2∈Cx_1, x_2 \in C and θ1,θ2≥0θ_1, θ_2 ≥ 0, we have

θ1x1+θ2x2∈C\theta_1x_1+ \theta_2x_2 \in C

A point of the form θ1x1+⋅⋅⋅+θkxk\theta_1x_1 + · · · + \theta_kx_k with θ1,...,θk≥0\theta_1, ...,\theta_k \ge 0 is called a conic combination of x1,...,xkx_1, ...,x_k

The conic hull of a set CC is the set of all conic combinations of points in CC, i.e.,

{θ1x1+...+θkxk ∣ xi∈C,θi≥0,i=1,2,...,k}\{ \theta_1x_1 + ...+\theta_kx_k \ | \ x_i \in C, \theta_i \ge 0, i = 1, 2, ...,k \}

which is also the smallest convex cone that contains CC.

2.2 Some important exampes

Any subspace is affine, and a convex cone (hence convex).

2.2.1 Hyperplanes and halfspaces

A hyperplane is a set of the form

{x ∣ aTx=b}\{x \ | \ a^Tx = b \}

where a∈Rn,a≠0a \in R_n, a \ne 0 and b∈Rb \in R.

A hyperplane divides RnR_n into two halfspaces. A (closed) halfspace is a set of the form

{x ∣ aTx≤b}\{x \ | \ a^Tx \le b \}

where a≠0a \ne 0, i.e., the solution set of one (nontrivial) linear inequality.

Halfspaces are convex, but not affine.

2.2.2 Euclidean balls and ellipsoids

A (Euclidean) ball (or just ball) in RnR_n has the form

B(xc,r)={x ∣ ∣∣x−xc∣∣2≤r}={x ∣ (x−xc)T(x−xc)≤r2}B(x_c, r) = \{x \ | \ ||x - x_c||_2 \le r \} = \{x \ | \ (x - x_c)^T(x - x_c) \le r^2 \}

where r>0r > 0, and ∣∣⋅∣∣2||\cdot||_2 denotes the Euclidean norm.

2.3 Operation that preserve convexity

2.3.1 Intersection

Convexity is preserved under intersection: if S1S_1 and S2S_2 are convex, then S1∩S2S_1 ∩ S_2 is convex.

2.3.2 Affine functions

Recall that a function f:Rn→Rmf : R_n → R_m is affine if it is a sum of a linear function and a constant, i.e., if it has the form f(x)=Ax+bf(x) = Ax + b, where A∈Rm×nA \in R_{m\times n} and b∈Rmb \in R_m.

Suppose S⊆RnS \sube R_n is convex and f:Rn→Rmf : R_n → R_m is an affine function. Then the image of SS under ff, f(S)f(S) is convex

2.3.3 Linear-fractional and perspective functions

We define the perspective function P:Rn+1→RnP : R_{n+1} \rarr R_n, with domain domP=Rn×R++dom P = R_n × R_{++}, as P(z,t)=z/tP(z,t) = z/t. (Here R++R_{++} denotes the set of positive numbers: R++={x∈R∣x>0}R_{++} = \{x \in R | x > 0\}.)

If C⊆domPC \sube dom P is convex, then its image P(C)P(C) is convex.

A linear-fractional function is formed by composing the perspective function with an affine function.

Suppose g:Rn→Rm+1g : R_n → R_{m+1} is affine, i.e.,

g(x)=(AcT)x+(bd)g(x) = \begin{pmatrix} A\\ c^T \end{pmatrix}x + \begin{pmatrix} b\\ d \end{pmatrix}

where A∈Rm×nA \in R_{m×n}, b∈Rm,c∈Rnb \in R_m, c \in R_n, and d∈Rd \in R. The function f:Rn→Rmf : R_n → R_m given by f=P◦gf = P ◦ g, i.e.,

f(x)=Ax+bcTx+d  domf={x∣ cTx+d>0}f(x) = \frac{Ax + b}{c^Tx + d} \ \ dom f= \{x | \ c^T x + d > 0\}

is called a linear-fractional (or projective) function.

Like the perspective function, linear-fractional functions preserve convexity.

2.5 Separating and supporting hyperplanes

Separating hyperplane theorem

Suppose CC and DD are nonempty disjoint convex sets, i.e., C∩D=∅C \cap D= \empty. Then tere exist a≠0a \ne 0 and bb such that aTx≤ba^Tx \le b for all x∈Cx \in C and aTx≥ba^Tx \ge b for all x∈Dx \in D.

The hyperplane {x∣aTx=b}\{x|a^Tx =b\} is called a separating hyperplane fro the sets CC and DD.

Chapter 3 Convex Functions

3.1 Basic properties and examples

3.1.1 Definition

A function f:Rn→Rf : R_n → R is convex if dom fdom \ f is a convex set and if for all x,y∈domfx, y \in dom f, and θθ with 0≤θ≤10 ≤ θ ≤ 1, we have

f(θx+(1−θ)y)≤θf(x)+(1−θ)f(y)f(\theta x + (1 - \theta)y) \le\theta f(x) + (1 - \theta)f(y)

We say ff is concave if −f−f is convex, and strictly concave if −f−f is strictly convex.

For an affine function we always have equality above, so all affine (and therefore also linear) functions are both convex and concave. Conversely, any function that is convex and concave is affine.

A function is convex if and only if it is convex when restricted to any line that intersects its domain.

In other words ff is convex if and only if for all x∈domfx \in dom f and all vv, the function g(t)=f(x+tv)g(t) = f(x+tv) is convex (on its domain, {t∣x+tv∈domf}\{t | x+tv \in dom f\}).

3.1.2 Extended-value extensions

If f is convex we define its extended-value extension f~:Rn→R∪{∞}\tilde{f} : R_n → R ∪ \{\infin\} by

f~(x)={f(x)  x∈domf∞  x∉domf\tilde f(x) = \left\{ \begin{array}{c} f(x) \ \ x \in dom f\\ \infin \ \ x \notin dom f \end{array} \right.

The extension f~\tilde f is defined on all RnR_n.

3.1.3 First-order conditions

Suppose ff is differentiable (i.e., its gradient ∇f∇f exists at each point in domfdom f, which is open). Then ff is convex if and only if domfdom f is convex and

f(y)≥f(x)+∇f(x)T(y−x)f(y) \ge f(x) + \nabla f(x)^T(y- x)

3.1.4 Second-order conditions

We now assume that ff is twice differentiable, that is, its Hessian or second derivative ∇2f∇^2f exists at each point in domfdom f, which is open. Then ff is convex if and only if domfdom f is convex and its Hessian is positive semidefinite: for all x∈domfx ∈ dom f,

∇2f(x)⪰0\nabla^2f(x) \succeq 0

3.1.5 Common convex function

Norms.

Max function.

Geometric mean.

3.1.6 Sublevel sets

the α\alpha-sublevel set of a function f:Rn→Rf: R^n \rarr R is defined as

Cα={x∈dom f∣f(x)≤α}C_{\alpha} = \{x \in dom \ f | f(x) \le \alpha \}

3.2 Operations that preserve convexity

3.2.1 Nonnegative weighted sums

fi,i=1,...,mf_i, i = 1, ..., m is convex function and wi≥0w_i \ge 0, then

f=w1f1+...+wmfmf = w_1f_1 + ...+w_mf_m

is convex.

Infinite situation see page 79

3.2.2 Composition with an affine mapping

ff is convex and A∈Rn×m,b∈RnA \in R^{n \times m}, b \in R^n

g(x)=f(Ax+b)g(x) = f(Ax + b)

is also convex.

3.2.3 Pointwise maximum and supremum

f1,...,fmf_1, ..., f_m is convex

f(x)=max⁡{f1(x),...,fm(x)}f(x) = \max\{f_1(x), ...,f_m(x) \}

is also convex.

If for each y∈A,f(x,y)y \in A, f(x, y) is convex in xx, then the function gg, defined as

g(x)=sup⁡y∈Af(x,y)g(x) = \sup_{y \in A}f(x, y)

is convex.

Similarly, the pointwise infimum of a set of concave functions is a concave function.

3.2.4 Composition

f=h(g(x))f= h(g(x))

ff is convex if hh is convex, h~\tilde h is nondecreasing, and gg is convex, ff is convex if hh is convex, h~\tilde h is nonincreasing, and gg is concave, ff is concave if hh is concave, h~\tilde h is nondecreasing, and gg is concave, ff is concave if hh is concave, h~\tilde h is nonincreasing, and gg is convex.

3.3 The conjugate function

Let f:Rn→Rf : R^n \rarr R. The function f∗:Rn→Rf^* : R^n \rarr R, defined as

f∗(y)=sup⁡x∈dom f(yTx−f(x))f^*(y) = \sup_{x \in dom \ f}(y^Tx - f(x))

is called the conjugate of the function ff.

f∗f^* is a convex function.

3.4 Quasiconvex functions

A function f:Rn→Rf : R^n → R is called quasiconvex (or unimodal) if its domain and allits sublevel sets

Sα={x∈domf∣f(x)≤α}S_{\alpha} = \{x \in dom f | f(x) \le \alpha \}

for α∈R\alpha \in R, are convex.

3.4.2 Basic properties

A function ff is quasiconvex if and only if dom ff is convex and for any x,y∈domfx, y \in dom f and 0≤θ≤10 \le \theta \le 1,

f(θx+(1−θ)y)≤max⁡{f(x),f(y)}f(\theta x + (1 - \theta)y) \le \max \{f(x), f(y)\}

3.4.3 Differentiable quasiconvex functions

First-order conditions

Suppose f:Rn→Rf : R^n \rarr R is differentiable. Then ff is quasiconvex if and only if dom ff is convex and for all x,y∈domfx, y \in dom f

f(y)≤f(x)⇒∇f(x)T(y−x)≤0f(y) \le f(x) \Rarr \nabla f(x)^T(y - x) \le 0

Second-order conditions

Now suppose ff is twice differentiable. If ff is quasiconvex, then for all x∈domfx \in dom f, and all y∈Rn y \in R^n, we have

yT∇f(x)=0⇒yT∇2f(x)y≥0y^T\nabla f(x) = 0 \Rarr y^T\nabla^2f(x)y \ge0

3.5 Log-concave and log-convex functions


Next →

← Back to ArchiveBack to top ↑

Comments

No approved comments yet.

Your display name and plain-text comment become public only after owner approval. No account or email is required.