Data-driven reconfigurable supply chain design and inventory control