Approximating Min-Mean-Cycle for low-diameter graphs in near-optimal time and memory

04/07/2020
by   Jason M. Altschuler, et al.
0

We revisit Min-Mean-Cycle, the classical problem of finding a cycle in a weighted directed graph with minimum mean weight. Despite an extensive algorithmic literature, previous work falls short of a near-linear runtime in the number of edges m–in fact, there is a natural barrier which precludes such a runtime for solving Min-Mean-Cycle exactly. Here, we give a much faster approximation algorithm that, for graphs with polylogarithmic diameter, has near-linear runtime. In particular, this is the first algorithm whose runtime for the complete graph scales in the number of vertices n as Õ(n^2). Moreover–unconditionally on the diameter–the algorithm uses only O(n) memory beyond reading the input, making it "memory-optimal". The algorithm is also simple to implement and has remarkable practical performance. Our approach is based on solving a linear programming (LP) relaxation using entropic regularization, which effectively reduces the LP to a Matrix Balancing problem–a la the popular reduction of Optimal Transport to Matrix Scaling. We then round the fractional LP solution using a variant of the classical Cycle-Cancelling algorithm that is sped up to near-linear runtime at the expense of being approximate, and implemented in a memory-optimal manner. We also provide an alternative algorithm with slightly faster theoretical runtime, albeit worse memory usage and practicality. This algorithm uses the same rounding procedure, but solves the LP relaxation by leveraging recent developments in area-convexity regularization. Its runtime scales inversely in the approximation accuracy, which we show is optimal–barring a major breakthrough in algorithmic graph theory, namely faster Shortest Paths algorithms.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/25/2019

Approximating APSP without Scaling: Equivalence of Approximate Min-Plus and Exact Min-Max

Zwick's (1+ε)-approximation algorithm for the All Pairs Shortest Path (A...
research
05/25/2020

Symmetric Linear Programming Formulations for Minimum Cut with Applications to TSP

We introduce multiple symmetric LP relaxations for minimum cut problems....
research
08/16/2023

Approximating Min-Diameter: Standard and Bichromatic

The min-diameter of a directed graph G is a measure of the largest dista...
research
02/05/2018

Fast Approximations for Metric-TSP via Linear Programming

We develop faster approximation algorithms for Metric-TSP building on re...
research
11/15/2017

A Friendly Smoothed Analysis of the Simplex Method

Explaining the excellent practical performance of the simplex method for...
research
04/06/2020

Random Osborne: a simple, practical algorithm for Matrix Balancing in near-linear time

We revisit Matrix Balancing, a pre-conditioning task used ubiquitously f...
research
06/03/2019

A Direct Õ(1/ε) Iteration Parallel Algorithm for Optimal Transport

Optimal transportation, or computing the Wasserstein or “earth mover's” ...

Please sign up or login with your details

Forgot password? Click here to reset