Graph Coloring: Background and Assignment Networked Life NETS 112 Fall 2014 Prof. Michael Kearns.

Slides:



Advertisements
Similar presentations
NP-Hard Nattee Niparnan.
Advertisements

22C:19 Discrete Math Graphs Fall 2014 Sukumar Ghosh.
The Theory of NP-Completeness
1 NP-Complete Problems. 2 We discuss some hard problems:  how hard? (computational complexity)  what makes them hard?  any solutions? Definitions 
CS774. Markov Random Field : Theory and Application Lecture 17 Kyomin Jung KAIST Nov
Last time: terminology reminder w Simple graph Vertex = node Edge Degree Weight Neighbours Complete Dual Bipartite Planar Cycle Tree Path Circuit Components.
CSC5160 Topics in Algorithms Tutorial 2 Introduction to NP-Complete Problems Feb Jerry Le
Computational problems, algorithms, runtime, hardness
CSE332: Data Abstractions Lecture 27: A Few Words on NP Dan Grossman Spring 2010.
Behavioral Graph Coloring Tue Jan 24 & Wed Jan PM 207 Moore Networked Life CSE 112 Spring 2006 Prof. Michael Kearns.
Approximation Algorithms
CSE 326: Data Structures NP Completeness Ben Lerner Summer 2007.
Section 2.3 Graph Coloring By Katie Lessard & Colleen Raimondi.
Graph Colouring Lecture 20: Nov 25.
Analysis of Algorithms CS 477/677
Computability and Complexity 24-1 Computability and Complexity Andrei Bulatov Approximation.
Job Scheduling Lecture 19: March 19. Job Scheduling: Unrelated Multiple Machines There are n jobs, each job has: a processing time p(i,j) (the time to.
Colored Necklace Bisection Victor Kostyuk Advisor: Michael Capalbo.
Exam Timetabling Problem using Graph Coloring
Finding a maximum independent set in a sparse random graph Uriel Feige and Eran Ofek.
Approximation Algorithms Motivation and Definitions TSP Vertex Cover Scheduling.
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.
Behavioral Graph Coloring Michael Kearns Computer and Information Science University of Pennsylvania Collaborators: Nick Montfort Siddharth Suri Special.
22C:19 Discrete Math Graphs Spring 2014 Sukumar Ghosh.
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.
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.
NP-Complete Problems CSC 331: Algorithm Analysis NP-Complete Problems.
Nattee Niparnan. Easy & Hard Problem What is “difficulty” of problem? Difficult for computer scientist to derive algorithm for the problem? Difficult.
Graph Theory Topics to be covered:
Some Analysis of Coloring Experiments and Intro to Competitive Contagion Assignment Prof. Michael Kearns Networked Life NETS 112 Fall 2014.
Approximation Algorithms
CSE332: Data Abstractions Lecture 24.5: Interlude on Intractability Dan Grossman Spring 2012.
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.
CS 3343: Analysis of Algorithms Lecture 25: P and NP Some slides courtesy of Carola Wenk.
CS 484 Load Balancing. Goal: All processors working all the time Efficiency of 1 Distribute the load (work) to meet the goal Two types of load balancing.
1 Suppose I construct a TM M f which: 1. Preserves its input u. 2. Simulates a machine M b on input ε. 3. If M b hangs on input ε, force an infinite loop.
Vertex Coloring Distributed Algorithms for Multi-Agent Networks
CPS Computational problems, algorithms, runtime, hardness (a ridiculously brief introduction to theoretical computer science) Vincent Conitzer.
David Luebke 1 2/18/2016 CS 332: Algorithms NP Completeness Continued: Reductions.
CSC 413/513: Intro to Algorithms
A Introduction to Computing II Lecture 16: Dijkstra’s Algorithm Fall Session 2000.
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.
Welcome! Cinda Heeren Lecturer Department of CS UIUC The Beauty of Computer Science.
Graph Theory and Algorithms 1 DM Notes1CMrsLenox.
Proof of correctness of Dijkstra’s algorithm: Basically, we need to prove two claims. (1)Let S be the set of vertices for which the shortest path from.
Construction We constructed the following graph: This graph has several nice properties: Diameter Two Graph Pebbling Tim Lewis 1, Dan Simpson 1, Sam Taggart.
Timetable Problem solving using Graph Coloring
Graph Coloring.
Graph Coloring Lots of application – be it mapping routes, coloring graphs, building redundant systems, mapping genes, looking at traffic patterns (see.
The Beauty of Computer Science
What is the next line of the proof?
Assoc. Prof. Yusuf Sahillioğlu
Approximation Algorithms
CSCI 2670 Introduction to Theory of Computing
Approximation algorithms
Intro to NP Completeness
Chapter 10.8 Graph Coloring
Chapter 10.8 Graph Coloring
Chapter 10.8 Graph Coloring
Graph Coloring.
Networks Kruskal’s Algorithm
CSE 373: Data Structures and Algorithms
Chapter 10.8 Graph Coloring
Presentation transcript:

Graph Coloring: Background and Assignment Networked Life NETS 112 Fall 2014 Prof. Michael Kearns

A Little Experiment Consider the network in which you are connected to the people sitting to your left, right, in front of and behind you –if you have no neighbors, change your seat –if no one is sitting to your (say) left, you’re just “missing” that neighbor Hold up 1, 2, or 3 fingers Your “goal” is to pick a different number than all your neighbors –can change your number whenever you want, as many times as you want While your number matches at least one neighbor, raise your other hand

Graph Coloring We are given a graph or network G with N vertices (e.g. N ~ 100) We are given K values or “colors” (e.g. K = 3) We would like to find a labeling of vertices by colors such that for every edge (u,v) in G, u and v have different colors In general, for any given G, this problem is harder the smaller K is Chromatic number K(G) = smallest K for which there is a solution

How Does Structure of G Influence K(G) (and Good Algorithms?) How many colors are always enough? If some vertex has degree D, must K(G) >= D? What’s a sufficient condition to force K(G) >= 3? More generally? Is it a necessary condition? How did I know 2 colors was enough for the grid? What’s a good algorithm if you know K(G) = 2? Is there any “local” property/algorithm determining K(G)/solutions?

A Famous, Important and Notorious Problem Optimization (minimizing scarce resource): e.g. exam scheduling –one vertex for each Penn class: NWLife, CIS 120, Intro to Chocolate,… –draw an edge between two classes if there is a student taking both –colors = final exam time slots –solution ensures no student has simultaneous exams! –would like to minimize the length of exam period… Cartography: 4-color theorem Graph Coloring as a model of social differentiation Graph Coloring is a computationally hard problem: –algorithm given graph (list of vertices and edges) as input –output a proper coloring (solution) with smallest number of colors (K(G)) –best known algorithms not much better than exhaustive search –running time scale exponentially in N, e.g ~ 10^N –For N=100: 10^100 >> number of protons in the universe –centralized or “birds-eye” computation, vs distributed & local Even significant relaxations remain intractable –e.g. allow (much) more than K(G) colors

Your Assignment Later in the course, we will study experiments on human subjects solving graph coloring from local, distributed information For now, you are asked to try some coloring problems on your own Will employ a web app we have designed and developed Your score will give points for simply finding solutions, with bonus points for finding them quickly No collaboration/collusion of any kind --- not even discussion Assignment is due (app will close) in one week (midnight Tue 9/16)