My VEDA's GAMS suddenly broken these days. Therefore, I install gams again. But as we can see that, the GAMS's license on CPLEX is full, and also the path has been changed in the environmental varible. But still the gams can't be used. I'm wondering how can I handle it? Thanks a lot!
Well, as far as I can see, the problem is then not related to VEDA, but to the environment variable setting, which is normally done when installing GAMS (but can be overridden).
I can only suggest that you make sure again that the GAMS path is included in the PATH environment variable either for your own user account, or system-wide. One possibility is that the GAMS installation was done under another user account, and the PATH environment variable was thus not updated for your own account.
Then also make sure that you have closed VEDA-FE and launched it again after any change to the environment variables.
Alternatively, you can also make a GAMS script file, which you put into any folder that is included in the PATH, or even directly in the Gams_WrkTIMES folder.
(11-05-2016, 02:51 PM)Antti-L Wrote: In the command prompt window shown in your third picture, type path:
And hit Enter. Does it show the correct GAMS path (C:\GAMS\win64\24.5) within the PATH displayed?
The GAMS path hasn't been displayed in the command. How can I handle it?
Dear Antti, Thanks a lot!
What does you mean about "make a GAMS script file, which you put into any folder that is included in the PATH, or even directly in the Gams_WrkTIMES folder.“?
I meant that instead of putting the GAMS path into the system PATH, you could also use a GAMS script file, which calls GAMS.
You can test that by creating a text file named GAMS.CMD in the Gams_WrkTIMES folder, and putting the two lines shown below into it:
----- copy the lines below and put into GAMS.CMD ------
set gmspth=C:\GAMS\win64\24.5
%gmspth%\gams.EXE %*
------------------- end of clip ------------------------