Cloud-based supply chain optimization