Sequential Least Squares Programming