# Facility location problem

Authors: Liz Cantlebary, Lawrence Li (CHEME 6800 Fall 2020)

Stewards: Allen Yang, Fengqi You

## Introduction

The Facility Location Problem (FLP) is a classic optimization problem that determines the best location for a factory or warehouse to be placed based on geographical demands, facility costs, and transportation distances. These problems generally aim to maximize the supplier's profit based on the given customer demand and location. FLP can be further broken down into capacitated and uncapacitated problems, depending on whether the facilities in question have a maximum capacity or not.

## Theory and Formulation

### Weber Problem

The Weber Problem is a simple FLP that consists of locating the geometric median between three points with different weights. The geometric median is a point between three given points in space such that the sum of the distances between the median and the other three points is minimized. It is based on the premise of minimizing transportation costs from one point to various destinations, where each destination has a different associated cost per unit distance.

Given ${\displaystyle N}$ points ${\displaystyle (a_{1},b_{1})...(a_{N},b_{N})}$ on a plane with associated weights ${\displaystyle w_{1}...w_{N}}$, the 2-dimensional Weber problem to find the geometric median ${\displaystyle (x,y)}$ is formulated as(1)

{\displaystyle \min {\begin{aligned}W(x,y)=\sum _{i=1}^{N}w_{i}d_{i}(x,y,a_{i},b_{i})\\\end{aligned}}}

where

${\displaystyle d_{i}(x,y,a_{i},b_{i})={\sqrt {(x-a_{i})^{2}+(y-b_{i})^{2}}}}$

### Capacitated and Uncapacitated FLPs

FLPs can often be formulated as mixed-integer programs (MIPs), with a fixed set of facility and customer locations. Binary variables are used in these problems to represent whether a certain facility is open or closed and whether that facility can supply a certain customer. Capacitated and uncapacitated FLPs can be solved this way by defining them as integer programs.

A capacitated facility problem applies constraints to the production and transportation capacity of each facility. As a result, customers may not be supplied by the most immediate facility, since this facility may not be able to satisfy the given customer demand.

In a problem with ${\displaystyle N}$ facilities and ${\displaystyle M}$ customers, the capacitated formulation defines a binary variable ${\displaystyle x_{i}}$ and a variable ${\displaystyle y_{ij}}$ for each facility ${\displaystyle i}$ and each customer ${\displaystyle j}$. If facility ${\displaystyle i}$ is open, ${\displaystyle x_{i}=1}$; otherwise ${\displaystyle x_{i}=0}$. Open facilities have an associated fixed cost ${\displaystyle f_{i}}$ and a maximum capacity ${\displaystyle k_{i}}$. ${\displaystyle y_{ij}}$ is the fraction of the total demand ${\displaystyle d_{j}}$ of customer ${\displaystyle j}$ that facility ${\displaystyle i}$ has satisfied and the transportation cost between facility ${\displaystyle i}$ and customer ${\displaystyle j}$ is represented as ${\displaystyle t_{ij}}$. The capacitated FLP is therefore defined as

${\displaystyle \min \ \sum _{i=1}^{N}\sum _{j=1}^{M}d_{j}t_{ij}y_{ij}+\sum _{i=1}^{N}f_{i}x_{i}}$

${\displaystyle s.t.\ \sum _{i=1}^{N}y_{ij}=1\ \ \forall \,j\in \{1,...,M\}}$

${\displaystyle \quad \quad \sum _{j=1}^{M}d_{j}y_{ij}\leq k_{i}x_{i}\ \ \forall \,i\in \{1,...,N\}}$

${\displaystyle \quad \quad y_{ij}\geq 0\ \ \forall \,i\in \{1,...,N\},\ \forall \,j\in \{1,...,M\}}$

${\displaystyle \quad \quad x_{i}\in \{0,1\}\ \ \forall \,i\in \{1,...,N\}}$

In an uncapacitated facility problem, the amount of product each facility can produce and transport is assumed to be unlimited, and the optimal solution results in customers being supplied by the lowest-cost, and usually the nearest, facility. Using the above formulation, the unlimited capacity means ${\displaystyle k_{i}}$ can be assumed to be a sufficiently large constant, while ${\displaystyle y_{ij}}$ is now a binary variable, because the demand of each customer can be fully met with the nearest facility. If facility ${\displaystyle i}$ supplies customer ${\displaystyle j}$, then ${\displaystyle y_{ij}=1}$; otherwise ${\displaystyle y_{ij}=0}$.

## Numerical Example

