Hello,

I’m fairly new to GAMS and appreciate any potential help.

I tried implementing the GLSP with the following restrictions (attached PDF).

It worked more or less, since i got the same value for the objective function as the solution (which should be 1196).

But my solution differs in regards to the quantity produced in the micro periods (see the attached picture for a comparison of my solution and the given solution).

The structure of my solution seems to be shifted to the left after s=3. Meaning that the quantities are produced earlier than in the given solution.

Also the quantities produced in period s=3 are split up in my solution. I also attached my current gams model.

I’m assuming that I messed something up with the use of the dummy period s=0 or the equation for the setupchange.

If i forgot to provide any information please let me know.

Thanks a lot in advance

GLSP1.gms (3.37 KB)

GLSP model.pdf (100 KB)