Solves quadratic programming problems where the Hessian is represented as the product of two matrices.