Optimal energetic paths for electric cars
Abstract
A weighted directed graph , where and , describes a road network in which an electric car can roam. An arc models a road segment connecting the two vertices and . The cost of an arc is the amount of energy the car needs to traverse the arc. This amount may be positive, zero or negative. To make the problem realistic, we assume there are no negative cycles. The car has a battery that can store up to units of energy. It can traverse an arc only if it is at and the charge in its battery satisfies . If it traverses the arc, it reaches with a charge of . Arcs with positive costs deplete the battery, arcs with negative costs charge the battery, but not above its capacity of . Given , can the car travel from to , starting at with an initial charge , where ? If so, what is the maximum charge with which the car can reach ? Equivalently, what is the smallest such that the car can reach with a charge of , and which path should the car follow to achieve this? We refer to as the energetic cost of traveling from to . We let if the car cannot travel from to starting with an initial charge of . The problem of computing energetic costs is a strict generalization of the standard shortest paths problem. We show that the single-source minimum energetic paths problem can be solved using simple, but subtle, adaptations of the Bellman-Ford and Dijkstra algorithms. To make Dijkstra's algorithm work in the presence of negative arcs, but no negative cycles, we use a variant of the search heuristic. These results are explicit or implicit in some previous papers. We provide a simpler and unified description of these algorithms.
Cite
@article{arxiv.2305.19015,
title = {Optimal energetic paths for electric cars},
author = {Dani Dorfman and Haim Kaplan and Robert E. Tarjan and Uri Zwick},
journal= {arXiv preprint arXiv:2305.19015},
year = {2023}
}
Comments
11 pages