Page 1 of 1

About GAMS modelling

Posted: Sun Nov 21, 2021 12:12 pm
by Lincoln
Dear gams friends,
I am having problem while running a model. I am using GAMS version 22.8.1.
When running the mod101.gms file the I counter 141 error message. Bellow is the portion of my coding
$offtext
PARAMETER SAM(AC,ACP) BGDV2 SAM 2007;
$LIBINCLUDE XLIMPORT SAM BGDV2.XLS A1:CD82;

*!! : The user transfers the data of the above table (using the
*selected parameter name) in the SAM parameter.
*Also, this is the place to scale the SAM.
SAM(AC,ACP) = SAM(AC,ACP) / 1000 ;

The actual problem is in above line.
while running the model it shows 141 error message with explanation below:
Symbol neither initialized nor assigned.
A wild shot: You may have spurious commas in the explanatory text of a declaration. Check symbol reference list.
Regards
Hossain