gams code for TSP

Problems with syntax of GAMS
Post Reply
ozge
User
User
Posts: 6
Joined: 5 years ago

gams code for TSP

Post by ozge »

Hi everyone. I am new in GAMS and have problem. Then I added my code and error output. Can you help me ?
Attachments
tsp2.gms
(2 KiB) Downloaded 248 times
Untitled.png
Untitled.png (17.19 KiB) Viewed 3266 times
User avatar
bussieck
Moderator
Moderator
Posts: 1033
Joined: 7 years ago

Re: gams code for TSP

Post 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
ozge
User
User
Posts: 6
Joined: 5 years ago

Re: gams code for TSP

Post by ozge »

Thanks.
Post Reply