Eulerian Cycles in directed graphs

Slides:



Advertisements
Similar presentations
Outline LP formulation of minimal cost flow problem
Advertisements

Management Science 461 Lecture 2b – Shortest Paths September 16, 2008.
Graphs and Trees This handout: Eulerian Cycles: Sufficiency of the condition Hamiltonian tour.
Chapter 11 Graphs and Trees This handout: Terminology of Graphs Eulerian Cycles.
& 6.855J & ESD.78J Algorithm visualizations Modified Label Correcting Algorithm.
15.082J, 6.855J, and ESD.78J September 21, 2010 Eulerian Walks Flow Decomposition and Transformations.
and 6.855J Fall 2010 Network Optimization J.B. Orlin.
Chapter 2: Graphs and Networks Lesson 2: Hello Mr Euler…
ENGM 732 Formalization of Network Flows Network Flow Models.
& 6.855J & ESD.78J Algorithm Visualization The Ford-Fulkerson Augmenting Path Algorithm for the Maximum Flow Problem.
The Ford-Fulkerson Augmenting Path Algorithm for the Maximum Flow Problem Thanks to Jim Orlin & MIT OCW.
and 6.855J The Goldberg-Tarjan Preflow Push Algorithm for the Maximum Flow Problem.
Graph theory and networks. Basic definitions  A graph consists of points called vertices (or nodes) and lines called edges (or arcs). Each edge joins.
Network Simplex Animations Network Simplex Animations.
15.082J & 6.855J & ESD.78J September 30, 2010 The Label Correcting Algorithm.
15.082J and 6.855J and ESD.78J Network Simplex Animations.
Cycle Canceling Algorithm
Network Optimization J.B. Orlin
Network Flow Problems – Shortest Path Problem
Network Simplex Animations
Dijkstra’s Algorithm with two levels of buckets
Graph Algorithm.
The Shortest Augmenting Path Algorithm for the Maximum Flow Problem
Introduction to Maximum Flows
Minimum Spanning Trees
15.082J & 6.855J & ESD.78J Visualizations
Dijkstra’s Algorithm for the Shortest Path Problem
15.082J & 6.855J & ESD.78J Visualizations
Lecture 6 Shortest Path Problem.
Dijkstra’s Algorithm for the Shortest Path Problem
Breadth first search animation
Lecture 4 Graph Search.
OVERVIEW OF NETWORKS AND GRAPHS
Lecture 19-Problem Solving 4 Incremental Method
Introduction to Minimum Cost Flows
Decision Maths Graphs.
Spanning Tree Algorithms
and 6.855J Flow Decomposition
Primal-Dual Algorithm
Successive Shortest Path Algorithm
Successive Shortest Path Algorithm
and 6.855J March 6, 2003 Maximum Flows 2
15.082J & 6.855J & ESD.78J Radix Heap Animation
Network Optimization Depth First Search
Introduction to Algorithms
Min Global Cut Animation
Network Optimization Flow Decomposition.
Dijkstra’s Algorithm for Shortest Paths
The Shortest Augmenting Path Algorithm for the Maximum Flow Problem
Reading before Lecture 13
The Shortest Augmenting Path Algorithm for the Maximum Flow Problem
Network Optimization Topological Ordering
and 6.855J The Goldberg-Tarjan Preflow Push Algorithm for the Maximum Flow Problem Obtain a network, and use the same network to illustrate the.
and 6.855J Dijkstra’s Algorithm
Visualizations Dijkstra’s Algorithm
Introduction to Maximum Flows
Network Simplex Animations
and 6.855J The Goldberg-Tarjan Preflow Push Algorithm for the Maximum Flow Problem Obtain a network, and use the same network to illustrate the.
and 6.855J Topological Ordering
15.082J & 6.855J & ESD.78J Visualizations
The Minimum Cost Spanning Tree Problem
and 6.855J Depth First Search
Breadth first search animation
Chapter 10 Graphs and Trees
Slides on Network Optimization based on slides prepared by J.B. Orlin
OPIM 915 Fall 2010 Data Structures 23-38,
Introduction to Maximum Flows
Max Flows 3 Preflow-Push Algorithms
Class 11 Max Flows Obtain a network, and use the same network to illustrate the shortest path problem for communication networks, the max flow.
15.082J & 6.855J & ESD.78J Visualizations
Presentation transcript:

Eulerian Cycles in directed graphs Network Optimization Eulerian Cycles in directed graphs Get ahold of a network, and use the same network to illustrate the shortest path problem for communication newtorks, the max flow problem, the minimum cost flow problem, and the multicommodity flow problem. This will be a very efficient way of introducing the four problems. (Perhaps under 10 minutes of class time.) James Orlin 2010

The initial network 2 3 1 Every node has the same number of arcs coming in as going out. 4 5 6 9 7 8 10 11 12 15 13 14

Determine a tree directed into node 1 2 3 1 Determine a bfs (or dfs) tree directed into node 1. 4 5 6 9 7 8 In the tree, each node has one arc coming out except node 1. 10 11 12 15 13 14

Order the arcs coming out of each node 2 3 1 The tree arc out of node j should be the last arc of A(j) 4 5 6 9 7 8 10 11 12 15 13 14

Create the walk Start at node 1 and create a walk. 2 3 1 Start at node 1 and create a walk. 4 5 6 9 7 8 Visit nodes of A(j) in order. 10 11 12 15 13 14

Continue the walk Continue the walk. Visit nodes of A(j) in order. 2 3 1 Continue the walk. 4 5 6 9 7 8 Visit nodes of A(j) in order. 10 11 12 15 13 14

Continue the walk Continue the walk. Visit nodes of A(j) in order. 2 3 1 Continue the walk. 4 5 6 9 7 8 Visit nodes of A(j) in order. 10 11 12 15 13 14

Continue the walk Continue the walk. Visit nodes of A(j) in order. 2 3 1 Continue the walk. 4 5 6 9 7 8 Visit nodes of A(j) in order. 10 11 12 15 13 14

15.082J / 6.855J / ESD.78J Network Optimization MITOpenCourseWare http://ocw.mit.edu 15.082J / 6.855J / ESD.78J Network Optimization Fall 2010 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.