1Other Network ModelsLesson 6 LECTURE SIX Other Network Models.

Slides:



Advertisements
Similar presentations
ITS THE FINAL LECTURE! (SING IT, YOU KNOW YOU WANT TO) Operations Research.
Advertisements

Outline LP formulation of minimal cost flow problem
BU BU Decision Models Networks 1 Networks Models Summer 2013.
Shortest Paths Text Discrete Mathematics and Its Applications (5 th Edition) Kenneth H. Rosen Chapter 9.6 Based on slides from Chuck Allison, Michael T.
1 Network Models Chapter 4 2 For a given network find the path of minimum distance, time, or cost from a starting point, the start node, to a destination,
Transportation Problem (TP) and Assignment Problem (AP)
Chapter 11 To accompany Quantitative Analysis for Management, Eleventh Edition, Global Edition by Render, Stair, and Hanna Power Point slides created by.
1 Network Models Chapter Introduction A network problem is one that can be represented by... Nodes Arcs Function on Arcs.
1Transportation ModelsLesson 4 LECTURE FOUR Transportation Models.
Chapter 7 Graph Theory 7.1 Modeling with graphs and finding Euler circuits. Learning Objectives: Know how to use graphs as models and how to determine.
Management Science 461 Lecture 2b – Shortest Paths September 16, 2008.
Math443/543 Mathematical Modeling and Optimization
Chapter 7 Network Flow Models.
Network Flow Models Chapter 7.
MNG221 - Management Science
To accompany Quantitative Analysis for Management, 9e by Render/Stair/Hanna 12-1 © 2006 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 12.
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.
Ch. 11: Optimization and Search Stephen Marsland, Machine Learning: An Algorithmic Perspective. CRC 2009 some slides from Stephen Marsland, some images.
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 Models.
Transportation and Transshipment Models
1 Network Models Chapter 4 2 For a given network find the path of minimum distance, time, or cost from a starting point, the start node, to a destination,
Operations Research Assistant Professor Dr. Sana’a Wafa Al-Sayegh 2 nd Semester ITGD4207 University of Palestine.
Network Optimization Models
Network Models (2) Tran Van Hoai Faculty of Computer Science & Engineering HCMC University of Technology Tran Van Hoai.
Copyright 2006 John Wiley & Sons, Inc. Beni Asllani University of Tennessee at Chattanooga Operations Management - 6 hh Edition Chapter 11 Supplement Roberta.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Network Optimization Problems
1 1 Slide © 2009 South-Western, a part of Cengage Learning Slides by John Loucks St. Edward’s University.
An-Najah N. University Faculty of Engineering and Information Technology Department of Management Information systems Operations Research and Applications.
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.
Traveling Salesman Problem (TSP)
___________________________________________________________________________ ___________________________________________________________________________.
Shortest Paths Text Discrete Mathematics and Its Applications (5 th Edition) Kenneth H. Rosen Chapter 8.6 Based on slides from Chuck Allison, Michael T.
___________________________________________________________________________ ___________________________________________________________________________.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
1 TCOM 5143 Lecture 10 Centralized Networks: Time Delay and Cost Tradeoffs.
Chapter 20: Graphs. Objectives In this chapter, you will: – Learn about graphs – Become familiar with the basic terminology of graph theory – Discover.
::Network Optimization:: Minimum Spanning Trees and Clustering Taufik Djatna, Dr.Eng. 1.
Transportation, Assignment, and Network Models 9 To accompany Quantitative Analysis for Management, Twelfth Edition, by Render, Stair, Hanna and Hale Power.
1 Network Models. Context Mathematical programming –Linear programming – Supp to Chap 14 –Integer programming – Network programming – Suppl to Chap 11.
1 Chapter 13 Mathematical models of networks give us algorithms so computationally efficient that we can employ them to evaluate problems too big to be.
Network Models Chapter 12
St. Edward’s University
Network Simplex Animations
Chapter 12 Network Models 12-1
1.3 Modeling with exponentially many constr.
Network Models.
Network Models.
Shortest Paths Discrete Mathematics and Its Applications (7th Edition)
Heuristics Definition – a heuristic is an inexact algorithm that is based on intuitive and plausible arguments which are “likely” to lead to reasonable.
Discrete Mathematics and Its Applications (5th Edition)
Route Optimization Problems and Google Maps
Shortest Paths Discrete Mathematics and Its Applications (7th Edition)
MATS Quantitative Methods Dr Huw Owens
Introduction Basic formulations Applications
Network Models 7-1.
1.3 Modeling with exponentially many constr.
Discrete Mathematics and Its Applications (5th Edition)
Spanning Tree Algorithms
Network Models Chapter 12
Chapter 6 Network Flow Models.
Shortest Paths Discrete Mathematics and Its Applications (8th Edition)
Chapter 6 Network Models.
Shortest Paths Discrete Mathematics and Its Applications (7th Edition)
Shortest Paths Discrete Mathematics and Its Applications (7th Edition)
REVIEW FOR EXAM 1 Chapters 3, 4, 5 & 6.
Presentation transcript:

