Kerimcan OzcanMNGT 379 Operations Research1 Transportation, Assignment, and Transshipment Problems Chapter 7
Kerimcan OzcanMNGT 379 Operations Research2 Transportation, Assignment, and Transshipment Problems A network model is one which can be represented by a set of nodes, a set of arcs, and functions (e.g. costs, supplies, demands, etc.) associated with the arcs and/or nodes. Transportation, assignment, and transshipment problems of this chapter as well as the PERT/CPM problems (in another chapter) are all examples of network problems. Each of the three models of this chapter can be formulated as linear programs and solved by general purpose linear programming codes. For each of the three models, if the right-hand side of the linear programming formulations are all integers, the optimal solution will be in terms of integer values for the decision variables. However, there are many computer packages (including The Management Scientist) that contain separate computer codes for these models which take advantage of their network structure.
Kerimcan OzcanMNGT 379 Operations Research3 Transportation Problem The transportation problem seeks to minimize the total shipping costs of transporting goods from m origins (each with a supply s i ) to n destinations (each with a demand d j ), when the unit shipping cost from an origin, i, to a destination, j, is c ij. The network representation for a transportation problem with two sources and three destinations is given below. 2 2 c 11 c 12 c 13 c 21 c 22 c 23 d1d1d1d1 d2d2d2d2 d3d3d3d3 s1s1s1s1 s2s2 SourcesDestinations
Kerimcan OzcanMNGT 379 Operations Research4 Transportation Problem LP Formulation The LP formulation in terms of the amounts shipped from the origins to the destinations, x ij, can be written as: Min c ij x ij i j s.t. x ij < s i for each origin i j x ij = d j for each destination j i x ij > 0 for all i and j Special Cases The following special-case modifications to the linear programming formulation can be made: Minimum shipping guarantee from i to j: x ij > L ij Maximum route capacity from i to j: x ij < L ij Unacceptable route: Remove the corresponding decision variable.
Kerimcan OzcanMNGT 379 Operations Research5 Example: Acme Block Co. Acme Block Company has orders for 80 tons of concrete blocks at three suburban locations as follows: Northwood tons, Westwood tons, and Eastwood tons. Acme has two plants, each of which can produce 50 tons per week. Delivery cost per ton from each plant to each suburban location is shown below. How should end of week shipments be made to fill the above orders? Northwood Westwood Eastwood Plant Plant MIN 24x11+30x12+40x13+30x21+40x22+42x23 S.T. 1) 1x11+1x12+1x13<50 2) 1x21+1x22+1x23<50 3) 1x11+1x21=25 4) 1x12+1x22=45 5) 1x13+1x23=10
Kerimcan OzcanMNGT 379 Operations Research6 Example: Acme Block Co. Objective Function Value = Variable Value Reduced Costs x x x x x x Constraint Slack/Surplus Dual Prices OBJECTIVE COEFFICIENT RANGES Variable Lower Limit Current Value Upper Limit x x12 No Lower Limit x No Upper Limit x x No Upper Limit x23 No Lower Limit RIGHT HAND SIDE RANGES Constraint Lower Limit Current Value Upper Limit No Upper Limit
Kerimcan OzcanMNGT 379 Operations Research7 Assignment Problem An assignment problem seeks to minimize the total cost assignment of m workers to m jobs, given that the cost of worker i performing job j is c ij. It assumes all workers are assigned and each job is performed. An assignment problem is a special case of a transportation problem in which all supplies and all demands are equal to 1; hence assignment problems may be solved as linear programs. The network representation of an assignment problem with three workers and three jobs is shown below c 11 c 12 c 13 c 21 c 22 c 23 c 31 c 32 c 33 Agents Tasks
Kerimcan OzcanMNGT 379 Operations Research8 Assignment Problem LP Formulation Min c ij x ij i j s.t. x ij = 1 for each agent i j x ij = 1 for each task j i x ij = 0 or 1 for all i and j Note: A modification to the right-hand side of the first constraint set can be made if a worker is permitted to work more than 1 job. Special Cases Number of agents exceeds the number of tasks: xij < 1 for each agent i j Number of tasks exceeds the number of agents: Add enough dummy agents to equalize the number of agents and the number of tasks. The objective function coefficients for these new variable would be zero.
Kerimcan OzcanMNGT 379 Operations Research9 Assignment Problem Special Cases (continued) The assignment alternatives are evaluated in terms of revenue or profit: Solve as a maximization problem. An assignment is unacceptable: Remove the corresponding decision variable. An agent is permitted to work a tasks: xij < a for each agent i j
Kerimcan OzcanMNGT 379 Operations Research10 Example: Who Does What? An electrical contractor pays his subcontractors a fixed fee plus mileage for work performed. On a given day the contractor is faced with three electrical jobs associated with various projects. Given below are the distances between the subcontractors and the projects. Projects Subcontractor A B C Westside Federated Goliath Universal How should the contractors be assigned to minimize total mileage costs?
Kerimcan OzcanMNGT 379 Operations Research11 Example: Who Does What? Network Representation West. CC BB AA Univ.Univ. Gol.Gol. Fed. Fed. Projects Subcontractors
Kerimcan OzcanMNGT 379 Operations Research12 Example: Who Does What? Linear Programming Formulation Min 50x11+36x12+16x13+28x21+30x22+18x23 +35x31+32x32+20x33+25x41+25x42+14x43 s.t. x11+x12+x13 < 1 x21+x22+x23 < 1 x31+x32+x33 < 1 x41+x42+x43 < 1 x11+x21+x31+x41 = 1 x12+x22+x32+x42 = 1 x13+x23+x33+x43 = 1 xij = 0 or 1 for all i and j The optimal assignment is: Subcontractor Project Distance Westside C 16 Federated A 28 Goliath (unassigned) Universal B 25 Total Distance = 69 miles
Kerimcan OzcanMNGT 379 Operations Research13 Transshipment Problem Transshipment problems are transportation problems in which a shipment may move through intermediate nodes (transshipment nodes) before reaching a particular destination node. Transshipment problems can be converted to larger transportation problems and solved by a special transportation program. Transshipment problems can also be solved by general purpose linear programming codes. The network representation for a transshipment problem with two sources, three intermediate nodes, and two destinations is shown below c 13 c 14 c 23 c 24 c 25 c 15 s1s1s1s1 c 36 c 37 c 46 c 47 c 56 c 57 d1d1d1d1 d2d2d2d2 Sources Destinations s2s2s2s2 Demand Supply Intermediate Nodes
Kerimcan OzcanMNGT 379 Operations Research14 Transshipment Problem Linear Programming Formulation x ij represents the shipment from node i to node j Min c ij x ij i j s.t. x ij < s i for each origin i j x ik - x kj = 0 for each intermediate i j node k x ij = d j for each destination j i x ij > 0 for all i and j
Kerimcan OzcanMNGT 379 Operations Research15 Example: Zeron Shelving The Northside and Southside facilities of Zeron Industries supply three firms (Zrox, Hewes, Rockrite) with customized shelving for its offices. They both order shelving from the same two manufacturers, Arnold Manufacturers and Supershelf, Inc. Currently weekly demands by the users are 50 for Zrox, 60 for Hewes, and 40 for Rockrite. Both Arnold and Supershelf can supply at most 75 units to its customers. Because of long standing contracts based on past orders, unit costs from the manufacturers to the suppliers are: Zeron N Zeron S Arnold 5 8 Supershelf 7 4 The costs to install the shelving at the various locations are: Zrox Hewes Rockrite Thomas Washburn 3 4 4
Kerimcan OzcanMNGT 379 Operations Research16 Example: Zeron Shelving Network Representation Arnold SuperShelf Hewes Zrox ZeronN ZeronS Rock-Rite
Kerimcan OzcanMNGT 379 Operations Research17 Example: Zeron Shelving Linear Programming Formulation Decision Variables Defined x ij = amount shipped from manufacturer i to supplier j x jk = amount shipped from supplier j to customer k where i = 1 (Arnold), 2 (Supershelf) j = 3 (Zeron N), 4 (Zeron S) k = 5 (Zrox), 6 (Hewes), 7 (Rockrite) Objective Function Defined Minimize Overall Shipping Costs: Min 5x x x x x x x x x x 47 Constraints Defined Amount Out of Arnold: x 13 + x 14 < 75 Amount Out of Supershelf: x 23 + x 24 < 75 Amount Through Zeron N: x 13 + x 23 - x 35 - x 36 - x 37 = 0 Amount Through Zeron S: x 14 + x 24 - x 45 - x 46 - x 47 = 0 Amount Into Zrox: x 35 + x 45 = 50 Amount Into Hewes: x 36 + x 46 = 60 Amount Into Rockrite: x 37 + x 47 = 40 Non-negativity of Variables: x ij > 0, for all i and j.
Kerimcan OzcanMNGT 379 Operations Research18 Example: Zeron Shelving Objective Function Value = Variable Value Reduced Costs X X X X X X X X X X Constraint Slack/Surplus Dual Prices
Kerimcan OzcanMNGT 379 Operations Research19 Example: Zeron Shelving Optimal Solution Arnold SuperShelf Hewes Zrox ZeronN ZeronS Rock-Rite