Making an oriented graph acyclic using inversions of bounded or prescribed size
Abstract
Given an oriented graph D, the inversion of a subset X of vertices consists in reversing the orientation of all arcs with both endpoints in X. When the subset X is of size p (resp. at most p), this operation is called an (=p)-inversion (resp. (≤ p)-inversion). Then, an oriented graph is (=p)-invertible if it can be made acyclic by a sequence of p-inversions. We observe that, for n=|V(D)|, deciding whether D is (=n-1)-invertible is equivalent to deciding whether D is acyclically pushable, and thus NP-complete. In all other cases, when p ≠ n-1, we construct a polynomial-time algorithm to decide (=p)-invertibility. We then consider the (= p)-inversion number, inv= p(D) (resp. (≤ p)-inversion number, inv≤ p(D)), defined as the minimum number of (=p)-inversions (resp. (≤ p)-inversions) rendering D acyclic. We show that every (=p)-invertible digraph D satisfies inv= p(D) ≤ |A(D)| for every integer p≥ 2. When p is even, we bound inv= p by a (linear) function of the feedback arc set number, and rule out the existence of any bounding function for odd p. Finally, we study the complexity of deciding whether the (= p)-inversion number, or the (≤ p)-inversion number, of a given oriented graph is at most a given integer k. For any fixed positive integer p ≥ 2, when k is part of the input, we show that both problems are NP-hard even in tournaments. In general oriented graphs, we prove W[1]-hardness for both problems when parameterized by p, even for k=1. In contrast, we exhibit polynomial kernels in p + k for both problems in tournaments.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.