d***n 发帖数: 412 | 1 I want to do maxflow calculations by graphmaxflow() in Matlab 7.7.0. But I
got the following error information:
"Reciprocal edges are not allowed in maxflow algorithms."
I do not know why reciprocal edges are not prmitted, because there shouldn't
be any fundamental problems.
Does anyone know how this limitation can be prevented?
Thanks | b*****e 发帖数: 499 | 2 You can trick MATLAB to solve your problem by splitting each node into a
source and destination node and placing and edge with infinite capacity
between them.
't
【在 d***n 的大作中提到】 : I want to do maxflow calculations by graphmaxflow() in Matlab 7.7.0. But I : got the following error information: : "Reciprocal edges are not allowed in maxflow algorithms." : I do not know why reciprocal edges are not prmitted, because there shouldn't : be any fundamental problems. : Does anyone know how this limitation can be prevented? : Thanks
|
|