Graph Coloring CS 594 Stephen Grady.

Slides:



Advertisements
Similar presentations
Planar Graphs: Coloring and Drawing
Advertisements

22C:19 Discrete Math Graphs Fall 2010 Sukumar Ghosh.
22C:19 Discrete Math Graphs Fall 2014 Sukumar Ghosh.
The Four Color Theorem (4CT)
CompSci 102 Discrete Math for Computer Science April 19, 2012 Prof. Rodger Lecture adapted from Bruce Maggs/Lecture developed at Carnegie Mellon, primarily.
13.4 Map Coloring and the Four Color Theorem. We started this chapter by coloring the regions formed by a set of circles in the plane. But when do we.
David Laughon CS594 Graph Theory Graph Coloring. Coloring – Assignment of labels to vertices k-coloring – a coloring where Proper k-coloring – k-coloring.
The Mathematics of Map Coloring – The Four-Color Theorem Roger House OLLI Science Club Sonoma State University 2013 October 22 Copyright © 2013 Roger House.
Last time: terminology reminder w Simple graph Vertex = node Edge Degree Weight Neighbours Complete Dual Bipartite Planar Cycle Tree Path Circuit Components.
What is the next line of the proof? a). Let G be a graph with k vertices. b). Assume the theorem holds for all graphs with k+1 vertices. c). Let G be a.
Perfect Graphs Lecture 23: Apr 17. Hard Optimization Problems Independent set Clique Colouring Clique cover Hard to approximate within a factor of coding.
Graph Colouring Lecture 20: Nov 25.
Theorem Every planar graph is 5-colorable.
Coloring Algorithms and Networks. Coloring2 Graph coloring Vertex coloring: –Function f: V  C, such that for all {v,w}  E: f(v)  f(w) Chromatic number.
Graph Theory Ch.5. Coloring of Graphs 1 Chapter 5 Coloring of Graphs.
22C:19 Discrete Math Graphs Spring 2014 Sukumar Ghosh.
Graph Theory and Graph Coloring Lindsay Mullen
Chapter 9.8 Graph Coloring
CS 2813 Discrete Structures
Coloring 3/16/121. Flight Gates flights need gates, but times overlap. how many gates needed? 3/16/122.
9.8 Graph Coloring. Coloring Goal: Pick as few colors as possible so that two adjacent regions never have the same color. See handout.
Graph Coloring.
Planar Graphs: Euler's Formula and Coloring Graphs & Algorithms Lecture 7 TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.:
Modeling Using Colorability Presented by: Kelley Louie CSC 252 Algorithms 252a-aj.
The Infamous Five Color Theorem
CS 200 Algorithms and Data Structures
1 Graph Coloring: An Overview Graph Coloring Basics Planar/4-color Graphs Applications New Register Allocation Technique.
Data Structures & Algorithms Graphs
Graph Colouring L09: Oct 10. This Lecture Graph coloring is another important problem in graph theory. It also has many applications, including the famous.
Chapter 10.8 Graph Coloring
Graph Colouring Lecture 20: Nov 25. This Lecture Graph coloring is another important problem in graph theory. It also has many applications, including.
NPC.
Great Theoretical Ideas in Computer Science for Some.
Chapter 10.8 Graph Coloring These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7 th ed., by Kenneth.
COMPSCI 102 Introduction to Discrete Mathematics.
Eternal Domination Chip Klostermeyer.
FOUR COLOR THEOREM BY: JUSTIN GILMORE. FOUR COLOR THEOREM The four-color theorem states that any map in a plane can be colored using four-colors in such.
Presented By Ravindra Babu, Pentyala.  Real World Problem  What is Coloring  Planar Graphs  Vertex Coloring  Edge Coloring  NP Hard Problem  Problem.
Timetable Problem solving using Graph Coloring
An Introduction to Graph Theory
Complexity Classes.
Planar Graphs Hubert Chan (Chapter 9.7) [O2 Proof Techniques]
On-line list colouring of graphs
Graph Coloring.
Graph Coloring and Applications
Graph Coloring Lots of application – be it mapping routes, coloring graphs, building redundant systems, mapping genes, looking at traffic patterns (see.
Euler and Hamilton Cycles; Planar Graphs; Coloring.
Graphs Lecture 19 CS2110 – Spring 2013.
Joint work with Hans Bodlaender
Great Theoretical Ideas In Computer Science
GRAPHS Lecture 16 CS2110 Fall 2017.
What is the next line of the proof?
Chapter 4: Using NP-Completeness to Analyze Subproblems
Planarity Testing.
Graph Theory Graph Colorings.
Instructor: Shengyu Zhang
Chapter 10.8 Graph Coloring
Coloring Graphs This handout: Coloring maps and graphs
Discrete Math II Howon Kim
Chapter 10.8 Graph Coloring
Chapter 10.8 Graph Coloring
Linear Programming Duality, Reductions, and Bipartite Matching
GRAPHS Lecture 17 CS2110.
Great Theoretical Ideas In Computer Science
Discrete Mathematics and its Applications Lecture 7 – Cops and Robbers
Chapter 10.8 Graph Coloring
GRAPHS Lecture 17 CS2110 Spring 2018.
Discrete Mathematics for Computer Science
CSE 589 Applied Algorithms Spring 1999
Presentation transcript:

Graph Coloring CS 594 Stephen Grady

Overview -Terminology -History 4 Color Theorem Kempe’s flawed proof -Simple Bounds on chromatic number -Coloring on Digraphs -Applications

Terminology graph. itself.

Terminology needed to properly color graph. chromatically equivalent if they have the same χ(G)

Chromatic Polynomial using k colors. Example K3+1 can be colored 12 different ways with 3 colors

Types of Coloring -Vertex-Vertices are labeled -Edge-Edges are labeled -Total-Both vertices and edges are labeled -Many more...

Vertex coloring -Coloring most concerned with coloring Edge: color vertices of line graph Planer: color vertices of dual

History -First studied as a map coloring problem. to color a map. Or stated another way, what is the minimum number of colors needed to color a planar graph?

4 Color Theorem colors. maps (planar graphs) arose.

4 Color Theorem -The question was passed along in 1852 Guthrie's brother->Augustus de Morgan->William Hamilton Mathematical Society in 1879 claiming to contain a proof that 4 colors suffice.

Sir Alfred Kempe -1849-1922 -Trinity College, Cambridge -22nd wrangler -1877: Flawed “straight line linkage” of proof in 2002 -1879: Flawed 4 color theorem proof though ideas basis of proof in 1976

Percy John Heawood -1861-1955 -Exeter College, Oxford 4 color theorem 4 color theorem proof based on Kempe's work

Kemp's Flawed 4 Color Theorem -Kempe's proof rested on the properties of what are known as Kempe chains. -A Kempe chain is a bicolored path between any two non-adjacent vertices.

Kempe's Argument that to whomever covers planarity) |V| that requires 5 colors to color properly. smaller than G, G' is 4 colorable. -Color all vertices in G' using 4 colors.

Kempe's Argument -Now add back v to G' recreating G. how to color v with one of the four colors used. deg(v)=1,2 or 3 deg(v)=4 deg(v)=5

Case 1 -v has degree 1,2 or 3. possible colors in this case coloring v is trivial.

Case 2 -v has degree 4 and neighbors a, b, c and d. coloring v is trivial. and c. -This creates two possibilities

Case 2 Subcase i and c to a. remaining color.

Case 2 Subcase ii c. the colors of b and d. chain from b to d.

Case 3 -v has degree 5 with neighbors a,b,c,d and e. planar -Assume all 4 colors are used by neighbors of v. -Just like in case 2 there exist 2 subcases.

Case 3 Subcase i -Consider three neighbors b, e and d. induced by the colors of b and e. -If no Kempe chain, do a color swap. -If Kempe chain, repeat for b and d.

Case 3 Subcase ii -Both b to d and b to e have a kempe chain. a color swap can be performed on a. -Repeat for c and e.

So, why is it flawed?

Haewood's Counter What if the Kempe chain's b to d and b to e cross?

4 Color Theorem Wolfgang Haken at University of Illinois. -First proof using a computer as an aid.

4 Color Theorem -Used the idea of an unavoidable set of reducible configurations -Had to check 1,936 graphs to prove minimum counterexample to 4 color theorem could not exist.

Complexity k colors? NP-Complete -Optimization: What is χ(G)? NP-Hard

Bounds on χ(G) -Brooke's Theorem -Clique number

Brooke's Theorem χ(G) ≤ Δ(G) Except for Kn and C2n+1 χ(G) ≤ Δ(G)+1

Clique Number -χ(G) >= ω(G) -A clique of size Kn must be colored with n colors.

Mycielski's Theorem high χ(G). -Generalized with Mycielski graphs.

Coloring on Digraphs -Gallai-Roy Theorem shortest orientation.

Applications must satisfy some constraint Scheduling Register allocation Determining if graph is bipartite Sudoku

Scheduling Used to find minimum number of time slots needed with no time conflicts. Each time slot represented by a color. Each edge represents time conflict

Register Allocation In an attempt to optimize code, compilers will allocate multiple variables to the same register. However, multiple variables allocated to the same register cannot be called at the same time. Naturally this becomes a coloring problem.

Register Allocation

Determine if Graph is Bipartite Bipartite Graphs always have χ(G)=2 Can check if graph is 2 colorable in linear time

Sudoku

Sudoku Graph Transformation

Coloring a Sudoku Graph

Sudoku Why study Sudoku Methods for solving Sudoku can be generalized to solve problems like protein folding.

Open Problems Erdos-Faber-Lovasz Conjecture Reed’s upper bound

Erdos-Faber-Lovasz Conjecture Can n kn graphs each sharing only one vertex be colored with n colors.

Reed’s Upper Bound χ(G) ≤ (1+Δ(G)+ω(G))/2

Homework -Prove that for any planar graph 5 colors suffice (Assume Δ(G) ≤5) -Which two of these graphs are chromatically equivalent? k4,4, P7, k5, Peterson graph -How many ways can a k6 be colored using 7 colors? Email: sgrady3@vols.utk.edu

References https://en.wikipedia.org/wiki/Graph_coloring https://en.wikipedia.org/wiki/Alfred_Kempe https://en.wikipedia.org/wiki/Percy_John_Heawood https://en.wikipedia.org/wiki/Wrangler_%28University_of_Cambridge%29 https://en.wikipedia.org/wiki/Four_color_theorem https://en.wikipedia.org/wiki/Mycielskian https://en.wikipedia.org/wiki/Gallai%E2%80%93Hasse%E2%80%93Roy%E2%80%93Vitaver_theorem http://www.math.illinois.edu/~dwest/openp/ http://math.ucsb.edu/~padraic/ucsb_2014_15/math_honors_f2014/math_honors_f2014_lecture4.pdf https://en.wikipedia.org/wiki/Sudoku

References 11. https://en.wikipedia.org/wiki/Bipartite_graph 12. http://www.math.rutgers.edu/~sk1233/courses/graphtheory-F11/planar.pdf 13. http://www.skidmore.edu/~adean/MC3021309/PrintSlides/MC302_131203_P.pdf 14. Ercsey-Ravasz, M. and Z. Toroczkai (2012). "The Chaos Within Sudoku." Scientific Reports 2: 725.