IEOR266 © 2008 1 Classification of MCNF problems.

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

22C:19 Discrete Math Graphs Fall 2010 Sukumar Ghosh.
Introduction to Graph Theory Instructor: Dr. Chaudhary Department of Computer Science Millersville University Reading Assignment Chapter 1.
1 Lecture 5 (part 2) Graphs II Euler and Hamiltonian Path / Circuit Reading: Epp Chp 11.2, 11.3.
Lecture 21 Paths and Circuits CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
Section 14.1 Intro to Graph Theory. Beginnings of Graph Theory Euler’s Konigsberg Bridge Problem (18 th c.)  Can one walk through town and cross all.
DMOR Networks. Graphs: Koenigsberg bridges Leonard Euler problem (1736)
AMDM UNIT 7: Networks and Graphs
BY: MIKE BASHAM, Math in Scheduling. The Bridges of Konigsberg.
9.2 The Traveling Salesman Problem. Let us return to the question of finding a cheapest possible cycle through all the given towns: We have n towns (points)
Koenigsberg bridge problem It is the Pregel River divided Koenigsberg into four distinct sections. Seven bridges connected the four portions of Koenigsberg.
Graph Theory. What is Graph Theory? This is the study of structures called ‘graphs’. These graphs are simply a collection of points called ‘vertices’
MIT and James Orlin © Introduction to Networks Eulerian Tours Hamiltonian Tours The Shortest Path Problem Dijkstra’s Algorithm for Solving the Shortest.
What is the first line of the proof? a). Assume G has an Eulerian circuit. b). Assume every vertex has even degree. c). Let v be any vertex in G. d). Let.
An Euler Circuit is a cycle of an undirected graph, that traverses every edge of the graph exactly once, and ends at the same node from which it began.
Graphs and Trees This handout: Eulerian Cycles: Sufficiency of the condition Hamiltonian tour.
4/17/2017 Section 8.5 Euler & Hamilton Paths ch8.5.
Euler and Hamilton Paths
Chapter 11 Graphs and Trees This handout: Terminology of Graphs Eulerian Cycles.
Graphs and Trees This handout: Terminology of Graphs Applications of Graphs.
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.
The Bridge Obsession Problem By Vamshi Krishna Vedam.
Copyright © Cengage Learning. All rights reserved.
GRAPH Learning Outcomes Students should be able to:
Take a Tour with Euler Elementary Graph Theory – Euler Circuits and Hamiltonian Circuits Amro Mosaad – Middlesex County Academy.
EECS 203: It’s the end of the class and I feel fine. Graphs.
Graph Theory Topics to be covered:
Euler and Hamilton Paths
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.
Euler and Hamilton Paths. Euler Paths and Circuits The Seven bridges of Königsberg a b c d A B C D.
Hamiltonian Graphs By: Matt Connor Fall 2013.
Chapter 2: Graphs and Networks Lesson 2: Hello Mr Euler…
CS 200 Algorithms and Data Structures
5.4 Graph Models (part I – simple graphs). Graph is the tool for describing real-life situation. The process of using mathematical concept to solve real-life.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
Graphs Edge(arc) Vertices can be even or odd or undirected (two-way) Edges can be directed (one-way) This graph is connected. Degree(order) = 3 Odd vertex.
1.5 Graph Theory. Graph Theory The Branch of mathematics in which graphs and networks are used to solve problems.
Discrete Mathematical Structures: Theory and Applications
Associated Matrices of Vertex Edge Graphs Euler Paths and Circuits Block Days April 30, May 1 and May
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.
Lecture 52 Section 11.2 Wed, Apr 26, 2006
Lecture 11: 9.4 Connectivity Paths in Undirected & Directed Graphs Graph Isomorphisms Counting Paths between Vertices 9.5 Euler and Hamilton Paths Euler.
Chapter 6: Graphs 6.1 Euler Circuits
Review Euler Graph Theory: DEFINITION: A NETWORK IS A FIGURE MADE UP OF POINTS (VERTICES) CONNECTED BY NON-INTERSECTING CURVES (ARCS). DEFINITION: A VERTEX.
M Clements Formal Network Theory. Introduction Practical problem – The Seven Bridges of Königsberg Network graphs Nodes & edges Degrees Rules/ axioms.
Euler and Hamiltonian Graphs
1 GRAPH Learning Outcomes Students should be able to: Explain basic terminology of a graph Identify Euler and Hamiltonian cycle Represent graphs using.
STARTER: CAN YOU FIND A WAY OF CROSSING ALL THE BRIDGES EXACTLY ONCE? Here’s what this question would look like drawn as a graph.
Hamiltonian Graphs Graphs Hubert Chan (Chapter 9.5)
EECS 203 Lecture 19 Graphs.
Euler and Hamiltonian Graphs
Network Optimization J.B. Orlin
Routing Through Networks - 1
Euler and Hamiltonian Graphs
Hamiltonian Graphs Graphs Hubert Chan (Chapter 9.5)
EECS 203 Lecture 20 More Graphs.
Networks.
Discrete Maths 9. Graphs Objective
Euler Paths and Circuits
Introduction to Graph Theory Euler and Hamilton Paths and Circuits
Lecture 15: Graph Theory II
Genome Assembly.
Konigsberg- in days past.
Decision Maths Graphs.
Euler and Hamilton Paths
Euler and Hamiltonian Graphs
Chapter 10 Graphs and Trees
Slides on Network Optimization based on slides prepared by J.B. Orlin
Presentation transcript:

