1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.

Slides:



Advertisements
Similar presentations
Chapter 10, Part B Distribution and Network Models
Advertisements

1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
BU BU Decision Models Networks 1 Networks Models Summer 2013.
Network Flows. 2 Ardavan Asef-Vaziri June-2013Transportation Problem and Related Topics Table of Contents Chapter 6 (Network Optimization Problems) Minimum-Cost.
Transportation Problem (TP) and Assignment Problem (AP)
1 1 BA 452 Lesson B.2 Transshipment and Shortest Route ReadingsReadings Chapter 6 Distribution and Network Models.
1 1 Slides by John Loucks St. Edward’s University Modifications by A. Asef-Vaziri.
Chapter 10, Part A Distribution and Network Models
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Transportation, Assignment, and Transshipment Problems
1 1 Slide © 2001 South-Western College Publishing/Thomson Learning Anderson Sweeney Williams Anderson Sweeney Williams Slides Prepared by JOHN LOUCKS QUANTITATIVE.
Chapter 4 Network Models.
1 Network Models Chapter Introduction A network problem is one that can be represented by... Nodes Arcs Function on Arcs.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
Chapter 5: Transportation, Assignment and Network Models © 2007 Pearson Education.
BA 452 Lesson B.1 Transportation 1 1Review We will spend up to 30 minutes reviewing Exam 1 Know how your answers were graded.Know how your answers were.
1 1 Slide © 2006 Thomson South-Western. All Rights Reserved. Slides prepared by JOHN LOUCKS St. Edward’s University.
Chapter 2: Introduction to Linear Programming
Chapter 7 Network Flow Models.
Linear Programming Applications
Transportation, Assignment, Network Models
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
NetworkModel-1 Network Optimization Models. NetworkModel-2 Network Terminology A network consists of a set of nodes and arcs. The arcs may have some flow.
Max-flow/min-cut theorem Theorem: For each network with one source and one sink, the maximum flow from the source to the destination is equal to the minimal.
Kerimcan OzcanMNGT 379 Operations Research1 Transportation, Assignment, and Transshipment Problems Chapter 7.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1 1 Slide © 2009 South-Western, a part of Cengage Learning Slides by John Loucks St. Edward’s University.
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Network Models (2) Tran Van Hoai Faculty of Computer Science & Engineering HCMC University of Technology Tran Van Hoai.
Network Models Tran Van Hoai Faculty of Computer Science & Engineering HCMC University of Technology Tran Van Hoai.
Section 2.9 Maximum Flow Problems Minimum Cost Network Flows Shortest Path Problems.
1 1 Slide Transportation, Assignment, and Transshipment Professor Ahmadi.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
 Consists of nodes representing a set of origins and a set of destinations.  An arc is used to represent the route from each origins to each destinations.
Chapter 7 Transportation, Assignment, and Transshipment Problems
EMIS 8373: Integer Programming “Easy” Integer Programming Problems: Network Flow Problems updated 11 February 2007.
Network Optimization Problems
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide © 2009 South-Western, a part of Cengage Learning Slides by John Loucks St. Edward’s University.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
DISTRIBUTION AND NETWORK MODELS (1/2)
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
1 Network Models Transportation Problem (TP) Distributing any commodity from any group of supply centers, called sources, to any group of receiving.
EMIS 8374 Network Flow Models updated 29 January 2008.
Lecture 5 – Integration of Network Flow Programming Models Topics Min-cost flow problem (general model) Mathematical formulation and problem characteristics.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
IE 311 Operations Research– I
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Transportation, Assignment, and Transshipment Problems Pertemuan 7 Matakuliah: K0442-Metode Kuantitatif Tahun: 2009.
Network Flow Problems Example of Network Flow problems:
Chapter 8 Network Models to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c) 2004 Brooks/Cole,
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 Chapter 2 Notation and Definitions Data Structures Transformations.
Chapter 5: Transportation, Assignment and Network Models © 2007 Pearson Education.
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
Transportation, Assignment, and Network Models 9 To accompany Quantitative Analysis for Management, Twelfth Edition, by Render, Stair, Hanna and Hale Power.
St. Edward’s University
Transportation, Assignment and Network Models
Introduction Basic formulations Applications
Chapter 5 Transportation, Assignment, and Transshipment Problems
Chapter 6 Network Flow Models.
Slides by John Loucks St. Edward’s University.
REVIEW FOR EXAM 1 Chapters 3, 4, 5 & 6.
Presentation transcript:

