Location and Transportation Problems
Weber Problem
You may have heard of the Weber problem. It is the traditional location problem, which tries to determine the location of factory that can minimize total transportation cost of raw materials and product. In this case the facility needs two raw materials from separate locations, and it ships the product to single market. Transportation cost is determined as distance, weighted by the amount of material/product being shipped (longer distances with less material are less desirable than shorter distances with the same amount of material). Location of the raw materials sources and the market is given. The facility can be located anywhere in a given area.
For simplicity, distance is measured by rectilinear distance (or so called Manhattan distance). In rectilinear distance (1-norm distance), distance between two points and is measured:
Like its name, movement in rectilinear distance metric is restricted to 90-degree turns.
Let’s start from decision variables. Here, decision variables are location of facility in terms of x and y coordinates: .
Location (coordinates) of raw material source 1, 2, and the market is given. For this hypothetical problem, we don’t have actual number, but we can say:
= coordinates of the market
= coordinates of raw material source 1
= coordinates of raw material source 2
Amount of raw materials and product to be shipped:
= quantity of raw material 1 needed to be shipped
= quantity of raw material 2 needed to be shipped
= quantity of produced shipped to market
Objective of this problem is to minimized transportation cost, which is translated as sum of weighted distance. Transportation cost of raw material 1 to the facility is:
and then the objective function is
Minimize:
Or, if we represent two sources and the market using index, , and represent distance like:
Then objective function can be rewritten as:
Minimize
This is nonlinear problem, as distance function has the absolute value operator. So we will not see how to solve the Weber problem, but as it is traditional and a great exercise in formulation.
Generic Transportation Problem
In apple shipment problem, we discussed a transportation problem with single supply source. We can construct an optimization model for multiple supply source and multiple demand nodes. Let say we have supply node and demands. Each demand node needs certain amount of demand, (Note that demand is being represented using , while above was distance) but it will be welcome to be provided more than that. The product can be shipped from multiple supply nodes to a single demand node. Each supply node has limited supply capacity, denoted as . Transportation cost from supply to demand is denoted as .
= the supply at node
= the demand at node = the unit cost of shipping from supply node to demande node
Decision variable is amount of product for each demand node.
= the amount shipped from supply node to demand node
The objective is also to minimize total transportation cost:
Minimize
In this case, constraints are capacity limitation of each supply and minimum requirement of each demand node.
Subject to:
(1)
(2)
(3)
Constraint (1) is supply capacity restriction. For each supply node , total sum of shipped product to demand nodes cannot be more than . Likewise, in constraint (2), for each demand node , total sum of supply must be greater than or equal to .