See Chapter 11, "Nonlinear Optimization Examples," for a description of the inputs to and outputs of all ... If the Hessian is not positive definite, a multiple of the identity matrix is added to the ...