Problem 107
Posted: Mon Jun 16, 2008 1:40 pm
The algorithm I used for removing redundant edges was [snip description of correct algorithm].
The solution I found was checked for the example, and gave the right answer (max saving 150).
But it seems not to work for the network described in network.txt.
I can not find an error in my algorithm though. Maybe the algorithm does not work in any network topology?
Any hints as to what could be wrong with it?
The solution I found was checked for the example, and gave the right answer (max saving 150).
But it seems not to work for the network described in network.txt.
I can not find an error in my algorithm though. Maybe the algorithm does not work in any network topology?
Any hints as to what could be wrong with it?