1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Slides by JOHN LOUCKS St. Edward’s University INTRODUCTION TO MANAGEMENT SCIENCE, 13e Anderson Sweeney Williams Martin © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.

2 2 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Chapter 6, Part A Distribution and Network Models n Transportation Problem n Assignment Problem n Transshipment Problem n Shortest Route Problem n Maximum Flow Problem

3 3 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Transportation Problems (p.262) n Origin or Source node n Destination node n arcs n Minimize the total transportation cost meeting the supply availability and demand requirements. n Example (p.261) Production capacity of 3 plants Production capacity of 3 plants Demand forecasts for 4 distribution centers Demand forecasts for 4 distribution centers Network representation (p.262) Network representation (p.262) Transportation costs for each route. Transportation costs for each route.

4 4 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Transportation Problem n Linear Programming Formulation Using the notation: Using the notation: x ij = number of units shipped from x ij = number of units shipped from origin i to destination j origin i to destination j c ij = cost per unit of shipping from c ij = cost per unit of shipping from origin i to destination j origin i to destination j s i = supply or capacity in units at origin i s i = supply or capacity in units at origin i d j = demand in units at destination j d j = demand in units at destination j continued

5 5 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Transportation Problem n Linear Programming Formulation (p.267) x ij > 0 for all i and j

6 6 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Transportation Problems n LP formulation (p.264) n Output (p.264) n What is the solution? n How much is the total transportation cost n Is it dual solution or degenerate solution? Row Slack or Surplus Dual Price Row Slack or Surplus Dual Price Variable Value Reduced Cost X X X X X X X X X X X X X X X X X X X X X X X X

7 7 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Transportation Problems n If total supply is greater than the total demand? No change No change n If total supply is less than the total demand? Use dummy origin with 0 cost Use dummy origin with 0 cost example : Lexington demand is 2500

8 8 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. n LP Formulation Special Cases The objective is maximizing profit or revenue: The objective is maximizing profit or revenue: Minimum shipping guarantee from i to j : (p.266) Minimum shipping guarantee from i to j : (p.266) x ij > L ij x ij > L ij Maximum route capacity from i to j : Maximum route capacity from i to j : x ij < L ij x ij < L ij Unacceptable route: Unacceptable route: Remove the corresponding decision variable. Remove the corresponding decision variable. Transportation Problem Solve as a maximization problem.

9 9 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Assignment Problem (p.268) n Assign m workers to m jobs. n Minimize the total assignment cost n Cost info (p.268) n Assignment problem is a special case of transportation problem with all RHS are 1. n Network representation (p.269)

10 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. n Linear Programming Formulation Using the notation: Using the notation: x ij = 1 if agent i is assigned to task j x ij = 1 if agent i is assigned to task j 0 otherwise 0 otherwise c ij = cost of assigning agent i to task j c ij = cost of assigning agent i to task j Assignment Problem continued

11 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. n Linear Programming Formulation (continued) Assignment Problem x ij > 0 for all i and j

12 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Assignment Problem n LP formulation (p.270) n Output (p.270) n What is the solution? n What is the total completion time? n Is the solution dual solutions or degenerate? Variable Value Reduced Cost X X X X X X X X X X X X X X X X X X Row Slack or Surplus Dual Price Row Slack or Surplus Dual Price

13 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. n LP Formulation Special Cases Number of agents exceeds the number of tasks: Number of agents exceeds the number of tasks: Number of tasks exceeds the number of agents: Number of tasks exceeds the number of agents: Add enough dummy agents to equalize the Add enough dummy agents to equalize the number of agents and the number of tasks. number of agents and the number of tasks. The objective function coefficients for these The objective function coefficients for these new variable would be zero. new variable would be zero. Assignment Problem Extra agents simply remain unassigned.

14 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Assignment Problem n LP Formulation Special Cases (continued) The assignment alternatives are evaluated in terms of revenue or profit: The assignment alternatives are evaluated in terms of revenue or profit: Solve as a maximization problem. Solve as a maximization problem. An assignment is unacceptable: An assignment is unacceptable: Remove the corresponding decision variable. Remove the corresponding decision variable. An agent is permitted to work t tasks: An agent is permitted to work t tasks:

