sum over a set /p1*p5/ Topic is solved

Problems with syntax of GAMS
Post Reply
User avatar
Renger
Posts: 639
Joined: 7 years ago

Re: sum over a set /p1*p5/

Post by Renger »

Hi Yanzhiping
You should look at the error message you get when you submit your model to gams.
It clearly states that it is expecting a '=E=', '=L=', or '=G=' in your equation. You have a '=', which is not allowed in equations (see the manual).
Cheers
Renger
____________________________________
Enjoy modeling even more: Read my blog on modeling at The lazy economist
Post Reply