Cost management for logistics and supply chain