remove quadprog dependency