urgent: Unable to open gdx file for $GDXIN
Posted: Fri Feb 28, 2020 11:19 pm
When I do run my code in GAMS Studio I get this error. (When I do run it on GAMS IDE it doesn't appear)
I have two parts of the model, the first one is:
In the second one I do want to open the gdx file
So it seems like GAMS does not pass the information of InstanzNr.
What could be the reason for that?
Thanks in advance!
Code: Select all
*** GDXIN failed C:\Users\ .... \j10 Instanz %InstanzNr%.gdx
*** Msg: No such file or directory
Code: Select all
set InstanzNr / 001*050/;
loop(InstanzNr,
put_utility 'exec' / 'gams MyModel --InstanzNr="'InstanzNr.tl:0'" lo= %gams.lo% output=C:\Users\ .... \TEST' InstanzNr.tl:0 '.lst ';
);
Code: Select all
$gdxin "C:\Users\ .... \j10 Instanz %InstanzNr%.gdx"
What could be the reason for that?
Thanks in advance!