GAMSpy error

Problems with syntax of GAMS
Post Reply
opt123
User
User
Posts: 1
Joined: 4 months ago

GAMSpy error

Post by opt123 »

Hi there,

Vey excited about gamspy, since it helps us connect our Python code with our GAMS code!

I find the debugging part a little bit tricky but I guess this will get easier with some experience.

I have typed all the equations of my model in gamspy but I get the error that you find attached.

I have printed the sets that I use as indices and they seem to be alright. Do you have any idea how this can be resolved?

Thank you for your time.
Attachments
error.PNG
User avatar
bussieck
Moderator
Moderator
Posts: 1043
Joined: 7 years ago

Re: GAMSpy error

Post by bussieck »

I fear your screen shot is not enough to point you to the issue. Please share the entire Python script (or make a minimal example) so one can reproduce. If you are a licensed user and can't share the script here in the forum, you might want to consider to email support@gams.com with something that let them reproduce the issue.

-Michael
Post Reply