Optimum Control, Inequality State Constraints, and the Generalized Newton-Raphson Algorithm