Inferensys

Glossary

Facility Location Problem

An optimization problem that determines the optimal placement of facilities, such as warehouses or distribution centers, to minimize transportation costs while satisfying demand.
Developer reviewing LLM cost optimization spreadsheet on laptop, calculator and coffee on desk, casual finance-technical moment.
PRESCRIPTIVE ANALYTICS

What is Facility Location Problem?

The Facility Location Problem (FLP) is a critical class of optimization models in supply chain design that determines the optimal geographic placement of facilities to minimize total costs while satisfying demand constraints.

The Facility Location Problem is a combinatorial optimization challenge that identifies the optimal number and geographic placement of physical nodes—such as warehouses, distribution centers, or manufacturing plants—within a network. The objective is to minimize the sum of fixed facility opening costs and variable transportation costs incurred while serving a geographically dispersed set of demand points, subject to capacity and service-level constraints.

Solving an FLP involves balancing the trade-off between the economies of scale achieved by centralizing inventory in fewer locations and the increased outbound shipping expenses to distant customers. Advanced formulations, such as the Uncapacitated Facility Location Problem (UFLP) or the Capacitated Facility Location Problem (CFLP), are typically solved using Mixed-Integer Linear Programming (MILP) or heuristic methods to generate a prescriptive network design that minimizes total landed cost across the supply chain.

STRATEGIC NETWORK DESIGN

Key Variants of the Facility Location Problem

The Facility Location Problem (FLP) is not a single formulation but a family of optimization models. Each variant captures different strategic trade-offs between fixed facility costs, variable transportation expenses, and service-level constraints.

01

Uncapacitated Facility Location (UFLP)

The foundational variant where any facility can serve an unlimited amount of demand. The objective is purely to balance the fixed cost of opening a facility against the variable transportation costs to serve customers.

  • Each customer is assigned to exactly one open facility
  • No limit on throughput per facility
  • Often solved using Lagrangian relaxation or dual-based heuristics
  • Forms the basis for more complex, constrained models
NP-Hard
Computational Complexity
02

Capacitated Facility Location (CFLP)

Introduces a hard capacity constraint on each facility, limiting the total demand it can serve. This transforms the problem from a simple assignment to a bin-packing hybrid, where both location and allocation must respect throughput limits.

  • Facilities have a maximum service volume
  • Often requires splitting customer demand across multiple facilities
  • Solved via branch-and-cut or Benders decomposition
  • Critical for modeling real-world warehouse and server farm constraints
03

P-Median Problem

Fixes the number of facilities to exactly P and seeks to minimize the total weighted distance between demand nodes and their assigned facilities. There are no fixed opening costs; the budget is expressed as a cardinality constraint.

  • Pure focus on accessibility and coverage
  • No facility cost trade-off; P is an input parameter
  • Common in public sector: locating fire stations, schools, or clinics
  • Solved using vertex substitution heuristics or exact LP methods
04

P-Center Problem

A minimax objective: fix the number of facilities to P and minimize the maximum distance any demand point must travel to its nearest facility. This optimizes for worst-case service equity rather than average efficiency.

  • Guarantees a service radius for all customers
  • Used for emergency response: ambulance depots, police stations
  • Inherently a covering problem with a distance threshold
  • More computationally challenging than the P-Median due to the bottleneck objective
05

Maximum Coverage Location

Flips the constraint structure: given a fixed number of facilities and a service radius, maximize the total demand that falls within the coverage zone. Not all demand must be served; the goal is maximal population reach.

  • Binary coverage: a customer is either covered or not
  • Used for retail site selection and sensor placement
  • Often formulated as an integer programming problem
  • Can be extended to gradual coverage decay functions
06

Hierarchical Facility Location

Models multi-tier systems where facilities at different levels (e.g., regional distribution centers vs. local warehouses) interact. Flow moves sequentially through the hierarchy, and each tier may have distinct cost structures and capacities.

  • Captures transshipment and consolidation points
  • Facilities at one level serve as demand points for the level above
  • Essential for modeling global supply chains with echelons
  • Solved using multi-commodity flow formulations
COMPARATIVE ANALYSIS

Facility Location Problem vs. Related Optimization Problems

A structural comparison of the Facility Location Problem against adjacent combinatorial optimization challenges in supply chain and logistics.

FeatureFacility Location ProblemVehicle Routing ProblemKnapsack ProblemTraveling Salesman Problem

Primary Objective

Minimize total cost (fixed facility + transportation) while satisfying demand

Minimize total route cost for a fleet servicing customers

Maximize total value of selected items subject to a weight constraint

Minimize total distance of a single route visiting all nodes exactly once

Decision Variables

Discrete facility locations and continuous allocation of demand

Sequence of customer visits per vehicle

Binary inclusion/exclusion of items

Permutation of node visit order

Fixed Opening Costs

Capacity Constraints

