Abstract 1 Introduction 2 The triangle graph of quasi-transitive digraphs 3 Revisiting known results: Extensions and simplified proofs 4 A 𝟗/𝟒-approximation for DFVS in quasi-transitive digraphs 5 Discussion References

A 9/4-Approximation for Directed Feedback Vertex Sets in Quasi-Transitive Digraphs

Ebrahim Ghorbani ORCID Hamburg University of Technology, Institute for Algorithms and Complexity, Germany    Matthias Mnich ORCID Hamburg University of Technology, Institute for Algorithms and Complexity, Germany
Abstract

We provide the first non-trivial approximation algorithm for the fundamental directed feedback vertex set (DFVS) problem in the class of quasi-transitive digraphs. This class of digraphs encompasses both dense and sparse classes of digraphs, for which specialized DFVS algorithms were proposed in the literature, like tournaments or transitive orientations of bounded treewidth graphs.

Our approximation algorithm can handle both dense graphs, as well as sparse graphs, by a single approach, which is based on carefully analysing the solutions to a linear programming relaxation of DFVS. It also handles the node-weighted DFVS problem, for which it computes a 9/4-approximation in polynomial time.

Along the way, we improve and simplify the best-known deterministic polynomial-time approximation algorithms for DFVS in tournaments (Cai et al., SICOMP 2001; Mnich et al., ESA 2016).

Keywords and phrases:
directed feedback vertex set, tournaments, quasi-transitive digraphs
Category:
Track A: Algorithms, Complexity and Games
Copyright and License:
[Uncaptioned image] © Ebrahim Ghorbani and Matthias Mnich; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Approximation algorithms analysis
Editors:
Sayan Bhattacharya, Danupon Nanongkai, Michael Benedikt, and Gabriele Puppis

1 Introduction

The Directed Feedback Vertex Set (DFVS) problem is one of the most intensely studied 𝖭𝖯-hard problems: for a given directed graph (digraph) D, it aims to find a minimum-sized subset F of nodes whose removal from D yields an acyclic digraph. It is one of the 21 𝖭𝖯-complete problems whose hardness was established by Karp in his seminal paper [16]. This intractability result motivates the design of polynomial-time approximation algorithms for it. To date, the best-known approximation algorithms yield O(lognloglogn)-approximations, and are due to Seymour [23], and to Even et al. [11]. This leaves quite some gap to the best-known inapproximability result: assuming the Unique Games Conjecture, the DFVS problem does not admit a constant-factor approximation in polynomial time [15]. This contrasts with the Feedback Vertex Set problem on undirected graphs, for which a factor-2 approximation has long been known [2, 6].

Also in contrast to the Feedback Vertex Set problem on undirected graphs, only limited investigations into the complexity and approximability of the DFVS problem on classes of directed graphs have been done. A possible reason is that the DFVS problem on directed graphs appears to behave rather differently than on undirected graphs. For DFVS on sparse digraphs, we are only aware of an exact polynomial-time algorithm on digraphs whose underlying undirected graph has bounded treewidth [8], and a 12/5-approximation on planar digraphs111Goemans and Williamson [12] claim an approximation factor of 9/4, but Berman and Yaroslavtsev [7] point out an error in their analysis, and argue that it is only an 18/7-approximation..

On dense digraphs, the DFVS problem is often studied in its more general, node-weighted version, where the input digraph D is equipped with a node-weight function w:V(D)0, and the goal is to compute a minimum-weight DFVS, where the weight of the DFVS equals the sum of the weights of the nodes which it contains. A well-known class of dense digraphs for which several approximation algorithms for node-weighted DFVS have been devised are tournaments, which are orientations of complete undirected graphs. For tournaments, obtaining a 3-approximation for DFVS is easy, as DFVS on tournaments is a particular case of the 3-Hitting Set problem. 3-Hitting Set admits a simple 3-approximation, whereas obtaining a (3ε)-approximation is hard under the Unique Games Conjecture [17], for any ε>0. But for DFVS on tournaments, this factor 3 was improved to a 5/2-approximation, by Cai et al. [9]. They greedily include all nodes from 𝒯5-subtournaments, which are 5-node tournaments T which every DFVS of T must intersect in at least two nodes. Then they meticulously analysed the structure of 𝒯5-free tournaments, for which they obtained an exact min-max relation between directed cycle covering and directed cycle packing; there, they solve the DFVS problem via linear programming (LP) covering-packing duality. It took more than 15 years before the 5/2-approximation was improved to a 7/3-approximation, by Mnich et al. [21]. They considered the family 𝒯7 of 7-node tournaments T which every DFVS of T must intersect in at least three nodes. Whereas 𝒯5 contains 5 tournaments, 𝒯7 contains 121 tournaments, so they handled 𝒯7-free tournaments by a complex layering algorithm. Aprile et al. [1] later gave another, slightly faster 7/3-approximation. Finally, Lokshtanov et al. [18] devised the first 2-approximation algorithm for DFVS on tournaments. It is a randomized branching algorithm; its derandomization however leads to a quasi-polynomial run-time. It was extended to a randomized (2α)-approximation algorithm for digraphs with independence number α [14]. Beyond DFVS on tournaments, there is only a limited understanding which (other) classes of 3-Hitting Set instances admit a (3ε)-approximation, for some ε>0.

1.1 Our contributions

Our main focus is the node-weighted DFVS problem in a wide generalization of tournaments. A digraph is quasi-transitive if for every node there is complete adjacency between its in-neighbors and out-neighbors. Quasi-transitive digraphs are of particular interest due to their close connection with comparability graphs. In fact, a graph can be oriented as a quasi-transitive digraph if and only if it is a comparability graph [5]. Clearly, every tournament is a quasi-transitive digraph. Quasi-transitive digraphs are extensively studied; the standard textbook on digraphs by Bang-Jensen and Gutin contains an entire chapter on quasi-transitive digraphs [3, Ch. 8]. Quasi-transitive digraphs can have underlying undirected graphs which neither have bounded treewidth, nor have bounded independent set size; see Figure 1 for an example. In particular, they can be very dense (such as tournaments or semi-complete digraphs), or very sparse (certain orientations of paths). The parameterized complexity of DFVS on quasi-transitive digraphs was studied by Bang-Jensen et al. [4]; however, no non-trivial approximation algorithms seem to be known for it.

