Robust recursive quadratic programming algorithm with global and superlinear convergence properties