Newbie with GAMS

Problems with modeling
Post Reply
ManT
User
User
Posts: 2
Joined: 1 month ago

Newbie with GAMS

Post by ManT » 1 month ago

Hello All,

I am rather a newbie with GAMS. My model yields an infeasible solution when solved. I suspect, I have not handled the absolute function in the constraint formulation defined in equation 37-52 (see attached files). Any advise or guidance would be greatly appreciated.
Attachments
Garver_TNEP.docx
(52.12 KiB) Downloaded 9 times
TEP_Tochi_Garver.gms
(2.31 KiB) Downloaded 8 times

saghafiiii
User
User
Posts: 6
Joined: 2 months ago

Re: Newbie with GAMS

Post by saghafiiii » 1 month ago

Hi

I'm afraid that some of your equations have been entered wrongly!
for example look at constraint 40!
Am I right?

ManT
User
User
Posts: 2
Joined: 1 month ago

Re: Newbie with GAMS

Post by ManT » 1 month ago

Many thanks for your corrections. I have fixed it. I still have an infeasible solution. See attached GAMS file. Any advice would be appreciated.
Attachments
TEP_Tochi_Garver_Fixed.gms
(2.67 KiB) Downloaded 11 times

saghafiiii
User
User
Posts: 6
Joined: 2 months ago

Re: Newbie with GAMS

Post by saghafiiii » 1 month ago

Hi again,

I think infeasibility comes from the constraints below:

Code: Select all

r5.up   = 2.40;
r5.lo   =0;
if you comment these two constraints there is no infeasibility.
I do not know exactly but r5 make the objective function badly constrained.

Post Reply