Hi dear all,
I have one of my constraints in AIMMS as this:
sum[k1|k1<>l,y(k1,l)] = sum[k2|k2<>l, y(l,k2)], in which k1, k2, l are all from same set and y(k,l) as binary.
For the right hand side of this constraints, I also want to add k2<>k1, but AIMMS gives error as “The scope of index "k1" has not been specified.”
I tried to run the model without k2<>k1 but the solution gives y(k1,l)=y(l,k1)=1, which is not what I want here. So is there any way to add this k2<>k1 in this constraint?