Optimization of multi-product nodes in supply chains