Foreach usage in randomization constraints

In reply to javatea:

Hi Javatea,

Thanks for your explanation!

Yes, it seems pretty hard to make the long dist block short, since foreach cannot be used inside dist{}.

Thanks

Hao