I face some issues to implement a constraint on AIMMS.
Just to introduce you the problem:
Y(o,l,t) is a binary variable which is equal to 1 if a liquid l (a beer) is ready in tank o at period t;
Delta(l) is the fermentation time for a liquid l;
How can I implement this constraint?
Thank you for your help.
Best answer by mohansx
Try the below and let me know if that works as you expect or not
sum[(l,u)|ord(u)<=FermTime(l), Y(o,l,t-ord(u)] <= 1