15 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Assignment Problem n If there are two more tasks with completion times (10, 18, 3) and (9, 14, 9) Min=10*x11+15*x12+9*x13+9*x21+18*x22+5*x23+6*x31+14*x32+3*x33 +10*x14+9*x15+18*x24+14*x25+3*x34+9*x35; +10*x14+9*x15+18*x24+14*x25+3*x34+9*x35; x11+x12+x13 +x14 +x15 <= 1; x21+x22+x23 +x24 +x25 <= 1; x21+x22+x23 +x24 +x25 <= 1; x31+x32+x33 +x34 +x35 <= 1; x31+x32+x33 +x34 +x35 <= 1; x11 +x21 +x31 +xd1 = 1; x12 +x22 +x32 +xd2 = 1; x12 +x22 +x32 +xd2 = 1; x13 +x23 +x33 +xd3 = 1; x13 +x23 +x33 +xd3 = 1; x14 +x24 +x34 +xd4 = 1; x14 +x24 +x34 +xd4 = 1; x15 +x25 +x35 +xd5 = 1; x15 +x25 +x35 +xd5 = 1; xd1 +xd2 +xd3 +xd4 +xd5 <= 2; n If task 1, 2 should be assigned remove xd1, xd2 in constraints 4 and 5.

16 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Assignment Problem n If there are two more tasks with completion times (10, 18, 3) and (9, 14, 9) Objective value = 17 Variable Value Reduced Cost Variable Value Reduced Cost X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X XD XD XD XD XD XD XD XD XD XD

17 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Transshipment Problem n A special case of transportation problem with transhipement nodes. n For transhipment nodes Flow out = Flow in  Flow out – Flow in = 0  Flow out – Flow in = 0 n Network representation (p.274) n Unit transportation cost (p.274, Table 6.5)

18 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Transshipment Problem n Linear Programming Formulation Using the notation: Using the notation: x ij = number of units shipped from node i to node j x ij = number of units shipped from node i to node j c ij = cost per unit of shipping from node i to node j c ij = cost per unit of shipping from node i to node j s i = supply at origin node i s i = supply at origin node i d j = demand at destination node j d j = demand at destination node j continued

19 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Transshipment Problem x ij > 0 for all i and j n Linear Programming Formulation (p.279) continued

20 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Transshipment Problem n LP formulation (p.276) n Output (p.276) n What is the solution? n How much is the total transportation cost? n Modified Example (p.277, Figure 6.9) n Formulation for modified example (p.278) n Output (p.278)

21 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Transshipment Problem n LP Formulation Special Cases Total supply not equal to total demand Total supply not equal to total demand Maximization objective function Maximization objective function Route capacities or route minimums Route capacities or route minimums Unacceptable routes Unacceptable routes The LP model modifications required here are identical to those required for the special cases in the transportation problem.

22 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Shortest-Route Problem (p.281) n Finding the shortest path in a network from one node (or set of nodes) to another node (or set of nodes). n All arcs are two-way (Figure 6.12) n Some arcs are two-way (Figure 6.13)

23 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. n Linear Programming Formulation Using the notation: Using the notation: x ij = 1 if the arc from node i to node j x ij = 1 if the arc from node i to node j is on the shortest route is on the shortest route 0 otherwise 0 otherwise c ij = distance, time, or cost associated c ij = distance, time, or cost associated with the arc from node i to node j with the arc from node i to node j continued Shortest-Route Problem

24 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. n Linear Programming Formulation (p.283) Shortest-Route Problem

25 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Shortest-Route Problem (p.281) n LP Formulation for Figure 6.13 (p.282) n Output (p.283) n What is the solution? 1 – 3 – 2 – 4 – 6 n What is the total distance? n For a single source shortest-route problem, there is Dijkstra’s algorithm.

26 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Shortest-Route Problem (p.281) n Dijkstra’s algorithm Start from the source Fro each node [min dist, previous node] 1. {1} 2 [25, 1] 3 [20, 1]*** 3 [20, 1]*** 2. {1, 3} 2 [23, 3]*** 5 [26, 3] 5 [26, 3] 3. {1, 3, 2} 4 [28, 2], 5 [26, 3]***, 6 [37, 2] 4. {1, 3, 2, 5} 4 [28, 2]***, 6 [32, 4] 5. {1, 3, 2, 5, 4} 6 [32, 4]*** 6 – 4 – 2 – 3 – 1 6 – 4 – 2 – 3 – 1

27 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Minimum spanning tree (p.281) n Connect all nodes with minimum total distance n Prim’s algorithm Start with any node Connect the closest node to connected set 1. {2} 1 [25, 2], 3 [3, 2]**, 4 [5, 2], 6 [14, 2] 2. {2, 3} 1 [20, 3], 4 [5, 2]**, 5 [6, 3], 6 [14, 2] 3. {2, 3, 4} 1 [20, 3], 5 [4, 4]**, 6 [4, 4]** 4. {2, 3, 4, 5, 6} 1 [20, 3]** 5. {1, 2, 3, 4, 5, 6} 1 – 3, 5 – 4 – 6, 4 – 2, 3 – 2

