use NL_G instead of "g" in snopt_internal