Abstract

We discuss the implementation of network flow algorithms in floating point arithmetic. We give an example to illustrate the difficulties that may arise when floating point arithmetic is used without care. We describe an iterative improvement scheme that can be put around any network flow algorithm for integer capacities. The scheme carefully scales the capacities such that all integers arising can be handled exactly using floating point arithmetic. Let n and m be the number of nodes and edges of the network, respectively. For m ⩽ 10 9 and with double precision floating point arithmetic, the number of iterations is always bounded by three, and the relative error in the flow value is at most 2 −19. For m ⩽ 10 6 and with double precision arithmetic, the relative error after the first iteration is bounded by 10 −3.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call