MCP - Exit code 3

Problems with syntax of GAMS
Post Reply
Posts: 1
Joined: 2 weeks ago

MCP - Exit code 3

Post by farzad73 » 2 weeks ago


I'm trying to implement a market-clearing problem as an MCP, but I cannot find the problem with the code. it gives me exit code 3 without any detail. I have checked the formulation and data it seems to be fine. can anyone here help me with this?

the code is attached.
(10.56 KiB) Downloaded 1 time
Last edited by farzad73 1 week ago, edited 1 time in total.

User avatar
Posts: 136
Joined: 4 years ago
Location: Fairfax, VA

Re: MCP - Exit code 3

Post by dirkse » 2 weeks ago

Please don't include your model in the message body: attach the .gms file instead.

Also, if you want feedback about the error, attach the .lst file and the log output from your run. The command line option lo=2 or lo=4 is useful for getting your log output in a file.


Post Reply