gams code for TSP

Problems with syntax of GAMS
Post Reply
ozge
User
User
Posts: 6
Joined: 2 months ago

gams code for TSP

Post by ozge » 2 months ago

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 19 times
Untitled.png
Untitled.png (17.19 KiB) Viewed 716 times

User avatar
bussieck
Moderator
Moderator
Posts: 208
Joined: 2 years ago

Re: gams code for TSP

Post by bussieck » 2 months ago

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: 2 months ago

Re: gams code for TSP

Post by ozge » 2 months ago

Thanks.

Post Reply