Help with GAMS Error 140

Problems with modeling
Post Reply
ManT
User
User
Posts: 11
Joined: 1 year ago

Help with GAMS Error 140

Post by ManT » 1 year ago

Hi
I have the following code and each time I execute I get the GAMS Error
test1123.gms
(1.81 KiB) Downloaded 66 times
140. I would be appreciated if I can get any assistance. My error comes from the last line of the code.

User avatar
achristensen
User
User
Posts: 14
Joined: 1 year ago

Re: Help with GAMS Error 140

Post by achristensen » 1 year ago

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

Post Reply