I have a problem about a formulation and I am looking for help!
I have defined a set “Input” index i, and two subsets “input1d” index id and “input1s” index is.
Here is my formulation of a constraint:
Identifier : MassConservation12
Index domain : (i,id,is,r)
Definition : sum(t, S1(i,t,r))+Stock1(i,r-1)=sum(d, Y1(id,d,r))+sum(s, uu1(is,s,r))+Stock1(i,r)+ZZ1(id,r)
Should I modify the index domain in order to make clear that id and is are subsets of i?
Best answer by gabiservidoneView original