Page 1 of 1

different dimension

Posted: Mon Aug 12, 2019 11:38 am
by jang dong jun
i m new in gams. i try to solve a problem.
in same i, there are only one scalar in NW(i,j)
sum(i,NW(i,j))/NW(i,j) =1
but i cant make any code about this. help me plz..

Re: different dimension

Posted: Tue Aug 13, 2019 3:24 pm
by Renger
Hi
For this you need an alias

Code: Select all

alias(i,ii);
sum(ii,NW(ii,j))/NW(i,j)
I hope you were looking for that
Cheers
Renger