We argue that the DFVS problem on quasi-transitive digraphs can be cast as a special case of 3-Hitting Set; thus, we readily obtain a 3-approximation. Our main result is the first non-trivial approximation algorithm for the problem:

Theorem 1.

The node-weighted DFVS problem on quasi-transitive digraphs admits a deterministic 9/4-approximation in polynomial time.

Figure 1: The underlying undirected graphs of quasi-transitive digraphs can have both unbounded tree-width and unbounded independence number: In this grid, replace each node by an arbitrary tournament and every arc by a complete set of arcs between the corresponding tournaments, all oriented in the same direction as the original arc.

Theorem 1 directly improves the approximation factor over the previously best deterministic 7/3-approximation algorithm for node-weighted DFVS on the narrower class of tournaments.

Our focus is not only in generalization, and giving quantitative improvements: importantly, our approach also considerably simplifies previous arguments. For instance, we give a short direct proof of the min-max relation in 𝒯5-free tournaments, drastically shortcutting the 10-page analysis by Cai et al. [9]. Also, whereas the 7/3-approximation by Aprile et al. [1] simplifies the one by Mnich et al. [21], for 𝒯7-free tournaments it requires a layering algorithm which is non-trivial to analyze; we instead do not need such algorithm at all. We detail our insights, which yield this simplification and generalization, in the next paragraph.

1.2 Our methodology

We define the set 𝒯9 as the family of 9-node tournaments with minimum DFVS size at least 4. The algorithm consists of two stages. In the first stage, we use iterative rounding to eliminate every tournament from 𝒯9 present in the input digraph D. The total weight of nodes removed in this stage is at most 9/4 times the corresponding decrease in the optimum weight. In the second stage, we present a 9/4-approximation for DFVS in the remaining 𝒯9-free digraph. As the family 𝒯9 is even more complex than 𝒯7, we develop a novel approach to handle it. Namely, we consider the so-called triangle graph H(D) of D, obtained by deleting all arcs not participating in any directed triangle. We prove that H(D) is perfect, and hence its chromatic number is equal to its clique number 𝝎. Therefore, any family of 𝝎2 color classes forms a DFVS. This approach directly yields the known 7/3-approximation, but simpler. To achieve the improved 9/4-approximation, we perform a more refined analysis of the sizes of the color classes, via the Greene–Kleitman theorem on posets.

2 The triangle graph of quasi-transitive digraphs

In this section, we introduce the key notion of the triangle graph of a digraph and analyze its properties in relation to the DFVS problem. In particular, we show that the triangle graph of a quasi-transitive digraph is perfect, and that forbidding tournaments with relatively large DFVS size forces the triangle graph to have a small clique number.

For a digraph D, let V(D) be its node set and let A(D) be its arc set, and write uv to indicate that (u,v)A(D). For SV(D), let D[S] denote the subdigraph of D induced by S. Note that quasi-transitive digraphs D can equivalently be defined by the property that the existence of arcs uv and vw in D implies that either uw or wu. When the existence of arcs uv and vw in D implies uw, the digraph D is said to be transitive. Throughout, cycle and triangle mean directed cycle and directed triangle, respectively.

Recall that the objective of the DFVS problem is to intersect all cycles. We first show that in quasi-transitive digraphs, it suffices to hit all triangles in order to hit all cycles. To this end, our next lemma generalizes a well-known fact from tournaments to all quasi-transitive digraphs.

Lemma 2.

In quasi-transitive digraphs, every cycle contains a triangle.

Proof.

Let D be a quasi-transitive digraph, and assume that the nodes v1,,vk with k4 form a cycle C in D with arcs v1v2vkv1. We prove the assertion by induction on k.

For the base case k=4, as D is quasi-transitive, there is an arc between v1 and v3 (see Figure 2). But either orientation of this arc creates a triangle. Next, assume that k5. If C contains a shorter cycle, the claim follows by the induction hypothesis. Thus, assume that this is not the case. By quasi-transitivity of D, we have v1v3, and so v1vi for all i=3,,k1. This, though, creates a triangle v1vk1vkv1, a contradiction.

This lemma motivates introducing the following notion, which is key to our arguments. For a digraph D, we define its triangle graph H(D) as the subdigraph of D induced by the arcs that belong to the triangles in D. We remark that the property of Lemma 2 holds in particular for H(D).

Figure 2: Every cycle of length 4 contains a triangle.
Figure 3: When the arcs v1v2 and v2v3 are present in H¯(T), the arc v1v3 cannot be included in any triangle, i.e., v1v3A(H¯(T)).
 Remark 3.

We record here a simple but useful observation: every DFVS of H(D) is also a DFVS of D. Therefore, to find a DFVS of D, it suffices to focus on the subgraph H(D).

The proof of the next lemma relies on the following useful structural decomposition of quasi-transitive digraphs, which we describe after introducing some additional notions. Let D0 be a digraph with node set {v1,,vs}, and let G1,,Gs be pairwise node-disjoint digraphs. The composition D0[G1,,Gs] is the digraph obtained from the disjoint union of G1,,Gs by adding the following arcs: for every arc (vi,vj)A(D0), all arcs from every node of Gi to every node of Gj are added. We also recall that a digraph is called strong if, for every pair u,v of distinct nodes in D, there exists a directed path from u to v as well as a directed path from v to u.

Proposition 4 (Bang-Jensen and Huang [5]).

Let D be a quasi-transitive digraph.

  1. (i)

    If D is not strong, then there exist a transitive digraph D0 and strong quasi-transitive digraphs G1,,Gs such that D=D0[G1,,Gs].

  2. (ii)

    If D is strong, then there exists a strong tournament T0 and quasi-transitive digraphs Q1,,Qs so that each Qi is either a single node or is non-strong and D=T0[Q1,,Qs].

Lemma 5.

Every quasi-transitive digraph D can be embedded in a tournament T such that H(D)=H(T).

Proof.

Let n be the order of D. By induction on n, we show that there is a tournament T containing D as a subdigraph and satisfying H(D)=H(T).

For n3, the assertion holds by inspection. Henceforth, assume that n4.

