understand solve.QP