Help with GAMS Error 140

Problems with modeling
Post Reply
ManT
User
User
Posts: 12
Joined: 5 years ago

Help with GAMS Error 140

Post by ManT »

Hi
I have the following code and each time I execute I get the GAMS Error
test1123.gms
(1.81 KiB) Downloaded 335 times
140. I would be appreciated if I can get any assistance. My error comes from the last line of the code.
achristensen
User
User
Posts: 18
Joined: 4 years ago
Location: Fairfax, VA

Re: Help with GAMS Error 140

Post 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
Post Reply