1Other Network ModelsLesson 6 LECTURE SIX Other Network Models

2Other Network ModelsLesson 6 The Shortest Path Problem For a given network find the path of minimum distance, time, or cost from a starting point, the start node, to a destination, the terminal node. For a given network find the path of minimum distance, time, or cost from a starting point, the start node, to a destination, the terminal node.

3Other Network ModelsLesson 6 Problem definition –There are n nodes, beginning with start node 1 and ending with terminal node n. –Bi-directional arcs connect connected nodes i and j with nonnegative distances, d i j. –Find the path of minimum total distance that connects node 1 to node n. The Shortest Path Problem

4Other Network ModelsLesson 6 Fairway Van Lines Determine the shortest route from Seattle to El Paso over the following network highways.

5Other Network ModelsLesson 6 Salt Lake City El Paso Seattle Boise Portland Butte Cheyenne Reno Sac. Bakersfield Las Vegas Denver Albuque. Kingman Barstow Los Angeles San Diego Tucson Phoenix

6Other Network ModelsLesson 6 SEA. BUT 599 POR BOI POR. BOI 432 SAC == BOI BOI. 345 SLC + =842 BUT. SLC420CHY == SLC. SLC SLC. SAC. An illustration of the Dijkstra’s algorithm … and so on until the … and so on until the whole network whole network is covered. is covered.

7Other Network ModelsLesson 6 Dijkstra’s algorithm Example: Look at the network of routes (diagram below) with distances marked on each link. Find the shortest distance from node 1 to each of all the other nodes. 7

8Other Network ModelsLesson 6 The Maximal Flow Problem The model is designed to reduce or eliminate bottlenecks between a certain starting point and some destination of a given network.The model is designed to reduce or eliminate bottlenecks between a certain starting point and some destination of a given network. A flow travels from a single source to a single sink over arcs connecting intermediate nodes.A flow travels from a single source to a single sink over arcs connecting intermediate nodes. Each arc has a capacity that cannot be exceeded.Each arc has a capacity that cannot be exceeded. Capacities need not be the same in each direction on an arc.Capacities need not be the same in each direction on an arc.

9Other Network ModelsLesson 6 UNITED CHEMICAL COMPANY United Chemical produces pesticides and lawn care products.United Chemical produces pesticides and lawn care products. Poisonous chemicals needed for the production process are held in a huge drum.Poisonous chemicals needed for the production process are held in a huge drum. A network of pipes and valves regulates the chemical flow from the drum to different production areas.A network of pipes and valves regulates the chemical flow from the drum to different production areas.

10Other Network ModelsLesson 6 UNITED CHEMICAL COMPANY The safety division must plan a procedure to empty the drum as fast as possible into a safety tub in the disposal area, using the same network of pipes and valves.The safety division must plan a procedure to empty the drum as fast as possible into a safety tub in the disposal area, using the same network of pipes and valves. The plan must determineThe plan must determine –which valves to open and shut –the estimated time for total discharge

11Other Network ModelsLesson 6 ChemicalDrum Safe Tub Maximum flow from 2 to 4 is 8 No flow is allowed from 4 to 2.

12Other Network ModelsLesson 6 Linear Programming Approach – Decision variables X ij - the flow from node i to node j on the arc that X ij - the flow from node i to node j on the arc that connects these two nodes connects these two nodes – Objective function - Maximize the flow out of node 1 - Maximize the flow out of node 1 Max X12 + X13

13Other Network ModelsLesson 6 Constraints [Total flow Out of node 1] = [Total flow entering node 7] X12 +X13 = X47 + X57 + X67 [For each intermediate node: Flow into = flow out from] Node 2: X12 + X32 = X23 +X24 + X26 Node 3:X13 +X = X32 +X35 + X36 Node 4:X24 +X64 = X46 + X47 Node 5:X35 +X65 = X56 + X57 Node 6:X26 +X36 + X46 +X56= X63 +X64 +X65 + X67

14Other Network ModelsLesson 6 Constraints (con’t) [Flow cannot exceed arc capacities] X12 10; X13 10; X23 1; X24 8; X26 6; X32 1; X35 15; X36 4; X46 3; X47 7; X56 2; X57 8; X63 4; X64 3; X65 2; X67 2; [Flow cannot be negative] All X ij 0

15Other Network ModelsLesson 6 This problem is relatively small and a solution can be obtained rather quickly by a linear programming model.This problem is relatively small and a solution can be obtained rather quickly by a linear programming model. However, for large network problems, there is a more efficient approachHowever, for large network problems, there is a more efficient approach

16Other Network ModelsLesson 6 The WINQSB Maximum Flow Optimal Solution ChemicalDrum Safe Tub Maximum Flow= 17

17Other Network ModelsLesson 6 Solving Maximal Flow Networks Manually Worked example 5.14 (page 185 – 189 ) See demonstration by Lecturer

18Other Network ModelsLesson 6 The Minimal Spanning Tree This problem arises when all the nodes of a given network must be connected to one another, without any loop.This problem arises when all the nodes of a given network must be connected to one another, without any loop. The minimal spanning tree approach is appropriate for problems for which redundancy is expensive, or the flow along the arcs is considered instantaneous.The minimal spanning tree approach is appropriate for problems for which redundancy is expensive, or the flow along the arcs is considered instantaneous.

