Page 1 of 1

summation

Posted: Thu Jul 25, 2019 2:21 am
by Omi
sets
i is number of Products
t is number of Periods
how to code the attachment?

Re: summation

Posted: Thu Jul 25, 2019 7:11 am
by Renger
Hi
You can write a dollar constraint on the sum using "sameas":

Code: Select all

sum((i,j)$(not sameas(i,j)), ...
Cheers
Renger