[任何人都可以帮助根据我计算此网络的最大流量并切入该网络Network diagram时,从s到t的最大流量是4,我的老师是6!
你会是对的;使用scipy.sparse.csgraph.maximum_flow:
scipy.sparse.csgraph.maximum_flow