Shortest-Path-Preserving Rounding

05/21/2019
by   Herman Haverkort, et al.
0

Various applications of graphs, in particular applications related to finding shortest paths, naturally get inputs with real weights on the edges. However, for algorithmic or visualization reasons, inputs with integer weights would often be preferable or even required. This raises the following question: given an undirected graph with non-negative real weights on the edges and an error threshold ε, how efficiently can we decide whether we can round all weights such that shortest paths are maintained, and the change of weight of each shortest path is less than ε? So far, only for path-shaped graphs a polynomial-time algorithm was known. In this paper we prove, by reduction from 3-SAT, that, in general, the problem is NP-hard. However, if the graph is a tree with n vertices, the problem can be solved in O(n^2) time.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/27/2021

Polynomial Time Prioritized Multi-Criteria k-Shortest Paths and k-Disjoint All-Criteria-Shortest Paths

The Shortest Path Problem, in real-life applications, has to deal with m...
research
07/11/2023

Distance-Preserving Graph Compression Techniques

We study the problem of distance-preserving graph compression for weight...
research
07/24/2020

Computing nearest neighbour interchange distances between ranked phylogenetic trees

Many popular algorithms for searching the space of leaf-labelled trees a...
research
01/26/2022

Combining optimal path search with task-dependent learning in a neural network

Finding optimal paths in connected graphs requires determining the small...
research
04/11/2022

Constrained Shortest Path and Hierarchical Structures

The Constraint Shortest Path (CSP) problem is as follows. An n-vertex gr...
research
06/10/2019

A Strongly Polynomial Algorithm for Finding a Shortest Non-zero Path in Group-Labeled Graphs

Finding a shortest path or cycle in graphs is a fundamental problem. In ...
research
04/21/2022

The variance-penalized stochastic shortest path problem

The stochastic shortest path problem (SSPP) asks to resolve the non-dete...

Please sign up or login with your details

Forgot password? Click here to reset