new formula: hqp
new formula: quadprog