wpp solution with adaptive qp