First assume that D is strong. Then, by Proposition 4, D=T0[Q1,,Qs] for some tournament T0 of order s3 and quasi-transitive digraphs Q1,,Qs. By the induction hypothesis, every Qi can be embedded in a tournament Ti such that H(Qi)=H(Ti). We then define T:=T0[T1,,Ts] and observe that T is a tournament. Since the arcs of D between any two distinct Qi are entirely directed from one to the other, the triangles of D are either inherited from T0, meaning that they involve nodes from three distinct Qi’s, or they are entirely contained within a single Qi. Therefore, H(D)=H(T0)[H(Q1),,H(Qs)]. The same reasoning also implies that H(T)=H(T0)[H(T1),,H(Ts)]. Since H(Qi)=H(Ti) for i=1,,s, we obtain H(D)=H(T).

Next, assume that D is not strong. Then, by Proposition 4, D=D0[G1,,Gs], where D0 is a transitive digraph of order s2 and G1,,Gs are strong quasi-transitive digraphs. Note that no arc of D0 belongs to a triangle, which implies that H(D)=H(G1)H(Gs). We know that every transitive digraph can be embedded in a transitive tournament. Let T0 be such a transitive tournament containing D0. Moreover, by induction, each Gi can be embedded in a tournament Ti of the same order such that H(Gi)=H(Ti). We then set T:=T0[T1,,Ts], for which we have H(T)=H(T1)H(Ts). Combining the above relations yields H(D)=H(T).

2.1 Perfectness of the triangle graph

A digraph is called perfect if, in every induced subdigraph, the chromatic number equals the clique number222For a digraph, the clique number and chromatic number refer to those of its underlying undirected graph. (see [3, Section 11.7]).

In the next lemma, we prove the useful property that for a quasi-transitive digraph D, the triangle digraph H(D) is perfect. Indeed, the perfectness of H(D) follows from the fact that its complement is transitive. Recall that the arc set of a transitive digraph induces a partial order on its node set. By Mirsky’s theorem [20], in any finite partially ordered set, the maximum size of a chain equals the minimum number of antichains required to cover all elements. This translates to the statement that the chromatic number of a transitive digraph equals its clique number. Since transitivity is inherited by induced subdigraphs, it follows that transitive digraphs are perfect.

Lemma 6.

For any quasi-transitive digraph D, H(D) is a perfect digraph.

Proof.

Let T be a tournament such that H(D)=H(T), which exists by Lemma 5. We will show that H¯(T):=TA(H(T)) is a transitive digraph which implies that H¯(T) is perfect. Hence, by the Perfect Graph Theorem (Lovász [19]), it follows that H(D) is perfect.

Assume that (v1,v2),(v2,v3)A(H¯(T)). The tournament T contains an arc between v1 and v3. This arc cannot be (v3,v1); otherwise, v1,v2,v3 would form a triangle in T, and so all its three arcs would belong to H(T), a contradiction. Hence, (v1,v3)A(T).

We claim that (v1,v3) is not included in a triangle in T. Else, there would exist a node u forming the subgraph depicted in Figure 3. Again, T being a tournament, there is an arc between u and v2. However, either direction of the edge between u and v2 implies that either (v1,v2) or (v2,v3) would be an arc of a triangle, which is a contradiction. It follows that (v1,v3)A(H¯(T)), thereby establishing the transitivity of H¯(T).

For a digraph D, let 𝗆𝖿𝗏𝗌(D) denote the minimum size of a DFVS of D. And for a digraph D whose nodes are weighted by some function w:V(D)0, let 𝗆𝖿𝗏𝗌(D,w) denote the minimum weight of a DFVS of D. We write w(D) for the sum of the weights of all nodes in D.

We now use the perfectness of H(D) to bound 𝗆𝖿𝗏𝗌(D,w) for quasi-transitive digraphs (D,w).

Theorem 7.

Let (D,w) be a non-acyclic node-weighted quasi-transitive digraph, and let 𝛚 be the clique number of H(D). Then 𝗆𝖿𝗏𝗌(D,w)𝛚2𝛚w(D).

Proof.

Since H=H(D) is a perfect digraph by Lemma 6, its chromatic number equals 𝝎. Consequently, V(H) can be partitioned into 𝝎 color classes, each of which is an independent set. Considering the union S of any 𝝎2 color classes, the graph HS is bipartite, implying that HS contains no triangles. Therefore, S serves as a DFVS for H. To minimize the weight of such a DFVS, we select the 𝝎2 color classes with the smallest total weight. By this choice, their total weight is at most 𝝎2𝝎w(H). The result now follows since w(H)w(D), and any DFVS of H is also a DFVS for D.

2.2 Transitive tournaments in the triangle graph

Define 𝒯2k+1 as the set of tournaments T on 2k+1 nodes satisfying 𝗆𝖿𝗏𝗌(T)k. A digraph is said to be 𝒯2k+1-free if it contains no T𝒯2k+1 as a subdigraph. Recall that an acyclic tournament is transitive and has a unique structure: its nodes admit a total ordering. Denote by 𝕋n the transitive tournament of order n.

Next, we establish another ingredient of our argument: for a 𝒯2k+1-free quasi-transitive digraph D, the size of the largest transitive tournament in H(D) is bounded by 2k1. To prove this, we require two additional lemmas.

Let v be a vertex of a digraph H, and let H be a subdigraph of H not containing v. We denote by A(v,H) the set of arcs in H that form a triangle with v.

Lemma 8.

Let H be a digraph and vV(H). Then A(v,Hv) induces a bipartite subgraph of H.

Proof.

If A(v,Hv) does not induce a bipartite graph, then it contains an odd cycle. This implies that A(v,Hv) includes two arcs of the form shown in Figure 4. However, a single node cannot form a triangle with both of these arcs. Therefore, A(v,Hv) must induce a bipartite subgraph.

Figure 4: A forbidden subgraph for the graph induced by A(v,Hv).
Lemma 9.

Let D be a quasi-transitive digraph that contains a transitive tournament 𝕋.

  1. (i)

    If A(u,𝕋), then u must be adjacent to all nodes of 𝕋.

  2. (ii)

    If A(u1,𝕋), A(u2,𝕋), and A(u1,𝕋)A(u2,𝕋), then u1 and u2 are adjacent in D.

