Cheatsheet: Standard Formulations & Transformations
1 Standard Formulations
1.1 Linear Programming (LP)
The objective and constraints are all affine.
General Form:
Standard Form:
Inequality Form:
1.2 Quadratic Programming (QP)
The objective is quadratic (with
1.3 Quadratically Constrained Quadratic Programming (QCQP)
Both the objective and constraints are quadratic. For convexity,
1.4 Second-Order Cone Programming (SOCP)
Constraints involve the
1.5 Semidefinite Programming (SDP)
The most powerful class, where constraints are Linear Matrix Inequalities (LMI).
1.6 Conic Programming (CP)
The most general form, minimizing a linear function over the intersection of an affine set and a convex cone
1.7 Hierarchy
2 Transformations and Reductions
2.1 LP to Other Forms
General Form → Standard Form: Introduce slack variables
such that , and replace free variables with where : To QP/QCQP: Simply set the quadratic matrix
. To SOCP: Rewrite
as . To SDP: Represent multiple linear constraints as a diagonal LMI:
.
2.2 QP to SOCP and SDP
For a convex QP, handle the objective
The constraint is
QP → SOCP: Using the identity
: Set , , . QP → SDP: Using the Schur Complement:
2.3 QCQP to SOCP and SDP
Any quadratic constraint
To SOCP: Rearrange the constraint to
. Using the identity above with and : To SDP: Using the Schur Complement:
2.4 SOCP to SDP
The
This is a standard application of the Schur complement on the block matrix.