shortest_path_problem