Convex Optimization

A mathematical optimization problem can be expressed as

min⁡f0(x)subject tofi(x)≤bi,i=1,…,m\begin{aligned}\min & f_0(x)\\\text{subject to} & f_i(x) \le b_i, \quad i=1, \ldots, m\end{aligned}

where

  • x=(x1,…,xn)x = (x_1, \ldots, x_n) are optimization variables.
  • f0:Rn→Rf_0: \mathbf{R}^n \to \mathbf{R} is objective function.
  • fi:Rn→R,i=1,…,mf_i: \mathbf{R}^n \to \mathbf{R}, i=1, \ldots, m are constraints functions.

Optimal solution x⋆x^\star has the smallest value of f0f_0 among all vectors that satisfy the constraints.

In fact, a general optimization problem is very difficult to solve. Its solution cannot always be found. Even though it can, it suffers some compromise, e.g. very long computation time.

Fortunately, following three problems can be efficiently and reliably solved.

  • Least squares
  • Linear programming
  • Convex optimization

Least squares (LS)

min⁡∥Ax−b∥22\begin{aligned}\min \|Ax - b\|_2^2\end{aligned}
  • Analytical solution x⋆=(ATA)−1ATbx^\star = (A^TA)^{-1}A^Tb
  • Easy to recognize
  • A mature solution with reliable and efficient algorithms and softwares
  • Computation time proportional to n2kn^2k (A∈Rk×nA\in \mathbf{R}^{k\times n})

Linear programming (LP)

min⁡cTxsubject toaiTx≤bi,i=1,…,m\begin{aligned}\min & c^Tx\\\text{subject to} & a_i^Tx \le b_i,\quad i=1, \ldots, m\end{aligned}
  • No analytical solution
  • Not as easy to recognize as LS problems
  • A mature solution with reliable and efficient algorithms and softwares
  • Computation time proportional to n2mn^2m

Convex optimization

min⁡f0(x)subject tofi(x)≤bi,i=1,…,m\begin{aligned}\min & f_0(x)\\\text{subject to} & f_i(x) \le b_i, \quad i=1, \ldots, m\end{aligned}

where

  • Objective and constraint functions are convex, i.e. ∀α,β≥0\forall \alpha,\beta \ge 0, α+β=1\alpha + \beta = 1, fi(αx+βy)≤αfi(x)+βfi(y)f_i(\alpha x + \beta y) \le \alpha f_i(x) + \beta f_i(y), i=0,…,mi = 0, \ldots, m.
  • LS and LP are included as special cases.

Generally, for convex optimization problems,

  • No analytical solution
  • Often difficult to recognize
  • Almost a technology with reliable and efficient algorithms
  • Computation time roughly proportional to max⁡{n3,n2m,F}\max\{n^3, n^2m,F\}, where FF is cost of evaluating fif_i 's and their first and second derivatives.