19Other Network ModelsLesson 6 THE METROPOLITAN TRANSIT DISTRICT The City of Vancouver is planning the development of a new light rail transportation system.The City of Vancouver is planning the development of a new light rail transportation system. The system should link 8 residential and commercial centers.The system should link 8 residential and commercial centers.

20Other Network ModelsLesson 6 THE METROPOLITAN TRANSIT DISTRICT The Metropolitan transit district needs to select the set of lines that will connect all the centers at a minimum total cost.The Metropolitan transit district needs to select the set of lines that will connect all the centers at a minimum total cost. The network describes:The network describes: – feasible lines that have been drafted, – minimum possible cost for taxpayers per line.

21Other Network ModelsLesson West Side North Side University BusinessDistrict East Side ShoppingCenter South Side CityCenter SPANNING TREE NETWORK PRESENTATION

22Other Network ModelsLesson 6 22 Solution - a network approach (See Textbook) The algorithm that solves this problem is a very trivial greedy procedure. Two versions of the algorithm are described. The algorithm – version 1: –Start by selecting the smallest arc, and adding it to a set of selected arcs (currently contains only the first arc). –At each iteration, add the next smallest arc to the set of selected arcs, unless it forms a cycle. –Finish when all nodes are connected. THE METROPOLITAN TRANSIT DISTRICT

23Other Network ModelsLesson 6 23 The algorithm – version 2: –Start by selecting the smallest arc creating the set of connected arcs. –At each iteration add the smallest unselected arc that has a connection to the connected set, but do not create a cycle. –Finish when all nodes are connected See demonstration of version 2 next THE METROPOLITAN TRANSIT DISTRICT

24Other Network ModelsLesson 6 24 Shopping Center Loop West Side North Side University Business District East Side South Side City Center Total Cost = $236 million OPTIMAL SOLUTION NETWORK REPRESENTATION 5 Loop

25Other Network ModelsLesson 6 25 Shopping Center West Side North Side University Business District East Side South Side City Center Total Cost = $236 million OPTIMAL SOLUTION NETWORK REPRESENTATION Loop 1 62

26Other Network ModelsLesson 6 WINQSB Optimal Solution

27Other Network ModelsLesson 6 Minimal Spanning Tree Example 27

28Other Network ModelsLesson 6 A tour begins at a home city, visits every city (node) in a given network exactly once, and returns to the home city. The objective is to minimize the travel time/distance. The Traveling Salesman Problem Problem definition Problem definition – There are m nodes. – Unit cost C ij is associated with utilizing arc (i,j) – Find the cycle that minimizes the total cost required to visit all the nodes exactly once.

29Other Network ModelsLesson 6 Importance: –Variety of scheduling application can be solved as a traveling salesmen problem. –Examples : Ordering drill position on a drill press. School bus routing. Military bombing sorties. –The problem has theoretical importance because it represents a class of difficult problems known as NP-hard problems. Complexity Complexity Writing the mathematical model and solving this problem are both cumbersome (a problem with 20 cities requires over 500,000 linear constraints.)

30Other Network ModelsLesson 6 THE FEDERAL EMERGENCY MANAGEMENT AGENCY A visit must be made to four local offices of FEMA, going out from and returning to the same main office in Northridge, Southern California. A visit must be made to four local offices of FEMA, going out from and returning to the same main office in Northridge, Southern California. Travel time between offices (minutes)

31Other Network ModelsLesson Home FEMA traveling salesman network representation

32Other Network ModelsLesson 6 The FEMA problem - A full enumeration Possible cycles CycleTotal Cost 1. H-O1-O2-O3-O4-H H-O1-O2-O3-O4-H H-O1-O2-O4-O3-H H-O1-O2-O4-O3-H H-O1-O3-O2-O3-H H-O1-O3-O2-O3-H H-O1-O3-O4-O2-H H-O1-O3-O4-O2-H H-O1-O4-O2-O3-H H-O1-O4-O2-O3-H H-O1-O4-O3-O2-H H-O1-O4-O3-O2-H H-O2-O3-O1-O4-H H-O2-O3-O1-O4-H H-O2-O1-O3-O4-H H-O2-O1-O3-O4-H H-O2-O4-O1-O3-H H-O2-O4-O1-O3-H H-O2-O1-O4-O3-H H-O3-O1-O2-O4-H H-O3-O1-O2-O4-H260 Minimum For this problem we have (5-1)! / 2 = 12 cycles. Symmetrical problems have (m-1)! / 2 cycles to enumerate

33Other Network ModelsLesson 6 WINQSB input data for the Traveling Salesman problem

34Other Network ModelsLesson 6 WINQSB Solution - by the combination of the Assignment problem and the Branch and Bound technique WINQSB Solution - by the combination of the Assignment problem and the Branch and Bound technique

35Other Network ModelsLesson Home

36Other Network ModelsLesson 6 QUESTIONS