Page 1 of 1

Help with GAMS Error 140

Posted: Tue Nov 19, 2019 8:48 pm
by ManT
Hi
I have the following code and each time I execute I get the GAMS Error
test1123.gms
(1.81 KiB) Downloaded 354 times
140. I would be appreciated if I can get any assistance. My error comes from the last line of the code.

Re: Help with GAMS Error 140

Posted: Wed Nov 20, 2019 3:39 pm
by achristensen
an Error 140 is an "unknown symbol". It appears that you have not defined "Pe" or you might have a typo? Should it be "Pec" of "Ped"? BTW... when i run this, I get 25 errors... so you will need to fix more than just the last line. If you have a different number of errors, perhaps the wrong file got uploaded by mistake?

best,
adam