Facility location problem: Difference between revisions

From Cornell University Computational Optimization Open Textbook - Optimization Wiki
Jump to navigation Jump to search
Line 11: Line 11:
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.  
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 ''N'' points <math>(a_1,b_1)...(a_N,b_N)</math>on a plane with associated weights ''w<sub>1</sub>...w<sub>N</sub>'', the 2-dimensional Weber problem to find the geometric median ''(x,y)'' is formulated as<sup>(1)</sup>
Given <math>N</math> points <math>(a_1,b_1)...(a_N,b_N)</math> on a plane with associated weights <math>w_1...w_N</math>, the 2-dimensional Weber problem to find the geometric median <math>(x,y)</math> is formulated as<sup>(1)</sup>


<math>\underset{x,y}{min}\{W(x,y)=\sum_{i=1}^Nw_id_i(x,y,a_i,b_i)\}</math>
<math>\underset{x,y}{min}\{W(x,y)=\sum_{i=1}^Nw_id_i(x,y,a_i,b_i)\}</math>
Line 24: Line 24:
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.
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 ''N'' given facilities, the capacitated formulation introduces a binary variable <math>x_i</math> for <math>i=1,\dots,n</math>, where <math>x_i=1</math> if facility <math>i</math> is open, and <math>x_i=0</math> otherwise. Further introduce the variable <math>y_{ij}</math> for <math>i=1,\dots,n</math> and <math>j=1,\dots,m</math> which represents the fraction of the demand <math>d_j</math> filled by facility <math>i</math>. The so-called '''capacitated facility location problem''' is then given by<math display="inline">\begin{array}{rl}
In a problem with <math>N</math> given facilities, the capacitated formulation introduces the binary variable <math>x_i</math>, where <math>x_i=1</math> if facility <math>i</math> is open, and <math>x_i=0</math> otherwise, and the variable <math>y_{ij}</math>, which represents the fraction of the demand <math>d_j</math> that facility <math>i</math> has satisfied. The capacitated FLP is defined as<math display="inline">\begin{array}{rl}
\min & \displaystyle\sum_{i=1}^n\sum_{j=1}^mc_{ij} d_j y_{ij}+\sum_{i=1}^nf_ix_i \\
\min & \displaystyle\sum_{i=1}^n\sum_{j=1}^mc_{ij} d_j y_{ij}+\sum_{i=1}^nf_ix_i \\
\text{s.t.} & \displaystyle\sum_{i=1}^ny_{ij}=1 \text{ for all }j=1,\dots,m \\
\text{s.t.} & \displaystyle\sum_{i=1}^ny_{ij}=1 \text{ for all }j=1,\dots,m \\
Line 30: Line 30:
&y_{ij}\geqslant0\text{ for all }i=1,\dots,n \text{ and }j=1,\dots,m\\
&y_{ij}\geqslant0\text{ for all }i=1,\dots,n \text{ and }j=1,\dots,m\\
&x_i\in\{0,1\}\text{ for all } i=1,\dots,n
&x_i\in\{0,1\}\text{ for all } i=1,\dots,n
\end{array}</math>Note that the second set of constraints ensure that if <math>x_i=0</math>, that is, facility <math>i</math> isn't open, then <math>y_{ij}=0</math> for all <math>j</math>, that is, no demand for any customer can be filled from facility <math>i</math>.
\end{array}</math>


== Applications ==
== Applications ==

Revision as of 19:43, 14 November 2020

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 points on a plane with associated weights , the 2-dimensional Weber problem to find the geometric median is formulated as(1)

where

Uncapacitated and Capacitated FLPs

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.

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 given facilities, the capacitated formulation introduces the binary variable , where if facility is open, and otherwise, and the variable , which represents the fraction of the demand that facility has satisfied. The capacitated FLP is defined as

Applications

Conclusion

References

  1. http://www.pitt.edu/~lol11/ie1079/notes/ie2079-weber-slides.pdf