Is there a way to run GAMS code (or other algebraic modeling language) from python?

Viewed 136

I've found this tutorial on a python API (https://www.gams.com/latest/docs/API_PY_TUTORIAL.html), but it is unclear to me how it all works together. Specifically:

  • do you build your model in GAMS, then run the .gms file from python?
  • does the API translate the .gms file into python or do I have to model the problem using python code?

More generally - for someone familiar with GAMS, but limited python experience, are there any quick start sway to get up and running with optimization in python?

0 Answers
Related