The Dual of Quadratic Programing (QP)
Explore the concept of the dual problem in quadratic programming and understand how it always features simpler box constraints compared to the primal problem. Learn to compute and solve the dual using projected gradient descent, with practical examples illustrating the application in constrained optimization scenarios.
We'll cover the following...
The dual of a QP problem is also another QP problem but with simpler box constraints. Therefore, no matter how complex the primal constraints are, the dual of a QP problem will always have box constraints and can always be solved using the PGD algorithm.
Calculating the dual of the QP problem
Consider a QP problem with the primal objective given as follows:
where
The Lagrangian function is given by the following:
where
Note: The Lagrangian here is a convex function because it is a combination of quadratic and linear functions. Therefore, the local optimum is always the global optimal solution.
To find the dual objective