Proof.

  1. (i)

    Let v1,,vp be the nodes of 𝕋, ordered according to the total order of 𝕋. If uvi, then by the quasi-transitivity of D, u is adjacent to all nodes vi,,vp. Similarly, if vju, then u is adjacent to all nodes v1,,vj. By assumption, there exist indices i<j such that there is a triangle uvivju. Hence, the assertion follows.

  2. (ii)

    By (i), u1 and u2 are adjacent to all nodes of 𝕋. Hence, as A(u1,𝕋)A(u2,𝕋), there must exist a node v in 𝕋 such that either u1vu2 or u2vu1, and then the quasi-transitivity of D implies that u1 and u2 are adjacent.

Theorem 10.

Let k2, and let D be a quasi-transitive digraph such that H(D) contains 𝕋2k1+1. Then D contains a tournament from 𝒯2k+1.

Proof.

We prove, by induction on k2, that k+1 nodes from 𝕋2k1+1 together with k nodes from U:=V(H(D))V(𝕋) form a tournament from 𝒯2k+1.

For the base case k=2, the digraph H(D) contains 𝕋3. By definition of H(D), every arc of 𝕋3 must be contained in a triangle in D (and thus also in H(D)). This must be realized through nodes of U. Consider Figure 5, where v1,v2,v3 are the nodes of 𝕋3. Choose u1U such that it forms a triangle with v1,v3. Since D is quasi-transitive, we have either v2u1 or u1v2. Assume the former. Then u1,v1,v2 also form a triangle. Next, choose u2U such that u2,v2,v3 form a triangle. This yields the configuration depicted in Figure 5. This subdigraph has no DFVS of size 1. By Lemma 9, u1,u2 together with 𝕋3 induce a tournament T (the two missing arcs in Figure 5 are not relevant for our argument). Therefore, T𝒯5. In case that u1v2, then u1,v2,v3 form a triangle. Then we choose u2 such that u2,v1,v2 form a triangle, and the result follows similarly.

Figure 5: A subdigraph 𝕋3 (on nodes v1,v2,v3) in H(D) forces a subdigraph in D with DFVS of size at least 2.

Now, assume that k3 and the assertion holds for k1. For simplicity, set p:=2k1+1 and let 𝕋:=𝕋p. Let v1,,vp be the nodes of 𝕋, ordered according to the transitive order of 𝕋. Since 𝕋 is a subgraph of H(D), every arc of 𝕋 must be included in a triangle, and again this can only be achieved by incorporating nodes from U. Let u1U be a node that forms a triangle with the arc (v1,vp).

Let X be the set of nodes v in 𝕋 such that u1v, and let Y be the set of nodes v in 𝕋 such that vu1. Every arc of 𝕋 directed from X toward Y forms a triangle with u1. Since XY is a partition of V(𝕋), we have |X|+|Y|=2k1+1, and hence either |X|2k2+1 or |Y|2k2+1.

First, assume that, |X|2k2+1. Then 𝕋[X] contains 𝕋2k2+1, and by the induction hypothesis, k nodes from X and k1 nodes from U form a tournament T𝒯2k1. Observe that for every arc vivj in 𝕋[X], u1 cannot form a triangle with vivj because u1vi and u1vj. Thus, u1V(T). Also, vpX and vivp for every viX. Let T:=D[V(T){u1,vp}]; see Figure 6. By Lemma 9, T is a tournament. Note that for every viV(T)X, u1vivp is a triangle. Hence any DFVS of T must contain either one of u1,vp together with a DFVS of T, or the entire V(T)X. So 𝗆𝖿𝗏𝗌(T)k, that is, T𝒯2k+1.

If |Y|2k2+1, then we are done by a similar argument, replacing Y by X and vp by v1 (note that v1Y and v1vi for every viY).

Figure 6: The structure of the tournament T𝒯2k+1 arising in the proof of Theorem 10. Arcs between u1,vp and YV(T) are not drawn.
Theorem 11.

For every 𝒯5-free (resp. 𝒯7-free) quasi-transitive digraph D, the clique number of H(D) is at most 3 (resp. 6).

Proof.

First, let D be a 𝒯5-free quasi-transitive digraph. For sake of contradiction, assume that H=H(D) contains a clique K of order 4. Note that every tournament on 4 nodes has a DFVS of size at most 1. Thus, 𝗆𝖿𝗏𝗌(H[K])1 implying that H[K] and hence H contains 𝕋3. From Theorem 10, it follows that D contains a tournament from 𝒯5, a contradiction.

Second, let D be a 𝒯7-free quasi-transitive digraph. Assume that H contains a clique K of order 7. Then 𝗆𝖿𝗏𝗌(H[K])2 as H[K] is also 𝒯7-free. It follows that H[K] and hence H contains 𝕋5. Now Theorem 10 implies that D contains a tournament from 𝒯7, a contradiction.

 Remark 12.

For 𝒯7-free tournaments T, Mnich et al. [21] showed that 𝗆𝖿𝗏𝗌(T)79w(T). Theorems 7 and 11 improve this bound to 𝗆𝖿𝗏𝗌(D,w)23w(D) for any node-weighted 𝒯7-free quasi-transitive digraph (D,w).

2.3 Greene–Kleitman Theorem

For a partially ordered set (poset) 𝒫, the Greene–Kleitman theorem [13] asserts that the maximum size of a k-chain – that is, the union of k chains – in 𝒫 is equal to the minimum k-norm of a partition of 𝒫 into antichains. Here, the k-norm of a family 𝒜=(A1,,At) of sets is defined as

𝒜k:=i=1tmin(|Ai|,k).

Given a quasi-transitive digraph D, by Lemma 5 there is a tournament T such that H(D)=H(T). By the proof of Lemma 6, we know that H¯(T) is a transitive digraph and hence defines a poset 𝒫. Any chain in 𝒫 is an independent set in H(T). Conversely, every independent set in H(T) is a clique in the transitive digraph H¯(T), and hence it must be a transitive tournament, which in turn corresponds to a chain in 𝒫. Consequently, 2-chains in 𝒫 correspond to induced bipartite subdigraphs of H(T).

