You are on page 1of 30

Different Approaches for Solving Facility Location Problems1

Single Facility Location Problems using Centre of Gravity Approach


Given

Set of source points


Set of demand points
Volumes to be moved from sources
Volumes to be moved to demand locations
Transportation costs
Objective: Minimize total transportation cost

Center-of-Gravity Approach

Locations of supply and demand points


Volume of flow from/to facility to supply or demand points
Transportation costs (rates) at each demand or supply point
Problem: Find the location of the new facility in order to minimize total
transportation costs

Parameters
TC: total transportation cost
Vi: volume at point i
Ri: transportation rate at point i
di : distance to point i from the facility to be located
Problem: Min TC = V i Ri di
__ __

Coordinates of new facility = ( X ,Y )


Coordinates of existing facilities = (Xi,Yi)
X-Equation

Y-Equation

(V R X ) / d
X =
(V R ) / d
i

__

(V R Y ) / d
Y =
(V R ) / d
i

__

i i

where
d i = K ( X i X )2 +(Yi Y )2

1
Contents of this note are adapted from Business Logistics Management by Ronald H. Ballou and few other
sources and edited by Dr.T.A.S.Vijayaraghavan, XLRI Jamshedpur purely for classroom teaching This
teaching note is strictly for private circulation only.

Algorithm to find COG


Step 1 :

Determine the (X,Y) coordinate of each source and demand point, the
volumes and transportation rates

Step 2 :

Approximate initial location from COG by omitting the d i terms

X=

(V R X )
(V R )
i

(V R Y )
Y=
(V R )
i

Step 3 :

Using the coordinates from Step 2, calculate di by Equation (d)

Step 4 :

Substitute the values from Step 3 into Equation (X) and Equation (Y)
and compute the coordinates (X,Y)
Recalculate d i based on new (X,Y)

Step 5 :
Step 6 :

Repeat Steps 4 and 5 until the changes in successive iterations are


very little

Example

SINGLE FACILITY LOCATION


Point(i) Products

Total Volume
Moving V

Transportation Coordinates
Rate per wt/mileX
Y

1-P1
2-P2
3-M1
4-M2
5-M3

2000
3000
2500
1000
1500

0.050
0.050
0.075
0.075
0.075

i
1
2
3
4
5

A
B
A&B
A&B
A&B
X
3
8
2
6
8

Y
8
2
5
4
8

V
2000
3000
2500
1000
1500

R
0.050
0.050
0.075
0.075
0.075

3
8
2
6
8

8
2
5
4
8

VR
100
150
187.50
75
112.50

VRX
300
1200
375
450
900

VRY
800
300
937.50
300
900

625

3225

3237.50

x = 3225/625 = 5.16 = 3237.50/625 = 5.18

Example
8

(2000, $0.05)

(3000, $0.05)

6
(2500, $0.075)

(1000, $0.075)

2
(1500, $0.075)

00

cost

1
2
3
4
5

3
8
2
6
8

8
2
5
4
8

2000
3000
2500
1000
1500

0.050
0.050
0.075
0.075
0.075

35.52
42.63
31.65
14.48
40.02

3552
6395
5935
1086
4503

Total Transportation Cost

21471

d= 10 ( 3-5.16)2 + (8-5.18)2 = 35.52


i
1
2
3
4
5

VR
100
150
187.50
75
112.50

VRX
300
1200
375
450
900

VRY
800
300
937.50
300
900

d
35.32
42.63
31.65
14.48
40.02

VR/d
2.815
3.519
5.924
5.180
2.811

VRX/d
8.446
28.149
11.848
31.077
22.489

VRY/d
22.523
7.037
29.621
20.718
22.489

20.249 102.009 102.388

__

__

X = 102.009/20.249 = 5.038

Iteration

X-coord

0
1
2
3
4
5
6
7
8
9
10
11
.
,
,
100

5.160
5.038
4.990
4.966
4.951
4.940
4.932
4.927
4.922
4.919
4.917
4.915

= 102.388/20.249 = 5.057
Centre of
Gravity
Y-coord
Total cost
5.180
21471.00
5.057
21431.22
5.031
21427.11
5.032
21426.14
5.037
21425.69
5.042
21425.44
5.046
21425.30
X
5.049
21425.23
5.051
21425.19
5.053
21425.16
5.054
21425.15
5.055
21425.14

__

Exact Solution
4.910

5.058

21425.14

Mixed-Integer Linear Programming