28 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Minimum spanning tree (p.281) n LP formulation Min = 25*x12 +20*x13 +3*x23 +5*x24 +14*x26 +6*x35 +4*x45 +4*x46 +7*x56; x12 +x13 +x23 +x24 +x26 +x35 +x45 +x46 +x56 >= 5; ! maximum arcs is 5; x13 +x23 +x24 +x26 +x35 +x45 +x46 +x56 >= 4; ! connect 1-2; x13 +x23 +x24 +x26 +x35 +x45 +x46 +x56 >= 4; ! connect 1-2; x12 +x23 +x24 +x26 +x35 +x45 +x46 +x56 >= 4; ! connect 1-3; x12 +x13 +x24 +x26 +x35 +x45 +x46 +x56 >= 4; ! connect 2-3; x12 +x13 +x23 +x26 +x35 +x45 +x46 +x56 >= 4; ! connect 2-4; x12 +x13 +x23 +x24 +x35 +x45 +x46 +x56 >= 4; ! connect 2-6; x12 +x13 +x23 +x24 +x26 +x45 +x46 +x56 >= 4; ! connect 3-5; x12 +x13 +x23 +x24 +x26 +x35 +x46 +x56 >= 4; ! connect 4-5; x12 +x13 +x23 +x24 +x26 +x35 +x45 +x56 >= 4; ! connect 4-6; x12 +x13 +x23 +x24 +x26 +x35 +x45 +x46 >= 4; ! connect 5-6; x24 +x26 +x35 +x45 +x46 +x56 >= 3; ! connect (123, 4, 5, 6); x24 +x26 +x35 +x45 +x46 +x56 >= 3; ! connect (123, 4, 5, 6); x13 +x23 +x26 +x35 +x45 +x46 +x56 >= 3; ! connect (1-2, 2-4), (124, 3, 5, 6); x13 +x23 +x26 +x35 +x45 +x46 +x56 >= 3; ! connect (1-2, 2-4), (124, 3, 5, 6); x13 +x23 +x24 +x35 +x45 +x46 +x56 >= 3; ! connect (1-2, 2-6), (126, 3, 4, 5); x13 +x23 +x24 +x35 +x45 +x46 +x56 >= 3; ! connect (1-2, 2-6), (126, 3, 4, 5); x12 +x23 +x24 +x26 +x45 +x46 +x56 >= 3; ! connect (1-3, 3-5), (135, 2, 4, 6; x12 +x13 +x26 +x35 +x45 +x46 +x56 >= 3; ! connect (2-3, 2-4), (234, 1, 5, 6); x12 +x13 +x24 +x26 +x45 +x46 +x56 >= 3; ! connect (2-3, 3-5), (235, 1, 4, 6); x12 +x13 +x24 +x35 +x45 +x46 +x56 >= 3; ! connect (2-3, 2-6), (236, 1, 4, 5); x12 +x13 +x23 +x26 +x35 +x46 +x56 >= 3; ! connect (2-4, 4-5), (245, 1, 3, 6); x12 +x13 +x23 +x35 +x45 +x56 >= 3; ! connect (246, 1, 3, 5); x12 +x13 +x23 +x24 +x35 +x45 +x46 >= 3; ! connect (2-6, 5-6), (256, 1, 3, 4); x12 +x13 +x23 +x24 +x26 +x46 +x56 >= 3; ! connect (3-5, 4-5), (345, 1, 2, 6); x12 +x13 +x23 +x24 +x26 +x45 +x46 >= 3; ! connect (3-5, 5-6), (356, 1, 2, 4); x12 +x13 +x23 +x24 +x26 +x35 >= 3; ! connect (456, 1, 2, 3);

29 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Minimum spanning tree (p.281) n LP formulation (continued) x26 +x35 +x45 +x46 +x56 >= 2; ! connect (1234, 5, 6); x26 +x35 +x45 +x46 +x56 >= 2; ! connect (1234, 5, 6); x24 +x26 +x45 +x46 +x56 >= 2; ! connect (1235, 4, 6); x24 +x26 +x45 +x46 +x56 >= 2; ! connect (1235, 4, 6); x24 +x35 +x45 +x46 +x56 >= 2; ! connect (1236, 4, 5); x24 +x35 +x45 +x46 +x56 >= 2; ! connect (1236, 4, 5); x13 +x23 +x26 +x35 +x46 +x56 >= 2; ! connect (1245, 3, 6); x13 +x23 +x26 +x35 +x46 +x56 >= 2; ! connect (1245, 3, 6); x13 +x23 +x35 +x45 +x56 >= 2; ! connect (1246, 3, 5); x13 +x23 +x35 +x45 +x56 >= 2; ! connect (1246, 3, 5); x13 +x23 +x24 +x35 +x45 +x46 >= 2; ! connect (1256, 3, 4); x13 +x23 +x24 +x35 +x45 +x46 >= 2; ! connect (1256, 3, 4); x12 +x23 +x24 +x26 +x46 +x56 >= 2; ! connect (1345, 2, 6); x12 +x23 +x24 +x26 +x45 +x46 >= 2; ! connect (1356, 2, 4); x12 +x13 +x26 +x46 +x56 >= 2; ! connect (2345, 1, 6); x12 +x13 +x35 +x45 +x56 >= 2; ! connect (2346, 1, 5); x12 +x13 +x24 +x45 +x46 >= 2; ! connect (2356, 1, 4); x12 +x13 +x23 +x35 >= 2; ! connect (2456, 1, 3); x12 +x13 +x23 +x24 +x26 >= 2; ! connect (3456, 1, 2); x26 +x46 +x56 >= 1; ! connect (12345, 6); x26 +x46 +x56 >= 1; ! connect (12345, 6); x35 +x45 +x56 >= 1; ! connect (12346, 5); x35 +x45 +x56 >= 1; ! connect (12346, 5); x24 +x45 +x46 >= 1; ! connect (12356, 4); x24 +x45 +x46 >= 1; ! connect (12356, 4); x13 +x23 +x35 >= 1; ! connect (12456, 3); x13 +x23 +x35 >= 1; ! connect (12456, 3); x12 +x23 +x24 +x26 >= 1; ! connect (13456, 2); x12 +x13 >= 1; ! connect (23456, 1); ! choose arcs from unselected nodes to any of selected nodes ! for nodes that can not be connected to any of selected nodes, choose all the outgoing arcs.

30 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Minimum spanning tree (p.281) n LP output Objective value: Objective value: Variable Value Reduced Cost Variable Value Reduced Cost X X X X X X X X X X X X X X X X X X Row Slack or Surplus Dual Price Row Slack or Surplus Dual Price

31 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Maximal Flow Problem n Maximal Flow Problem (p.284) n The maximal flow problem is concerned with determining the maximal volume of flow from one node (called the source) to another node (called the sink). n In the maximal flow problem, each arc has a maximum arc flow capacity which limits the flow through the arc.

32 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Example: Maximal Flow n A capacitated transshipment model can be developed for the maximal flow problem. n We will add an arc from the sink node back to the source node to represent the total flow through the network. n There is no capacity on the newly added sink-to- source arc. n We want to maximize the flow over the sink-to-source arc.

33 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Maximal Flow Problem n LP Formulation (as Capacitated Transshipment Problem) (as Capacitated Transshipment Problem) There is a variable for every arc. There is a variable for every arc. There is a constraint for every node; the flow out must equal the flow in. There is a constraint for every node; the flow out must equal the flow in. There is a constraint for every arc (except the added sink-to-source arc); arc capacity cannot be exceeded. There is a constraint for every arc (except the added sink-to-source arc); arc capacity cannot be exceeded. The objective is to maximize the flow over the added, sink-to-source arc. The objective is to maximize the flow over the added, sink-to-source arc.

34 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Maximal Flow Problem n LP Formulation (as Capacitated Transshipment Problem) (as Capacitated Transshipment Problem) Max x k 1 ( k is sink node, 1 is source node) Max x k 1 ( k is sink node, 1 is source node) s.t.  x ij -  x ji = 0 (conservation of flow) i j s.t.  x ij -  x ji = 0 (conservation of flow) i j x ij < c ij ( c ij is capacity of ij arc) x ij > 0, for all i and j (non-negativity) x ij > 0, for all i and j (non-negativity) (x ij represents the flow from node i to node j) (x ij represents the flow from node i to node j)

35 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Maximal Flow Problem n LP Formulation (pp.284–285) n Computer output (p.286) n What is the solution? n What is the maximum flow?

36 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. A production and Inventory application

37 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. A production and Inventory application n LP formulation (p.289) n Computer output (p.290) n What is the solution? n What is the total production and inventory cost?

38 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. End of Chapter 6, Part A