Hi Tugay
This can happen, if your gdxxrw command causes an error (it can’t find the table, or other reasons). In that case a gdx file is not generated.
You can add Trace = 3 at the end of your gdxxrw command and see what the error is in your output window.
$CALL GDXXRW.EXE tablolar.xlsx par=dij rng=bmuzaklik!A1:AF82 Trace=3
By the way, see the guidelines for this mailing group: One of the guidelines is: “send the self-contained, executable GAMS code that reproduces your problem to the groupâ€. It would be easier if you would attach the excel file, so one can reproduce your error.
Cheers
Renger
And if you look at the guidelines, note that another guideline is: “include a concise signature specifying affiliation.â€
Or at least a greeting with your name…
Modelworks
Gewerbestrasse 15
3600 Thun – Switzerland
+41 79 818 53 73
Info@modelworks.ch
blog.modelworks.ch
From: gamsworld@googlegroups.com [mailto:gamsworld@googlegroups.com] On Behalf Of Tugay Bektas
Sent: Samstag, 3. Mai 2014 00:13
To: gamsworld@googlegroups.com
Subject: GDX couldnt be loaded .
Hey ;
parameter
dij i il merkezi ile j toplama merkezi arasi uzaklik
$CALL GDXXRW.EXE tablolar.xlsx par=dij rng=bmuzaklik!A1:AF82
$GDXIN tablolar.gdx
$LOAD dij
$GDXIN
display dij;
parameter
djk(j,k) j toplama merkezi ile k geri donusum tesisi arasi uzaklik
$CALL GDXXRW.EXE tablolar.xlsx par=djk rng=mtuzaklik!A1:R32
$GDXIN tablolar.gdx
$LOAD djk
$GDXIN
display djk ;
parameter pi(i) i il merkezinde toplanan aku miktari
$CALL GDXXRW.EXE tablolar.xlsx par=pi rng=topmiktar!A1:B82
$GDXIN tablolar.gdx
$LOAD pi
$GDXIN
display pi;
this is my gams model.But it says Gdx file unable to open.What should i do ?
\
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.
–
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.