COnverted testCartesian to QPOasesProblem