Text this: The shortest-path problem :