I have a directed network with 27000 arcs, each with a weight.
With the code:
G=nx.Graph(G)
nx.maximum_flow(G,'CHN',"CHL")
I get the error:
NetworkXUnbounded: Infinite capacity path, flow unbounded above.
Does anyone know how to get the maximum flow value?
By the way, when I run: G.edges(data=True)
, I get a dictionary with stuff like this in it:
('BGR', 'NCL', {'Edge Id': u'3727', 'weight': 334716.84}),
('BGR', 'ARE', {'Edge Id': u'3606', 'weight': 28347011.33}),
('BGR', 'ARG', {'Edge Id': u'3733', 'weight': 26294089.16}),
('BGR', 'SDN', {'Edge Id': u'3591', 'weight': 78929738.06}),
Thanks.