Given this objective function:
Minimize:
f = (Ax + By)' * G * (Ax + By)
subject to some equalities and inequalities.
where x
and y
are real-valued vectors (decision variables) with p
and q
elements, respectively. A
of size m * p
, B
of size m * q
, G is a symmetric matrix of size m * m
.
My question is how to write f
in the form v' * G * v
, such that it can be easily be used in quadprog. In other words, how to mix A, B and G?