finish the framework for NonlinearProgramSnoptmex, need to add the options for snset