added constraints back in BasicQP, BasicQP now solves a basic QP with a linear constraints