I need to import a scalar (say d=240) number from excel to GAMS.
parameter d;
$CALL GDXXRW mydata.xlsx par=d rng=Sheet1!a1
$GDXIN mydata.gdx
$LOAD d
$GDXIN
display d;
But never display the correct value. Always d=0. I can import a matrix from excel to GAMS easily, but I can not import a scalar number.