BackmediumUncategorized uncategorized medium

Min Distance Supply Allocation Solution

Problem Statement

Given a set of warehouses with limited capacities and a set of distribution centers with specific demands, determine the optimal allocation of supplies to minimize the total distance traveled. The input consists of three matrices: warehouse capacities, distribution center demands, and the distance matrix between warehouses and distribution centers.

Live Compiler
Loading...
Test Cases & Output
🔒 Sign up to run your code

🚀 Practice this problem

Run code, get AI hints & track streak

Sign Up Free