In mathematical optimization, the great divide is not between linearity and non-linearity, but between Convexity and Non-Convexity. In convex optimization, any local minimum is guaranteed to be a global minimum, allowing polynomial-time numerical solvers to reliably find global optima across problems with millions of variables.
This comprehensive guide details the core theory of convex optimization: Convex Sets and Epigraphs, Jensen's Inequality, Slater's Constraint Qualification, Interior Point Barrier Methods, and the Alternating Direction Method of Multipliers (ADMM).
+-----------------------------------------------------------------------------------------------------------------------+
| CONVEX OPTIMIZATION HIERARCHY |
+-----------------------------------------------------------------------------------------------------------------------+
| Class | Objective Function | Constraint Set | Solver Algorithm |
+------------------------+----------------------------------------+----------------------------+------------------------+
| Linear Program (LP) | Linear (c^T x) | Polyhedron (Ax <= b) | Simplex / Barrier |
| Quadratic Program (QP) | Convex Quadratic (x^T Qx) | Polyhedron (Ax <= b) | Active-Set / OSQP |
| Second-Order Cone (SOCP)| Linear (c^T x) | Second-Order Cones | Primal-Dual Interior Pt|
| Semidefinite Prog (SDP)| Linear Matrix Trace | Positive Semidefinite Cone | IPM (Mosek / SeDuMi) |
+-----------------------------------------------------------------------------------------------------------------------+
Convex Set: A set C \subseteq R^n is convex if the line segment connecting any two points in C lies entirely within C:
Convex Function: A function f: C o R is convex if its Epigraph is a convex set:
Convex vs Non-Convex Function
Convex Function f(x) Non-Convex Function g(x)
\ / /\ /
\ / / \ /
+---+ +----+--+
(Single Global Min) (Trapped in Local Minima!)
For convex optimization problems minimizing convex f_0(x) subject to convex f_i(x) \le 0 (i = 1, \dots, m) and affine A x = b:
If there exists a strictly feasible point x \in ext{relint}(D) such that f_i(x) < 0 for all i = 1, \dots, m and A x = b, then Strong Duality holds (p^* = d^*) and the duality gap is strictly zero, guaranteeing that the dual problem achieves the exact optimal value of the primal problem.