Address the comments from Andres, to add documentation for NonlinearProgram