I never used QP in my practice. And I using Octave for solve HWs.

So there is built-in function for quadratic programming in Octave -

**qp**. (

example)

But I still dont know what parameters I should use to solve:

s.t.

Looks like H is

(

**.*** is element by element product)

But what is the other parameters