optimization theory
Convex Optimization
You should know: convex functions, lagrange multipliers
Overview
Convex optimization is the study of minimizing convex functions over convex sets. It occupies a special place in optimization because local optima are guaranteed to be global optima, and a rich theory — KKT conditions, duality, interior-point methods — provides both theoretical insights and practical algorithms. Convex optimization problems arise throughout signal processing, machine learning, finance, control theory, and combinatorics (via relaxations).
Intuition
In a convex optimization problem, the landscape has no 'false valleys' — any valley you find is the deepest one globally. This means gradient descent and its variants are guaranteed to converge to the optimal solution, and you can trust certificates of optimality provided by dual variables.
Formal Definition
A convex optimization problem in standard form minimizes a convex objective over a convex feasible set defined by convex inequalities and affine equalities:
Notation
| Notation | Meaning |
|---|---|
| Optimal value | |
| Optimal point (minimiser) | |
| Feasible set | |
| Lagrangian |
Properties
Global optimality
Optimality via subgradient
Strong duality (Slater condition)
Worked Examples
- 1
The objective f(x,y)=x²+y² is strictly convex (bowl) and the constraint is linear, so there's a unique minimum.
- 2
By symmetry the minimum is at x=y=1/2 (midpoint of the constraint line).
- 3
Verify via Lagrangian: ∇f = λ∇g gives (2x,2y)=λ(1,1), so x=y. With x+y=1: x=y=1/2.
✓ Answer
Optimal solution x* = y* = 1/2 with value p* = 1/2.
Practice Problems
Formulate the portfolio optimization problem (minimise variance subject to target return and budget constraints) as a convex program and identify the type.
Common Mistakes
Thinking any optimisation problem with a convex objective is a convex problem
A convex optimization problem requires both a convex objective AND a convex feasible set. A convex objective over a non-convex feasible set can have many local minima.
Quiz
Historical Background
Linear programming (1947) was the first large-scale convex optimization problem to be solved algorithmically. Interior-point methods, developed by Karmarkar (1984) and extended by Nesterov and Nemirovskii in the 1990s, showed that convex optimization problems can be solved in polynomial time with the same efficiency as linear programs.
- 1947
Dantzig introduces linear programming and the simplex method
George Dantzig
- 1984
Karmarkar introduces polynomial-time interior-point algorithm for LP
Narendra Karmarkar
- 1994
Nesterov and Nemirovskii publish Interior-Point Polynomial Algorithms in Convex Programming
Yurii Nesterov, Arkadi Nemirovskii
Summary
- A convex optimization problem minimises a convex function over a convex feasible set.
- Local optima are global optima — the key property enabling reliable algorithms.
- KKT conditions are necessary and sufficient for optimality when Slater's condition holds.
- Interior-point methods solve convex programs in polynomial time.
References
- BookBoyd, S. and Vandenberghe, L. — Convex Optimization (2004). Free at https://web.stanford.edu/~boyd/cvxbook/
Mathematics