So far, the best known polynomial approximation algorithm achieves a factor of o n 0. Otherwise, pick a vertex with maximum degree, color it any color, and remove it. An expected polynomial time algorithm for coloring 2 colorable 3 graphs yury person1, 2mathias schacht institut fur. Cse 431 theory of computation spring 2014 lecture 15. Determining whether or not a graph is 3colorable is an npcomplete problem. In this lecture, we examine graph coloring algorithms. However the current known proof for the 4ct is computerassisted. Dafna shahaf 1 3coloring 3col is the problem of deciding whether there is a legal 3coloring of a graph all edges bichromatic. An edge coloring with k colors is called a kedgecoloring and is equivalent to the problem of partitioning the edge set into k matchings. Coloring 3colorable graphs using sdp 1 3coloring 2. Advanced approximation algorithms cmu 18854b, spring. An expected polynomial time algorithm for coloring 2. Since the petersen graph is 3 colorable and the heawood graph is 2 colorable, and since a vertexminimal non 3 colorable graph cannot contain a vertex of degree at most 2, it is enough to prove the rst assertion of the theorem.
Uniquely edge3colorable graphs and snarks springerlink. Our main result here is a polynomial time algorithm that works for sparser random 3 colorable graphs. A spectral technique for coloring random 3colorable graphs, proc. There is a polynomialtime algorithm to color any nvertex 3 colorable graph with 0n314 colors. Note that we consider here deterministic algorithms, and the above statement means that the algorithm succeeds to color almost all random graphs generated as. An edge coloring of a graph is a proper coloring of the edges, meaning an assignment of colors to edges so that no vertex is incident to two edges of the same color. The graph kcolorability problem gcp is a well known nphard. Color the rest of the graph with a recursive call to kempes algorithm. If the edge probability psatis es p cn, where cis a su ciently large absolute constant, the algorithm colors optimally the corresponding random 3 colorable graph with high probability. Then there exists a polytime algorithm that produces an op n coloring. Dafna shahaf 1 3 coloring 3col is the problem of deciding whether there is a legal 3 coloring of a graph all edges bichromatic. Graph traversal the most basic graph algorithm that visits nodes of a graph in certain order used as a subroutine in many other algorithms we will cover two algorithms depthfirst search dfs.
An expected polynomial time algorithm for coloring 2colorable 3graphs yury person1, 2mathias schacht institut fur. Theorem 2 if gis dense and 3 colorable, then there exists a polynomial time algorithm to nd a 3 coloring for g. It is also nphard to find a coloring of a 3colorable graph with at most five colors. However, for every k 3, a k coloring of a planar graph exists by the four color theorem, and it is possible to find such a coloring in polynomial time. You want to make sure that any two lectures with a common student occur at di erent times to avoid a. As we see here, the fact that an input graph is 3 colorable does not help much for graph coloring. Coloring 3colorable graphs using sdp march 4, 2008 lecturer. You want to know a property of graphs that makes those specific graphs 3colorable in polynomial time, and the algorithm for doing so.
Graphs and graph algorithms graphsandgraph algorithmsare of interest because. Graphs and graph algorithms school of computer science. A graph is kcolorableif there is a proper kcoloring. Keywords and phrases approximation algorithms, graph coloring. Wigdersons algorithm 3 i based on the following facts. Computing a 3 coloring of a 3 colorable graph is a fundamental nphard problem. A graph gis 2colorable if and only if it is bipartite. The subgraph induced by the neighborhood of any vertex is 2colorable 2. Coloring 3 colorable graphs using sdp march 4, 2008 lecturer. A certifying algorithm for 3colorability of p free graphs. If a vertex v has more than p n neighbors, then argue that the subgraph of the neighbors of v must be bipartite, and use the algorithm from class to color v and its neighbors with 3 new.
Note that it is still nphard to decide if a graph can be colored with three colors. Advanced approximation algorithms cmu 18854b, spring 2008 lecture 15. Given an algorithm that produces a semi coloring on g with k colors, then. Approximation algorithms and hardness of approximation. Wigdersons algorithm looks at the immediate neighborhoods of vertices, and uses the fact that in a 3colorable graph the neighborhood of any vertex is 2colorable.
The subgraph induced by the neighborhood of any vertex is 2 colorable 2. We say that a graph is k colorable if and only if it can be colored using k or less colors. Approximation algorithms for partially colorable graphs. A cubic graph g is uniquely edge 3 colorable if g has precisely one 1factorization. The famous 4color theorem ah77a, ah77b says that every planar graph is 4colorable. The earliest well known approximation for coloring 3colorable graphs was given by widgerson 4. Deciding 3colorability of a graph is a wellknown npcomplete problem. Every planar graph has at least one vertex of degree. Jun 06, 2010 deciding 3 colorability of a graph is a wellknown npcomplete problem. Breadthfirst search depthfirst search 19 breadthfirst search idea. Progress is made on that isolated subgraph before moving on to color the rest of the graph.
The problem of coloring 3colorable graphs in polynomial time with as few. To construct g, we replace all edge crossings in gwith the above gadget. It is worth noting that the situation would not improve even if we knew that the the input graph is classically 3 colorable, as the best know algorithm for classically 4coloring planar graphs. The current best known algorithm colors a 3 colorable graph on n vertices using o n 0. Kempes graphcoloring algorithm to 6color a planar graph. There is a simple algorithm for determining whether a graph is 2 colorable and assigning colors to its vertices. A complete algorithm to solve the graphcoloring problem. P 3coloring given a collection of clauses c 1, c k, each with at most 3 terms, on variables x 1, x n produce graph g v,e that is 3colorable iff the clauses are satisfiable. Let g be a kcolorable graph, and lets be a set of vertices in g such that dx,y. It is nphard to color a 3colorable graph with 4 colors gk00.
Advanced approximation algorithms cmu 18854b, spring 2008. It is adjacent to at most 5 vertices, which use up at most 5 colors from your palette. The goal is to minimize c, while still taking polynomial time. Lecture 18 1 overview 2 graph coloring 3 3coloring approximation. Approximation algorithms and hardness of approximation lecture15. Graph theory, part 2 7 coloring suppose that you are responsible for scheduling times for lectures in a university. To complete this proof, we will give the following reduction.
Blum 2 gave a combinatorial algorithm for coloring 3colorable graphs using o. Greedily start by coloring the neighborhoods of vertices with high degree, and throw out the parts already colored. Coloring 3colorable graphs with on15 colors drops schloss. In any nvertex 3 colorable graph with average degree exceeding 1np, we can make progress towards an 0n coloring where a 1 p. If youre still stuck let me know and ill provide more details. We give a very simple on2 algorithm to 4color 3 colorable planar graphs. Polynomial time algorithms that optimally color random kcolorable graphs for. A coloring is proper if adjacent vertices have different colors. It is worth noting that the situation would not improve even if we knew that the the input graph is classically 3colorable, as the best know algorithm for classically 4coloring planar graphs. We give a new proof showing that it is nphard to color a 3colorable graph using just.
Karger, motwani and sudan presented a graph coloring algorithm based on semidefinite programming, which colors any kcolorable graph with maximum degree a using o. Of course, the four color theorem 4ct 1, 2, 14 gives an on2 time algorithm to 4color any planar graph. That algorithm is due to wigderson 1 and can be extended to. Graph algorithms illustrate both a wide range ofalgorithmic designsand also a wide range ofcomplexity behaviours, from. Explore from sin all possible directions, layer by layer. Graphsmodel a wide variety of phenomena, either directly or via construction, and also are embedded in system software and in many applications. Mohammadtaghi hajiaghayi kenichi kawarabayashi abstract at the core of the seminal graph minor theory of robertson and seymour is a powerful structural theorem capturing the structure of graphs excluding a. Recent methods for approximate colorings of 3colorable graphs. Efficiently computing a coloring of a 3 colorable graph which only uses a few colors is a major open problem in the study of algorithms.
388 1151 511 1343 999 197 1197 1051 926 1273 1296 1493 617 968 1296 1194 1135 1273 1467 238 909 760 412 1190 684 691 1424 1145 1223 1168 378 211 1346 979 169 551 1128 943 1376 239 413 580 803