Problems on Paired Graphs Stephen Hedetniemi, Alice McRae, Dee Parks, Kelly Wise and come join in…

Slides:



Advertisements
Similar presentations
CS 336 March 19, 2012 Tandy Warnow.
Advertisements

Bart Jansen 1.  Problem definition  Instance: Connected graph G, positive integer k  Question: Is there a spanning tree for G with at least k leaves?
Presented by Yuval Shimron Course
Bart Jansen, Utrecht University. 2  Max Leaf  Instance: Connected graph G, positive integer k  Question: Is there a spanning tree for G with at least.
1 NP-completeness Lecture 2: Jan P The class of problems that can be solved in polynomial time. e.g. gcd, shortest path, prime, etc. There are many.
The Theory of NP-Completeness
GOLOMB RULERS AND GRACEFUL GRAPHS
Combinatorial Algorithms
Complexity 16-1 Complexity Andrei Bulatov Non-Approximability.
CSC5160 Topics in Algorithms Tutorial 2 Introduction to NP-Complete Problems Feb Jerry Le
Mycielski’s Construction Mycielski’s Construction: From a simple graph G, Mycielski’s Construction produces a simple graph G’ containing G. Beginning with.
On the Hardness of Graph Isomorphism Jacobo Tor á n SIAM J. Comput. Vol 33, p , Presenter: Qingwu Yang April, 2006.
Techniques for Proving NP-Completeness
NP-Complete Problems Reading Material: Chapter 10 Sections 1, 2, 3, and 4 only.
CSE 326: Data Structures NP Completeness Ben Lerner Summer 2007.
CSE 421 Algorithms Richard Anderson Lecture 27 NP Completeness.
Chapter 11 Limitations of Algorithm Power Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
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.
9-1 Chapter 9 Approximation Algorithms. 9-2 Approximation algorithm Up to now, the best algorithm for solving an NP-complete problem requires exponential.
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.
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.
1 The Theory of NP-Completeness 2 NP P NPC NP: Non-deterministic Polynomial P: Polynomial NPC: Non-deterministic Polynomial Complete P=NP? X = P.
Approximation Algorithms
Graph Coloring.
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
1 The Theory of NP-Completeness 2012/11/6 P: the class of problems which can be solved by a deterministic polynomial algorithm. NP : the class of decision.
Nattee Niparnan. Easy & Hard Problem What is “difficulty” of problem? Difficult for computer scientist to derive algorithm for the problem? Difficult.
Design Techniques for Approximation Algorithms and Approximation Classes.
Chapter 15 Approximation Algorithm Introduction Basic Definition Difference Bounds Relative Performance Bounds Polynomial approximation Schemes Fully Polynomial.
1 CS104 : Discrete Structures Chapter V Graph Theory.
Techniques for Proving NP-Completeness Show that a special case of the problem you are interested in is NP- complete. For example: The problem of finding.
Data Structures & Algorithms Graphs
1 How to prove that a problem is NPC. 2 Cook Cook showed the first NPC problem: SAT Cook received Turing Award in 1982.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
Chapter 1 Fundamental Concepts Introduction to Graph Theory Douglas B. West July 11, 2002.
NP-Complete Problems. Running Time v.s. Input Size Concern with problems whose complexity may be described by exponential functions. Tractable problems.
1/24 Introduction to Graphs. 2/24 Graph Definition Graph : consists of vertices and edges. Each edge must start and end at a vertex. Graph G = (V, E)
The Dominating Set and its Parametric Dual  the Dominated Set  Lan Lin prepared for theory group meeting on June 11, 2003.
Non-Approximability Results. Summary -Gap technique -Examples: MINIMUM GRAPH COLORING, MINIMUM TSP, MINIMUM BIN PACKING -The PCP theorem -Application:
Locally constrained graph homomorphisms Jan Kratochvíl Jan Kratochvíl Charles University, Prague.
Graph Theory and Applications
Design and Analysis of Algorithms - Chapter 101 Our old list of problems b Sorting b Searching b Shortest paths in a graph b Minimum spanning tree b Primality.
CSE 589 Part V One of the symptoms of an approaching nervous breakdown is the belief that one’s work is terribly important. Bertrand Russell.
Graph theory and networks. Basic definitions  A graph consists of points called vertices (or nodes) and lines called edges (or arcs). Each edge joins.
Introduction to Graph Theory
NP-completeness NP-complete problems. Homework Vertex Cover Instance. A graph G and an integer k. Question. Is there a vertex cover of cardinality k?
Introduction to Graph Theory By: Arun Kumar (Asst. Professor) (Asst. Professor)
CSE 421 Algorithms Richard Anderson Lecture 27 NP-Completeness Proofs.
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
Introduction to NP Instructor: Neelima Gupta 1.
Eternal Domination Chip Klostermeyer.
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
Grade 11 AP Mathematics Graph Theory Definition: A graph, G, is a set of vertices v(G) = {v 1, v 2, v 3, …, v n } and edges e(G) = {v i v j where 1 ≤ i,
Fundamental Graph Theory (Lecture 1) Lectured by Hung-Lin Fu 傅 恆 霖 Department of Applied Mathematics National Chiao Tung University.
ICS 353: Design and Analysis of Algorithms NP-Complete Problems King Fahd University of Petroleum & Minerals Information & Computer Science Department.
The Theory of NP-Completeness
Graph Coloring.
Richard Anderson Lecture 26 NP-Completeness
Proof Techniques and Chessboard Problems
Graph theory Definitions Trees, cycles, directed graphs.
NP-Completeness Yin Tat Lee
Computability and Complexity
ICS 353: Design and Analysis of Algorithms
Richard Anderson Lecture 28 NP-Completeness
NP-Complete Problems.
Graph Coloring.
NP-Completeness Yin Tat Lee
The Theory of NP-Completeness
Problems on Paired Graphs
Locality In Distributed Graph Algorithms
Presentation transcript:

Problems on Paired Graphs Stephen Hedetniemi, Alice McRae, Dee Parks, Kelly Wise and come join in…

Very General Idea Input: Graph G = (V,E) and set S = {S 1, S 2, …S k } of disjoint subsets of V. Consider problems on graphs where we are making decisions about the vertices in S. The idea is to add a constraint that if two vertices u,v are in the same set in S, then we “treat them the same way” in the problem solution.

Examples Graph Coloring: if vertex u and v are in the same set, they are colored the same. Dominating Set, Independent Set, Packing, Vertex Cover, etc: if vertex u and v are in the same set, then they are either both chosen for the dominating set, or both excluded… or perhaps they must both have the same number of neighbors in the solution set, etc… If the problems involve assigning weights to the vertices, then two vertices in the same set, must be assigned the same weight… or the sum of the weights of their neighborhoods must be the same. … one could do edges as well as vertices … perhaps infinite possibilities…

Some Combinations Don’t Make Sense Example: Graph coloring: if “treating the same” meant giving the same color, we wouldn’t want two adjacent vertices in the same set. We could require that each set S = {S 1, S 2, …, S k } be independent.

Cost of the Solution Is the cost/profit of a set the same as the sum of the cost/profit of the individual vertices? No Easier to Find Problem Solutions If S = {}, or |S i | = 1 for each Si  S, then we are back to the original problem.

Applications? Package deals? Politics? Map coloring is an obvious one…

A Graph that is not 4-colorable? A B D C E F A is a colony of E. They should be colored the same color.

Graph Homomorphisms Homomorphism of a graph G=(V,E) into a graph G’=(V’,E’): f: V  V’ such that uv  E  f(u)f(v)  E’. Homomorphic image graph: f(G) = (f(V),f(E)), f(E) = {f(u)f(v) | uv  E} Note f(u) = f(v) implies uv  E. All the vertices in a given “empire” are identified. By becoming one vertex, they are forced to receive the same color.

ABC D E F ABC D E F B C D E F Graph G P = { {A,E} } Identify {A,E}. The resulting graph is K 5. which has chromatic number 5.

M-pire graphs Heawood (1890). Empires are limited to m regions (homomorphic images of planar graphs where the pre-image of a vertex is at most cardinality m) m-pires (m  2) can be colored with 6m colors. Jackson and Ringel (1983). Show how to find m-pires whose homomorphic images are K 6m.

Earth/moon maps: Special type of 2-pire graphs. Each earth vertex can have a colony on the moon. Joan Hutchinson (1993) applications of moon graphs to testing of printed circuit boards. Stewart(2008) Open problem whether there are earth/moon graphs that require 12 colors. Sulanke found an earth/moon graph requiring 9 colors.

Pairing of a Graph A pairing P of a graph G is a collection of disjoint pairs of vertices. Let P(G) be the graph obtained from G by identifying each pair of vertices in P. If the pairs in P are independent, then P(G) is a homomorphic image of G.

Some problems What is the best way to pair the graph, … or the worst, … with respect to chromatic number?  Pr (G) : the minimum chromatic number of a homomorphic image of G.  Pr (G): the maximum chromatic number of a homomorphic image of G.  Pr (G) =  (G)  kPr (G)   (G) // there are k pairs

Finding  (P(G)) In general, this is NP-complete. What if G is a path? a cycle? a tree? graphs where  (G) is easy to compute?

Paired Cycles are 4-colorable (with one exception) (Brooks, 1941) If G is a connected graph other than a clique or an odd cycle, then  (G)   (G). B C D E F  (C 10 ) = 5

Paired Trees and Paths For any tree T,  (T)  4 Complexity of finding  (P(G)): Instance: P(G), where G is a path Question: Is P(G) 3-colorable? Thm. Determining if P(G) is 3-colorable is NP-complete even when G is restricted to a path (or a cycle). Proof. Chromatic number is NP-complete for 4-regular graphs (proof for cycles, just find an Eulerian circuit through a 4-regular graph G). Chromatic number is NP-complete for graphs with degree sequence 4,4,4,4,4,4,…4,3,3 (same deal for an Eulerian trail)

Beyond chromatic number Independent Sets Given: Graph G and a pairing P. 1. Find: A largest independent set S, such that  {u,v}  P, u  S  v  S. 2. Find: A smallest maximal independent set S, such that  {u,v}  P, u  S  v  S. 3. An independent set in P(G) will be an independent set in G, and an independent set in G with the property  {u,v}  P, u  S  v  S will be an independent set in P(G), but the sizes of the sets may be different.

Use the size of the independent set in G… or the sum of the cardinalities of the pre- images of the vertices in an independent set in a homomorphic image of G… Or a weighted independence in the homomorphic image of G. Given graph G, pairing P, a set S  V(G) respects the pairing P if  {u,v}  P, u  S  v  S.

i(G,P) = the cardinality of a smallest maximal independent set in a graph G that respects independent pairing P.  (G,P) = the cardinality of a maximum independent set in a graph G that respects indep. pairing P. i - Pr (G) = the smallest i(G,P) over all possible indep. pairings P. i + Pr (G) = the largest i(G,P) over all possible indep. pairings of P  - Pr (G) = the smallest  (G,P) over all possible indep, pairings of P.  + Pr (G) = the largest  (G,P) over all possible indep. pairings of P.

A 1.  - Pr (G)   + Pr (G) =  (G) 2.i - Pr (G)  i(G)  i + Pr (G) P1 = {{A,I},{B,H},{C,E},{D,I}} P2 = {{F,A}} S1 = {F}S2 = {A,B,C,F} B C DEF J H I

Independent Set: Instance: Graph G, integer k Question: Does G have an independent set of cardinality  k? Known NP-complete for cubic graphs (Garey and Johnson). From this, easy construction to show NP-complete for 4- regular graphs and also for graphs with degree sequence 4,4,4,…,4,3,3.

If all vertices are paired, then we can use the paired homomorphic image of G because every vertex has weight 2. i(G,P) is NP-complete even for paths and cycles… (if i(G) is NP-complete for 4- regular graphs and graphs with degree sequence 4,4,4,4…4,3,3)  (G,P) is NP-complete even for paths and cycles.

Independent Dominating Sets Instance: Graph G, Independent pairing P Question: Does G have an independent dominating set that respects P? This is NP-complete.

Dominating Sets PAIRINGS DO NOT HAVE TO BE INDEPENDENT Problem Type 1:  (G,P). Given: Graph G, pairing P Find a dominating set that respects P of minimal cardinality. Problem Type 2:  + Pr (G,P). Given a graph G Find a pairing P that maximizes  (G,P).

Relationships Theorem:  - Pr (G) =  (G)   + Pr (G)  2  (G) Interesting one:  + Pr (G)  2  (G). Let S be a dominating set for G (without respect to any P). Find a dominating set S’ that respects a pairing P by taking any vertex in a pair with a vertex in S.

When is  + Pr (G)  2  (G) For all paths P n,  (P n ) =  n/3   + Pr (P n )  2  (P n ) n mod 6  1.  + Pr (P n )  2  (P n ) - 1, n mod 6 = 1. For all cycles, C n,,  (C n ) =  n/3   + Pr (C n )  2  (C n ), n mod 6 = 0.  + Pr (C n )  2  (C n ) - 1, n mod 6 = 3.  + Pr (C n )  2  (C n ) – 2, otherwise

Achieving 2*  for paths/cycles Might think the best idea is to simply pair consecutive vertices, but then as n gets big, you will take every other pair, and achieve about n/2 instead of 2n/3. One way is to group by 6. A A BBCC

Lots of Questions Need Answering Independent Set problems for paths and cycles We’ve looked at very few graphs – paths and cycles Different set properties Different ways of defining vertices being “treated” the same. Earth/moon problem: 9,10,11, or 12