The Greene–Kleitman theorem can be extended to the case where the elements of 𝒫 have non-negative integer weights, as shown by Cong [10, Theorem 2.2]. For this, we need to generalize the notion of a partition into antichains to the weighted setting. Given a non-negative integral weight function z on the elements of 𝒫, a family 𝒜 of antichains is called a z-partition of antichains in 𝒫 if every element v of 𝒫 appears in zv (the weight assigned to v) of the antichains in 𝒜. Clearly, when z=1, this definition reduces to the antichain partition. The weighted Greene–Kleitman theorem by Cong [10] can be translated to triangle graphs as follows:

Lemma 13.

Let (D,z) be a node-weighted quasi-transitive digraph with z:V(D)0. Then the maximum weight of an induced bipartite subgraph in H(D) equals the minimum 2-norm of z-partition of cliques of H(D).

For transitive digraphs with non-negative rational weights, there is an efficient algorithm for finding maximum-weight 2-chains. Applied to H¯(D), this result can be stated as follows.

Lemma 14 ([22]).

There is an algorithm that, given any node-weighted quasi-transitive digraph (D,w) with weight function w:V(D)0, computes an induced bipartite subgraph in H(D) of maximum weight in O(|V(D)|2) time.

3 Revisiting known results: Extensions and simplified proofs

In this section, we present intermediate results that simplify and improve known DFVS algorithms for tournaments and also extend them to quasi-transitive digraphs. First, we devise an exact polynomial-time algorithm for computing DFVS in 𝒯5-free tournaments. Second, we provide a simple 7/3-approximation algorithm for DFVS on all tournaments. Finally, we give a polynomial-time 2-approximation algorithm for DFVS in 𝒯7-free quasi-transitive digraphs.

For a weight function z on V(D), we continue to use zv to denote the weight assigned to vV(D), and for SV(D) we set z(S):=vSzv.

3.1 An exact algorithm for DFVS in 𝓣𝟓-free quasi-transitive digraphs

For a weighted digraph (D,z) with non-negative integral weight z, a z-packing of directed triangles is a family F of triangles such that, for each node v of D, the number of triangles in F containing v is at most zv. When z=1, the triangles in F must be disjoint; however, this need not hold for general weight functions. We remark that there is an LP-duality relationship between triangle packing and DFVS, and that tournaments in 𝒯5 do not satisfy strong duality, in the sense that they contain only one triangle while their minimum DFVS has size 2.

Our next theorem extends, with a simpler proof, the result of Cai et al. [9, Theorem 3.2] showing that, for 𝒯5-free tournaments, the maximum size of triangle packing is equal to the minimum size of a DFVS. It also extends (and improves the run-time) of the exact algorithm for computing a minimum-size DFVS in 𝒯5-free tournaments (the “Minimum Δ-Covering Algorithm” from Section 4 of the work by Cai et al. [9] with run-time O(|V(D)|3)) to the broader class of quasi-transitive digraphs.

Theorem 15.

Let (D,z) be a quasi-transitive digraph with integral node weights.

  1. (i)

    For every weight function z, the minimum weight of a DFVS of (D,z) equals the size of a maximum z-packing of triangles in D if and only if D is 𝒯5-free.

  2. (ii)

    For 𝒯5-free quasi-transitive digraph (D,z), there exists an exact algorithm for finding a minimum DFVS in D that runs in time O(|V(D)|2).

Proof.

Assume, without loss of generality, that each node of D lies on some triangle. Let H=H(D), and write V for V(H)=V(D). Let BV be a node set that induces a bipartite subgraph of maximum weight in H.

  1. (i)

    First, assume that D is 𝒯5-free. We know that B¯:=VB is a DFVS of D. Note that, by LP duality, the size of every z-packing of triangles is at most the weight of any DFVS. Therefore, to prove equality, it suffices to show that there exists a z-packing of triangles in H whose size is equal to z(B¯).

Let 𝒦 be a z-partition of cliques of H with minimum 2-norm. By Theorem 11, every K𝒦 has size at most 3. Let ti denote the number of i-cliques in 𝒦 for i=1,2,3. So, 𝒦2=2t3+2t2+t1. By Lemma 13, z(B)=𝒦2, and thus z(B¯)=z(V)𝒦2=t3. Note that the 3-cliques in H correspond to (directed) triangles. Otherwise, H would contain 𝕋3 which by Theorem 10, implies that H contains a tournament from 𝒯5, a contradiction. It follows that the 3-cliques of 𝒦 form a z-packing of triangles in H with size t3=z(B¯), giving the result.

We now verify the necessity of D being 𝒯5-free. Suppose that D contains a subtournament T𝒯5. Define a weight function w by assigning weight 1 to each node of T and weight 0 to all other nodes of D. Then 𝗆𝖿𝗏𝗌(D,w)=2, whereas every w-packing of directed triangles in D has size at most 1.

  1. (ii)

    As proved in (i), a minimum DFVS of (D,z) is the complement of an induced bipartite subgraph of maximum weight. By Lemma 14, there is an algorithm to find such a subgraph that runs in time O(|V(D)|2).

3.2 A 𝟕/𝟑-approximation for DFVS in quasi-transitive digraphs

For 𝒯7-free quasi-transitive digraph (D,w), by Remark 12, 𝗆𝖿𝗏𝗌(D,w)23w(D). This immediately yields a 7/3-approximation algorithm for the DFVS problem in node-weighted quasi-transitive digraphs (D,w), as follows. Consider the linear program which seeks x0 minimizing vV(D)wvxv subject to (1) x(K)1 for all triangles K, and (2) x(K)3 for all 7-node subdigraphs K𝒯7. Let 𝗈𝗉𝗍(D) be the optimal value of this LP. We iteratively solve this LP, obtaining a solution x, then remove all nodes v with xv37, placing them in a set F~ and subsequently remove all nodes that do not belong to a triangle. As a result, we obtain a subdigraph D~ that admits a feasible solution x~<37 to the above LP. The constraint (2) implies that D~ should be 𝒯7-free. Since all nodes of D~ lie in some triangle and x~<37, it follows that x~>0 over D~. Thus, by applying primal-dual slackness (see [21, Lemma 6]), we obtain 𝗈𝗉𝗍(D~)13w(D~). Consequently,

