rsppfp: An R Package for the Shortest Path Problem with Forbidden Paths

Abstract

The Shortest Path Problem with Forbidden Paths (SPPFP) is a variant of the original shortest path problem, where the constraints come from a set of forbidden arc sequences that cannot be part of any feasible solution. Though this problem is addressed in the academic literature and has numerous applications, there are no open-source implementations of algorithms that solve it. This article proposes “rsppfp”, an R package that offers functionalities that solve the SPPFP by transforming it into the traditional shortest path problem. Its main strengths are its parallel processing capability, and it is high compatibility with packages for other network research. In this paper, we describe the design and functionality of “rsppfp”, report an evaluation made with different graph structures, and provide guidelines and examples for its use.

Publication
In SoftwareX. Vol 9C, pp265-270