Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Optimization›Quadratic Programming (QP)
Process / pipelineMathematical programming

Quadratic Programming (QP)

Also known as: QP Optimization, Quadratic Optimization, Convex Quadratic Programming, İkinci Dereceden Programlama

Quadratic Programming (QP) is a class of constrained mathematical optimization in which the objective function is quadratic and the constraints are linear. Formalized by Frank and Wolfe (1956) through their gradient-based feasible-direction algorithm, QP is foundational in operations research, finance, machine learning, and engineering design wherever one must minimize a convex (or non-convex) quadratic cost subject to linear feasibility conditions.

ScholarGate
  1. Process / pipeline
  2. v1
  3. 1 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Quadratic Programming
Convex OptimizationLinear Programming

When to use it

Use QP when your objective is genuinely quadratic (e.g., variance minimization, least-squares with constraints, margin maximization in SVMs) and your constraints are linear. Convex QP guarantees a global optimum; non-convex QP (indefinite Q) may require branch-and-bound. Prefer linear programming if the objective is linear, and second-order cone or semidefinite programming when constraints themselves are quadratic or matrix-valued. Problem size, sparsity of Q, and available solvers (OSQP, Gurobi, CPLEX, quadprog) should guide the implementation choice.

Strengths & limitations

Strengths
  • Polynomial-time solvability for convex QP guarantees efficient, globally optimal solutions.
  • Handles both equality and inequality constraints natively through KKT multipliers.
  • Widely supported by mature, high-performance solvers applicable to large sparse problems.
  • Bridges linear programming (degenerate QP) and general nonlinear optimization in a tractable middle ground.
Limitations
  • Non-convex QP (indefinite or non-positive-semi-definite Q) is NP-hard in the worst case.
  • Memory and computational cost scale quadratically with problem dimension for dense Q matrices.
  • Numerical instability can arise when Q is nearly singular or constraints are nearly redundant.
  • The Frank–Wolfe method converges slowly (sublinearly) near the optimum compared to active-set or interior-point methods.

Frequently asked

How does QP differ from linear programming?

In linear programming both the objective and the constraints are linear, so the optimal solution always lies at a vertex of the feasible polytope. In QP the objective is quadratic, so the optimum may lie in the interior. This richer structure enables QP to model variance, energy, and margin problems that LP cannot, but it also demands more sophisticated algorithms to solve.

When is a QP problem guaranteed to have a unique global minimum?

A QP problem has a unique global minimum when the objective's Hessian matrix Q is strictly positive definite (all eigenvalues strictly positive) and the feasible region is non-empty. If Q is only positive semi-definite the minimum may not be unique; if Q is indefinite the problem may be non-convex with multiple local minima, and global solution is generally NP-hard.

Which solver should I use for practical QP problems?

For small to medium dense problems, quadprog (MATLAB/R) or scipy.optimize.minimize with the SLSQP method are accessible choices. For large sparse convex QP, OSQP (open-source) and Gurobi or CPLEX (commercial) offer state-of-the-art interior-point and active-set implementations. The choice depends on problem size, sparsity structure, real-time requirements, and licensing constraints.

Sources

  1. Frank, M., & Wolfe, P. (1956). An algorithm for quadratic programming. Naval Research Logistics Quarterly, 3(1–2), 95–110. DOI: 10.1002/nav.3800030109 ↗

How to cite this page

ScholarGate. (2026, June 2). Quadratic Programming (QP). ScholarGate. https://scholargate.app/en/optimization/quadratic-programming

Related methods

Convex OptimizationLinear Programming

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • Convex OptimizationOptimization↔ compare
  • Linear ProgrammingOptimization↔ compare
Compare side by side →

Similar methods

Convex OptimizationNonlinear ProgrammingLinear ProgrammingDeterministic Linear ProgrammingRobust OptimizationLinear Quadratic RegulatorAugmented Lagrangian MethodSimplex Method

Related reference concepts

Convex OptimizationMathematical OptimizationNonlinear ProgrammingLinear ProgrammingOptimal ControlQuadratic Discriminant Analysis

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Quadratic Programming (Quadratic Programming (QP)). Retrieved 2026-07-20 from https://scholargate.app/en/optimization/quadratic-programming · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Marguerite Frank & Philip Wolfe
Year
1956
Type
Constrained mathematical optimization
Subfamily
Mathematical programming
Objective
Quadratic
Constraints
Linear equalities and/or inequalities
Related methods
Convex OptimizationLinear Programming
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account