add documentation to solve function in NonlinearProgram, for info 11 and 12