get_path_pair function

Compute shortest path between origin and destination nodes.