The reinforcement learning approach for integrating production and distribution in multi-plant networks