summation

sets
i is number of Products
t is number of Periods
how to code the attachment?
Capture.PNG

Hi
You can write a dollar constraint on the sum using “sameas”:

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

Cheers
Renger