Download Gams For Mac

0 views
Skip to first unread message
Message has been deleted

Takeshi Krueger

unread,
Jul 7, 2024, 7:30:34 PM7/7/24
to ickhapmypwhi

I'm sure this problem is pretty basic but this is my first time trying to run gams via python on Linux so I'd appreciate some help. My problem seems to be that I cannot properly link the GAMS directory. When I tried to

I'm trying to run this on a cluster (Linux). I can get it to work just fine on my personal laptop (Windows). What I did was I downloaded and installed GAMS Linux version to my directory on the cluster. The directory is /home/my_name/gams35.1_linux_x64_64_sfx/

Download Gams For Mac


Download Zip https://vittuv.com/2yW1Gl



Here I got the first error of No such file or directory. So I can't find where the python.exe file is on my .conda directory. Then I would definitely have issue with the final step which is to specify a gams system directory:

What is the Path/To/GAMS supposed to be in my case? I tried all /home/my_name/gams35.1_linux_x64_64_sfx, /home/my_name/gams35.1_linux_x64_64_sfx/apifiles/Python/api_38, /home/my_name/gams35.1_linux_x64_64_sfx/apifiles/Python/gams, and got errors of no such file or directory in all

I had a similar problem when using pyomo->gams->knitro. The code below worked for me. My code was in /Users/myDir/, and I created the directory "tmp" there. Then I instruct pyomo to use that and the file knitro.opt is placed there.

Python is a programming language that needs a library to model problems. Pyomo is a good option. Here is a good comparison between modeling in Pyomo and GAMS: -network-model-pyomo-vs-gams.html.Which is better is something a bit subjective, and it will depend on what your research is about.

aa06259810
Reply all
Reply to author
Forward
0 new messages