IEOR266 © Classification of MCNF problems

IEOR266 © The Bridges of Koenigsberg: Euler 1736 “Graph Theory” began in 1736 Leonard Euler –Visited Koenigsberg –People wondered whether it is possible to take a walk, end up where you started from, and cross each bridge in Koenigsberg exactly once –Generally it was believed to be impossible

IEOR266 © The Bridges of Koenigsberg: Euler 1736 A D C B Is it possible to start in A, cross over each bridge exactly once, and end up back in A?

IEOR266 © The Bridges of Koenigsberg: Euler 1736 A D C B Conceptualization: Land masses are nodes

IEOR266 © The Bridges of Koenigsberg: Euler Conceptualization: Bridges are edges A C D B

IEOR266 © The Bridges of Koenigsberg: Euler Translation to graphs or networks: Is there a walk starting at A and ending at A and passing through each edge exactly once? Why isn’t there such a walk? A C D B

IEOR266 © Adding two bridges creates such a walk A, 1, B, 5, D, 6, B, 4, C, 8, A, 3, C, 7, D, 9, B, 2, A A C D B 8 9 Here is the walk. Note: the number of edges incident to B is twice the number of times that B appears on the walk.

IEOR266 © Eulerian cycle: a closed walk that passes through each edge exactly once Degree of a node = number of edges incident to the node Necessary condition: each node has an even degree. Why necessary? The degree of a node j is twice the number of times j appears on the walk (except for the initial and final node of the walk.) This condition is also nearly sufficient. If every node has even degree, and if the graph is connected, then there is an eulerian cycle.

IEOR266 © Eulerian cycles Eulerian cycles and extensions are used in practice Mail Carrier routes: –visit each city block at least once –minimize travel time –other constraints in practice? Trash pickup routes –visit each city block at least once –minimize travel time –other constraints in practice?

IEOR266 © Eulerian cycle: a closed walk that passes through each arc exactly once Degree of a node = number of edges incident to the node Necessary condition: each node has an even degree. Why necessary? The degree of a node j is twice the number of times j appears on the walk (except for the initial and final node of the walk.) Theorem.A graph has an eulerian cycle if and only if the graph is connected and every node has even degree.

IEOR266 © Eulerian path: a walk that is not closed and passes through each edge exactly once Theorem. A graph has an eulerian path if and only if exactly two nodes have odd degree and the graph is connected.

IEOR266 © Exercise: Does the graph below have an Eulerian path or cycle? If so, find it.

IEOR266 © Eulerian cycles Eulerian cycles and extensions are used in practice Mail Carrier routes: –visit each city block at least once –minimize travel time –other constraints in practice? Trash pickup routes –visit each city block at least once –minimize travel time –other constraints in practice?

IEOR266 © The Traveling Salesman Problem : find a tour that visit all cities and minimizes the total distance traveled.

IEOR266 © More on cycles A hamiltonian cycle is a cycle that passes through each node of the graph exactly once.

IEOR266 © Hamilton’s Around the World Game In 1857, the Irish mathematician, Sir William Rowan Hamilton invented a puzzle that he hoped would be very popular. The objective was to make what we just called a hamiltonian cycle. The game was not a commercial success, especially the 3D version. But the mathematics of hamiltonian cycles is very popular today.

IEOR266 © Hamilton’s Around the World Game We will see this problem again when we generalize it to be the traveling salesman problem.

IEOR266 © The knight’s tour problem Can a knight visit all squares of a chessboard exactly once, starting at some square, and by making 63 legitimate moves? The knight’s tour problem is a special case of the hamiltonian tour problem. The answer is yes!