Vertex Coloring Chromatic Number Conflict Resolution

Slides:



Advertisements
Similar presentations
Chapter 8 Topics in Graph Theory
Advertisements

Chapter 3: Planning and Scheduling Lesson Plan
Greedy Algorithms Spanning Trees Chapter 16, 23. What makes a greedy algorithm? Feasible –Has to satisfy the problem’s constraints Locally Optimal –The.
Edge-Coloring of Graphs On the left we see a 1- factorization of  5, the five-sided prism. Each factor is respresented by its own color. No edges of the.
Section 1.7: Coloring Graphs
Applied Combinatorics, 4th Ed. Alan Tucker
Last time: terminology reminder w Simple graph Vertex = node Edge Degree Weight Neighbours Complete Dual Bipartite Planar Cycle Tree Path Circuit Components.
Section 2.3 Graph Coloring By Katie Lessard & Colleen Raimondi.
Graph Colouring Lecture 20: Nov 25.
CSE 421 Algorithms Richard Anderson Lecture 27 NP Completeness.
Coloring Graphs This handout: Coloring maps and graphs
CTIS 154 Discrete Mathematics II1 8.2 Paths and Cycles Kadir A. Peker.
New Algorithm DOM for Graph Coloring by Domination Covering
4/17/2017 Section 8.5 Euler & Hamilton Paths ch8.5.
Exam Timetabling Problem using Graph Coloring
K-Coloring k-coloring: A k-coloring of a graph G is a labeling f: V(G)  S, where |S|=k. The labels are colors; the vertices of one color form a color.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 10, Monday, September 22.
K-Coloring k-coloring: A k-coloring of a graph G is a labeling f: V(G)  S, where |S|=k. The labels are colors; the vertices of one color form a color.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
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.
Spring 2015 Mathematics in Management Science Conflict Scheduling Vertex Coloring Chromatic Number Conflict Resolution.
Graph Coloring.
Let G be a pseudograph with vertex set V, edge set E, and incidence mapping f. Let n be a positive integer. A path of length n between vertex v and vertex.
Graph Coloring.
Spring 2015 Mathematics in Management Science Euler’s Theorems Euler Circuits & Paths ECT & EPT Burning Bridges Fleury’s Algorithm.
5.1  Routing Problems: planning and design of delivery routes.  Euler Circuit Problems: Type of routing problem also known as transversability problem.
Spring 2015 Mathematics in Management Science Network Problems Networks & Trees Minimum Networks Spanning Trees Minimum Spanning Trees.
Spring 2015 Mathematics in Management Science Chinese Postman Problem What is CPP? CPP & ECs & EPs Fleury’s Algorithm Eulerization.
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.
Module 5 – Networks and Decision Mathematics Chapter 23 – Undirected Graphs.
Spring 2015 Mathematics in Management Science Traveling Salesman Problem Approximate solutions for TSP NNA, RNN, SEA Greedy Heuristic Algorithms.
Aim: What does map coloring have to do with Graph theory?
Graph Colouring L09: Oct 10. This Lecture Graph coloring is another important problem in graph theory. It also has many applications, including the famous.
Examples Euler Circuit Problems Unicursal Drawings Graph Theory
Planar Graphs Graph Coloring
Sec. 5.1: Planarity & Coloring
Graph.
Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 4.1, Slide 1 4 Graph Theory (Networks) The Mathematics of Relationships 4.
Graph Colouring Lecture 20: Nov 25. This Lecture Graph coloring is another important problem in graph theory. It also has many applications, including.
Mathematics in Management Science
CIRCUITS, PATHS, AND SCHEDULES Euler and Königsberg.
Introduction to Graph Theory
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.
Unit 3 Scheduling and Planning. Literacy Practice Please read PG Stop at ASSUMPTIONS AND GOALS on page 68.
Map Coloring Vertex Drawing Txt: mini excursion 2 (p ) & SOL: DM.1 Classwork Project Assigned due in two blocks (print the rubric at the end of.
Trees.
Chapter 3: Planning and Scheduling. Planning and Scheduling - Topics Resolving Conflict via Coloring Bin Packing Scheduling Tasks Critical-Path Schedules.
Graphs. Representations of graphs : undirected graph An undirected graph G have five vertices and seven edges An adjacency-list representation of G The.
Planar Graphs Hubert Chan (Chapter 9.7) [O2 Proof Techniques]
Graph Coloring.
Graph Coloring Lots of application – be it mapping routes, coloring graphs, building redundant systems, mapping genes, looking at traffic patterns (see.
Konigsberg’s Seven Bridges
2-5 Absolute Value Functions and Graphs
Euler Circuits William T. Trotter and Mitchel T. Keller
Tucker, Applied Combinatorics, Sec 2.4
Discrete Math: Hamilton Circuits
Chapter 4 Review Math Analysis
Coloring Graphs This handout: Coloring maps and graphs
Discrete Math II Howon Kim
Applied Combinatorics, 4th ed. Alan Tucker
Richard Anderson Lecture 27 NP Completeness
Graph Coloring.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Miniconference on the Mathematics of Computation
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,
Richard Anderson Lecture 25 NP Completeness
Chapter 3: Planning and Scheduling Lesson Plan
Presentation transcript:

Vertex Coloring Chromatic Number Conflict Resolution Conflict Scheduling Vertex Coloring Chromatic Number Conflict Resolution Mathematics in Management Science Spring 2015

Vertex Coloring Example

Vertex Coloring Color all vertices of graph so that any two vertices joined by an edge have different colors. The minimum number of colors needed is the chromatic number of the graph.

Example

Example

Example

Example

Vertex Coloring Minimum number of colors needed (to have a vertex coloring) is the chromatic number of the graph. To see that a graph has chromatic number CN, must show: there is vtx coloring with NC colors, cannot color with less than NC colors.

Coloring Circuits L = # edges = # of vtxs . The length of a circuit is Every circuit can be colored using 2 or 3 colors. The chromatic number of a circuit is CN = 2 if even length, CN = 3 if odd length.

Coloring Complete Graphs A graph is complete if every pair of vtxs is joined by an edge. Any vertex coloring of a complete graph with N vertices must use N different colors. The chromatic number of KN is CN = N .

Useful Fact If graph has subgraph with chrom number N, then the bigger graph will have chrom number at least N. (Can’t use fewer colors!) This useful when a bigger graph has a smaller complete graph built into it.

Example

Example

CN ≤ maximum vertex valence. Brooks’ Theorem G a graph which is not complete nor a circuit (of odd length) G’s chromatic number satisfies CN ≤ maximum vertex valence.

Chromatic Number Minimum number of colors need. The chromatic number of a cplt graph is CN = # of vtxs . The chromatic number of a circuit CN = 2 if even length CN = 3 if odd length All other graphs have CN at most the maximum vertex valence .

Chromatic Number Don’t have vtx coloring algorithms; just be smart. Important to“clean up” graph, so eaier to see what is happening. Start coloring most complicated parts; look for complete subgraphs. This tell us minimum size of our “palette” (lower estimate for CN).

Example What is the chromatic number of the following graph? A C B D E G F H (What is the table of conflicts?)

Observe that the graph contains a complete graph on 4 vertices: Example Observe that the graph contains a complete graph on 4 vertices: A C B D E G F H

Extend the 4 colors to the other complete graph: Example Extend the 4 colors to the other complete graph: A C B D E G F H

Pick colors for the remaining vertices from those already in use: Example Pick colors for the remaining vertices from those already in use: A C B D E G F H ⇒ Chromatic number is 4.

Example

Example Scheduling Exams Have eight exams to schedule: French, Math, History, Philosophy, English, Italian, Spanish, Chemistry Some students are taking two or more classes. Only two air-conditioned rooms.

Conflict Table X if overlap M H P E I S C French   X Mathematics History Philosophy English Italian Spanish Chemistry

Conflict Graph classes correspond to vertices edges join conflicted vertices look for vertex coloring any two vertices joined by an edge have different colors colors are different exam times

Conflict Graph

Example Block exam conflicts for fall term (excluding language exams).

Block Exams Revisited Initial graph: B1081 P2001 C1020 P1051 C1040

Clean up and identify complete graphs (several with n = 4): Block Exams Revisited Clean up and identify complete graphs (several with n = 4): M1062 C1020 M1044 B1081 P2001 M1061 M1045 M1046 M1021 M1026 C1040 P1051

Finish the coloring using only the initial 4 colors: Block Exams Revisited Finish the coloring using only the initial 4 colors: M1062 C1020 B1081 M1044 P2001 M1061 M1045 M1046 M1021 M1026 C1040 P1051