-
Notifications
You must be signed in to change notification settings - Fork 11
Comments
After debugging, it appears it is due to a floating point error... |
Thanks for opening this up and sorry for the delay (on your other PR that is). If this is due to the simplex method, we don't have the hand on the actual algorithms, Float64 is often hardcoded and numerical precision can be an issue. In the pure-Julia algorithms maybe we could do something, but the |
Thanks for your response. |
Yes there is a |
Chiming in from vacation: would it be better to use |
I thought to use isapprox( n, 0, eps(typeof(n)) |
Here is a PR: |
I think floating points are less harmful on the other algorithms, but it might be useful to handle it anyway |
Hi,
The default max-flow algorithm is stuck in an endless loop with this graph:
The capacities of the first layer are all 0.1
The capacities of the second layer are all 1
The capacities of the third layer are all 0
Here is how to reproduce it :
The text was updated successfully, but these errors were encountered: