How can I change the folder where Gams saves the result.gdx file?

Problems with syntax of GAMS
Post Reply
jan_gh
User
User
Posts: 5
Joined: 5 years ago

How can I change the folder where Gams saves the result.gdx file?

Post by jan_gh »

Hi guys,

I have the problem, that I don't know how to change the destination where the result.gdx file is saved. It loads the input.gdx right (same folder where the project is stored). But why does it saves the output.gdx wrong?

Best,
Jan
User avatar
bussieck
Moderator
Moderator
Posts: 1033
Joined: 7 years ago

Re: How can I change the folder where Gams saves the result.gdx file?

Post by bussieck »

Hi depends how you instruct GAMS to create the GDX file. Most commands allow you to specify an absolute or relative path, e.g. execute_unload '..\gdxoutdir\output.gdx';.

-Michael
Post Reply