Suppose a paper products manufacturer has enough capital to build and manage an additional manufacturing plant in the United States in order to meet increased demand in three cities: New York City, NY, Los Angeles, CA, and Topeka, KS. The company already has distribution facilities in Denver, CO, Seattle, WA, and St. Louis, MO, and due to limited capital, cannot build an additional distribution facility. So, they must choose to build their new plant in one of these three locations. Due to geographic constraints, plants in Denver, Seattle, and St. Louis would have a maximum operating capacity of 400tons/day, 700 tons/day, and 600 tons/day, respectively. The cost of transporting the products from the plant to the city is directly proportional, and an outline of the supply, demand, and cost of transportation is shown in the figure below. Regardless of where the plant is built, the selling price of the product is $100/ton. To solve this problem, we will assign the following variables: ${\displaystyle i}$ is the factory location ${\displaystyle j}$ is the city destination ${\displaystyle C_{ij}}$ is the cost of transporting one ton of product from the factory to the city ${\displaystyle x_{ij}}$ is the amount of product transported from the factory to the city in tons ${\displaystyle A_{i}}$ is the maximum operating capacity at the factory ${\displaystyle D_{j}}$ is the amount of unmet demand in the city To determine where the company should build the factory, we will carry out the following optimization problem for each location to maximize the profit from each ton sold: max ${\displaystyle \sum _{j\epsilon J}x_{ij}(100-C_{ij})}$ subject to ${\displaystyle \sum _{j\epsilon J}x_{ij}\leq A_{i}}$ ${\displaystyle \forall i\epsilon I}$ ${\displaystyle \sum _{i\epsilon I}x_{ij}\leq D_{j}}$ ${\displaystyle \forall j\epsilon J}$ ${\displaystyle x_{ij}\geq 0}$ ${\displaystyle \forall i\epsilon I}$ ${\displaystyle \forall j\epsilon J}$ If the factory is built in Denver, 300tons/day of product go to Los Angeles and 100tons/day go to Topeka, for a total profit of$36,300/day.

If the factory is built in Seattle, 300tons/day of product go to Los Angela, 100tons/day of product go to Topeka, and 300tons/day go to New York City, for a total profit of $56,500/day. If the factory is built in St. Louis, 100tons/day of product go to Topeka and 500tons/day go to New York City, for a total profit of$55,200.

Therefore, to maximize profit, the factory should be built in Seattle.

## Applications

Facility location problems are utilized in many industries to find the optimal placement of various facilities, including warehouses, power plants, public transportation terminals, polling locations, and cell towers, to maximize efficiency, impact, and profit. In more unique applications, extensive research has been done in applying FLPs to humanitarian efforts, such as identifying disaster management sites to maximize accessibility to healthcare and treatment [4]. A case study by Nigerian researchers discussed the application of mixed-integer FLPs in optimizing the locations of waste collection centers to provide sanitation services in crucial communities. More effective waste collection systems could combat unsanitary practices and environmental pollution, which are major concerns in many developing nations [2].

FLPs have also been used in clustering analysis, which involves partitioning a given set of elements (e.g. data points) into different groups based on the similarity of the elements. The elements can be placed into groups by identifying the locations of center points that effectively partition the set into clusters, based on the distances from the center points to each element [7].

## Conclusion

The facility location problems is an important application of computational optimization. The uses of this optimization technique are far-reaching, and can be used to determine anything from where a family should live based on the location of their workplaces and school to where a Fortune 500 company should put a new manufacturing plant or distribution facility to maximize their return on investment.

## References

1. http://www.pitt.edu/~lol11/ie1079/notes/ie2079-weber-slides.pdf
2. Adeleke, O. J.; Olukanni, D. O. (2020), Facility Location Problems: Models, Techniques, and Applications in Waste Management. Recycling, 5, 10.
3. Balcik, B.; Beamon, B. M. (2008), Facility Location in Humanitarian Relief. International Journal of Logistics Research and Applications, 11, 101-121.
4. Daskin, M. S.; Dean, L. K. (2004), Location of Health Care Facilities. Handbook of OR/MS in Health Care: A Handbook of Methods and Applications, 43-76.
5. Drezner, Z; Hamacher. H. W. (2004), Facility Location Applications and Theory. New York, NY: Springer.
6. Eiselt, H. A.; Marianov, V. (2019), Contributions to Location Analysis. Cham, Switzerland: Springer.
7. Meira, L. A. A.; Miyazawa, F. K.; Pedrosa, L. L. C. (2017), Clustering through Continuous Facility Location Problems. Theoretical Computer Science, 657, 137-145.