Multiple Facilities/Vehicles

Demand Satisfaction Requirement

Typical Solution Method

Mixed-Integer Linear Programming, Lagrangian Relaxation

Branch-and-Price, Clarke-Wright Savings Heuristic

Dynamic Programming, Branch and Bound

Branch and Cut, Lin-Kernighan Heuristic

Classic Variant

Uncapacitated Facility Location Problem (UFLP)

Capacitated Vehicle Routing Problem (CVRP)

0/1 Knapsack Problem

Symmetric TSP

FACILITY LOCATION PROBLEM

Real-World Applications in Supply Chain

The Facility Location Problem (FLP) determines the optimal placement of warehouses, distribution centers, and manufacturing plants to minimize total logistics costs while satisfying customer demand. Below are key real-world applications where prescriptive analytics transforms supply chain network design.

01

Greenfield Distribution Center Siting

Determining the optimal geographic placement for a new warehouse in an existing network. The model balances inbound freight costs from suppliers, outbound delivery costs to customers, and fixed facility operating expenses. Modern solvers incorporate geospatial demand density, labor availability, and tax incentive zones as weighted constraints. A typical MILP formulation minimizes the sum of transportation costs and facility amortization over a 10-year horizon, often revealing that a location 50 miles from the intuitive choice saves millions annually.

15-25%
Typical Logistics Cost Reduction
02

Last-Mile Micro-Fulfillment Networks

Urban retailers use FLP solvers to identify micro-fulfillment center locations that enable sub-2-hour delivery. The objective function minimizes the maximum delivery radius while respecting real estate cost ceilings. Constraints include zoning restrictions, dock availability, and the requirement that 95% of a city's population falls within a 15-minute drive time. This is a capacitated p-median problem variant, where the number of facilities p is traded off against service level targets.

< 2 hrs
Target Delivery Window
03

Supplier Consolidation Strategy

Procurement teams apply FLP to the inbound supply network by modeling which suppliers to retain and where to locate consolidation centers. The model ingests supplier risk scores, volume commitments, and multi-modal freight rates. A fixed-charge facility location formulation determines whether keeping a regional consolidation hub reduces total landed cost, even after accounting for additional handling. This often reveals that reducing the supplier base by 30% and routing through a single cross-dock yields lower total cost of ownership.

30%
Supplier Base Reduction Potential
04

Disaster Relief Pre-Positioning

Humanitarian agencies solve a stochastic facility location problem to pre-position emergency supplies before a hurricane season. The model uses scenario-based demand forecasts derived from storm surge models and population vulnerability indices. The objective minimizes the expected deprivation cost—the economic value of human suffering due to delayed aid. Facilities are placed to ensure that, under the worst-case scenario ensemble, critical supplies reach affected populations within 72 hours.

72 hrs
Critical Response Window
05

Manufacturing Plant Footprint Optimization

Global manufacturers re-optimize their plant footprint every 3-5 years using multi-echelon FLP models. The decision variables include which plants to open, close, or retool, and which products to assign to each site. Constraints capture tariff differentials, local content requirements, and carbon border taxes. The objective function minimizes total landed cost to customer, including manufacturing, inter-facility transfers, and duties. A recent re-optimization for a consumer electronics firm identified $120M in annual savings by shifting production from 12 plants to 8 strategically located mega-factories.

$120M+
Annual Savings from Re-optimization
06

EV Charging Station Placement

Electric vehicle fleet operators solve a flow-capturing facility location problem to place charging depots. Unlike traditional FLP, demand is not point-based but occurs along traffic flow corridors. The model maximizes the volume of vehicle-miles that can be electrified given a fixed budget for k stations. Constraints include grid capacity, charging dwell times, and vehicle range anxiety buffers. This ensures that a delivery fleet transitioning to EVs can complete all scheduled routes without stranding.

100%
Route Coverage Target
FACILITY LOCATION OPTIMIZATION

Frequently Asked Questions

Clear, technically precise answers to the most common questions about solving the facility location problem, from core definitions to advanced algorithmic approaches.

The facility location problem (FLP) is a canonical optimization problem that determines the optimal geographic placement of facilities—such as warehouses, distribution centers, or manufacturing plants—to minimize total costs while satisfying a set of demand points. The problem works by mathematically modeling a trade-off: building fewer, larger facilities reduces fixed opening costs but increases transportation distances, while building more facilities reduces shipping costs but incurs higher capital expenditure. Formally, the objective function minimizes the sum of fixed facility opening costs and variable transportation costs subject to constraints ensuring all customer demand is met. The classic uncapacitated formulation assumes each facility can serve unlimited demand, while capacitated variants impose throughput limits. Solution methods range from exact algorithms like mixed-integer linear programming (MILP) and branch and bound to heuristic approaches such as genetic algorithms and simulated annealing for large-scale instances where exact solutions become computationally intractable.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.