Hi,

is would be great if someone could support me with an idea concerning my syntax-issue. As I started working with GAMS a few months ago, I am pretty new to its syntax and thus my question might be easy. Nevertheless, it would be great to get an idea from an experienced user.

In general i have a minimizing algorithms with one positive variable x(t,i) that depends on a set t (time) and a parameter i. I am looking for a syntax that describes a sum over a limited timeframe.

Something like:

sum ((i,j),x(t++j,i))

So the sume should cover the parameter i, however for different times relativly to the value t. This should be described by the set j /1*24/.

I am sorry I do not know to post a minimum example for my problem. I hope someone can help me regarding this issue.

Thank you for your support in this matter.

With best regards

BieneMaja