Quadratic Programming
Contents
10.12. Quadratic Programming#
10.12.1. Quadratic Functions#
Definition 10.41 (Quadratic function)
A function
where
The matrix
Remark 10.8 (Gradient and Hessian of a quadratic function)
Let
be a quadratic function. Then, the gradient is given by:
And, the Hessian is given by:
See Example 5.8 and Example 5.13 for reference.
10.12.1.1. Stationary Points#
Theorem 10.86 (Stationary points of quadratic functions)
Let a quadratic function
where
is a stationary point if and only if .If
, then is a global minimum point of if and only if .If
, then is a strict global minimum point of .If
, then the minimum value of is .
Proof. (1) is a direct implication of the fact that
(2) We are given that
Thus,
for every .By Theorem 8.4, if
is a stationary point of , then it is a global minimum point.By first part,
is a stationary point if and only if .
(3) We are given that
Then,
is invertible.Hence,
is the unique solution to the equation .By parts (1) and (2), it is the unique (hence strict) global minimizer of
.
(4) We know that strict global minimum point of
10.12.1.2. Coerciveness#
Theorem 10.87 (Coerciveness of quadratic functions)
Let a quadratic function
where
Proof. Assume that
Then, all eigenvalues of
are positive.Let
be the smallest eigenvalue of .Then,
for every .Thus,
We can see that
as .Thus,
is coercive.
Now, assume that
We need to show that
must be positive definite.Thus, all eigenvalues of
must be positive.For contradiction, assume that an eigenvalue of
is negative.Let
be such an eigenvalue with the corresponding normalized eigenvector such that .Then, for any
,Clearly,
as since is negative.Thus, it contradicts the hypothesis that
is coercive.We now consider the possibility where there is a 0 eigenvalue.
Then, there exists a normalized eigenvector
such that .Then, for any
,If
, then for every .If
, then as .If
, then as .In all the three cases,
does not go to as .Thus,
is not coercive. A contradiction to the hypothesis.Hence, the eigenvalues of
must be positive.Hence,
must be positive definite.
10.12.1.3. Nonnegative Quadratics#
It is useful to work with quadratic functions which are nonnegative
on the entire
The basic quadratic form
For the general quadratic function, we need to incorporate the
contribution from
Theorem 10.88 (Nonnegativity of quadratic function)
Let a quadratic function
where
The following statements are equivalent.
for every . ; i.e., this symmetric matrix is positive semidefinite.
Proof. Assume that (2) is true.
Then, for every
due to positive semidefiniteness.
But
Thus,
for every .
For the converse, assume (1) is true.
We need to show that
is positive semidefinite.We shall first show that
is positive semidefinite.For contradiction, assume that
is not positive semidefinite.Then, there exists a negative eigenvalue
and corresponding normalized eigenvector for such that .Then, for any
Then,
as .This contradicts the hypothesis that
is nonnegative everywhere.Thus,
must be positive semidefinite.We now need to show that for any
and any ,This condition is equivalent to
for every
and .If
, then this condition reduces toThis is valid for every
since is p.s.d.. as established earlier.For
, we haveBy hypothesis,
for every and .Thus,
for every and .Thus,
is indeed p.s.d..
10.12.2. Quadratic Optimization Problems#
We consider the following possibilities:
The objective function is a quadratic function.
Both the objective function as well as the inequality constraints function are quadratic.
10.12.2.1. Quadratic Program#
Definition 10.42 (Quadratic program)
A convex optimization problem is known as a quadratic program (QP) if the objective function is a (convex) quadratic and the constraint functions are affine.
A general quadratic program has the following form:
where
is the optimization variable. is a symmetric positive semidefinite matrix. and . is a (convex) quadratic objective function. and describe the affine inequality constraints. and describe the affine equality constraints.
10.12.2.2. Quadratically Constrained Quadratic Program#
Definition 10.43 (Quadratically constrained quadratic program)
A convex optimization problem is known as a quadratically constrained quadratic program (QCQP) if the objective function and the inequality constraint functions are (convex) quadratic while the equality constraint functions are affine.
A general quadratic program has the following form:
where
is the optimization variable. are symmetric positive semidefinite matrices for . and for . is a (convex) quadratic objective function. are (convex) quadratic inequality constraint functions for . and describe the affine equality constraints.