Hi all!
Anyone knows how to run gams code from Jupyter notebook and read the result? Would very much appreciate the help.
Cheers!
Samarth
[python API] Running GAMS through Jupyter notebook
-
- User
- Posts: 1
- Joined: 7 years ago
Re: [python API] Running GAMS through Jupyter notebook
Samarth,
it should not make too much of a difference whether you are running Python from Jupyter or from a usual cmd prompt. I just installed Anaconda 2.7 (64 bit on Windows) to give the GAMS Python API a try in a Jupyter notebook. After installing the API from the command line using the Python version that was installed with Anaconda, I was able to execute some Python code that uses the GAMS Python API.
I recommend having a look at the documentation, especially at http://www.gams.com/latest/docs/apis/ex ... NG_STARTED
Best,
Clemens
it should not make too much of a difference whether you are running Python from Jupyter or from a usual cmd prompt. I just installed Anaconda 2.7 (64 bit on Windows) to give the GAMS Python API a try in a Jupyter notebook. After installing the API from the command line using the Python version that was installed with Anaconda, I was able to execute some Python code that uses the GAMS Python API.
I recommend having a look at the documentation, especially at http://www.gams.com/latest/docs/apis/ex ... NG_STARTED
Best,
Clemens