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: 6 months ago

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

Post by jan_gh » 2 months ago

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: 208
Joined: 2 years ago

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

Post by bussieck » 2 months ago

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