Supply chain management and optimization