Weak Duality for QP
Here is a quick proof of weak duality for the following general primal-dual pair of (linear equality constrained) QP problems:
Consider the following primal-dual QP pair:
(Primal)
(Dual)
Solution
To show any solution of the primal (minimization) is no less than any solution of the dual (maximization), we show that .
Using the constraint in the primal, we have . From the constraint in the dual, we have , since .
Therefore, .
We do not need to assume anything about . When is the matrix of all zeros, the pair of QPs becomes the standard primal-dual pair for LPs.