Globally convergent interior-point algorithm for nonlinear programming