I have built a model in PYOMO and used the model.write() function to save a GAMs file. I was able to solve the problem by uploading to NEOS and retrieve a *.gdx fi
model.write()