Hello GAMS users,
I am trying to load set and parameter from a GDX file (subhessian.gdx) using the ‘execute_load’ command. For some reason it doesn’t load the data and returns a ‘zero’ value for all the parameters. However, the strange thing is I am able to use ‘$gdxin’ to load the set and parameter with no problem. Could anyone help me to make the ‘execute_load’ also works? Since my ultimate goal is to load the GDX file ‘subhessian.gdx’ in a loop, so I guess I have to use ‘execute_load’ instead of ‘$gdxin’.
And help with this is greatly appreciated.
Thanks.
subhessian.gdx (13.8 KB)
main.gms (414 Bytes)