Mathematicians have labored for many years to develop efficient solution procedures
that have a broad enough problem description to be of practical value in dealing with
the large, complex location problem frequently encountered in logistics network
design and yet provide a mathematically optimum solution. They have experimented
with the use of sophisticated management science techniques, either to enrich the
analysis or to provide improved methods for solving this difficult problem optimally.
These methods are goal programming, tree search methods and dynamic
programming among others. Perhaps the most promising of this class is the mixedinteger linear programming approach. It is the most popular methodology used in
commercial location models. The primary benefit associated with the mixed-integer
linear programming approach-a benefit not always offered by other methods-is its
ability to handle fixed costs in an optimal way. The advantages of linear programming
in dealing with the allocations of demand throughout the network, which is at the
heart of such an approach, are well known. Although optimization is quite appealing,
it does exact its price. Unless special characteristics of a particular problem are
exploited, computer running times can be long and memory requirements substantial.
Warehouse location problems are presented in many variations. Researchers who
have applied the integer programming approach have described one such
warehouse location problem as follows:
There are several commodities produced at several plants with known
production capacities. There is a known demand for each commodity at
each of the number of customer zones. This demand is satisfied by
shipping via warehouses, with each customer zone being assigned
exclusively to a single warehouse. There are lower as well as upper limits
on the allowable total annual throughput on each warehouse. The
possible locations for the warehouses are given, but the particular sites to
be used are to be selected so as to result in the least total distribution
cost. The warehouse costs are expressed as fixed charges (imposed for
the sites actually used) plus a linear variable charge. Transportation costs
are taken as linear. Thus; the problem is to determine which warehouse
locations to use, what size warehouse to have at each selected location,
what customer zones should be served by each warehouse, and what
pattern of transportation flows there should be for all commodities. This is
to be done so as to meet the given demands at minimum total distribution
cost, subject to plant capacity and warehouse configuration of the
distribution system.
In descriptive language, this problem can be expressed in the following manner:
Find the number, size, and locations of warehouses in a logistics network
that will minimize the fixed and linear variable costs of moving all products
through the selected network subject to the following:
I.
The available supply of the plants cannot be exceeded for each
product.
II.
The demand for all products must be met.
III.
The throughput of each warehouse cannot exceed its capacity.
IV.
A minimum throughput of a warehouse must be achieved before it
can be opened.

V.

All products for the same customer must be served from the same
warehouse.

The problem can be solved using general integer linear programming computer
soft- ware packages. Historically, such practical problems were not solved, even
with the most powerful computers; however, researchers now apply such
techniques as decomposing a multi-product problem into as many sub problems
as there are products, eliminating parts of the problem irrelevant to the solution,
and approximating data relationships in forms that complement the solution
approach in order to achieve acceptable computer running times and memory
requirements. Today, researchers are claiming to be able to substantially extend
the number of echelons in the network that can be modeled, include multiple time
periods in the model, and cautiously handle nonlinear cost functions.
Another location method that utilizes mixed-integer programming is the p-median
approach. It is less complicated but less robust than the previous formulation.
Demand and supply points are located by means of coordinate points. Facilities
are restricted to be among these demand or supply points. The costs affecting
location are variable transportation rates expressed in units as $/cwt./mi. and the
annual fixed costs associated with the candidate facilities. The number of
facilities to be located is specified before solution.
Considering a small multi-product problem and a standard integer programming
software code, solving a location problem by integer programming can be illustrated.
Suppose we have the problem as shown in Figure. There are twp products that are
demanded by three customers, but a customer can be served out of only one
warehouse. There is a choice between two warehouses. Warehouse 1 has a
handling cost of $2/cwt. of throughput; a fixed cost of $100,000 per year if held open;
and a capacity of 110,000 cwt. per year. Warehouse 2 has a handling cost of $l/cwt.,
a fixed cost of $500,000, and an unlimited capacity. There is no minimum volume to
keep a warehouse open. Two plants can be used to serve the warehouses. The
plants may produce either product, but the production costs per cwt. differ for each
product. Plant 1 has a product capacity constraint (60,000 cwt. for product 1 and
50,000 cwt. for product 2). Plant 2 has no capacity constraint for either product. Our
task is to find which warehouse(s) should be used, how customer demand should be
assigned to them, and which warehouses and their throughput should be assigned to
the plants. The problem formulation is shown at then end of this section. The problem
is solved using the MIPROG module in LOGWARE. The solution is to open only
warehouse 2 and to serve it from plant 2. The cost summary is
Category

Cost

Production
Transportation
Warehouse handling
Warehouse fixed cost

$1,020,000
1,220,000
310,000
500,000

Total

$3,050,000

Figure:1- A Small Multi-product Warehouse Location Problem for Mixed Integer


Linear Programming

Formulation of the Mixed Integer Linear Programming Problem for the Example
shown in Figure -1
Definition of variables

