A decision problem in graph coloring - MathOverflow most recent 30 from http://mathoverflow.net 2013-05-20T06:45:26Z http://mathoverflow.net/feeds/question/31003 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://mathoverflow.net/questions/31003/a-decision-problem-in-graph-coloring A decision problem in graph coloring Muse 2010-07-08T07:36:15Z 2010-07-09T23:43:30Z <p>It'll be great to get a pointer or answer to the following question:</p> <p>What is the complexity of the following problem? Given an unweighted and undirected graph, can we have a proper (not necessarily minimal) vertex coloring of the graph in which each color is used at least twice?</p> http://mathoverflow.net/questions/31003/a-decision-problem-in-graph-coloring/31014#31014 Answer by Falk Hüffner for A decision problem in graph coloring Falk Hüffner 2010-07-08T09:39:58Z 2010-07-08T09:39:58Z <p>It is NP-hard, since you can reduce the standard graph coloring problem to this problem by adding a sufficient number of degree-0 vertices.</p> http://mathoverflow.net/questions/31003/a-decision-problem-in-graph-coloring/31044#31044 Answer by Jukka Suomela for A decision problem in graph coloring Jukka Suomela 2010-07-08T13:45:13Z 2010-07-08T13:45:13Z <p>A simple observation: if the maximum degree Δ is at most <em>n</em>/2 &minus; 1, then there exists an <a href="http://en.wikipedia.org/wiki/Equitable_coloring" rel="nofollow">equitable colouring</a> with at most Δ + 1 = <em>n</em>/2 colours, and each colour class has to contain at least two nodes.</p> http://mathoverflow.net/questions/31003/a-decision-problem-in-graph-coloring/31115#31115 Answer by domotorp for A decision problem in graph coloring domotorp 2010-07-08T20:42:08Z 2010-07-09T17:44:06Z <p>This is NOW a complete answer. We can suppose that each color appears at most three times. Take the complement of the graph. Your question becomes equivalent to decide whether this graph has a perfect matching*, where we also allow triples (K_3) to be matched together. This problem WAS studied before:</p> <p>Muse's answer gives a paper that has a reference to this paper that shows that this problem is in P, see the abstract or Lemma 1 and after:</p> <p><a href="http://www.sciencedirect.com/science?_ob=ArticleURL&amp;_udi=B6V00-4CY8PR0-1H&amp;_user=164550&amp;_coverDate=03%252F31%252F1984&amp;_rdoc=1&amp;_fmt=high&amp;_orig=search&amp;_sort=d&amp;_docanchor=&amp;view=c&amp;_acct=C000013218&amp;_version=1&amp;_urlVersion=0&amp;_userid=164550&amp;md5=55e76f972ec8be192c6bb6098ea5377a" rel="nofollow">P. Hell and D. G. Kirkpatrick: Packings by cliques and by finite families of graphs</a></p> <p>Update: Ryan found an older paper proving the necessary result:</p> <p><a href="http://www.sciencedirect.com/science?_ob=ArticleURL&amp;_udi=B6V8M-48N542P-J&amp;_user=164550&amp;_coverDate=09%252F30%252F1982&amp;_rdoc=1&amp;_fmt=high&amp;_orig=search&amp;_sort=d&amp;_docanchor=&amp;view=c&amp;_searchStrId=1395834197&amp;_rerunOrigin=google&amp;_acct=C000013218&amp;_version=1&amp;_urlVersion=0&amp;_userid=164550&amp;md5=270dc4eaf72c5b02887e51cdd968392f" rel="nofollow">G. Cornuéjols, D. Hartvigsen, and W. Pulleyblank: Packing subgraphs in a graph</a></p> http://mathoverflow.net/questions/31003/a-decision-problem-in-graph-coloring/31168#31168 Answer by Muse for A decision problem in graph coloring Muse 2010-07-09T10:03:25Z 2010-07-09T10:03:25Z <p>I think I have found the answer. The problem is easy and the reference is the following paper:</p> <p>portal.acm.org/citation.cfm?id=1518279</p> <p>(The coloring problem is first phrased in terms of cliques in the complement graph)</p> http://mathoverflow.net/questions/31003/a-decision-problem-in-graph-coloring/31217#31217 Answer by Ryan Williams for A decision problem in graph coloring Ryan Williams 2010-07-09T17:20:53Z 2010-07-09T17:20:53Z <p>I think domotorp is correct; let me clarify his answer a bit. </p> <p>Note if any color appears four times or more, we can "split" it into two colors and still use each color at least twice. Finding a proper coloring is equivalent to partitioning the node set into disjoint independent sets (each part is a color class). Hence when we take the complement of the graph, we are seeking a partition of the node set into disjoint cliques. As we may assume each of these cliques have at most three nodes, the problem becomes: <em>pack edges and triangles in a graph such that all nodes are covered</em>. Not only is this problem in <strong>P</strong>, but the version where we have to maximize the number of nodes covered is also in <strong>P</strong>. That is proved here:</p> <blockquote> <p>G. Cornuéjols, D. Hartvigsen, and W. Pulleyblank. Packing subgraphs in a graph. Operations Research Letters, Volume 1, Issue 4, September 1982, Pages 139-143 </p> </blockquote> http://mathoverflow.net/questions/31003/a-decision-problem-in-graph-coloring/31259#31259 Answer by Lucas K. for A decision problem in graph coloring Lucas K. 2010-07-09T23:43:30Z 2010-07-09T23:43:30Z <p>Some thoughts.</p> <p>I like the idea of inverting the graph. I think the problem can be converted, to coloring the (inverted) graph for which each color appears exactly twice, or just once but then only on selected vertices (a joker vertex).</p> <p>If the original inverted graph contains a 3-clique, then one of the vertices of the clique can be selected and be allowed (but not necessarily) to be colored with a color not appearing anywhere else in the graph. You can repeat this step, until the graph does not contain any 3-clique anymore, that does not have a selected vertex. I think it is not difficult to prove that a coloring in the converted problem can be used to construct a coloring in the original problem and vice versa.</p> <p>With the converted problem, you eliminate any vertex that has 1 or 2 edges. In case of 1 edge, you remove the vertex and its neighbor. In case of 2 edges, you contract. By contraction, you can create a new 3-clique. However, in the converted problem, you are not allowed to color that with one color (that is why the conversion is necessary, because it allows the contraction).</p> <p>A cycle with an odd number of vertices, will end up in a single vertex, in which it becomes clear that a coloring is not possible. But not all impossible colorings will end up like that.</p> <p>Finally, you can do a BFS. For the search-border, you have a set of possibilities. Each element of the set, specifies for every vertex on the border, whether it needs another vertex of the same color or not. You want the keep the search border small.</p> <p>It might be NPC. For that, consider the vertices on the search-border as propositional variables and prove that any propositional expression can expressed as such graph (I don't know if that is possible).</p> <p>Lucas</p>