EMGT 5412 Operations Management Science Network Optimization Dincer Konur Engineering Management and Systems Engineering 1.

Slides:



Advertisements
Similar presentations
Network Models Robert Zimmer Room 6, 25 St James.
Advertisements

Network Models Robert Zimmer Room 6, 25 St James.
Outline LP formulation of minimal cost flow problem
Lesson 08 Linear Programming
Linear Programming (LP) (Chap.29)
1 Lecture 2 Shortest-Path Problems Assignment Problems Transportation Problems.
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.
Linear Programming Models & Case Studies
1 1 Slides by John Loucks St. Edward’s University Modifications by A. Asef-Vaziri.
Chapter 11 To accompany Quantitative Analysis for Management, Eleventh Edition, Global Edition by Render, Stair, and Hanna Power Point slides created by.
Transportation, Transshipment and Assignment Models and Assignment Models.
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science 5 th edition Cliff T. Ragsdale.
Chapter 5: Transportation, Assignment and Network Models © 2007 Pearson Education.
Table of Contents Chapter 6 (Network Optimization Problems)
Optimisation Methods Network Models.
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., NETWORKS.
Network Flow Models Chapter 7.
INTRODUCTION TO LINEAR PROGRAMMING
MNG221 - Management Science
1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
Introduction to Management Science
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.
Computational Methods for Management and Economics Carla Gomes
Transportation Model (Powerco) Send electric power from power plants to cities where power is needed at minimum cost Transportation between supply and.
Example 15.4 Distributing Tomato Products at the RedBrand Company
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.
Network Flows Based on the book: Introduction to Management Science. Hillier & Hillier. McGraw-Hill.
Computational Methods for Management and Economics Carla Gomes Module 9d Network Models Maximum Flow Problem (Slides adapted from J.Orlin’s and Hillier’s)
Table 1. Shipping costs, Supply, and Demand for Powerco Example
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Network Models Chapters 6 and 7.
7-1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Network Flow Models Chapter 7.
7-1 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Network Flow Models Chapter 7.
Operations Research Assistant Professor Dr. Sana’a Wafa Al-Sayegh 2 nd Semester ITGD4207 University of Palestine.
Networks and the Shortest Path Problem.  Physical Networks  Road Networks  Railway Networks  Airline traffic Networks  Electrical networks, e.g.,
Network Optimization Models
Chapter 5 Network Models. Thomson/South-Western 2007 © South-Western/Cengage Learning © 2012 Practical Management Science, 4e Winston/Albright Introduction.
Introduction to Operations Research
Network Models Tran Van Hoai Faculty of Computer Science & Engineering HCMC University of Technology Tran Van Hoai.
The Supply Chain Customer Supplier Manufacturer Distributor
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Table of Contents Chapter 6 (Network Optimization Problems) Minimum-Cost Flow Problems (Section.
Table of Contents Chapter 7 (Network Optimization Problems)
Network Optimization Problem
Spreadsheet Modeling & Decision Analysis:
Section 2.9 Maximum Flow Problems Minimum Cost Network Flows Shortest Path Problems.
1 Minimum Cost Flows Goal: Minimize costs to meet all demands in a network subject to capacities (combines elements of both shortest path and max flow.
Minimum Cost Flows. 2 The Minimum Cost Flow Problem u ij = capacity of arc (i,j). c ij = unit cost of shipping flow from node i to node j on (i,j). x.
Minimum Spanning Trees: Chapter 6s The Modern Corp. Problem Modern Corporation has decided to have a state-of-the-art fiber-optic network installed to.
. 1 Transportation and Assignment Problems. . 2 Applications Physical analog of nodes Physical analog of arcs Flow Communication systems phone exchanges,
Network Optimization Problems
Route Planning Texas Transfer Corp (TTC) Case 1. Linear programming Example: Woodcarving, Inc. Manufactures two types of wooden toys  Soldiers sell for.
DISTRIBUTION AND NETWORK MODELS (1/2)
Location decisions are strategic decisions. The reasons for location decisions Growth –Expand existing facilities –Add new facilities Production Cost.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 Network Models Transportation Problem (TP) Distributing any commodity from any group of supply centers, called sources, to any group of receiving.
IT Applications for Decision Making. Operations Research Initiated in England during the world war II Make scientifically based decisions regarding the.
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,
Chapter 5: Transportation, Assignment and Network Models © 2007 Pearson Education.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
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
MATS Quantitative Methods Dr Huw Owens
Introduction Basic formulations Applications
Spreadsheet Modeling & Decision Analysis
Chapter 5 Transportation, Assignment, and Transshipment Problems
Chapter 5 Network Modeling.
Chapter 6 Network Flow Models.
Network Flow Problems – Maximal Flow Problems
Presentation transcript:

EMGT 5412 Operations Management Science Network Optimization Dincer Konur Engineering Management and Systems Engineering 1

Outline Introduction Minimum-Cost Flow Problems (Chapter 6.1) Maximum Flow Problems (Chapter 6.2, 6.3) Shortest Path Problems (Chapter 6.4) Minimum Spanning Tree (Chapter 6s) 2

Outline Introduction Minimum-Cost Flow Problems (Chapter 6.1) Maximum Flow Problems (Chapter 6.2, 6.3) Shortest Path Problems (Chapter 6.4) Minimum Spanning Tree (Chapter 6s) 3

Introduction Network: A set of arcs and nodes –Arcs can be directed or undirected –Many practical problems have network representation 4

Outline Introduction Minimum-Cost Flow Problems (Chapter 6.1) Maximum Flow Problems (Chapter 6.2, 6.3) Shortest Path Problems (Chapter 6.4) Minimum Spanning Tree (Chapter 6s) 5

Minimum Cost Flow Problems The Distribution Unlimited Co. Problem –The Distribution Unlimited Co. has two factories producing a product that needs to be shipped to two warehouses Factory 1 produces 80 units. Factory 2 produces 70 units. Warehouse 1 needs 60 units. Warehouse 2 needs 90 units. 6

Minimum Cost Flow Problems –There are rail links directly from Factory 1 to Warehouse 1 and Factory 2 to Warehouse 2. –Independent truckers are available to ship up to 50 units from each factory to the distribution center, and then 50 units from the distribution center to each warehouse. 7

Minimum Cost Flow Problems –The cost and capacity of each link: –Question: How many units (truckloads) should be shipped along each shipping lane? 8

Minimum Cost Flow Problems A network representation –Flow on each arc to minimize total costs while shipping the demand? Positive value implies supply node Negative value implies demand node 0 value implies Transshipment node [arc capacity] Arc Cost 9

Minimum Cost Flow Problems Assumptions: –Flow through an arc is only allowed in the direction indicated by the arrowhead, where the maximum amount of flow is given by the capacity of that arc. –The network has enough arcs with sufficient capacity to enable all the flow generated at the supply nodes to reach all the demand nodes. –The cost of the flow through each arc is proportional to the amount of that flow, where the cost per unit flow is known (for the linear case) 10

Minimum Cost Flow Problems Formulate an LP for the minimum cost flow problem –Decision variables: Flow on each arc Number of decision variables = Number of arcs X(i,j): the flow on arc (i,j) Minimize Total Cost Subject to Flow-Balance Constraints Arc-Capacity Constraints Non-negativity Constraints 11

Minimum Cost Flow Problems Minimize Total Cost: –Minimize 700X(F1,W1) + 300X(F1,DC) + 200X(DC,W1) + 400X(DC,W2) + 400X(F2,DC) + 900X(F2,W2) Arc-capacity constraints –One for each arc (if the arc has a capacity) –X(i,j) <= Capacity(i,j) X(F1,DC)<=50 X(F2,DC)<=50 X(DC,W1)<=50 X(F2,W2)<=50 12 No need for arc capacity constraint for arcs with infinite capacity  (F1,W1) and (F2,W2)

Minimum Cost Flow Problems Net Flow Supply/Demand 13

Minimum Cost Flow Problems Flow-balance constraints –For node F1: What is going out: X(F1,DC) + X(F1,W1) What is coming in: Nothing Node value: 80 –For node DC: What is going out: X(DC,W1) + X(DC,W2) What is coming in: X(F1, DC) + X(F2, DC) Node value: 0 14 X (F1,DC) + X (F1,W1) = 80 [ X(DC,W1) + X(DC,W2) ] - [ X(F1,DC) + X(F2,DC) ] =0

Minimum Cost Flow Problems Flow-balance constraints –For node F2: What is going out: X(F2,DC) + X(F2,W2) What is coming in: Nothing Node value: 70 –For node W1: What is going out: Nothing What is coming in: X(F1,W1)+X(DC,W1) Node value: -60 –For node W2: What is going out: Nothing What is coming in: X(F2,W2)+X(DC,W2) Node value: X(F2,DC) + X(F2,W2) = 70 -[X(F1,W1) + X(DC,W1)] = -60 -[X(F2,DC) + X(F2,W2)]= -90

Minimum Cost Flow Problems Mathematical formulation: Minimize700X(F1,W1) + 300X(F1,DC) + 200X(DC,W1) +400X(DC,W2) + 400X(F2,DC) + 900X(F2,W2) Subject toX(F1,DC) + X(F1,W1) = 80 X(F2,DC) + X(F2,W2) = 70 [X(DC,W1) + X(DC,W2)] - [X(F1,DC) + X(F2,DC) ]=0 -[X(F1,W1) + X(DC,W1)] = -60 -[X(F2,DC) + X(F2,W2)]= -90 X(F1,DC)<=50 X(F2,DC)<=50 X(DC,W1)<=50 X(F2,W2)<=50 X(i,j)>=0 for all arcs (i,j) 16

Minimum Cost Flow Problems Spreadsheet Modeling 17

Minimum Cost Flow Problems The SUMIF formula can be used to simplify the node flow constraints. =SUMIF(Range A, x, Range B) For each quantity in (Range A) that equals x, SUMIF sums the corresponding entries in (Range B). The net flow (flow out – flow in) from node x is then =SUMIF(“From labels”, x, “Flow”) – SUMIF(“To labels”, x, “Flow”) 18

Minimum Cost Flow Problems The optimal solution 19

Minimum Cost Flow Problems Kind of Application Supply Nodes Transshipment Nodes Demand Nodes Operation of a distribution network Sources of goods Intermediate storage facilities Customers Solid waste management Sources of solid waste Processing facilities Landfill locations Operation of a supply network Vendors Intermediate warehouses Processing facilities Coordinating product mixes at plants Plants Production of a specific product Market for a specific product Cash flow management Sources of cash at a specific time Short-term investment options Needs for cash at a specific time 20

Minimum Cost Flow Problems Properties: –The Feasible Solutions Property Under the previous assumptions, a minimum-cost flow problem will have feasible solutions if and only if the sum of the supplies from its supply nodes equals the sum of the demands at its demand nodes. –The Integer Solutions Property As long as all the supplies, demands, and arc capacities have integer values, any minimum-cost flow problem with feasible solutions is guaranteed to have an optimal solution with integer values for all its flow quantities –Network Simplex: Modified Simplex for Min-cost flow 21

Minimum Cost Flow Problems Some tricks –Undirected arcs to directed arcs Because, in the optimum, we won’t send on both directions –Node capacity: Suppose you cannot send more than 10 units through node X (all arcs are directed!) Same applies to node cost $10 [5] $10 [5] $10 [5] 22

Minimum Cost Flow Problems If node X is a demand node: If node X is a transshipment node: If node X is a supply node: x x 0 a a b b $0 [10] x x 25 a a b b $0 [10] 25 0 x x a a b b $0 [10] 0 -25

Minimum Cost Flow Problems Some tricks –Excess supply does not necessarily imply infeasibility –How can you modify your network representation such that when there is excess supply you still can formulate the min-cost-flow problem with = constraints for the flow balance constraints? A dummy demand node with demand equal to excess supply Arcs from each original node to this dummy node with cost 0 and capacity very large 24

Outline Introduction Minimum-Cost Flow Problems (Chapter 6.1) Maximum Flow Problems (Chapter 6.2, 6.3) Shortest Path Problems (Chapter 6.4) Minimum Spanning Tree (Chapter 6s) 25

Maximum Flow Problems The BMZ Co. Problem –The BMZ Company is a European manufacturer of luxury automobiles. Its exports to the United States are particularly important. BMZ cars are becoming especially popular in California, so it is particularly important to keep the Los Angeles center well supplied with replacement parts for repairing these cars. BMZ needs to execute a plan quickly for shipping as much as possible from the main factory in Stuttgart, Germany to the distribution center in Los Angeles over the next month. The limiting factor on how much can be shipped is the limited capacity of the company’s distribution network. 26

Maximum Flow Problems 27

Maximum Flow Problems How many units should be sent through each shipping lane to maximize the total units flowing from Stuttgart to Los Angeles? 28

Maximum Flow Problems Mathematical formulation: 29 No flow balance constraints for the sinks and sources A Flow balance constraint for intermediate nodes Arc capacity constraint for each arc Non-negativity

Maximum Flow Problems Spreadsheet Modeling 30

Maximum Flow Problems Assumptions: –All flow through the network originates at one node, called the source, and terminates at one other node, called the sink. (The source and sink in the BMZ problem are the factory and the distribution center, respectively.) –All the remaining nodes are transshipment nodes. –Flow through an arc is only allowed in the direction indicated by the arrowhead, where the maximum amount of flow is given by the capacity of that arc. At the source, all arcs point away from the node. At the sink, all arcs point into the node. –The objective is to maximize the total amount of flow from the source to the sink. This amount is measured in either of two equivalent ways, namely, either the amount leaving the source or the amount entering the sink. 31

Maximum Flow Problems Formulate the LP model? What is the relation of maximum flow problem with the minimum cost flow problem? –Reduce the minimum cost flow problem to a maximum flow problem… 32

Maximum Flow Problems Extension to Multiple Supply/Demand Points –BMZ has a second, smaller factory in Berlin. –The distribution center in Seattle has the capability of supplying parts to the customers of the distribution center in Los Angeles when shortages occur at the latter center. –How many units should be sent through each shipping lane to maximize the total units flowing from Stuttgart and Berlin to Los Angeles and Seattle? 33

Maximum Flow Problems 34

Maximum Flow Problems Spreadsheet Modeling 35

Maximum Flow Problems Applications: –Maximize the flow through a distribution network, as for BMZ. –Maximize the flow through a company’s supply network from its vendors to its processing facilities. –Maximize the flow of oil through a system of pipelines. –Maximize the flow of water through a system of aqueducts. –Maximize the flow of vehicles through a transportation network. 36

Outline Introduction Minimum-Cost Flow Problems (Chapter 6.1) Maximum Flow Problems (Chapter 6.2, 6.3) Shortest Path Problems (Chapter 6.4) Minimum Spanning Tree (Chapter 6s) 37

Shortest Path Problems Littletown Fire Department Problem –Littletown is a small town in a rural area –Its fire department serves a relatively large geographical area that includes many farming communities. –Since there are numerous roads throughout the area, many possible routes may be available for traveling to any given farming community. Which route from the fire station to a certain farming community minimizes the total number of miles? 38

Shortest Path Problems The Littletown road system 39

Shortest Path Problems Network representation Destination Origin T H D A O B C E F G 40

Shortest Path Problems Spreadsheet Modeling 41

Shortest Path Problems Shortest path is Destination Origin T H D A O B C E F G 6 42

Shortest Path Problems Assumptions: –You need to choose a path through the network that starts at a certain node, called the origin, and ends at another certain node, called the destination. –The lines connecting certain pairs of nodes commonly are links (which allow travel in either direction), although arcs (which only permit travel in one direction) also are allowed. –Associated with each link (or arc) is a nonnegative number called its length. (Be aware that the drawing of each link in the network typically makes no effort to show its true length other than giving the correct number next to the link.) –The objective is to find the shortest path (the path with the minimum total length) from the origin to the destination. 43

Shortest Path Problems Applications: –Minimize the total distance traveled. –Minimize the total cost of a sequence of activities. –Minimize the total time of a sequence of activities. Relation to minimum cost flow problems? –Model shortest path as minimum cost flow –What if you want to find shortest paths from one origin to many destinations? 44

Shortest Path Problems Buying a car –Sarah has just graduated from high school. As a graduation present, her parents have given her a car fund of $21,000 to help purchase and maintain a three- year-old used car for college –Since operating and maintenance costs go up rapidly as the car ages, Sarah may trade in her car on another three-year-old car one or more times during the next three summers if it will minimize her total net cost. (At the end of the four years of college, her parents will trade in the current used car on a new car for Sarah.) When should Sarah trade in her car (if at all) during the next three summers? 45

Shortest Path Problems Cost data Operating and Maintenance Costs for Ownership Year Trade-in Value at End of Ownership Year Purchase Price $12,000$2,000$3,000$4,500$6,500$8,500$6,500$4,500$3,000  Arc length = Purchase Price + O/M Costs – Trade-In 46

Shortest Path Problems Network representation 47

Shortest Path Problems 48

Shortest Path Problems 49

Shortest Path Problems Quick Company problem: –The Quick Company has learned that a competitor is planning to come out with a new kind of product with great sales potential. Quick has been working on a similar product that had been scheduled to come to market in 20 months. Quick’s management wishes to rush the product out to meet the competition. –Each of four remaining phases can be conducted at a normal pace, at a priority pace, or at crash level to expedite completion. However, the normal pace has been ruled out as too slow for the last three phases. –$30 million is available for all four phases. At what pace should each of the phases be conducted? 50

Shortest Path Problems Time and cost of four phases Level Remaining ResearchDevelopment Design of Mfg. System Initiate Production and Distribution Normal5 months——— Priority4 months3 months5 months2 months Crash2 months 3 months1 month Level Remaining ResearchDevelopment Design of Mfg. System Initiate Production and Distribution Normal$3 million——— Priority6 million$6 million$9 million$3 million Crash9 million 12 million6 million 51

Shortest Path Problems Shortest Path representation State: (# of phases complete, remaining budget) 52

Shortest Path Problems Spread- sheet Modeling 53

Spreadsheet Modeling Optimal solution PhaseLevelTimeCost Remaining researchCrash2 months$9 million DevelopmentPriority3 months6 million Design of manufacturing systemCrash3 months12 million Initiate production and distributionPriority2 months3 million Total10 months$30 million 54

Shortest Path Problems 10 months, $30M 55

Outline Introduction Minimum-Cost Flow Problems (Chapter 6.1) Maximum Flow Problems (Chapter 6.2, 6.3) Shortest Path Problems (Chapter 6.4) Minimum Spanning Tree (Chapter 6s) 56

Minimum Spanning Tree Design a network that connects all nodes at minimum cost. Applications –communications –electricity –pipelines –commuter networks 57

Minimum Spanning Tree Example

Minimum Spanning Tree Solution Algorithm: 1.Select the cheapest link. 2.Select the cheapest potential link between a connected node and an unconnected node. 3.Repeat until all nodes are connected. Note: Ties may be broken arbitrarily! There may or may not be multiple optimal solutions. 59

Minimum Spanning Tree Example

Minimum Spanning Tree Example

Minimum Spanning Tree Example

Minimum Spanning Tree Example

Minimum Spanning Tree Example

Minimum Spanning Tree Example

Minimum Spanning Tree Example

Minimum Spanning Tree Example

Minimum Spanning Tree Example

Minimum Spanning Tree Example

Minimum Spanning Tree Example

Minimum Spanning Tree Applications –Design of telecommunication networks (computer networks, lease-line telephone networks, cable television networks, etc.) –Design of a lightly-used transportation network to minimize the total cost of providing the links (rail lines, roads, etc.) –Design of a network of high-voltage electrical power transmission lines. –Design of a network of wiring on electrical equipment (e.g., a digital computer system) to minimize the total length of the wire. –Design of a network of pipelines to connect a number of locations. 71

Further Study Review Chapter 6 –All of the problems of Chapter 6 –All of the cases from Chapter 6 Advanced study?? –Network Flows by Ahuja, Magnanti, and Orlin 72