Formulation:

Objective Function

Constraints:

P-Median Approach
Environment plus incinerates toxic chemicals used in various manufacturing
processes. These chemicals are moved from 12 market areas around the country to
its incinerators for disposal. The company provides the transportation, due to the
special equipment and handling procedures required. Transportation services are
contracted at a cost of $1.30 per mile, and the trucks are fully loaded at 300 cwt.
Trips are out and back from an incinerator. Therefore, the effective transport rate is
($1.30/mi. 2)/300cwt.=$0.0867/cwt./mi. The market locations, annual processing
volume, and annual fixed operation costs, regardless of throughput volume, are as
follows
Market

Latitude

Longitude

Annual Volume, cwt Fixed Operating


Cost, $

A
B
C
D
E
F
G
H
I
J
K
L

42.36
41.84
40.72
44.93
33.81
33.50
39.23
39.77
39.14
34.08
35.11
47.53

71.06
87.64
74.00
93.20
84.63
112.07
76.53
105.00
84.51
118.37
89.96
112.32

30,000
240,000
50,000
140,000
170,000
230,000
120,000
300,000
100,000
40,000
90,000
20,000

3,100,000
2,900,000
3,700,000
1,400,000
1,100,000
1,500,000
1,700,000
2,500,000
1,250,000

The metropolitan areas of D, G, and K will not permit the incinerators and therefore
are not considered as candidate locations. If five locations are to be used, which
should they be?
The PMED software module in LOGWARE can help to solve this problem. The
results show the preferred locations to minimize the cost.
NO

Facility Name

Volume

Assigned
Node Numbers

1
2
3
4
5

C
E
B
F
H

200,000
260,000
480,000
270,000
320,000

1
3
5
9
10

Total
Total cost: $24,739,040.000

1,530,000

2
6
7
11
12

4
8

Multiple Centre of Gravity Approach


Suppose we have data for 10 markets and their corresponding transportation rates.
"M1"
"M2"
"M3"
"M4"
"M5"
"M6"
"M7"
"M8"
"M9"
"M10"

2
5
9
7
10
2
2
4
5
8

1
2
1
4
5
5
7
7
8
9

3000000
5000000
17000000
12000000
10000000
9000000
24000000
14000000
23000000
30000000

.002
.0015
.002
.0013
.0012
.0015
.002
.0014
.0024
.0011

In addition, there is an annual fixed charge for each warehouse of $2,000,000. All
warehouses have enough capacity to handle all of the market demand. The amount
of inventory in the logistics system is extimated by IT($) =6,000,000N, where N is
the number of warehouses in the network. Inventory carrying costs are 25 percent
per year. Handling rates at the warehouses are all the same and, therefore, do not
affect the location outcome. How many warehouses should there be, where should
they be located, and which markets should be assigned to each warehouse?
Using the MULTICOG software module in LOGWARE and repeatedly solving for
various numbers of warehouses, the following spreadsheet can be developed:
Number of
Warehouses

Transportation
Cost, $

1
2
3
4
5
6
7
8
9
10

41,409,628
25,989,764
16,586,090
11,368,330
9,418,329
8,032,399
7,478,425
2,260,661
948,686
0

Fixed
Cost, $
2,000,000
4,000,000
6,000,000
8,000,000
10,000,000
12,000,000
14,000,000
16,000,000
18,000,000
20,000,000

Inventory
Cost, $
1,500,000
2,121,320
2,598,076
3,000,000
3,354,102
3,674,235
3,968,627
4,242,641
4,500,000
4,743,416

Total
Cost, $
44,909, 628
32,111,084
25,184,166
22,368,330
22,772,431
23,706,634
25,447,052
22,503,302
23,448,686
24,743,416

Four warehouses yield the best cost balance. Warehouses should be located in
markets 3,7,9 and 10. Markets 2, 3, 4, and 5 are assigned to the warehouse at 3;
markets 1, 6, and 7 are assigned to the warehouse at 9; and market 10 is assigned
to the warehouse at 10.

Guided Linear Programming Approach


