English

Odd Cycle Transversal on $P_5$-free Graphs in Polynomial Time

Data Structures and Algorithms 2024-02-20 v1

Abstract

An independent set in a graph G is a set of pairwise non-adjacent vertices. A graph GG is bipartite if its vertex set can be partitioned into two independent sets. In the Odd Cycle Transversal problem, the input is a graph GG along with a weight function ww associating a rational weight with each vertex, and the task is to find a smallest weight vertex subset SS in GG such that GSG - S is bipartite; the weight of SS, w(S)=vSw(v)w(S) = \sum_{v\in S} w(v). We show that Odd Cycle Transversal is polynomial-time solvable on graphs excluding P5P_5 (a path on five vertices) as an induced subgraph. The problem was previously known to be polynomial-time solvable on P4P_4-free graphs and NP-hard on P6P_6-free graphs [Dabrowski, Feghali, Johnson, Paesani, Paulusma and Rz\k{a}\.zewski, Algorithmica 2020]. Bonamy, Dabrowski, Feghali, Johnson and Paulusma [Algorithmica 2019] posed the existence of a polynomial-time algorithm on P5P_5-free graphs as an open problem, this was later re-stated by Rz\k{a}\.zewski [Dagstuhl Reports, 9(6): 2019] and by Chudnovsky, King, Pilipczuk, Rz\k{a}\.zewski, and Spirkl [SIDMA 2021], who gave an algorithm with running time nO(n)n^{O(\sqrt{n})}.

Keywords

Cite

@article{arxiv.2402.11465,
  title  = {Odd Cycle Transversal on $P_5$-free Graphs in Polynomial Time},
  author = {Akanksha Agrawal and Paloma T. Lima and Daniel Lokshtanov and Pawel Rzążewski and Saket Saurabh and Roohani Sharma},
  journal= {arXiv preprint arXiv:2402.11465},
  year   = {2024}
}
R2 v1 2026-06-28T14:52:07.040Z