An -Approximation Algorithm for Vertex Cover on String Graphs
Abstract
We present a 1.8334-approximation algorithm for Vertex Cover on string graphs given with a representation, which takes polynomial time in the size of the representation; the exact approximation factor is . Recently, the barrier of 2 was broken by Lokshtanov, Panolan, Saurabh, Xue, and Zehavi [SoGC ’24] with a 1.9999-approximation algorithm. Thus we increase by three orders of magnitude the distance of the approximation ratio to the trivial bound of 2. Our algorithm is very simple. The intricacies reside in its analysis, where we mainly establish that string graphs without odd cycles of length at most 11 are 8-colorable. Previously, Chudnovsky, Scott, and Seymour [JCTB ’21] showed that string graphs without odd cycles of length at most 7 are 80-colorable, and string graphs without odd cycles of length at most 5 have bounded chromatic number.
Keywords and phrases:
Approximation algorithms, string graphs, Vertex Cover, Coloring, odd girthFunding:
Édouard Bonnet: supported by the French National Research Agency through the project TWIN-WIDTH with reference number ANR-21-CE48-0014.2024/54/E/ST6/00094.
Copyright and License:
![[Uncaptioned image]](x1.png)
2012 ACM Subject Classification:
Theory of computation Approximation algorithms analysisFunding:
For the purpose of Open Access, the author has applied a CC-BY public copyright licence to any Author Accepted Manuscript (AAM) version arising from this submission.Editors:
Oswin Aichholzer and Haitao WangSeries and Publisher:

