Page 1 of 1

gams code for TSP

Posted: Mon Oct 01, 2018 1:00 pm
by ozge
Hi everyone. I am new in GAMS and have problem. Then I added my code and error output. Can you help me ?

Re: gams code for TSP

Posted: Tue Oct 02, 2018 5:12 am
by bussieck
I guess the message in the log is pretty obvious:

Code: Select all

---   102 rows  110 columns  508 non-zeroes
---   90 discrete-columns
*** Status: Terminated due to a licensing error
***         Inspect listing file for more information
If you follow the suggestion in the log and inspect the listing file you find

Code: Select all

**** THE MODEL EXCEEDS THE DEMO LIMITS
**** MAX MATRIX ROWS          300
**** MAX MATRIX COLUMNS       300
**** MAX NON ZERO ELEMENTS   2000
**** MAX NON LINEAR N-Z      1000
**** MAX DISCRETE VARIABLES    50
**** Terminated due to a licensing error
GAMS is proprietary and licensed software. Contact sales@gams.com or info@gams.de to purchase a license.

-Michael

Re: gams code for TSP

Posted: Tue Oct 02, 2018 2:07 pm
by ozge
Thanks.