The Shortest Even Cycle Problem is Tractable

11/04/2021
by   Andreas Björklund, et al.
0

Given a directed graph, we show how to efficiently find a shortest (directed, simple) cycle on an even number of vertices. As far as we know, no polynomial-time algorithm was previously known for this problem. In fact, finding any even cycle in a directed graph in polynomial time was open for more than two decades until Robertson, Seymour, and Thomas (Ann. of Math. (2) 1999) and, independently, McCuaig (Electron. J. Combin. 2004; announced jointly at STOC 1997) gave an efficiently testable structural characterisation of even-cycle-free directed graphs. Methodologically, our algorithm relies on algebraic fingerprinting and randomized polynomial identity testing over a finite field, and uses a generating polynomial implicit in Vazirani and Yannakakis ( Discrete Appl. Math. 1989) that enumerates weighted cycle covers as a difference of a permanent and a determinant polynomial. The need to work with the permanent is where our main technical contribution occurs. We design a family of finite commutative rings of characteristic 4 that simultaneously (i) give a nondegenerate representation for the generating polynomial identity via the permanent and the determinant, (ii) support efficient permanent computations, and (iii) enable emulation of finite-field arithmetic in characteristic 2. Here our work is foreshadowed by that of Björklund and Husfeldt (SIAM J. Comput. 2019), who used a considerably less efficient ring design to obtain a polynomial-time algorithm for the shortest two disjoint paths problem. Building on work of Gilbert and Tarjan (Numer. Math. 1978) as well as Alon and Yuster (J. ACM 2013), we also show how ideas from the nested dissection technique for solving linear equation systems leads to faster algorithm designs when we have control on the separator structure of the input graph; for example, this happens when the input has bounded genus.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/18/2022

Reconfiguration of Digraph Homomorphisms

For a fixed graph H, the H-Recoloring problem asks whether for two given...
research
06/01/2021

Parallel Polynomial Permanent Mod Powers of 2 and Shortest Disjoint Cycles

We present a parallel algorithm for permanent mod 2^k of a matrix of uni...
research
07/07/2021

Reconfiguring Directed Trees in a Digraph

In this paper, we investigate the computational complexity of subgraph r...
research
09/30/2021

Blazing a Trail via Matrix Multiplications: A Faster Algorithm for Non-shortest Induced Paths

For vertices u and v of an n-vertex graph G, a uv-trail of G is an induc...
research
03/14/2023

Algorithms for Length Spectra of Combinatorial Tori

Consider a weighted, undirected graph cellularly embedded on a topologic...
research
01/06/2023

Simpler and faster algorithms for detours in planar digraphs

In the directed detour problem one is given a digraph G and a pair of ve...
research
02/05/2018

Shortest k-Disjoint Paths via Determinants

The well-known k-disjoint path problem (k-DPP) asks for pairwise vertex-...

Please sign up or login with your details

Forgot password? Click here to reset