remove snset in NonlinearProgram