*** GDXIN failed E:/.... - Msg: No such file or directory

Hi, my “xls” file is properly assigned in the directory of GAMS, but it always report this error:

*** GDXIN failed E:\Informacion\gamsdir\projdir\Quinua.gdx
**** Msg : No such file or directory

I have looked up for a solution in internet and even in GAMS’ user guides, but I can figured it out which the solution is, it always gets this error.

I attached my code and my “xls” file. Please if one of you knows how to solve this problem that would really help me a lot because it’s been several days that I am facing it.

Thanks

SetS

t observaciones /1*271/
a varibles / yl_quinua, sl_quinua, al_quinua, fl_quinua, pl_quinua, r_quinua,
hl_quinua /

k variables explicativas /17/
m priors de los parametros /1
5/
j priors de los errores /1*3/ ;

*carga datos del directorio preestablecido de GAMS

Parameters data(t,a);
$CALL GDXXRW Quinua.xls par=data rng=A1:H272 Cdim=1 Rdim=1 trace=0
$GDXIN Quinua.gdx
$LOAD data
$GDXIN

\

Quinua.xls.xlsx (19 KB)

Hi Osmar

Your excel file has the extension xlsx, but you have in your code xls as extension.

Cheers

Renger


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 Osmar Bolivar
Sent: Mittwoch, 16. April 2014 00:59
To: gamsworld@googlegroups.com
Subject: *** GDXIN failed E:/… - Msg: No such file or directory



Hi, my “xls” file is properly assigned in the directory of GAMS, but it always report this error:



*** GDXIN failed E:\Informacion\gamsdir\projdir\Quinua.gdx

**** Msg : No such file or directory



I have looked up for a solution in internet and even in GAMS’ user guides, but I can figured it out which the solution is, it always gets this error.



I attached my code and my “xls” file. Please if one of you knows how to solve this problem that would really help me a lot because it’s been several days that I am facing it.



Thanks



SetS



t observaciones /1*271/

a varibles / yl_quinua, sl_quinua, al_quinua, fl_quinua, pl_quinua, r_quinua,

hl_quinua /



k variables explicativas /1*7/

m priors de los parametros /1*5/

j priors de los errores /1*3/ ;



*carga datos del directorio preestablecido de GAMS



Parameters data(t,a);

$CALL GDXXRW Quinua.xls par=data rng=A1:H272 Cdim=1 Rdim=1 trace=0

$GDXIN Quinua.gdx

$LOAD data

$GDXIN


\

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.