Add return codes to NEOS non-linear solvers