|
Sum |
Top Previous Next |
|
Expressions can contain a function that calculates the sum of set indexed expressions or terms (function.gms)
X=sum(I,a(i)); Eq7.. z=e= sum(I,va(i));
This function is linear. It can be used on data during GAMS calculation or in models on variables or parameters. More on Sum can be found here. |