summation notation problem

Problems with modeling
Post Reply
heartofglass
User
User
Posts: 2
Joined: 4 years ago

summation notation problem

Post by heartofglass »

hi all!

I just have started to learn gams and I am working on a schedule programming but I have a question.

How can i code summation of j going to j+1 ?
I mean summation says j = 1 and goes to n.
But I want it to go just for j+1. how can I code it to gams?

thank you so much.

regards.
Post Reply