Management Science Unit 7
Management Science Unit 7
4. Unacceptable routes.
− Establishing a route from every origin to every The first thing to do in finding the initial feasible solution
destination may not be possible. To handle this is to allocate as much flow as possible to the minimum
situation, we simply drop the corresponding arc cost arc.
from the network and remove the corresponding • Cleveland-Chicago
variable from the linear programming • Bedford-St.Louis
formulation. • York-Boston
− Example: If the Cleveland-St. Louis route were
unacceptable or unusable, the arc from They each qualify as the minimum cost arc because each
Cleveland-St. Louis could be dropped, and x13 of them has a transportation cost of $2/unit. There is a
could be removed from the linear programming triple tie that happened here. When ties occur, we will
formulation. select the arc to which the most flow could be allocated
− Solving the resulting 11 variable, 7 constraint and work with that route first.
model would provide an optimal solution while • In Cleveland-Chicago route, there will be a flow of
guaranteeing that the Cleveland-St. Louis route is 4000 units since the supply from Cleveland is 5000
not used. units, while the demand of Chicago is 4000 units.
Therefore, 4000 units can be shipped from Cleveland
to Chicago.
TRANSPORTATION SIMPLEX METHOD: A SPECIAL- • For the Bedford-St. Louis route, there will be a flow of
PURPOSE SOLUTION PROCEDURE 2000 units since the supply from Bedford is 6000 units,
Phase 1: Finding an Initial Feasible Solution while the demand of St. Louis is 2000 units. Therefore,
− Such a solution provides arc flow that satisfy each 2000 units can be shipped from Bedford to St. Louis.
demand constraint without shipping more from any • For the York-Boston route, there will be a flow of 2500
origin node than the supply available. units since the supply from York is 2500 units, while
− The procedure most often used to find an initial the demand of Boston is 6000 units. Therefore, 2500
feasible solution to a transportation problem are units can be shipped from York to Boston.
called heuristics.
− A heuristic is a commonsense procedure for quickly Since we need to allocate as much possible to the
finding a solution to a problem. minimum cost arc, then the order of priority will be:
− The heuristic we describe for finding an initial feasible (1) Cleveland-Chicago – 4000 units
solution to a transportation problem is called the (2) York-Boston – 2500 units
minimum cost method. This heuristic strikes a (3) Bedford-St. Louis – 2000 units
compromise between finding a feasible solution
quickly and finding a feasible solution that is close to The next thing we need to do is to reduce the row supply
the optimal solution. and the column demand by the amount of flow allocated
Although some heuristics can find an initial to the cell identified previously.
feasible solution quickly, often the solution they find is
not especially good in terms of minimizing total cost.
Other heuristics may not find an initial feasible
solution as quickly, the solution they find is often good
in terms of minimizing total cost.
If demand/supply is exhausted cross it out which is shown
in red lines above.
Multiply the units shipped with the cost per unit to arrive
at the total cost. Computing these rows and column indexes requires that
the cost coefficient for each occupied cell is: ui + vj
Thus, when Cij is the cost per unit from origin i to What do these numbers mean?
destination j, we can establish that (Cij) = ui + vj for each • This means that shipping one unit over the route
occupied cell. from origin 1 to destination 3 (Cleveland-St. Louis
Route) will increase total cost by $9.
Let us assign numbers to each row and column indexes. • This means that shipping one unit over the route
Use algebra to assign numbers in the other indexes. from origin 1 to destination 4 (Cleveland-
Lexington Route) will increase total cost by $7.
Occupied Cell Cij = ui + vj • This means that shipping one unit over the route
Cleveland-Boston u1 + v 1 = 3 from origin 2 to destination 2 (Bedford-Chicago)
Cleveland-Chicago u1 + v 2 = 2 will decrease total cost by $1.
Bedford-Boston u2 + v 1 = 7 • And so on…
Bedford-St. Louis u2 + v 3 = 2 On the basis of net evaluation indexes, the best arc to
Bedford-Lexington u2 + v 4 = 3 choose in terms of cost reduction is associated with
York-Boston u3 + v 1 = 2 Bedford-Chicago route. In fact, it is the only cell that can
reduce cost since it is the only that is negative. Therefore,
the cell in row 2, column 2 is chosen as the incoming cell.
Total cost decreases by $1 for every unit of flow assigned
to this arc.
In summary:
• Incoming Arc = Bedford-Chicago
• Outgoing Arc = Bedford-Boston Perform MODI Evaluation again!
Occupied Cell ui + yj = Cij
Is it possible that we are going to deduct the York-Boston Cleveland-Boston u1 + v 1 = 3
by 1 instead of the Bedford-Boston? No, because if we Cleveland-Chicago u1 + v 2 = 2
deduct the York-Boston route by 1, the supply for the Bedford-Chicago u2 + v 2 = 5
Bedford-Boston will not equal to the units allocated from
Bedford-St. Louis u2 + v 3 = 2
Bedford to the three distribution centers.
Bedford-Lexington u2 + v 4 = 3
The important thing to determine in the stepping stone York-Boston u3 + v 1 = 2
method is to determine which cells to add or deduct.
Objective Function:
Min 2x13 + 3x14 + 3x23 + 1x24 + 2x35 + 6x36 + 3x37 + 6x38 + 4x45 Min 2x13 + 3x14 + 3x23 + 1x24 + 2x35 + 6x36 + 3x37 + 6x38 + 4x45
+ 4x46 + 6x47 + 5x48 + 4x46 + 6x47 + 5x48
s.t.
Origin Plant Units 1) x13 + x14 < 600
1 Denver 600 2) x23 + x24 < 400
2 Plant 400 3) -x13 – x23 + x35 + x36 + x37 + x38 =0
TOTAL 1000 4) -x14 – x24 + x45 + x46 + x47 + x48 = 0
5) x35 + x45 = 200
6) x36 + x46 = 150
7) x37 + x47 = 350
8) x38 + x48 = 300
For transshipment problems, we will only discuss up to the corresponding project completion times. With three
formulation of the mathematical model. Special solutions project leaders and three clients, nine assignment
procedures do not cover transshipment problems, it only alternatives are possible. Here are the estimated project
covers transportation and assignment problems. completion times (days) for each possible project leader-
client assignment:
ASSIGNMENT PROBLEMS
The assignment problem arises in a variety of decision- Client
making situations; typical assignment problems involve Project Leader 1 2 3
assigning jobs to machines, agents to tasks, sales Terry 10 15 9
personnel to sales territories, contracts to bidders, and so Carle 9 18 5
on. McClymonds 6 14 3
Assume that you have a group project that If Terry is assigned to Client 1, it will require him 10 days
consists of 5 requirements and there are 5 people in your to complete. If Client 2, it will take him 15 days. If Client 3,
group. Allocating which tasks should be done by which it will take him 9 days to complete. And so on…
person is considered to be an assignment problem. McClymonds – the most productive since he can perform
• A distinguishing feature of the assignment problem is the task in the fewest number of days out of the three
that one agent is assigned to one and only one task. project leaders. But again, we cannot assign more than
Although in reality, there are people who can one client to him since 1 client = 1 project leader.
multitask. Let us say in a group project, student A is
very productive and can do 3 tasks out of the 5 tasks
by himself more efficiently than if one task is assigned
to each person. However, in assignment problems,
student A should be assigned only one task, and the
other members of the group should likewise be
assigned to do one task each.
• Specifically, we look for the set of assignments that
will optimize a stated objective, such as minimize
cost, minimize time, or maximize profits.
Client
Project Leader 1 2 3
1 – Terry 1 6 0 Choose smallest of the unlined elements.
2 – Carle 4 13 0 Subtract it from every unlined element. Add it to the
3 – McClymonds 3 11 0 intersection.
Choose the smallest number in each column.
Subtract it from every element in the column.
Client
Project Leader 1 2 3
1 – Terry 0 0 0 Lined numbers (not intersection) will remain the same.
2 – Carle 3 7 0
3 – McClymonds 2 5 0 STEP 2
No. of straight lines = 2 Row 2 has only 1 zero. Therefore, it is the chosen row.
No. of Rows/Column = 3 Assign Carle to serve Client 3.
Therefore, no optimal solution yet. Go to Step 3.
ASSIGNMENT PROBLEM 2
Salisbury Discounts has just leased a new store and is
Assigning Terry to serve Client 2 will take 15 days. attempting to determine where various departments
Assigning Carle to serve Client 3 will take 5 days. should be located within the store. The store manager has
Assigning McClymonds to serve Client 1 will take 6 days. four locations that have not yet been assigned a
The optimal (minimum) time it will take to serve the 3 department and is considering five departments that
clients is 26 days. might occupy the four locations. The departments under
consideration are shoes, toys, auto parts, housewares,
ASSIGNMENT PROBLEM and videos. After a careful study of the layout of the
Because the assignment problem can be viewed as a remainder of the store, the store manager has made
special case of the transportation problem, the problem estimates of the expected annual profit (in thousands of
variations that may arise in an assignment problem dollars) for each department in each location.
parallel those for the transportation problem.
STEP 2
STEP 3
# of Straight Lines = 4
# of Rows/Columns = 5
1 is the smallest number. Subtract it to unlined numbers.
Add to intersections.
STEP 2
Location
Department 1 2 3 4 5
Shoe 10 6 12 8 0
Toy 15 -M 5 11 0
Auto parts 17 10 13 -M 0
Housewares 14 12 13 10 0
Videos 14 16 6 12 0
-M since this is a maximization problem. Assign it to those 1 is the smallest number. Subtract it to unlined numbers.
that are deemed unacceptable. Add to intersections.
-M will be changed to M.
SHORTEST-ROUTE PROBLEM
Assign Shoes Department to Location 5 (Dummy)
The shortest-route problem is concerned with finding the
Assign Auto Parts Department to Location 1
shortest path in a network from one node (or set of
nodes) to another node (or set of nodes).
• If all arcs in the network have nonnegative values,
then a labeling algorithm can be used to find the
shortest paths from a particular node to all other
nodes in the network.
• The criterion to be minimized in the shortest-route
problem is not limited to distance even through the
term “shortest” is used in describing the procedure.
Other criteria include time and cost. (Neither time nor
Assign Toy Department to Location 4 cost are necessarily linearly related to distance).