Hi Fred,
That has done the trick!
Thanks very much for your assistance and prompt reply. Much appreciated.
Cheers,
Brendan
Search found 2 matches
- 5 years ago
- Forum: Syntax
- Topic: Incremental summing in equation
- Replies: 2
- Views: 2360
- 5 years ago
- Forum: Syntax
- Topic: Incremental summing in equation
- Replies: 2
- Views: 2360
Incremental summing in equation
I am very new to GAMS and I am hoping to get some help setting up an equation. Essentially, i am trying to implement the following equation: y(1) = x(1) <= 15 y(2) = x(1) + x(2) <=15 y(3) = x(1) + x(2) + x(3) <= 15 y(i) = x(1) + x(2) + x(3).... x(i) <= 15 etc. In this instance, x is the variable and...