Networks and the Shortest Path Problem.  Physical Networks  Road Networks  Railway Networks  Airline traffic Networks  Electrical networks, e.g.,

Slides:



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

WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 20 Network Problems.
BU BU Decision Models Networks 1 Networks Models Summer 2013.
Chapter 11 To accompany Quantitative Analysis for Management, Eleventh Edition, Global Edition by Render, Stair, and Hanna Power Point slides created by.
WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 22 Network Problems.
Chapter 7: Transportation Models Skip Ship Routing & Scheduling (pp ) Service Selection Shortest Path Transportation Problem Vehicle Routing &
Management Science 461 Lecture 2b – Shortest Paths September 16, 2008.
Network Optimization Models: Maximum Flow Problems
Computational Methods for Management and Economics Carla Gomes Module 9a Network Models Terminology (Slides adapted from J.Orlin’s)
Network Optimization Problems: Models and Algorithms This handout: Minimum Spanning Tree Problem.
Optimisation Methods Network Models.
Graphs and Trees This handout: Trees Minimum Spanning Tree Problem.
Network Optimization Models: Maximum Flow Problems In this handout: The problem statement Solving by linear programming Augmenting path algorithm.
Chapter 7 Network Flow Models.
Chapter 11 Network Models. What You Need to Know For each of the three models: –What is the model? (what are given and what is to calculate) –What is.
© 2008 Prentice-Hall, Inc. Chapter 12 To accompany Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna Power Point slides.
Network Flow Models Chapter 7.
Transportation, Assignment, Network Models
Graphs & Graph Algorithms 2 Fawzi Emad Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
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.
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 Module 9d Network Models Maximum Flow Problem (Slides adapted from J.Orlin’s and Hillier’s)
C o n f i d e n t i a l HOME NEXT Subject Name: Data Structure Using C Unit Title: Graphs.
Table 1. Shipping costs, Supply, and Demand for Powerco Example
Shortest Route, Minimal Spanning Tree and Maximal Flow Models
Operations Research Assistant Professor Dr. Sana’a Wafa Al-Sayegh 2 nd Semester ITGD4207 University of Palestine.
Network Optimization Models
Introduction to Operations Research
COSC 2007 Data Structures II Chapter 14 Graphs III.
EMIS 8373: Integer Programming “Easy” Integer Programming Problems: Network Flow Problems updated 11 February 2007.
Network Optimization Problems
Welcome to MM305 Unit 6 Seminar Larry Musolino
O A BD T EC [2,O] 1 2,3 [4,0] [4,A] 4 [9,A] [7,B] [8,C] 5 [8,B] [8,E] 6 [13,D] [14,E] SHORTEST PATH – SERADA PARK UNDIRECTED GRAPH.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
CS 4407, Algorithms University College Cork, Gregory M. Provan Network Optimization Models: Maximum Flow Problems In this handout: The problem statement.
Minimal Spanning Tree Problems in What is a minimal spanning tree An MST is a tree (set of edges) that connects all nodes in a graph, using.
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.
Graphs A ‘Graph’ is a diagram that shows how things are connected together. It makes no attempt to draw actual paths or routes and scale is generally inconsequential.
Transportation Problem
Welcome Unit 6 Seminar MM305 Wednesday 8:00 PM ET Quantitative Analysis for Management Delfina Isaac.
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.
ENGM 631 Minimum Spanning Tree. Prototype Example Seervada Park Trams route smallest total distance Phone lines minimum spanning tree Tram limitations.
Graphs Definition: a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected.
Network Problems A D O B T E C
Chapter 14 Section 3 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Lecture 20. Graphs and network models 1. Recap Binary search tree is a special binary tree which is designed to make the search of elements or keys in.
SHORTEST ROUTE PROBLEM A Networking Model Report for DPA 702 QUANTITATIVE METHODS OF RESEARCH By: ALONA M. SALVA Cebu Technological University.
1 1 Slide © 2005 Thomson/South-Western Chapter 9 Network Models n Shortest-Route Problem n Minimal Spanning Tree Problem n Maximal Flow Problem.
Network Models Chapter 12
St. Edward’s University
Shortest Path from G to C Using Dijkstra’s Algorithm
Network Optimization Models
Network Models Chapter 12
Chapter 12 Network Models 12-1
Spanning Trees.
Business Statistics with Quantitative Analysis
Transportation, Assignment and Network Models
Graphs Chapter 11 Objectives Upon completion you will be able to:
MATS Quantitative Methods Dr Huw Owens
Introduction Basic formulations Applications
Lecture 19-Problem Solving 4 Incremental Method
Network Models 7-1.
Prepared by Lee Revere and John Large
Chapter 5 Transportation, Assignment, and Transshipment Problems
Network Models Chapter 12
Chapter 6 Network Flow Models.
Shortest Path Solutions
Presentation transcript:

Networks and the Shortest Path Problem

 Physical Networks  Road Networks  Railway Networks  Airline traffic Networks  Electrical networks, e.g., the power grid  Abstract networks  organizational charts  precedence relationships in projects  Others?

 Networks and graphs are powerful modeling tools.  Most OR models have networks or graphs as a major aspect  Each representation has its advantages  Major purpose of a representation  efficiency in algorithms  ease of use

Many important optimization problems can be analyzed by means of graphical or network representation. In this chapter the following network models will be discussed: 1. Shortest path problems 2. Maximum flow problems 3. CPM-PERT project scheduling models 4. Minimum Cost Network Flow Problems 5. Minimum spanning tree problems

Most efficient way to go from one point to another in a distance network or networks representing non-distance phenomenon, e.g., the “cost network” representing production, inventory, and other costs

 Networks – consists of a set of points and a set of lines connecting certain points.  Nodes – The points in the network  Arcs – The lines in the network  Directed Arc – An arc for which flow is allowed in only one direction  Undirected Arc – An arc for which flow is allowed in both directions  Directed Network – A network with only directed arcs  Undirected Network – A network with only undirected arcs  Directed Path – A sequence of arcs from node i to node j such that all arcs are directed towards node j  Undirected Path – A sequence of arcs from node i to node j such that all arcs can be directed either towards or away from node j

 Cycle – A path that begins and ends at the same node  Connected – Two nodes with at least one undirected path between them  Connected Network – A network where every pair of nodes is connected  Tree – A network without any cycles and with the number of connected nodes being greater than the number of arcs  Spanning Tree – A tree that is a connected network  Arc Capacity – The maximum flow that can be carried on a directed arc  Supply Node – Flow out of the node exceeds flow into the node  Demand Node – Flow into the node exceeds flow out of the node  Transshipment Node – Flow into the node equals flow out of the node

A minimum spanning tree is a spanning tree with minimum weight. (a)undirected network (b) spanning tree of (a) (c) a tree of (a) (d) directed network(e) tree of (d)

 Consider an undirected and connected network with two special nodes called the origin and the destination.  Associated with each of the links (undirected arcs) is a nonnegative distance. The objective is to find the shortest path (the path with the minimum total distance) from the origin to the destination.

 Objective of n th iteration: Find the n th nearest node to the origin (to be repeated for n = 1,2,... until the n th nearest node is the destination.)  Input for n th iteration: n - 1 nearest nodes to the origin (solved for at the previous iterations), including their shortest path and distance from the origin. (These nodes, plus the origin, will be called solved nodes; the others are unsolved nodes.)

 Candidates for n th nearest node: Each solved node that is directly connected by a link to one or more unsolved nodes provides one candidate-the unsolved node with the shortest connecting link. (Ties provide additional candidates.)  Calculation of n th nearest node: For each such solved node and its candidate, add the distance between them and the distance of the shortest path from the origin to this solved node. The candidate with the smallest such total distance is the nearest node (ties provide additional solved nodes), and its shortest path is the one generating this distance.

 Cars are not allowed into the park  There is a narrow winding road system for trams and for jeeps driven by the park rangers  The road system is shown without curves in the next slide  Location O is the entrance into the park  Other letters designate the locations of the ranger stations  The scenic wonder is at location T  The numbers give the distance of these winding roads in miles  The park management wishes to determine which route from the park entrance to station T has the smallest total distance for the operation of the trams

Consider an undirected and connected network with origin and destination nodes. Associated with every arc is a non-negative distance. The objective is to find the shortest path from the origin to the destination. O A B C D E T

1 st iteration: Step 1: Neighboring Nodes = {A, B, C} Step 2: Shortest path from O to neighboring nodes Min {2, 5, 4} = 2 Step 3: The shortest path from O to A S = {O, A} O A B C D E T A B C B C

2 nd iteration: Step 1: Neighboring nodes = {B, C, D} Step 2: Min (Min (2 + 2, 5), 4, (2 + 7)) = 4. Step 3: Shortest path B to CS = {O, A, B, C} O A B C D E T B C DD

3 rd iteration: Step 1: Neighboring nodes = {D, E}. Only AD, BD, BE, and CE Step 2: Min(Min(2 + 7, 4+4), Min(4 + 3, 4+4)) = 7 Step 3: The shortest path to E S = {O, A, B, C, E} O A B C D E T DD E

4 th iteration: Step 1: Include Nodes D and T. Include arcs AD, BD, ED, & ET Step 2: Min((min(2+7, 4+4, 7+1), (7+7))) = 8 Step 3: Shortest path from node O to D S = {O, A, B, C, E, D} O A B C D E T D TT