73𝗆𝖿𝗏𝗌(D)73𝗈𝗉𝗍(D)w(F~)+73𝗈𝗉𝗍(D~)w(F~)+79w(D~)w(F~)+𝗆𝖿𝗏𝗌(D~). (1)

Note that the second inequality follows from the fact that the restriction of an optimal solution for D to D~ gives a feasible solution for D~. Since a DFVS of D~ together with F~ forms a DFVS of D, the above inequality implies that we have obtained a DFVS of D with weight at most 73𝗆𝖿𝗏𝗌(D).

3.3 A deterministic polynomial-time 2-approximation for DFVS in 𝓣𝟕-free quasi-transitive digraphs

Recall that, in tournaments, the only known 2-approximations for DFVS are either randomized, or they require quasi-polynomial time [18]. Consequently, the same is true for the broader class of quasi-transitive digraphs. We overcome these challenges for the class of 𝒯7-free quasi-transitive digraphs by a slight modification of the 7/3-approximation algorithm described above. We only replace the threshold 37 by 12 in the algorithm to obtain the set F~ and the subdigraph D~. As D is 𝒯7-free, D~ is also 𝒯7-free, and thus by Theorems 7 and 11, 𝗆𝖿𝗏𝗌(D~,w)23w(D~). We still retain the property that x~>0 over D~. Thus, by applying primal–dual slackness, we obtain 𝗈𝗉𝗍(D~)13w(D~). As a result, we obtain

2𝗆𝖿𝗏𝗌(D)2𝗈𝗉𝗍(D)w(F~)+2𝗈𝗉𝗍(D~)w(F~)+23w(D~)w(F~)+𝗆𝖿𝗏𝗌(D~).

The inequalities here, particularly the second one, are justified analogously to (1).

4 A 𝟗/𝟒-approximation for DFVS in quasi-transitive digraphs

In this section we prove our main result. Let (D,w) be a digraph with node weights w:V(D)0. For a function x:V(D), and SV(D) recall that x(S)=vSxv.

We use iterative rounding for the following LP relaxation of the DFVS problem in (D,w):

minimize vV(D)wvxv, (LP)
subject to x(K)𝗆𝖿𝗏𝗌(D[K]),for cliques K of D with |K|15,
x0.

We denote by 𝗈𝗉𝗍(D)=𝗈𝗉𝗍(D,w) the optimal value of (LP).

4.1 Algorithm description

The algorithm consists of two phases. In the first phase, we find a subdigraph D~ of D such that there is a solution x~<49 to (LP) for D~. In particular, D~ is 𝒯9-free (otherwise, x~ cannot be feasible to (LP) for D~). To obtain D~, we iteratively solve (LP). During an iteration, a complementary set F~ is produced, consisting of all nodes v with xv49 for the optimal solution x of the corresponding iteration of (LP). By the end of the first phase, if D~=, return F~ as a DFVS.

Otherwise, the algorithm enters the second phase, where we start by partitioning V(D~) into subsets according to the values of x~. The subgraphs induced by these subsets turn out to have small clique numbers. We then compute a DFVS of “small” weight for each of them using Theorem 7, and denote them by X1,,X4. The algorithm outputs the set F~ together with the Xi of minimum weight among the four. In Theorem 1, we will prove that the output is indeed a DFVS of (D,w) with weight at most 94𝗆𝖿𝗏𝗌(D,w).

For the algorithm description and analysis, we introduce the notation

V[a,b):={vV(D~):ax~v<b},

and D~I:=D~[VI] for any interval I.

Algorithm 1 DFVS for Quasi-Transitive Digraphs.

4.2 Algorithm analysis

We first argue that Algorithm 1 runs in polynomial time. The first phase involves iterations of (LP) which have size 𝒪(n15) where n=|V(D)|. The number of iterations is at most n as in each iteration at least one new node is included in the set F~ and removed from D. The second phase involves finding a maximum-weight induced bipartite subgraph of H(D~I) for three different I, which can be done in 𝒪(n2) by Lemma 14.

In what follows, we establish the correctness of Algorithm 1 and prove the claimed approximation factor.

Lemma 16.

For a quasi-transitive digraph D, consider the output D~ of the first phase in Algorithm 1. Then the clique number of H(D~) is at most 14.

Proof.

By definition, there exists an optimal solution x~ to (LP) for D~, such that x~v<49 for all vV(D~). This also implies that D~ is 𝒯9-free; otherwise, the constraints of (LP) would be violated for some clique K of order 9.

For sake of contradiction, assume that H(D~) contains a clique K of order 15. If 𝗆𝖿𝗏𝗌(D~[K])6, then there is a set FK with |F|6 such that KF is a transitive tournament. This means H(D~) contains 𝕋9. Hence, from Theorem 10, it follows that D~ contains a tournament from 𝒯9, which is impossible. Thus, 𝗆𝖿𝗏𝗌(D~[K])7, that is K𝒯15 and the feasibility of x~ implies that x~(K)7. This, in turn implies that for some vK, we have x~vx~(K)|K|715>49 – a contradiction.

We are now ready to prove our main result:

Theorem 1 (restated).

The output of Algorithm 1 for a node-weighted quasi-transitive digraph (D,w) is a DFVS with weight at most 94𝗆𝖿𝗏𝗌(D,w).

Proof.

First, we show that the output of Algorithm 1, namely F~X, is a DFVS of D. Note that x~v>19 for any vV(D~). Otherwise, since every node of D~ lies on a triangle, v forms a triangle with, say, nodes v and v′′, but x~v+x~v+x~v′′<19+49+49=1 – a contradiction (the feasibility of x~ implies that x~(K)1 for every triangle K). This also implies that every triangle in D not contained in D~ must necessarily intersect F~. Consequently, the union of any DFVS of D~ and the set F~ constitutes a DFVS of D. It therefore suffices to demonstrate that X is a DFVS of D~. To this end, we establish that each set defined in (2) is indeed a DFVS of D~:

  1. (i)

    B[19,49) induces a bipartite subgraph of D~, so its complement X1 is a DFVS of D~.

  2. (ii)

    A triangle in D~ that intersects V[19,17) must also intersect V[37,49), a fact that is implied by the feasibility of x~ for (LP) on D~. Other triangles of D~ are included in D~[17,37), and we know that B¯[17,37) is a DFVS of D~[17,37). Therefore, X2=V[37,49)B¯[17,37) is a DFVS of D~.

  3. (iii)

    Similarly, every triangle in D~ that intersects V[19,15) must also intersect V[25,49). Since B¯[15,25) is a DFVS of D~[15,25), their union, i.e. X3, is a DFVS of D~.

  4. (iv)

    Every triangle in D~ must contain a node v with x~v13. Hence, X4 is a DFVS of D~.