1 Introduction
The Vertex Cover problem111As an optimization problem, given a graph , find a smallest possible vertex subset such that (i.e., the subgraph of induced by all the vertices not in ) is edgeless. is one of Karp’s 21 NP-complete problems [12]. While it admits several easy polynomial-time 2-approximation algorithms, it is an open question if an approximation factor of can be achieved for some . If the unique games conjecture (UGC) holds, then the answer to the latter question is negative [15]. Under the sole assumption, it is currently only known that Vertex Cover cannot be approximated within ratio less than [13, 9, 14].
On several graphs classes, better approximation algorithms of Vertex Cover exist. For instance, this problem can be exactly solved in polynomial time on bipartite graphs, as it reduces to a maximum flow problem [16]. It also admits a polynomial-time approximation scheme (PTAS) on planar graphs by Baker’s technique [2]. On the contrary, a -approximation algorithm for Vertex Cover with on triangle-free graphs would imply the same holding for general graphs. Indeed, one can observe that any vertex cover intersects each triangle on at least two vertices. One can thus repeatedly include all three vertices of a triangle in the approximate solution. Once the input graph has no triangle left, one calls the -approximation algorithm. This strategy can be seen to achieve approximation factor on general graphs. In particular, the former algorithm on triangle-free graphs would refute the UGC. Thus we say that -approximating Vertex Cover on triangle-free graphs is UGC-hard. It would be interesting to establish a dichotomy splitting the hereditary (i.e., closed under vertex removals) graph classes on which we know a -approximation algorithm from those on which this task is UGC-hard.
The class of string graphs consists of every intersection graph of connected sets in a planar graph. Alternatively string graphs are the intersection graphs of curves in the planes, called strings. The set of strings is called a geometric representation or string representation. The geometric representation may be convenient for drawing and in the proofs, but it is not so easy to handle as input. For that, we will also adopt a more combinatorial approach, based on the first definition of string graphs. A representation of a string graph is a planar graph and as many connected vertex subsets of as has vertices; two vertices are joined by an edge if and only if their corresponding subsets intersect. A caveat is that finding a (geometric) representation is NP-hard [19]. Furthermore, some string graphs require representations whose size (i.e., the number of vertices of or the number of crossings in a geometric representation) is exponential in [20].
Recently Lokshtanov, Panolan, Saurabh, Xue, and Zehavi [23] presented a -approximation algorithm for Vertex Cover on string graphs, for some small positive . In this paper, we give a simpler algorithm with improved approximation factor
Theorem 1.
Vertex Cover admits an -approximation algorithm in string graphs given with a representation, whose running time is polynomial in the size of a representation.
Our algorithm works as follows. We first get rid of all the odd cycles of length at most 11. This is done as in the abovementioned reduction to triangle-free graphs. While there is an odd cycle with , any vertex cover contains at least 6 vertices of . We thus include all vertices of in our approximate solution, and remove them from the graph. This ensures an approximation factor, if such a factor can be achieved in the resulting graph. We can thus assume that our input graph has odd girth222The (odd) girth of a graph is the length of a shortest (odd) cycle of . more than 11. As the standard linear-programming (LP) formulation of Vertex Cover is half-integral [26], we can further assume that the vertex cover contains at least half of the vertices (see Theorem 14). Note that these opening steps are also present in [23].
We now deviate from the previous algorithm, and simply bound the chromatic number of string graphs of odd girth larger than 11.
Theorem 2.
Every string graph of odd girth larger than 11 is 8-colorable, and given a representation, an 8-coloring can be found in time polynomial in the representation.
A largest color class in a proper 8-coloring has size at least in an -vertex graph. Thus, its complement is a vertex cover of size at most . As the optimum solution has size at least , this yields a factor, and we conclude. Therefore, the main technical content of the paper is the proof of Theorem 2.
Outline of the proof of Theorem 2.
Our strategy goes as follows. We make a breadth-first search (BFS) from some arbitrary vertex in each connected component of the graph . We reserve colors for the even-indexed BFS layer, and for the odd-indexed BFS layer. We thus need to 4-color each connected component of each subgraph induced by a single layer. Let be a string representation of the entire graph, and its restriction to . As any face in the arrangement can be made the infinite face, we can assume that the string of lies on the infinite face of . Now has a nice property: The minimal topological disk that contains it is such that each string of intersects at least one string (in ) that itself crosses , the boundary of . Indeed, such a string is given by a neighbor in the previous layer.
We now consider the string representation made by and at least one neighbor of the previous layer for each vertex of , and intersect it by . Each string of remains in one piece, whereas the strings of the previous layer are possibly split into several strings in . Let be the intersection graph of . We further layer with the distance in to a fixed vertex . Let be the vertices of at distance exactly from in .
We are left with proving that is bipartite. For the sake of contradiction, we assume that there is an odd cycle in . Our goal is to show that this odd cycle is contained in a ball of small radius around some vertex, yielding a contradiction in the form of a short odd cycle. For that, we establish that there is another odd cycle (built from ) such that the string of is contained in a face made by few strings of , with most of the rest of not intersecting . A string defining is then at a small distance of every string of since a (shortest) path from to a vertex of the rest of has to cross the boundary of . After which, the path has only a constant number of steps to reach its target since vertices of are at distance , , or from . The short odd cycle in implies the existence of a short odd cycle in , a contradiction.
Chromatic number of intersection graphs without short (odd) cycles.
The chromatic number of intersection graphs of a given girth has a long history. Erdős and Gyárfás asked if girth-4 (i.e., triangle-free) segment intersection graphs have bounded chromatic number [10]. Kostochka and Nešetřil [17] raised the same question for 1-string graphs.333The 1-strings are strings every pair of which intersects at most once; note that it is not a property of particular objects but rather their arrangement. Both questions were answered in the negative in [27]. It was further shown by Walczak [28] that there are triangle-free segment intersection graphs without independent sets of size linear in the number of vertices. Nevertheless, Kostochka and Nešetřil [18] proved that 1-string graphs of girth at least 8 are 3-colorable, and asked [18, Problem 3] whether 8 could be replaced by 5. This has been confirmed for outer 1-strings by Das, Mukherjee, and Sahoo [7].
More relevant to our Vertex Cover application, the chromatic number of (1-)string graphs of a given odd girth has also been considered. (Note indeed that, in the design of a -approximation algorithm for Vertex Cover, whereas one can remove odd cycles up to any fixed size, the same trick does not apply to 4-vertex cycles.) McGuinness established that 1-string graphs of odd girth at least 7 have bounded chromatic number [24, 25]. Chudnovsky, Scott, and Seymour [6, Corollary from 12.4 and 12.5] further showed that string graphs of odd girth at least 9 are 80-colorable, and string graphs of odd girth at least 7 have bounded chromatic number. With proper adjustments, the former result can be turned into an algorithm that inputs a representation of any string graph of odd girth at least 9, and outputs an 80-coloring of in time polynomial in the representation. However, this would yield a significantly worse approximation factor for Vertex Cover.
The reason intersection graphs of 1-strings with girth at least 8 are 3-chromatic [18] is that they are 2-degenerate, i.e., (all their induced subgraphs) have a vertex of degree at most 2, which gives a recursive 3-coloring strategy. While string graphs of large odd girth are not -degenerate for any (they contain arbitrarily large bipartite complete graphs), we conjecture that they are nevertheless 3-colorable.
Conjecture 3.
There is an integer such that the class of string graphs of odd girth at least is 3-chromatic.
A stronger form of Conjecture 3 is that it holds for .
Limits of the method.
The following observation summarizes the trade-off between required odd girth and bound on the chromatic number, in how they impact the approximation ratio.
Observation 4.
Let be a class such that there is a polynomial-time algorithm to -color the graphs of of odd girth at least an odd positive integer . Then Vertex Cover admits a polynomial-time -approximation algorithm in .
We apply Observation 4 on represented string graphs with and . Showing a counterpart of Theorem 2 with and would improve the ratio to , and with and , to . Past this point, our 8-coloring starts being the bottleneck. The last possible step of this method would be to get parameters and , for a ratio of Indeed we recall that string graphs of odd girth at least 5 have unbounded chromatic number [27], and do not necessarily have linear-size independent sets [28]. On the complexity side, we do not expect that Vertex Cover is APX-hard (i.e., NP-hard to approximate within some constant ratio ) on represented string graphs as a quasipolynomial-time approximation scheme (QPTAS) exists [1, 11]. However, if a PTAS also exists, it will have to be found with a different approach than ours.
Let us emphasize that Theorem 2 is the only place where our algorithm actually requires a representation of the input to be given. Thus, an algorithm coloring string graphs with no short odd cycles, that works directly on the input graph (not its representation), would yield an approximation algorithm for Vertex Cover in string graphs whose complexity is polynomial in the number of vertices of . However, if we are only interested in the decision variant of the problem, the existential statement in Theorem 2 is sufficient to get the following result.
Theorem 5.
Given a graph and an integer , in time polynomial in we can distinguish the following cases:
-
1.
is a string graph and , and
-
2.
is a string graph and .
If none of the cases applies, the algorithm terminates but its output is unspecified.
Let us remark that the authors of [23] claim that their algorithm can actually return a 1.9999-approximate solution in time polynomial in the number of vertices of the input graph but this is, unfortunately, not true. Indeed, one of the crucial steps in their argument is the application of a result of Lee [22, Theorem 4.2], whose proof has recently been realized to be flawed444The inequality at the sixth line of the proof of Lemma 4.14 need not hold. [21, 3]. Seemingly the result [22, Theorem 4.2] can be reproven in a different way but only for region intersection graphs (a generalization of string graphs) [8], and the new approach requires that the representation is given (and still the final approximation ratio is much closer to 2 than the one given by Theorem 1). Similarly, it is claimed that the approach in [23] applies for all proper induced-minor-closed classes, but the problem lies in the same place: we are not aware of any way to fix the proof of Lee [22, Theorem 4.2] in such a general setting.
We leave as open questions if Vertex Cover admits, for some constant , a -approximation algorithm on string graphs given without representation (which is very likely to be the case), and on classes excluding a fixed graph as an induced minor.555i.e, cannot be obtained from graphs of the class by removing vertices and contracting edges
2 Definitions and preparatory lemmas
If are two non-negative integers, we denote by the set , and is a short-hand for .
Graphs and odd cycles.
We denote by and the set of vertices and edges of a graph , respectively. A graph is an induced subgraph (resp. subgraph) of a graph if can be obtained from by vertex deletions (resp. by vertex and edge deletions). For , the subgraph of induced by , denoted , is obtained by removing from all the vertices that are not in . Then is a short-hand for . A set is connected (in ) if has a single connected component.
If is a cycle, once a direction along the cycle is fixed, we may denote by the subpath of from to , turning in this direction.
Lemma 6.
Let be a graph that has an induced odd cycle , and let have at least two neighbors in . Then there is a subpath of that forms with an induced odd cycle of .
Proof.
Let list the neighbors of on , starting at an arbitrary vertex and turning in a fixed (arbitrary) direction. The cycles , each with vertex set for , respectively, have a combined number of edges of ; an odd number since is odd. Hence at least one of has odd length.
Let be a graph and . We denote by and , the open, respectively closed, neighborhood of in . For a non-negative integer , we denote by (resp. ) the set of vertices of at distance at most (resp. exactly ) from . We may call the ball of radius around (in ). We will rely on the observation that if a possibly long odd cycle is contained in a ball of small radius, then there is also a short odd cycle (in this ball).
Lemma 7.
Let be a graph, , and be a positive integer. Suppose contains an odd cycle . Then (even ) has an odd cycle of length at most . Furthermore, if is an independent set of , then (even ) has an odd cycle of length at most .
Proof.
Perform a breadth-first search (BFS) starting at in . By definition, this breadth-first search has exactly layers , with for each . At least one is not an independent set, otherwise would be bipartite, and would not contain any odd cycle. Say are adjacent, and let be their lowest common ancestor in the BFS tree (possibly and ). Then, there is a cycle of length in , consisting of the edge and the paths from to and from to in the BFS tree. Furthermore, if is an independent set of , then the odd cycle has at least one of its edges with both endpoints in some , which makes an odd cycle of length at most .
String representations, and some useful notions and properties.
A string is a subset of homeomorphic to a closed segment. We may call a path-connected subset of a string a substring of . If is a collection of strings in the plane, we denote their intersection graph by , with one vertex per string, and an edge between every pair of intersecting strings. For any vertex , we denote by the string representing in . Conversely, we may denote by the vertex represented by the string . We typically drop the subscript when is clear from the context. If is an induced subgraph of , we may denote by the subset of strings of corresponding to vertices of .
A face of a geometric arrangement made by a collection of strings, or more specifically of curves, in is a connected component of . A closed face is the topological closure of a face. If is a topological disk, and more generally a face, we denote by its boundary. For instance, the curve defines two faces, one of which is finite (), and admits as a closed face. We may denote by the closure of an (open) face .
If is an induced path represented by strings (i.e., and intersect whenever ), and , we denote by a minimal path-connected subset of containing and . In particular is a string with endpoints and , coinciding with each on a substring of positive length. Although is not necessarily uniquely defined, every further claim will hold regardless of the actual choice for . It can thus be thought as a short-hand for: fix any minimal path-connected subset of containing and , and denote it .
It will be convenient to extend the latter notation to induced cycles, that is, to allow and to be adjacent. If may be a cycle, then is defined more specifically in the case when and indeed intersect. If there is a point and two substrings with endpoints and , respectively, such that , then . If not, then there is a (non-self-intersecting) string that starts at , follows non-empty substrings of in this order, and ends at . We fix, as before, to be any such string.
We will need the following lemma.
Lemma 8.
Let be a topological disk in the plane. Let be a set of strings all contained in , whose intersection graph is a cycle , such that
-
,
-
every string of has one or both endpoints in ,
-
no other point of a string of intersects , and
-
no two strings of (hence of ) intersect at a point of .
Let be a string contained in with at least one endpoint in , such that does not intersect any string of .
Then there are two strings , and strings with a subpath of (or itself), and is contained in a closed face of the arrangement such that does not intersect any string of outside of , the two strings of intersecting (including ), and the two string of intersecting (including ).
Proof.
Let be two distinct strings of , with and . Let be the two paths from to in . We define the strings and . We denote by and the two minimal path-connected subsets of containing and . Let be the two finite (open) faces with boundary and , respectively. Similarly let be the two finite faces with boundary and , respectively.
As is an induced cycle, at most one of intersects the string of some vertex in . Without loss of generality, suppose that does not intersect any string of . As does not intersect , it is contained in the closed face or in the closed face . If is contained in , we set and , and proceed to the next paragraph. Otherwise, we observe that is contained in , and does not intersect any string of . In which case we set and .
At this point, we have all the requirements of the lemma except that some strings of may be in . Let be with a neighbor of , and a neighbor of . While there is some string with , we let and distinguish two cases. If turn along in the same direction as , we set and . Otherwise we set and . (Note that decreases by at least one in each case.) When we exit the while loop, , and the subpath of (now only made of strings of ) satisfy the lemma statement. A visual recap is provided by Figure 2.
3 String graphs of odd girth larger than are -colorable
This section is devoted to the proof of Theorem 2. Let be a string graph of odd girth strictly greater than 11, and be a string representation of . We may color each connected component of independently, thus assume that is connected. Let be an arbitrary vertex. For each , let be the set of vertices at distance exactly from . Note that partition , and that there may be an edge between and only if .
Our goal is to 4-color for each non-negative integer . We are then done, since we can use two disjoint 4-color palettes for and . We fix , and assume that since is a singleton, and is an independent set, due to the condition on the odd girth. Note that it is sufficient to 4-color each connected component of . Let be the vertex set of any connected component of .
Definition of the topological disk .
Let be the string representation of obtained by keeping the strings of corresponding to vertices of . Let be the topological disk whose boundary is the boundary of the infinite face in the arrangement . If is contained in , we draw on a sphere, place any arbitrary free point (i.e., not occupied by a string of ) of the face containing in at its North pole, and consider the stereographic projection of this string representation. The latter is such that is on the infinite face of the string arrangement . Thus we can in fact assume that is not contained in .
Note that every string of is contained in , and apart from those of no string of intersects . Let be a very slightly augmented topological disk such that , the property that no string outside intersects is preserved, no intersection of two strings of lies on , and, for any point , no string of intersects at without crossing it at . We observe that every string of with a neighbor in intersects , and that every vertex of has a neighbor in .
Definition of the auxiliary graph .
Let be the set of strings formed by , and its intersection graph. Every vertex of corresponds to a single vertex in , whereas each vertex of may split in several strings in as the corresponding string in may enter and exit several times. However, the strings of that correspond to the same vertex in are pairwise non-intersecting and thus they form an independent set in . Fix an arbitrary vertex . Let be the subset of vertices of at distance exactly from in . Again, partition . By the previous remarks, it is sufficient to show that that for any positive integer , the graph is bipartite. We fix , and show this fact in the next section.
3.1 is bipartite
For the sake of contradiction assume that there is an induced odd cycle in . We denote by the vertices of . For every , we fix some . Such a vertex exists since every vertex of has at least one neighbor in (possibly split into several strings in , at least one of which intersects ). Observe that are not necessarily pairwise distinct. We set , with . We say that string (and, by extension, vertex ) is simply attached in a cycle containing if has only one neighbor in , namely . We denote by one (arbitrary, if both endpoints are in ) endpoint of that is in .
Our plan is to show that there is an odd cycle contained in the ball of radius 6 around some vertex in such that is an independent set. This implies, by Lemma 7, the existence of an odd cycle of length at most 11 in , which in turn implies, as we will see, that the same happens in . To do this, we exhibit a path in on at most four vertices, whose strings define with a (finite) closed face containing (recall that is the arbitrary BFS root in ), and an odd cycle in “mostly” contained in . We then show that can be chosen among the vertices of .
Let us first establish the following lemma.
Lemma 9.
There is an induced odd cycle in such that and one of the following items holds
-
and every string of is simply attached in , or
-
, for some , and induces a subpath of whose internal vertices are all simply attached in , or
-
, and there is a subpath of (or itself) such that , , may be empty, are all simply attached in , and is contained in a closed face of that does not intersect any string of but and the other neighbor in of and of .
Proof.
If all the strings of are simply attached, we are done as the first item holds. Otherwise there is some with at least two neighbors in . By Lemma 6, there is an induced odd cycle such that comprises and a subpath of .
Let , and suppose we have defined . If satisfies the second or the third item of the lemma, we are done; so we assume otherwise. We will show that we can find an induced cycle in with fewer vertices in than has.
First, suppose that is a singleton . As does not satisfy the second outcome, there is a vertex that is not simply attached nor adjacent to in . We then obtain by applying Lemma 6 to the pair .
Suppose instead that has at least two vertices in . By Lemma 8, is contained in a closed face of the arrangement with and such that does not intersect any string of outside where are the unique vertices in , respectively. As does not satisfy the third item, and there is some with such that is not simply attached in . We then obtain by applying Lemma 6 to the pair ; see Figure 3.
In both cases, the number of vertices of present in the current odd cycle drops by at least one when going from to . Thus, after at most iterations, the procedure will return an odd cycle in that satisfies the second or the third statement of the lemma.
We can then obtain the announced milestone.
Lemma 10.
There is an induced odd cycle in , two distinct vertices in , possibly part of , and a subpath of on 0, 1, or 2 vertices, all in , such that
-
if , then is adjacent to one endpoint of , and , to the other (possibly equal) endpoint of , and if , then and are adjacent,
-
one finite closed face of the arrangement contains , and
-
the other finite closed face contains every string of .
Proof.
By Lemma 9, there is an induced odd cycle in , two vertices , possibly part of , and a possibly-empty subpath of such that
-
and each internal vertex of is simply attached in ,
-
is a path or a cycle (we allow and to be adjacent, even when ),
-
has two finite closed faces , and
-
containing every string of .
Indeed, we directly get this outcome if the third item of Lemma 9 holds. If instead the first item of Lemma 9 holds, we set and for any such that . This is possible to ensure since is triangle-free and . The path is then chosen as the subpath of from to such that separates from . If finally the second item of Lemma 9 holds, we set for any such that , and is defined as the only vertex of . We then set as previously.
Now, while the path has at least three vertices and passes through the strings of , let be an internal vertex of . By construction, is simply attached in . Let be the subpath of going from the endpoint of neighboring to , and be the subpath of going from to its other endpoint (neighboring ). Then, either and the pair or and the pair satisfy the four items of the previous paragraph. In the former case, we set and , whereas in the latter, we set and ; see Figure 4.
We are done when or when is contained in . In both cases, we set and , and in the latter case, we set to be empty.
Following the notations of Lemma 10, we define as the neighbor of in if , and as otherwise.
Lemma 11.
.
Proof.
We keep the notations of Lemma 10. First we observe that any vertex in is at distance at most 3 of in . It remains to see that every vertex of such that is contained in is at distance at most 6 from in .
Note that every vertex of is at distance , , or from in , since every vertex of is at distance exactly from in , and every vertex of has a neighbor in . As is in , a (shortest) path from to has to contain a vertex such that intersects . Since vertices of are at distance at least from , vertex is at distance at least from . Now, as vertices of are at distance at most from , vertex is at distance at most 3 from . In turn, is at distance at most 3 from , and we conclude.
We further show that no edge of can lie within .
Lemma 12.
is an independent set of or admits an odd cycle of length at most 9.
Proof.
The proof of Lemma 11 shows that for some vertex to be at distance 6 from in , there should be a 4-edge path from to . Thus two vertices adjacent in and at distance 6 from in entail an odd cycle of length at most 9 in , built from , the corresponding two (non-necessarily edge-disjoint) 4-edge paths, , and .
Lemmas 11, 12, and 7 imply the existence of an odd cycle of length at most 11 in . To reach the final contradiction, we build an odd cycle of at most the same length in .
Lemma 13.
Let be an odd cycle in . Then has an odd cycle of length at most .
Proof.
We initialize a represented odd cycle to realized by the corresponding strings of . We make an induction on the number of strings of not part of the representation of . When this number is 0, we conclude since contains the cycle as a subgraph. Let be all the vertices of whose strings are substrings of for some .
We further assume that starting at , and turning in some fixed (arbitrary) direction along , one encounters in this order. Let, for every , be the number of edges of . As, , at least one is odd. Recall that is an independent set in , hence every is strictly greater than 1. Then the string and those of the internal vertices in the path between and form an odd cycle of length at least 3 and at most . This defines the new represented odd cycle , and concludes the proof.
3.2 8-coloring algorithm
To claim Theorem 2, we finally need to check that, given a representation of a string graph of odd girth larger than 11, one can compute an 8-coloring of in time polynomial in . Recall that is a planar graph and is a set of non-empty connected sets in in one-to-one correspondence with such that two distinct connected sets of intersect if and only if the corresponding vertices of are adjacent. Note that, as is in particular triangle-free, .
We remind the reader that we compute one BFS in , and fewer than BFSes in auxiliary graphs of size at most . After this we simply 2-color bipartite graphs whose combined number of vertices is at most . Thus, we shall just detail how to compute each auxiliary graph .
Let be the component of giving rise to . We start by adding every vertex of to . We compute the set of all the vertices contained in an element of corresponding to a vertex of . Let be a vertex in the connected set of . Let be the vertices for which there is a path in from to whose internal vertices are all in . Note that can be computed in polynomial time in by checking if and are in the same connected component of . The set is the combinatorial counterpart of . In particular, we do not need to change the representation if is in a finite face “made by .” This was merely helpful in the correctness proof.
For each vertex (alternatively we can only keep at least one neighbor per vertex of ), we add to one vertex for each connected component of in , where is the connected set of . Note that for every vertex set of such a connected component. This step adds to fewer than vertices. Graph is finally defined as the intersection graph of all the connected sets of vertices in , which can be computed in time polynomial in .
4 Approximation algorithm for Vertex Cover
For a graph , let denote the size of a minimum vertex cover in . We will use the following result of Chlebík and Chlebíková [5], which is a slight strengthening of the well-known Nemhauser–Trotter theorem [26].
Theorem 14 (Chlebík and Chlebíková [5], Nemhauser and Trotter [26]).
Given a graph , one can compute in polynomial time a partition of into , such that
-
1.
there are no edges between and or within ,
-
2.
, and
-
3.
every minimum vertex cover of satisfies .
Finally, we are ready to prove Theorem 1, which we restate for convenience.
See 1
Proof.
Let be the input graph, given along with a representation. The algorithm has three phases.
Phase one.
We initialize . If contains an odd cycle of length at most 11, we include all its vertices into and remove them from the graph. We repeat this step exhaustively; clearly this can be done in polynomial time. Let be the graph obtained after the last iteration of the process.
Phase two.
We call the algorithm from Theorem 14 on the graph in order to obtain three sets , and . We denote and . Note that is a string graph with odd girth larger than 11 and the representation of can be easily obtained from the representation of by removing objects corresponding to vertices in .
Phase three.
We apply the algorithm from Theorem 2 to find a proper coloring of with at most 8 colors. Let be the color that appears most frequently, and let be set of vertices of not colored . Clearly , so . The algorithm returns .
Analysis.
First, let us argue that is indeed a vertex cover. Since , it is enough to show that is a vertex cover of . Note that by the first property in Theorem 14 and since , all edges of not contained in are covered by . So we are left with showing that is a vertex cover of . This is clearly true, as the complement of in is an independent set (of color ).
Now let us analyze the approximation factor. Let be an optimum solution, i.e., a vertex cover of of size . Note that for each odd cycle removed in the first phase, must contain at least vertices in order to cover all the edges of . As each removed cycle has at most 11 vertices, we conclude that .
Note that is a vertex cover of . By the third property in Theorem 14 we observe that , and so is a vertex cover of . By the second property in Theorem 14 we obtain that .
Summing up, we obtain
which means that . This completes the proof.
The proof above is easily adapted to show Theorem 5. The first two phases remain unchanged. Let be the family of odd cycles found in phase one and let be the set found in phase two. Once we reach phase three, we do not call the coloring algorithm on , as its running time might not be polynomial in . Instead, we check if and, if so, we reject the instance. Note that the sum in the expression above is a lower bound on , so this step is correct. Otherwise, we accept the instance. The approximation guarantee is estimated as in the proof of Theorem 1.
References
- [1] Anna Adamaszek, Sariel Har-Peled, and Andreas Wiese. Approximation schemes for independent set and sparse subsets of polygons. J. ACM, 66(4):29:1–29:40, 2019. doi:10.1145/3326122.
- [2] Brenda S. Baker. Approximation algorithms for NP-complete problems on planar graphs. J. ACM, 41(1):153–180, 1994. doi:10.1145/174644.174650.
- [3] Édouard Bonnet, Jędrzej Hodor, Tuukka Korhonen, and Tomáš Masařík. Treewidth is polynomial in maximum degree on weakly sparse graphs excluding a planar induced minor. CoRR, abs/2312.07962, 2023. doi:10.48550/arXiv.2312.07962.
- [4] Édouard Bonnet and Paweł Rzążewski. An 11/6-approximation algorithm for vertex cover on string graphs. CoRR, abs/2409.18820, 2024. doi:10.48550/arXiv.2409.18820.
- [5] Miroslav Chlebík and Janka Chlebíková. Improvement of Nemhauser-Trotter theorem and its applications in parametrized complexity. In Torben Hagerup and Jyrki Katajainen, editors, Algorithm Theory - SWAT 2004, 9th Scandinavian Workshop on Algorithm Theory, Humlebaek, Denmark, July 8-10, 2004, Proceedings, volume 3111 of Lecture Notes in Computer Science, pages 174–186. Springer, 2004. doi:10.1007/978-3-540-27810-8_16.
- [6] Maria Chudnovsky, Alex Scott, and Paul D. Seymour. Induced subgraphs of graphs with large chromatic number. V. Chandeliers and strings. J. Comb. Theory B, 150:195–243, 2021. doi:10.1016/J.JCTB.2021.05.001.
- [7] Sandip Das, Joydeep Mukherjee, and Uma kant Sahoo. Outer 1-string graphs of girth at least five are 3-colorable. In Extended Abstracts EuroComb 2021: European Conference on Combinatorics, Graph Theory and Applications, pages 593–598. Springer, 2021.
- [8] James Davies. private communication.
- [9] Irit Dinur, Subhash Khot, Guy Kindler, Dor Minzer, and Muli Safra. Towards a proof of the 2-to-1 games conjecture? In Ilias Diakonikolas, David Kempe, and Monika Henzinger, editors, Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2018, Los Angeles, CA, USA, June 25-29, 2018, pages 376–389. ACM, 2018. doi:10.1145/3188745.3188804.
- [10] András Gyárfás. Problems from the world surrounding perfect graphs. Applicationes Mathematicae, 19(3-4):413–441, 1987.
- [11] Sariel Har-Peled. Approximately: Independence implies vertex cover. CoRR, abs/2308.00840, 2023. doi:10.48550/arXiv.2308.00840.
- [12] Richard M. Karp. Reducibility among combinatorial problems. In Raymond E. Miller and James W. Thatcher, editors, Proceedings of a symposium on the Complexity of Computer Computations, held March 20-22, 1972, at the IBM Thomas J. Watson Research Center, Yorktown Heights, New York, USA, The IBM Research Symposia Series, pages 85–103. Plenum Press, New York, 1972. doi:10.1007/978-1-4684-2001-2_9.
- [13] Subhash Khot, Dor Minzer, and Muli Safra. On independent sets, 2-to-2 games, and grassmann graphs. In Hamed Hatami, Pierre McKenzie, and Valerie King, editors, Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2017, Montreal, QC, Canada, June 19-23, 2017, pages 576–589. ACM, 2017. doi:10.1145/3055399.3055432.
- [14] Subhash Khot, Dor Minzer, and Muli Safra. Pseudorandom sets in grassmann graph have near-perfect expansion. In Mikkel Thorup, editor, 59th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2018, Paris, France, October 7-9, 2018, pages 592–601. IEEE Computer Society, 2018. doi:10.1109/FOCS.2018.00062.
- [15] Subhash Khot and Oded Regev. Vertex cover might be hard to approximate to within 2-epsilon. J. Comput. Syst. Sci., 74(3):335–349, 2008. doi:10.1016/J.JCSS.2007.06.019.
- [16] Dénes Kőnig. Gráfok és mátrixok. Matematikai és Fizikai Lapok, 38:116–119, 1931.
- [17] Alexandr Kostochka and Jaroslav Nešetřil. Chromatic number of geometric intersection graphs. In 1995 Prague Midsummer Combinatorial Workshop, volume 95.309, pages 43–45. KAM Series, 1995.
- [18] Alexandr V. Kostochka and Jaroslav Nešetřil. Coloring relatives of intervals on the plane, I: chromatic number versus girth. Eur. J. Comb., 19(1):103–110, 1998. doi:10.1006/EUJC.1997.0151.
- [19] Jan Kratochvíl. String graphs. II. recognizing string graphs is np-hard. J. Comb. Theory B, 52(1):67–78, 1991. doi:10.1016/0095-8956(91)90091-W.
- [20] Jan Kratochvíl and Jiří Matoušek. String graphs requiring exponential representations. J. Comb. Theory B, 53(1):1–4, 1991. doi:10.1016/0095-8956(91)90050-T.
- [21] James R. Lee. private communication.
- [22] James R. Lee. Separators in region intersection graphs. In Christos H. Papadimitriou, editor, 8th Innovations in Theoretical Computer Science Conference, ITCS 2017, January 9-11, 2017, Berkeley, CA, USA, volume 67 of LIPIcs, pages 1:1–1:8. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2017. doi:10.4230/LIPICS.ITCS.2017.1.
- [23] Daniel Lokshtanov, Fahad Panolan, Saket Saurabh, Jie Xue, and Meirav Zehavi. A 1.9999-approximation algorithm for vertex cover on string graphs. In Wolfgang Mulzer and Jeff M. Phillips, editors, 40th International Symposium on Computational Geometry, SoCG 2024, June 11-14, 2024, Athens, Greece, volume 293 of LIPIcs, pages 72:1–72:11. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPICS.SOCG.2024.72.
- [24] Sean McGuinness. Colouring arcwise connected sets in the plane I. Graphs Comb., 16(4):429–439, 2000. doi:10.1007/PL00007228.
- [25] Sean McGuinness. Colouring arcwise connected sets in the plane II. Graphs Comb., 17(1):135–148, 2001. doi:10.1007/PL00007235.
- [26] George L. Nemhauser and Leslie E. Trotter Jr. Properties of vertex packing and independence system polyhedra. Math. Program., 6(1):48–61, 1974. doi:10.1007/BF01580222.
- [27] Arkadiusz Pawlik, Jakub Kozik, Tomasz Krawczyk, Michał Lasoń, Piotr Micek, William T. Trotter, and Bartosz Walczak. Triangle-free intersection graphs of line segments with large chromatic number. J. Comb. Theory B, 105:6–10, 2014. doi:10.1016/J.JCTB.2013.11.001.
- [28] Bartosz Walczak. Triangle-free geometric intersection graphs with no large independent sets. Discret. Comput. Geom., 53(1):221–225, 2015. doi:10.1007/S00454-014-9645-Y.