Veda2.0 Released!


GAMS problem
#1
Photo 
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!


Attached Files Thumbnail(s)
           
Reply
#2
In the command prompt window shown in your third picture, type path:

[Image: attachment.php?aid=156]

And hit Enter.  Does it show the correct GAMS path (C:\GAMS\win64\24.5) within the PATH displayed?


Attached Files Thumbnail(s)
   
Reply
#3
(11-05-2016, 02:51 PM)Antti-L Wrote: In the command prompt window shown in your third picture, type path:

[Image: attachment.php?aid=156]

And hit Enter.  Does it show the correct GAMS path (C:\GAMS\win64\24.5) within the PATH displayed?

Huh  The GAMS path hasn't been displayed in the command. How can I handle it?


Attached Files Thumbnail(s)
   
Reply
#4
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.
Reply
#5
(16-05-2016, 08:06 AM)Sharonchang Wrote:
(11-05-2016, 02:51 PM)Antti-L Wrote: In the command prompt window shown in your third picture, type path:

[Image: attachment.php?aid=156]

And hit Enter.  Does it show the correct GAMS path (C:\GAMS\win64\24.5) within the PATH displayed?

Huh  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.“?
Reply
#6
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 ------------------------
Reply
#7
Thank you so much!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Photo Problem in New hydro power plant Anita Prajapati 2 3,955 09-12-2020, 09:46 AM
Last Post: Anita Prajapati
Photo Problem with multiple counting emissions franpalma 2 6,554 29-06-2019, 02:29 PM
Last Post: franpalma

Forum Jump:


Users browsing this thread: 1 Guest(s)