Improper overflow handling in shortest paths algorithms
As reported here
http://lists.boost.org/boost-users/2007/05/28205.php
the Bellman-Ford shortest paths algorithm fails to compute correct results in some graphs containing negative cycles. The cause of the problem is the incorrect overflow handling in closed_plus, which is used to relax edges in the graph. The attached patch fixes the problem.
Change History
(6)
| Milestone: |
→ Boost 1.34.1
|
| Resolution: |
→ fixed
|
| Status: |
new → closed
|
| Resolution: |
fixed
|
| Status: |
closed → reopened
|
| Owner: |
changed from Douglas Gregor to Jeremiah Willcock
|
| Status: |
reopened → new
|
| Resolution: |
→ fixed
|
| Status: |
assigned → closed
|
Fix handling of overflow