Convergence Conditions for Nonlinear Programming Algorithms