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

Slides:



Advertisements
Similar presentations
WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 20 Network Problems.
Advertisements

Outline LP formulation of minimal cost flow problem
Chapter 11 To accompany Quantitative Analysis for Management, Eleventh Edition, Global Edition by Render, Stair, and Hanna Power Point slides created by.
Chen, Lu Mentor: Zhou, Jian Shanghai University, School of Management Chen213.shu.edu.cn.
WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 22 Network Problems.
Graphs By JJ Shepherd. Introduction Graphs are simply trees with looser restrictions – You can have cycles Historically hard to deal with in computers.
Network Optimization Models: Maximum Flow Problems
CSC 2300 Data Structures & Algorithms April 17, 2007 Chapter 9. Graph Algorithms.
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.
© 2008 Prentice-Hall, Inc. Chapter 12 To accompany Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna Power Point slides.
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.
Table 1. Shipping costs, Supply, and Demand for Powerco Example
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
Introduction to Operations Research
SPANNING TREES Lecture 21 CS2110 – Spring
Graph Theory Hamilton Paths and Hamilton Circuits.
Network Optimization Problems
Welcome to MM305 Unit 6 Seminar Larry Musolino
An-Najah N. University Faculty of Engineering and Information Technology Department of Management Information systems Operations Research and Applications.
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.
1 Network Models Transportation Problem (TP) Distributing any commodity from any group of supply centers, called sources, to any group of receiving.
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.
CS223 Advanced Data Structures and Algorithms 1 Maximum Flow Neil Tang 3/30/2010.
SPANNING TREES Lecture 20 CS2110 – Fall Spanning Trees  Definitions  Minimum spanning trees  3 greedy algorithms (incl. Kruskal’s & Prim’s)
Chapter 8 Network Models to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c) 2004 Brooks/Cole,
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.
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
Mjdah Al Shehri Hamdy A. Taha, Operations Research: An introduction, 8 th Edition Chapter 6: Network Models.
::Network Optimization:: Minimum Spanning Trees and Clustering Taufik Djatna, Dr.Eng. 1.
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.
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
Network Optimization Models
Network Flow Problems – Shortest Path Problem
Topological Sort (topological order)
Network Models Chapter 12
Chapter 12 Network Models 12-1
Bipartite Matching and Other Graph Algorithms
Graph Algorithm.
Business Statistics with Quantitative Analysis
Shortest Path.
MATS Quantitative Methods Dr Huw Owens
Introduction Basic formulations Applications
Lecture 19-Problem Solving 4 Incremental Method
Louisiana Travels.
Network Models 7-1.
Network Models Chapter 12
Algorithms (2IL15) – Lecture 7
Chapter 6 Network Flow Models.
Shortest Path Algorithm for Weighted Non-negative Undirected Graphs
Hamilton Paths and Hamilton Circuits
Graphs.
Graphs.
Maximum Flow Neil Tang 4/8/2008
Graphs.
Presentation transcript:

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

5 Problems Shortest-path problem Minimum spanning tree problem Maximum flow problem Minimum cost flow problem CPM method of time-cost trade-offs (riveting…)

Example Seervada Park has recently been set aside for a limited amount of sightseeing and backpack hiking. Cars are not allowed into the park, but there is a narrow, winding road system for trams and for jeeps driven by the park rangers. This road system is shown (without curves) below, where location O is the entrance to the park. The numbers give the distance in miles from one point to the next. The park contains a scenic wonder at station T. A small number of trams are used to transport sightseers from the park entrance to station T and back.

Problem 1 Determine which route from the park entrance to station T has the smallest total distance for the operation of the trams.

Problem 2 Telephone lines must be installed under the roads to establish communication amongst all of the stations with the minimum amount of wire (in miles).

Problem 3 More people want to take the tram ride than can be handled during the peak season. To avoid unduly disturbing the ecology and wildlife of the region, a strict ration has been placed on the number of tram trips that can be made on each of the roads per day. Therefore, during peak season, various routes might be followed regardless of distance to increase the number of tram trips that can be made each day, without violating the limits on any individual road.

Basic Terminology Nodes, points, vertices / Edges, lines, links, arcs Directed vs. undirected Flow Path and cycle Connected, spanning tree Supply, source / Demand, sink

Shortest-Path Algorithm For this we will utilize Dijkstras Algorithm (find the shortest distance from the source to every other node): 1.) Assign every node an initial value – 0 for the source node, M for every other. 2.) Mark all nodes as unvisited. Set the source node as current. 3.) For the current node, set the value of all of its neighbors as follows – Neighbor i new value = current node value + weight on edge between current and i – but only if this value is smaller than is old value. 4.) Once all of the current nodes neighbors have been processed (#3), mark the current node as visited. If the current node was the destination node, stop here. Otherwise, make the unvisited node that has the smallest value current and go back to #3.

Example

Minimum Spanning Tree Algorithm Target: create a tree that connects all nodes with the minimum cost. 1.) Select any node arbitrarily, then connect it to the nearest distinct node (by weight). 2.) Identify the unconnected node that is closest to a connected node, and then connect these two nodes. Repeat until all nodes have been connected. 3.) Tie breaking – ties for nearest distinct node or closest unconnected node may be broken arbitrarily.

Example

Maximum Flow Target: find the maximum capacity of a network (from one source to one sink) given some information about capacities along arcs.

Max Flow Algorithm 1.) Identifying an augmenting path by finding some directed path from the source to the sink in the residual network such that every edge on the path has strictly positive residual capacity. If none exists, the net flows assigned are already optimal. 2.) Identify the residual capacity of this augmenting path by finding the minimum of the residual capacities of the edges. Increase the flow in this path by this number. 3.) Decrease the residual capacities along this path by the number found in 2. Return to step 1.

Example

Two Final Problems to Discuss Minimum Cost Flow Problem: Basically, the same as the max flow problem, but adding in the additional caveat that we have to take into account a cost per unit across an edge. Solved via Network Simplex. Time-Cost Trade-Off: Scheduling a group of activities based on time and dependencies. The dependencies are modeled as a graph. Solved via CPM method or PERT.

Exercise!