Glossary ยท approach
Quadratic Programming (QP)
A mathematical-programming class that optimizes a quadratic objective function subject to linear constraints; the direct quadratic generalization of linear programming.
Quadratic ProgrammingQPQuadratic OptimizationQuadratic Program
Quadratic programming is the problem class min (1/2) x^T Q x + c^T x s.t. Ax โค b, x โฅ 0 in canonical form, where Q โ R^(nรn) is symmetric, c โ R^n is the linear cost term, and the constraints are linear as in LP. Problem character is dictated by the sign of Q: (1) if Q is positive semidefinite the QP is convex, the KKT conditions are necessary and sufficient for optimality, and the problem is solvable in polynomial time by interior-point or active-set methods (Kozlov, Tarasov, and Khachiyan 1979 proved polynomial solvability of convex QP); (2) if Q is indefinite the problem is non-convex and NP-hard in general (Sahni 1974). The canonical formulation is Markowitz's (1952) mean-variance portfolio selection model: min (1/2) x^T ฮฃ x s.t. ฮผ^T x โฅ R, ฮฃ x_i = 1, x โฅ 0 โ ฮฃ the covariance matrix, ฮผ the expected-return vector, R the target return; the efficient frontier is traced by solving the QP across R values. Markowitz received the 1990 Nobel Memorial Prize in Economics for this work. QP also underlies support vector machine training (Cortes and Vapnik 1995), model predictive control (MPC), constrained least squares, sequential quadratic programming (SQP, the inner loop of nonlinear optimization, Wilson 1963 / Han 1976 / Powell 1978), and trajectory optimization. Algorithms: Wolfe (1959) and Beale (1959) developed the active-set principles; interior-point predictor-corrector (Mehrotra 1992 logic extended to QP) and active-set methods (cousins of the LP simplex) dominate practical solvers.
รrnek
An 18-person boutique investment advisory in Ankara optimizes a 250,000 TRY portfolio over 8 BIST equities using a Markowitz QP: 8ร8 covariance matrix, weights-sum-to-one constraint, no short-selling x โฅ 0, target annual return of 12%; an interior-point QP solver returns a minimum-variance point on the efficient frontier in 0.2 seconds with a 4.8% standard deviation, recommending a balanced weight distribution at a 7.2% risk premium above deposit-rate baseline.