Networks.

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.
H.P. WILLIAMS LONDON SCHOOL OF ECONOMICS
Reducibility Class of problems A can be reduced to the class of problems B Take any instance of problem A Show how you can construct an instance of problem.
DMOR Networks. Graphs: Koenigsberg bridges Leonard Euler problem (1736)
Graph Theory. What is Graph Theory? This is the study of structures called ‘graphs’. These graphs are simply a collection of points called ‘vertices’
Approximation Algorithms: Combinatorial Approaches Lecture 13: March 2.
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.
Graphs and Trees This handout: Eulerian Cycles: Sufficiency of the condition Hamiltonian tour.
IEOR266 © Classification of MCNF problems.
Chapter 11 Graphs and Trees This handout: Terminology of Graphs Eulerian Cycles.
22C:19 Discrete Math Graphs Spring 2014 Sukumar Ghosh.
GRAPH Learning Outcomes Students should be able to:
Programming for Geographical Information Analysis: Advanced Skills Online mini-lecture: Introduction to Networks Dr Andy Evans.
EECS 203: It’s the end of the class and I feel fine. Graphs.
The Traveling Salesman Problem Approximation
1 1 1-to-Many Distribution Vehicle Routing John H. Vande Vate Spring, 2005.
Combinatorial Optimization Chapter 1. Problems and Algorithms  1.1 Two Problems (representative problems)  The Traveling Salesman Problem 47 drilling.
Can you connect the dots as shown without taking your pen off the page or drawing the same line twice.
Chapter 2: Graphs and Networks Lesson 2: Hello Mr Euler…
CS 200 Algorithms and Data Structures
Connected Components Fun with graphs, searching, and queues.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
Discrete Mathematical Structures: Theory and Applications
CIRCUITS, PATHS, AND SCHEDULES Euler and Königsberg.
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
Introduction to Graph Theory
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.
EMIS 8373: Integer Programming Combinatorial Optimization Problems updated 27 January 2005.
Discrete Optimization MA2827 Fondements de l’optimisation discrète Material from P. Van Hentenryck’s course.
CS Lecture 22 Graph Theory. Can I draw the above figure in one continuous trace with no line being drawn twice?
Hamiltonian Graphs Graphs Hubert Chan (Chapter 9.5)
EECS 203 Lecture 19 Graphs.
CSC 172 DATA STRUCTURES.
Network Optimization J.B. Orlin
Lecture 2-2 NP Class.
Routing Through Networks - 1
School of Computing Clemson University Fall, 2012
Euler Paths and Circuits
Hamiltonian Graphs Graphs Hubert Chan (Chapter 9.5)
Week 11 - Monday CS221.
EECS 203 Lecture 20 More Graphs.
Traveling Salesman Problem
Graphs: As a mathematics branch
Discrete Maths 9. Graphs Objective
Spanning Trees Discrete Mathematics.
1.3 Modeling with exponentially many constr.
2 TSP algorithms: (1) AP+B&B, (2) min spanning tree.
CSC 172 DATA STRUCTURES.
Lecture 24 NP-Complete Problems
This unit is all about Puzzles Games Strategy.
Introduction to Graph Theory Euler and Hamilton Paths and Circuits
Lecture 15: Graph Theory II
Integer Programming (정수계획법)
Genome Assembly.
Foundations of Discrete Mathematics
Konigsberg- in days past.
1.3 Modeling with exponentially many constr.
Integer Programming (정수계획법)
CSC 380: Design and Analysis of Algorithms
Graph Theory Relations, graphs
Chapter 10 Graphs and Trees
Warm Up – 3/17 - Monday A) List the set of vertices.
Lecture 24 Classical NP-hard Problems
Lecture 24 Vertex Cover and Hamiltonian Cycle
Presentation transcript:

Networks

Graphs: Koenigsberg bridges Leonard Euler problem (1736)

Nodes

Edges

Is there a walk which uses each edge exactly once?

Build two more bridges.

Each such walk has to enter and leave any given node Each such walk has to enter and leave any given node. The degree of any node has to be even.

Eulerian cycle Hamiltonian cycle Travelling salesman problem

TSP - cycle Duration: 2 d 7 h 2 m Length: 3615 km

TSP - trail Duration: 2 d 4 h 37 m Length: 3436 km

TSP – a real walk Duration: 29 d 11 h 21 m Length: 3485 km

Travelling salesman problem TSP Mathematically Variable xij = 1, if the salesman passes from i to j, 0 otherwise Going from one city to the same city is forbidden Is this all ???

TSP Is this all? Let’s say our solution with 5 cities is x12=x23=x31=x45=x54=1 It satisfies all the constraints. But it involves subtours (cycles involving fewer than all cities) We need to introduce additional constraints

Subtour elimination For two cities For three cities For four cities Etc. In practical implementation too many constraints: with 30 cities there would be 870 constraints eliminating only subtours of length 2

Subtour eleimination – second approach Introduce nonnegative variables ui: Subtours are eliminated How many such constraints? (N-1)2-N, i.e. with 30 cities there would be 812 constraints.

Game http://www.tsp.gatech.edu/games/index.html