English
Related papers

Related papers: Anarchy in the APSP: Algorithm and Hardness for In…

200 papers

The Floyd--Warshall algorithm is a well-known algorithm for the all-pairs shortest path problem that is simply implemented by triply nested loops. In this study, we show that the incorrect implementations of the Floyd--Warshall algorithm…

Data Structures and Algorithms · Computer Science 2019-04-03 Ikumi Hide , Soh Kumabe , Takanori Maehara

The Floyd-Warshall(FW) algorithm, is an ancient but a largely important algorithm used to solve the all-pairs simple-paths(APSP) problem. While the algorithm is available for use in open-source graph optimization libraries such as NetworkX,…

Distributed, Parallel, and Cluster Computing · Computer Science 2023-10-09 Taher Anjary

The Floyd-Warshall algorithm is the most popular algorithm for determining the shortest paths between all pairs in a graph. It is very a simple and an elegant algorithm. However, if the graph does not contain any negative weighted edge,…

Data Structures and Algorithms · Computer Science 2021-09-07 Ismail H. Toroslu

Classical Floyd-Warshall algorithm is used to solve all-pairs shortest path problem on a directed graph. The classical algorithm runs in \mathcal{O} (V^{3}) time where V represents the number of nodes. Here we have modified the algorithm…

Quantum Physics · Physics 2019-11-12 A. S. Gupta , A. Pathak

We use admissible permutations and a variant of the Floyd-Warshall algorithm to obtain an optimal solution to the Assignment Problem. Using another variant of the F-W algorithm, we obtain an approximate solution to the Traveling Salesman…

Combinatorics · Mathematics 2007-05-23 Howard Kleiman

In math.CO/0111309, we used admissible permutations and a variant of the Floyd-Warshall Algorithm to obtain an optimal solution to the Assignment Problem and an approximate solution to the Traveling Salesman Problem. Here we give a large,…

Combinatorics · Mathematics 2007-05-23 Howard Kleiman

We improve proofs in "The Floyd-Warshall Algorithm, the AP and the TSP (III). We also simplify the method for obtaining a good upper bound for an optimal solution.

Combinatorics · Mathematics 2007-05-23 Howard Kleiman

Graphs have become a key tool when modeling and solving problems in different areas. The Floyd-Warshall (FW) algorithm computes the shortest path between all pairs of vertices in a graph and is employed in areas like communication…

Distributed, Parallel, and Cluster Computing · Computer Science 2024-07-02 Sergio Calderón , Enzo Rucci , Franco Chichizola

We present a new implementation of the Floyd-Warshall All-Pairs Shortest Paths algorithm on CUDA. Our algorithm runs approximately 5 times faster than the previously best reported algorithm. In order to achieve this speedup, we applied a…

Distributed, Parallel, and Cluster Computing · Computer Science 2010-02-25 Ben Lund , Justin W Smith

Algorithms for computing All-Pairs Shortest-Paths (APSP) are critical building blocks underlying many practical applications. The standard sequential algorithms, such as Floyd-Warshall and Johnson, quickly become infeasible for large input…

Distributed, Parallel, and Cluster Computing · Computer Science 2019-08-08 Frank Schoeneman , Jaroslaw Zola

The all pairs shortest path problem is a fundamental optimization problem in graph theory. We deal with re-calculating the all-pairs shortest path (APSP) matrix after a minor modification of a weighted dense graph, e.g., adding a node,…

Data Structures and Algorithms · Computer Science 2025-02-06 Gangli Liu

The All-Pairs Shortest Paths (APSP) problem is one of the fundamental problems in theoretical computer science. It asks to compute the distance matrix of a given $n$-vertex graph. We revisit the classical problem of maintaining the distance…

Data Structures and Algorithms · Computer Science 2024-08-28 Xiao Mao

The All-Pairs Shortest Paths (APSP) is a foundational problem in theoretical computer science. Approximating APSP in undirected unweighted graphs has been studied for many years, beginning with the work of Dor, Halperin and Zwick…

Data Structures and Algorithms · Computer Science 2025-11-10 Ce Jin , Yael Kirkpatrick , Michał Stawarz , Virginia Vassilevska Williams

Let M be an n X n symmetric cost matrix. Assume that D is a derangement of edges in M, i.e., a set of point-disjoint cycles containing all of the n points of M.The modified Floyd-Warshall algorithm applied to ((D')^-1)A^- (where A is an…

Combinatorics · Mathematics 2007-05-23 Howard Kleiman

The all pairs shortest path problem (APSP) is one of the foundational problems in computer science. For weighted dense graphs on $n$ vertices, no truly sub-cubic algorithms exist to compute APSP exactly even for undirected graphs. This is…

Data Structures and Algorithms · Computer Science 2023-09-26 Barna Saha , Christopher Ye

We introduce a new problem that combines the well known All Pairs Shortest Paths (APSP) problem and the All Pairs Bottleneck Paths (APBP) problem to compute the shortest paths for all pairs of vertices for all possible flow amounts. We call…

Data Structures and Algorithms · Computer Science 2013-09-24 Tong-Wook Shinn , Tadao Takaoka

We clarify the exposition of Phases 2 and 3a in "The Floyd-Warshall Algorithm, the AP and the TSP". We also improve and simplify theorem 3.6 . In line with clarifying the exposition, we change the matrices in examples 3.4 and 3.5 of "The…

Combinatorics · Mathematics 2007-05-23 Howard Kleiman

We present two new and efficient algorithms for computing all-pairs shortest paths. The algorithms operate on directed graphs with real (possibly negative) weights. They make use of directed path consistency along a vertex ordering d. Both…

Data Structures and Algorithms · Computer Science 2014-01-21 Léon R. Planken , Mathijs M. de Weerdt , Roman P. J. van der Krogt

We consider the quantum time complexity of the all pairs shortest paths (APSP) problem and some of its variants. The trivial classical algorithm for APSP and most all pairs path problems runs in $O(n^3)$ time, while the trivial algorithm in…

Quantum Physics · Physics 2014-10-24 Aran Nayebi , Virginia Vassilevska Williams

This paper gives simple distributed algorithms for the fundamental problem of computing graph distances in the Congested Clique model. One of the main components of our algorithms is fast matrix multiplication, for which we show an…

Distributed, Parallel, and Cluster Computing · Computer Science 2015-03-24 Keren Censor-Hillel , Ami Paz
‹ Prev 1 2 3 10 Next ›