Convex optimization

Interior point method

The interior point method builds on the fact that a QP that is only equality-constrained has a closed-form solution. Complexity is $O(n^6)$ for computing a step direction (because it’s a second order method)

Lagrange multiplier method for equality-constrained QP

$\text{minimize } \frac{1}{2}x^TQx+c^Tx, \text{ subject to } Ax=b$

Lagrangian is as below. Minimizer of lagrangian is also minimizer of original solution.

${L(x,\lambda) = \frac{1}{2}x^TQx + c^Tx+\lambda^T(Ax-b)}$

$\frac{\delta L}{\delta x} = Qx+\lambda^TA=-c$

Combining with equality constraint $Ax=b$,

$\begin{bmatrix} Q & A^T \ A & 0 \end{bmatrix}\begin{bmatrix}x\ \lambda \end{bmatrix} = \begin{bmatrix}-c \ b \end{bmatrix}$

Converting inequality constraints to costs with barrier method

We can convert inequality constraints $h_i(x)\leq 0$ to costs with log barrier:

$\phi(x) = -(1/t)\sum_{i=1}^{m}log(-h_i(x))$

So cost is $f(x) + \phi(x)$, where $f(x)$ is original cost function.

To solve the QP (with inequality constraints turned into costs), set $t=t_0$, then iteratively solve barrier problem and set $t^{(k+1)}=\mu t$, where $\mu>1$. This takes the solution along the “central path,” towards the true solution (stop when within tolerance).

Alternating directions

The alternating direction method of multipliers (ADMM) is an algorithm that solves convex optimization problems by breaking them into smaller pieces, each of which are then easier to handle.

Misc

TODO put convex optimization forms + common tricks for reformulating here.

Examples