I have this Transportation-Distribution problem of paints and it says that in the 10th day the stock of paint of each color and each type has to be 1000L.
I created a constraint:
Index domain: (d,c,t) 'd - day; c - color; t - type'
Definition: sum[ds,DistributionSiteStock(ds,d,c,t)] + sum [p,ProductionSiteStock(p,d,c,t)] = 1000
Which means the sum of every paint (color and type) of all distribution sites + sum of every paint (color and type) of all productions sites has to 1000. But I just want this to apply to the 10th day. How should I do it only with linear maths?
You can store both in productions sites and distribution sites. ds - distribution sites; p - production sites
Best answer by mohansxView original