I have a graph that has both positive and negative weights. Some of the nodes have multiple weights, for example node A has two edges with different weights connected to node B. Can Floyd Warshall algorithm handle this?
I have tried using Bellman Ford, I can calculate the distances but I can't reliably construct the path.