Member-only story
Optimization: Capacitated Facility Location Problem in Python
Find the optimal number and location of warehouses to reduce costs and meet demand
Table of contents
- Introduction
- Problem statement
- Implementation
3.1. The dataset
3.2. Customers, warehouses and demand
3.3. Supply and fixed costs
3.4. Transportation costs
3.5. Optimization - Explore the results
- Conclusions
1. Introduction
Facility Location Problems (FLPs) are classical optimization tasks. They aim at determining the best among potential sites for warehouses or factories.
Warehouses may or may not have a limited capacity. This distinguishes the capacitated (CFLP) from the uncapacitated (UFLP) variants of the problem.
The business goal to find the set of warehouse locations that minimize the costs. The original problem definition by Balinski (1965) minimizes the sum of two (annual) cost voices:
- Transportation costs
- Warehouse fixed costs
Transportation costs account for the expenses generated by reaching customers from the warehouse location. The warehouse fixed cost…