Consider the small, single-product problem shown in Figure 1. The first step is to
construct a matrix that is formatted like the transportation problem of linear
programming. By giving it a special structure, to echelons of a logistics network can
be represented in the matrix of Figure 2. The heuristic process is guided by the
manner in which the cell costs are entered into the matrix. Because the production
and transportation costs between plants and warehouses are linear, they enter the
plant-warehouse cells directly. For example, the cell cost representing the flow
between P2 and W 1 is the production plus transportation costs, or $4/cwt. + $4/cwt. =
$8/cwt.
The cell block for warehouses and customers combines warehouse handling plus
transportation plus inventory carrying plus fixed costs. Handling and transportation
rates can be read directly from Figure 1. However, there are no rates for inventory
carrying and fixed costs, and they must be developed, depending on the throughput
of each warehouse. Because this throughput is not known, we must assume starting
throughputs. For fixed costs, each warehouse is initially given the most favorable
status by assuming that all demand flows through it. Thus for warehouse 1, the rate
associated with fixed costs would be annual warehouse fixed cost divided by total
customer demand, or $100,000/200,000 = $0.50/cwt. For warehouse 2, it is
$400,000/200,000 = $2.00/cwt.
Figure-1: A single product Location Problem with Warehouse Fixed Costs and
Inventory Costs
Customer C1
50000
0

Handling=$2/cwt

Plant P1

Fixed= $100,000
Capacity=60,000 cwt

Production= 4
Capacity=60,000

Customer C2
100000

3
Warehouse W1
2
4
5
2

Plant P2
Production=4,
Capacity= Unrestricted

Warehouse W2

Customer C3
50000

Handling=$1/cwt
Fixed= $400,000
Capacity=Unrestricted

Inventory carrying cos t =


100(Throughput) 0.7

For inventory carrying costs, the per-cwt. rate depends on the number of warehouses
and the demand assigned to them. Again, to give each warehouse the greatest
opportunity to be selected, the assumed throughput for each warehouse is equal, or

total customer demand divided by the number of warehouses being evaluated. The
inventory carrying rate is defined as the inventory cost in a warehouse divided by the
warehouse throughput, or ICi = K(Throughputi)a/Throughputi. Initially for each
warehouse, the per-cwt. inventory carrying rate is

The estimated per-unit fixed and inventory carrying rates are now entered into the
warehouse-customer cells of the matrix of Figure 2. The problem is solved in a
normal manner using the TRANLP module of LOGWARE. The computational results
are shown as the bold values in Figure 2. This now completes round one of the
computations. Subsequent computational rounds utilize warehouse throughputs from
its previous round to improve upon the estimate of the per-unit inventory carrying and
fixed costs for a warehouse. To make these estimates, we note that the throughput
for W1 is 60,000 cwt., and for W2 it is 140,000 cwt. (see Figure 2). The allocated
costs for the warehouses will be

Figure-2: Matrix of Cell Costs and Solution Values for the First location in the
Example Problem

The cell costs in the matrix for warehouses to customers (see Figure 13-2) are
recalculated to be
C1
C2
C3
11.361
10.36
12.36
9.43 2
7.72
8.72
1
2+4+1.67+3.69 = 11.36
2
1+2+3.57+2.86 = 9.43
The remaining cells are unaltered. Now, solve the problem again.
W1
W2

The results of the second iteration solution show that all production is at plant 2 and
all product is to be served from warehouse 2. That is,

W1
W2

C1

C2

C3

0
50,000

0
100,000

0
50,000

Subsequent iterations repeat the second iteration solution since the allocation of
inventory and fixed costs remain unchanged. A stopping point has been reached. To
find the solution costs, recalculate them from the actual costs in the problem. Do not
use the cell costs of Figure 2 since they contain the estimated values for warehouse
fixed and inventory carrying costs. Rather, compute costs as follows using the rates
from Figure 1:

The previous example illustrates a heuristic procedure for a single product. However,
many practical location problems require that multiple products be included in the
computational procedure. With slight modification where fixed costs for a warehouse
are shared among the products according to their warehouse throughput, the guided
linear programming procedure can be extended to handle the multi-product case.

A Warehouse-location Problem
William J.Baumol and Philip Wolfe

In this case, our allocation problem is solved using the transshipment problem of
linear programming or network flow. We only need to assume that transport costs
are proportional to tonnage (and not necessarily proportional to distance). Transport
costs can vary nonlinearly (tapering) with distance. Assume we have eight demand
points (r), two factories (f), and five potential warehouse sites (w) and we wish to
determine the number, size and location of warehouse the minimize the total of
warehousing and transport costs.

The warehouses can be of any size but total costs depend upon their throughput.
The marginal cost of a unit through each warehouse is the derivative of the total
warehouse costs with respect to Z.

Warehouse

Total Ware.
Cost

75Z 1.5

80Z 2.5

75Z 3.5

37.5Z1 -.5

40Z 2-.5

37.5Z3 -.5 40Z4 -.5

Marginal
Ware.
Cost

80Z 4 .5

70Z5 .5

35Z 5.5

Plants

Warehouses

Retailers

Our initial solution assumes that there are zero cost of going through a warehouse

Heuristics for Location of Facilities

You might also like