Error 66 in GAMS

Hello. I am getting error 66 for my SOLVE in GAMS software, and clicking on the error message does not show any additional information. All symbols are defined. Does anyone know how I can fix this?


Hi @halfa ,

In the lst file, there should be addditional information. This looks as follows

  64  solve transport using lp minimizing z;
****                                       $66,256
****  66  The symbol shown has not been defined or assigned
****         A wild shot: You may have spurious commas in the explanatory
****         text of a declaration. Check symbol reference list.
**** 256  Error(s) in analyzing solve statement.
**** The following LP errors were detected in model transport:
****  66 equation cost.. symbol "xyz" has no values assigned

I hope this helps.

Fred

1 Like