GAMS sum and prod syntax_ what different?
Posted: Fri Jun 15, 2018 6:16 am
Hi all,
I read GAMS manual and find some unclear points.
I want to know what is the prod meaning in GAMS?
I know that it uses same sysntax as sum. But I am not sure what is it implying in economics.
Sum(j, x(j)) = x1+x2+x3+....xn
What prod(j, x(i, j)) is equivalent to?
Note that I see it uses with objective function.
obj.. UU =e= prod(i,x(i)**alpha(i));
Anyone, please help clarify me.
Thank you,
I read GAMS manual and find some unclear points.
I want to know what is the prod meaning in GAMS?
I know that it uses same sysntax as sum. But I am not sure what is it implying in economics.
Sum(j, x(j)) = x1+x2+x3+....xn
What prod(j, x(i, j)) is equivalent to?
Note that I see it uses with objective function.
obj.. UU =e= prod(i,x(i)**alpha(i));
Anyone, please help clarify me.
Thank you,