To complete the proof, we need to show that

w(F~)+w(X)94𝗆𝖿𝗏𝗌(D,w). (3)

For this purpose, it suffices to establish that

w(X)94𝗈𝗉𝗍(D~). (4)

To see why this is sufficient, observe that 𝗈𝗉𝗍(D)𝗈𝗉𝗍(D~)+49w(F~). This follows by induction and the fact that in every iteration of the phase 1, the restriction of an optimal solution to (LP) for D onto V(D~) remains a feasible solution to (LP) for D~. It then follows that 94𝗈𝗉𝗍(D)w(X)+w(F~). This completes the proof of (3), since 𝗆𝖿𝗏𝗌(D,w)𝗈𝗉𝗍(D).

The remainder of the proof is dedicated to establishing (4), which we address by considering the following two cases. Throughout these cases, we leverage the property that D~ is 𝒯9-free.

Case 1.

w(X1)2732w(V[19,49))

For simplicity, let B~:=B[19,49) and V~:=V(D~)=V[19,49). We proceed by applying Lemma 13, requiring us to work with integral weights. So for some sufficiently large positive integer M, we can assume that z:=Mw is an integral weight function on V~. Let 𝒦 be a z-partition of cliques of H=H(D~) with minimum 2-norm, and let ti be the number of i-cliques in 𝒦. By Lemma 16, we have |K|14 for every K𝒦. Then we have

z(V~)=K𝒦K=i=114iti.

By Lemma 13, we have

z(B~)=i=114min(i,2)ti=t1+i=2142ti.

It follows that z(X1)=z(V~)z(B~)=i=314(i2)ti. By assumption, we have 32z(X1)27z(V~)0, that is

27t154t2+i=314(5i64)ti0. (5)

We observe that for every clique K in H with |K|9, we have 𝗆𝖿𝗏𝗌(H[K])|K|8. Otherwise, H[K] would possess a DFVS F with |F||K|9, implying that KF is a transitive tournament of order at least 9. This would mean H contains 𝕋9, which by Theorem 10 implies that H contains a tournament from 𝒯9, a contradiction. From the feasibility of x~ for (LP), it then follows that vKx~v|K|8. Summing up for all i-cliques with 9i14, we deduce that

M𝗈𝗉𝗍(D~)=vV~zvx~v=K𝒦vKx~vi=914(i8)ti.

We see that

9M𝗈𝗉𝗍(D~)4z(X1)i=914(9i72)tii=38(4i8)tii=314(5i64)ti0,

where the last inequality follows from (5). Hence, 𝗈𝗉𝗍(D~)49w(X1)0, which completes the proof for Case 1.

Case 2.

w(X1)2732w(V[19,49))

For the remainder of the proof, we partition V(D~)=V[19,49) into subsets VI, corresponding to the intervals I listed in Table 1. For convenience, we also adopt the notation shown in the table to denote the weights of these node sets VI:

Table 1: Intervals I partitioning [19,49) and the notation used for the weights of VI.
I [19,17) [17,15) [15,13) [13,25) [25,37) [37,49)
w(VI) w1 w2 w3 w4 w5 w6

With the notation of Table 1 it is evident that

𝗈𝗉𝗍(D~)g:=37w6+25w5+13w4+15w3+17w2+19w1.

Next, we derive upper bounds for each of w(X1),,w(X4) in terms of w1,,w6. A suitable convex combination of these bounds will be used later to bound w(X).

  1. (i)

    By assumption, w(X1)2732w(V[19,49)), so

    w(X1)f1:=2732(w1++w6).
  2. (ii)

    Since D~[17,37) is 𝒯7-free (otherwise the constraint of (LP) would be violated for some clique K of order 7 in D~), applying Theorems 7 and 11 yields w(B¯[17,37))23w(D~[17,37)). Therefore,

    w(X2)f2:=w6+23(w2++w5).
  3. (iii)

    Similarly D~[15,25) is 𝒯5-free, and thus applying Theorems 7 and 11 yields w(B¯[15,25))13w(D~[15,25)). Therefore,

    w(X3)f3:=w5+w6+13(w3+w4).
  4. (iv)

    Finally, we have

    w(X4)=f4:=w4+w5+w6.

Note that for any non-negative reals λ1,,λ4 with λ1++λ4=1, we have

w(X)=min{w(X1),,w(X4)}λ1w(X1)++λ4w(X4)λ1f1++λ4f4.

We now seek suitable λ1,,λ4 such that

94gλ1f1++λ4f4.

This can be formulated as a linear program whose solution yields

λ1=835,λ2=27140,λ3=2770,λ4=27140.

Hence, we come up with the following inequality which can be verified directly:

94𝗈𝗉𝗍(D~)w(X)94g(835f1+27140f2+2770f3+27140f4)=235w1+328w40.

This finishes the proof of (4), and thereby completes the proof of the theorem.

 Remark 2.

We now discuss the prospects for improving our method and the limitations that must be overcome to further refine the approximation ratio. Algorithm 1 can be adjusted to work with 𝒯2k+1-free digraphs. Concretely, line 3 of Algorithm 1 can be adapted to remove nodes with xvk2k+1 (for a given k5) and identify a 𝒯2k+1-free subdigraph D~ of D. Improving the approximation ratio essentially requires establishing “small” upper bounds analogous to (4) which relies on Lemma 16. On the other hand, generalization of Lemma 16 to arbitrary k yields an exponential bound on the clique number of H(D~). This bound is tight; indeed, recall that the proof of Theorem 10 constructs a tournament by appending a set U of k nodes to 𝕋2k1+1. If the digraph D consists only of 𝕋2k1+1 and U, then D remains 𝒯2k+1-free, yet the clique number of H(D~) is at least 2k1+1. Consequently, for k5, a straightforward generalization of Lemma 16 will not suffice to establish a sufficiently strong bound analogous to (4), and thus will not improve the approximation ratio.

