QP problems have been updated take in two arguments