Chinese Postman Problem

Slides:



Advertisements
Similar presentations
The Chinese Postman Problem Route Planning Map Colouring
Advertisements

Every edge is in a red ellipse (the bags). The bags are connected in a tree. The bags an original vertex is part of are connected.
Discrete Maths Chapter 5: Route Inspection Lesson 1: Chinese Postman.
 Graph Graph  Types of Graphs Types of Graphs  Data Structures to Store Graphs Data Structures to Store Graphs  Graph Definitions Graph Definitions.
Euler Circuits and Paths
Decision Maths Graphs Wiltshire Graphs A graph is just a diagram made up of “dots” and “lines”. These are all graphs. The dots are called “nodes” or.
Graph Algorithms: Minimum Spanning Tree We are given a weighted, undirected graph G = (V, E), with weight function w:
Homework collection Thursday 3/29 Read Pages 160 – 174 Page 185: 1, 3, 6, 7, 8, 9, 12 a-f, 15 – 20.
Graphs and Euler cycles Let Maths take you Further…
The Bridge Obsession Problem By Vamshi Krishna Vedam.
1 Excursions in Modern Mathematics Sixth Edition Peter Tannenbaum.
5.1  Routing Problems: planning and design of delivery routes.  Euler Circuit Problems: Type of routing problem also known as transversability problem.
Graph Theory Hamilton Paths and Hamilton Circuits.
© Nuffield Foundation 2011 Nuffield Free-Standing Mathematics Activity Chinese postman problems What route can I take to avoid going along the same street.
Chapter 4 sections 1 and 2.  Fig. 1  Not connected  All vertices are even.  Fig. 2  Connected  All vertices are even.
Which of these can be drawn without taking your pencil off the paper and without going over the same line twice? If we can find a path that goes over all.
CSE, IIT KGP Euler Graphs and Digraphs. CSE, IIT KGP Euler Circuit We use the term circuit as another name for closed trail.We use the term circuit as.
Trees and Distance. 2.1 Basic properties Acyclic : a graph with no cycle Forest : acyclic graph Tree : connected acyclic graph Leaf : a vertex of degree.
Chinese Postman Algorithm Aims: To be able to use the Chinese Postman Algorithm for: all even vertices. 2 odd vertices. Starting and ending at the same.
There is a Postman who delivers mail to a certain neighborhood of streets. The postman is unwilling to walk far so he wants to find the shortest route.
Chinese postman problem
Spring 2015 Mathematics in Management Science Chinese Postman Problem What is CPP? CPP & ECs & EPs Fleury’s Algorithm Eulerization.
Structures 7 Decision Maths: Graph Theory, Networks and Algorithms.
Can you connect the dots as shown without taking your pen off the page or drawing the same line twice.
7.1 and 7.2: Spanning Trees. A network is a graph that is connected –The network must be a sub-graph of the original graph (its edges must come from the.
Graph theory and networks. Basic definitions  A graph consists of points called vertices (or nodes) and lines called edges (or arcs). Each edge joins.
Euler Paths and Circuits. The original problem A resident of Konigsberg wrote to Leonard Euler saying that a popular pastime for couples was to try.
Aim: Graph Theory – Paths & Circuits Course: Math Literacy Do Now: Aim: What are Circuits and Paths? Can you draw this figure without retracing any of.
Introduction to Graph Theory
Street Networks Ch. 1 Finite Math. Our Learning Goal (why am I doing this?) To be able to figure out the best path to choose when traveling a street network.
EULER PATHS & CHINESE POSTMAN SOL: DM.2 CLASSWORK WORKSHEET HOMEWORK (DAY 59) WORKSHEET.
1) Find and label the degree of each vertex in the graph.
Graph Theory Euler Paths and Euler Circuits. Euler Paths & Circuits Euler Paths and Euler Circuits (Euler is pronounced the same as Oiler) An Euler path.
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.
Chapter 14 Section 3 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Spanning Trees Dijkstra (Unit 10) SOL: DM.2 Classwork worksheet Homework (day 70) Worksheet Quiz next block.
Grade 11 AP Mathematics Graph Theory Definition: A graph, G, is a set of vertices v(G) = {v 1, v 2, v 3, …, v n } and edges e(G) = {v i v j where 1 ≤ i,
Unit 3 Chinese Postman. Non - Eulerian Semi - Eulerian Eulerian.
MAT 110 Workshop Created by Michael Brown, Haden McDonald & Myra Bentley for use by the Center for Academic Support.
Excursions in Modern Mathematics Sixth Edition
Excursions in Modern Mathematics Sixth Edition
Hamilton Paths and Hamilton Circuits
Graphs Chapter 20.
Minimum Spanning Trees
Çizge Algoritmaları.
Minimum Spanning Tree Chapter 13.6.
Graph theory Definitions Trees, cycles, directed graphs.
Chapter 2: Business Efficiency Lesson Plan
Graph Algorithm.
Minimum Spanning Trees
Euler Circuits and Paths
Graph Theory.
Graph.
THE CHINESE POSTMAN PROBLEM Liz Biz and Hells Bells.
Nuffield Free-Standing Mathematics Activity
Chapter 1: Urban Services Lesson Plan
Excursions in Modern Mathematics Sixth Edition
Decision Maths Graphs.
Route Inspection Which of these can be drawn without taking your pencil off the paper and without going over the same line twice? If we introduce a vertex.
Euler Circuits and Paths
Discrete math Objectives: To learn vocabulary, vertex/edge patterns in discrete math. Vertex Edge Graph - A collection of points some of which are joined.
5.4 T-joins and Postman Problems
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Chapter 1: Urban Services Management Science
Euler circuit Theorem 1 If a graph G has an Eulerian path, then it must have exactly two odd vertices. Theorem 2 If a graph G has an Eulerian circuit,
Euler Paths and Euler Circuits
Section 13.4 Trees.
Graph Theory: Euler Graphs and Digraphs
Chapter 1: Urban Services Lesson Plan
5 The Mathematics of Getting Around
Presentation transcript:

Chinese Postman Problem Presented By V.Siva Varun

Contents 1.Real World Problem 2. Special Properties 3.Interpreting graph solution to Real world problem 4.Solution to the Problem 5.Real World Applications 6.References

Real World Problem There is a Postman who delivers mail to a certain neighborhood of street. The postman is unwilling to walk far so he wants to find the shortest route possible. The postman should start and end at same spot and walk down each street at least once.

Behind the Problem It was first proposed by a Chinese mathematician Mei-Ku Kaun. It was proposed in year 1962.

Special Properties A traversable graph is one that can be drawn without taking a pen from the paper and without retracing the same edge. In such a case the graph is said to have an Eulerian trail.

Special Properties(Contd) Vertex Order A 3 B C D It is Impossible to draw the above graph without either taking the pen of the paper or re-tracing an edge. This is because all the vertices have odd degree.

Special Properties(Contd) Vertex Order A 3 B 4 C D E 2 It is possible to draw the above graph without taking the pen of the paper and without retracing the same edge but we can achieve this by starting at either A or D and in each case the path will end at the other vertex of D or A. If a graph has exactly 2 odd vertices then it is said to be Semi-Eulerian Graph.

Special Properties (Contd) Vertex Order A 4 B C D E 2 F Here we can draw the above graph without retracing the edge or taking the pen of the paper regardless the starting position and we will always return to the start vertex. This is because all the vertices have even degree. If a graph has all even vertices then it is said to be Eulerian-Trail.

Interpreting graph solution to Real world problem Vertex Order A 3 B C 4 D E

Problem Solution Algorithm: Step 1: List all odd vertices. Step 2: List all possible pairings of odd vertices. Step 3: For each pairing find the edges that connect the vertices with the minimum weight. Step 4: Find the pairings such that the sum of the weights is minimized. Step 5: On the original graph add the edges that have been found in Step 4. Step 6: The length of an optimal Chinese postman route is the sum of all the edges added to the total found in Step 4. Step 7: A route corresponding to this minimum weight can then be easily found.

Solution(Contd) Step1: List All Vertices that have odd degree. Vertex Order A 3 B D E

Solution (Contd) Step2: List all possible Pairing of odd vertices. Serial Number Possible Pairing 1 AB and DE 2 AD and BE 3 ACE and BCD

Solution (Contd) Step3: For each pairing find the edges that connect the vertices with the minimum weight. 1 2 3

Solution(Contd) Step4: Find the pairings such that the sum of the weights is minimized. 8+8 = 16 6+6 = 12 5+5+5+5 = 20

Solution(Contd) Step 5: On the original graph add the edges that have been found in Step 4.

Solution (Contd) Step 6: The length of an optimal Chinese postman route is the sum of all the edges added to the total found in Step 4. Length of an optimal Chinese Postman route= 48 Sum of new edges = 12 Therefore, 48+12 = 60

Solution(Contd) Step 7: A route corresponding to this minimum weight can then be easily found. a -> b -> e -> d -> a -> c -> e -> b -> c -> d -> a 8+6+8+6+5+5+6+5+5+6=60

Real World Applications 1.Site Seeing 2.Deliveries 3.Shopping

Thank You!!!!

References http://web.mit.edu/urban_or_book/www/book/chapter6/6.4.4.html http://www.suffolkmaths.co.uk/pages/Maths%20Projects/Projects/Topology%20and%20Graph%20Theory/Chinese%20Postman%20Problem.pdf http://www.utdallas.edu/~dxd056000/cs6363/Chinese.htm