resolves all nagging issues around NonlinearProgramSnoptCMex