Nonlinear programming codes