5 Discussion

We devised the first non-trivial approximation algorithm for the node-weighted DFVS problem on quasi-transitive digraphs, with approximation factor 9/4. It directly improves the previously best deterministic polynomial-time approximation factor 7/3 for DFVS on tournaments [1, 21]. More importantly, our algorithm is much simpler than the 7/3-approximation. A natural quest is to obtain deterministic 2-approximation algorithms for DFVS on quasi-transitive digraphs. This would completely settle the approximability of DFVS on this class of digraphs, as the Unique Games Conjecture rules out (2ε)-approximations for any ε>0.

References

  • [1] Manuel Aprile, Matthew Drescher, Samuel Fiorini, and Tony Huynh. A 7/3-approximation algorithm for feedback vertex set in tournaments via Sherali–Adams. Discrete Appl. Math., 337:149–160, 2023. doi:10.1016/J.DAM.2023.04.016.
  • [2] Vineet Bafna, Piotr Berman, and Toshihiro Fujito. A 2-approximation algorithm for the undirected feedback vertex set problem. SIAM J. Discrete Math., 12(3):289–297, 1999. doi:10.1137/S0895480196305124.
  • [3] Jørgen Bang-Jensen and Gregory Gutin. Classes of directed graphs, volume 11. Springer, 2018.
  • [4] Jørgen Bang-Jensen, Alessandro Maddaloni, and Saket Saurabh. Algorithms and kernels for feedback set problems in generalizations of tournaments. Algorithmica, 76(2):320–343, 2016. doi:10.1007/S00453-015-0038-2.
  • [5] Jørgen Bang-Jensen and Jing Huang. Quasi-transitive digraphs. J. Graph Theory, 20(2):141–161, 1995. doi:10.1002/JGT.3190200205.
  • [6] Ann Becker and Dan Geiger. Optimization of Pearl’s method of conditioning and greedy-like approximation algorithms for the vertex feedback set problem. Artif. Intell., 83(1):167–188, 1996.
  • [7] Piotr Berman and Grigory Yaroslavtsev. Primal-dual approximation algorithms for node-weighted network design in planar graphs. In Proc. APPROX 2012, volume 7408 of Lecture Notes Comput. Sci., pages 50–60, 2012. doi:10.1007/978-3-642-32512-0_5.
  • [8] Marthe Bonamy, Łukasz Kowalik, Jesper Nederlof, Michał Pilipczuk, Arkadiusz Socała, and Marcin Wrochna. On directed feedback vertex set parameterized by treewidth. In Proc. WG 2018, volume 11159 of Lecture Notes Comput. Sci., pages 65–78, 2018. doi:10.1007/978-3-030-00256-5_6.
  • [9] Mao-Cheng Cai, Xiaotie Deng, and Wenan Zang. An approximation algorithm for feedback vertex sets in tournaments. SIAM J. Comput., 30(6):1993–2007, 2001. doi:10.1137/S0097539798338163.
  • [10] Jason Cong. Computing maximum weighted k-families and k-cofamilies in partially ordered sets. Technical Report CSD-930014, University of California, 1993. URL: https://ftp.cs.ucla.edu/tech-report/1993-reports/930014.pdf.
  • [11] Guy Even, Joseph Naor, Baruch Schieber, and Madhu Sudan. Approximating minimum feedback sets and multicuts in directed graphs. Algorithmica, 20(2):151–174, 1998. doi:10.1007/PL00009191.
  • [12] Michel X Goemans and David P Williamson. Primal-dual approximation algorithms for feedback problems in planar graphs. Combinatorica, 18(1):37–59, 1998. doi:10.1007/PL00009810.
  • [13] Curtis Greene and Daniel J. Kleitman. The structure of Sperner k-families. J. Combinatorial Theory Ser. A, 20(1):41–68, 1976. doi:10.1016/0097-3165(76)90077-7.
  • [14] Sushmita Gupta, Sounak Modak, Saket Saurabh, and Sanjay Seetharaman. Quick-sort style approximation algorithms for generalizations of feedback vertex set in tournaments. In Proc. LATIN 2024, volume 14578 of Lecture Notes Comput. Sci., pages 225–240, 2024. doi:10.1007/978-3-031-55598-5_15.
  • [15] Venkatesan Guruswami and Euiwoong Lee. Simple proof of hardness of feedback vertex set. Theory Comput., 12(6):1–11, 2016. doi:10.4086/TOC.2016.V012A006.
  • [16] Richard M. Karp. Reducibility among Combinatorial Problems, pages 85–103. Springer, 1972. doi:10.1007/978-1-4684-2001-2_9.
  • [17] Subhash Khot and Oded Regev. Vertex cover might be hard to approximate to within 2ε. J. Comput. Syst. Sci., 74(3):335–349, 2008.
  • [18] Daniel Lokshtanov, Pranabendu Misra, Joydeep Mukherjee, Fahad Panolan, Geevarghese Philip, and Saket Saurabh. 2-approximating feedback vertex set in tournaments. In Proc. SODA 2020, pages 1010–1018, 2020. doi:10.1137/1.9781611975994.61.
  • [19] L. Lovász. Normal hypergraphs and the perfect graph conjecture. Discrete Math., 2(3):253–267, 1972. doi:10.1016/0012-365X(72)90006-4.
  • [20] L. Mirsky. A dual of Dilworth’s decomposition theorem. Amer. Math. Monthly, 78:876–877, 1971.
  • [21] Matthias Mnich, Virginia Vassilevska Williams, and László A. Végh. A 7/3-approximation for feedback vertex sets in tournaments. In Proc. ESA 2016, volume 57 of Leibniz Int. Proc. Informatics, pages 67:1–67:14, 2016. doi:10.4230/LIPIcs.ESA.2016.67.
  • [22] M. Sarrafzadeh and R.-D. Lou. Maximum k-covering of weighted transitive graphs with applications. Algorithmica, 9(1):84–100, 1993. doi:10.1007/BF01185340.
  • [23] Paul D. Seymour. Packing directed circuits fractionally. Combinatorica, 15(2):281–288, 1995. doi:10.1007/BF01200760.