English

A fast algorithm for the gas station problem

Combinatorics 2017-06-02 v1 Data Structures and Algorithms

Abstract

In the gas station problem we want to find the cheapest path between two vertices of an nn-vertex graph. Our car has a specific fuel capacity and at each vertex we can fill our car with gas, with the fuel cost depending on the vertex. Furthermore, we are allowed at most Δ\Delta stops for refuelling. In this short paper we provide an algorithm solving the problem in O(Δn2+n2logn)O(\Delta n^2 + n^2\log{n}) steps improving an earlier result by Khuller, Malekian and Mestre.

Cite

@article{arxiv.1706.00195,
  title  = {A fast algorithm for the gas station problem},
  author = {Kleitos Papadopoulos and Demetres Christofides},
  journal= {arXiv preprint arXiv:1706.00195},
  year   = {2017}
}
R2 v1 2026-06-22T20:05:51.673Z