skip to main content
article
Free Access

Finding minimum-cost circulations by canceling negative cycles

Published:01 October 1989Publication History
Skip Abstract Section

Abstract

A classical algorithm for finding a minimum-cost circulation consists of repeatedly finding a residual cycle of negative cost and canceling it by pushing enough flow around the cycle to saturate an arc. We show that a judicious choice of cycles for canceling leads to a polynomial bound on the number of iterations in this algorithm. This gives a very simple strongly polynomial algorithm that uses no scaling. A variant of the algorithm that uses dynamic trees runs in Ο(nm(log n)min{log(nC), m log n}) time on a network of n vertices, m arcs, and arc costs of maximum absolute value C. This bound is comparable to those of the fastest previously known algorithms.

References

  1. 1 AHUJA, R. K., GOLDBERG, A. V., ORLIN, J. B. AND TARJAN, R.E. Finding minimum-cost flows by double scaling. Tech. Rep. CS-TR-164-88. Department of Computer Science, Princeton Univ., Princeton, N.J., 1988.Google ScholarGoogle Scholar
  2. 2 AHUJA, R. K., MEHLHORN, K., ORLIN, J. B., AND TARJAN, R.E. Faster algorithms for the shortest path problem. Tech. Rep. CS-TR-154-88. Department of Computer Science, Princeton Univ., Princeton, N.J., 1987.Google ScholarGoogle Scholar
  3. 3 AHUJA, R. K., ORLIN, J. B., AND TARJAN, R.E. Improved time bounds for the maximum flow problem. SlAM J. Comput., to appear. Google ScholarGoogle Scholar
  4. 4 BARAHONA, F. AND TARDOS, {~. Note on Weintraub's minimum cost circulation algorithm. SlAM J. Comput. 18 (1989), 579-583. Google ScholarGoogle Scholar
  5. 5 BERTSEKAS, D. P. Distributed Asynchronous Relaxation Methods for Linear Network Flow Problems. Tech. Rep. LIDS-P-1986, Lab. for Decision Systems. M.I.T., Cambridge, Mass., Sept. 1986 (Revised November, 1986).Google ScholarGoogle Scholar
  6. 6 BLAND, R. G., AND JENSEN, D.L. On the computational behavior of a polynomial-time network flow algorithm. Tech. Rep. 661. School of Operations Research and Industrial Engineering, Cornell Univ., Ithaca, N.Y. 1985.Google ScholarGoogle Scholar
  7. 7 BUSACKER, R. G., AND SAATY, T. L. Finite Graphs and Networks: An Introduction with Applications. McGraw-Hill, New York, 1965.Google ScholarGoogle Scholar
  8. 8 DINIC, E.A. Algorithm for solution of a problem of maximum flow in networks with power estimation. Soviet Math. Dokl. 11 ( 1970), 1277-1280.Google ScholarGoogle Scholar
  9. 9 EDMONDS, J., AND KARP, R.M. Theoretical improvements in algorithmic efficiency for network flow problems. J. ACM 19, 2 (Apr. 1972), 248-264. Google ScholarGoogle Scholar
  10. 10 FORD, JR., L. R., AND FULKERSON, D.R. Flows in Networks. Princeton Univ. Press, Princeton, N.J., 1962.Google ScholarGoogle Scholar
  11. 11 FREDMAN, M. L., AND TARJAN, R. E. Fibonacci heaps and their uses in improved network optimization algorithms. J. ACM 34, 3 (July 1987), 596-615. Google ScholarGoogle Scholar
  12. 12 FUJISHIGE, S. A capacity-rounding algorithm for the minimum-cost circulation problem: A dual framework on the Tardos algorithm. Math. Prog. 35 (1986), 298-308. Google ScholarGoogle Scholar
  13. 13 GABOW, H. N., AND TARJAN, R. E. Faster scaling algorithms for network problems. SlAM J. Comput., to appear. Google ScholarGoogle Scholar
  14. 14 GALIL, Z., AND TARDOS, I~. An O(n2(m + n log n)log n) minimum cost flow algorithm. J. ACM 35, 2 (Apr. 1988), 374-386. Google ScholarGoogle Scholar
  15. 15 GOLDBERG, A.V. Efficient graph algorithms for sequential and parallel computers. Tech. Rep. TR-374. Lab. for Computer Science, M.I.T., Cambridge, Mass., 1987. Google ScholarGoogle Scholar
  16. 16 GOLDBERG, A. V., AND TARJAN, R. E. Finding minimum-cost circulations by successive approximation. Math. Oper. Res., to appear. Google ScholarGoogle Scholar
  17. 17 GOLDBERG, A. V., AND TARJAN, R.E. A new approach to the maximum flow problem. J. ACM 35, 4 (Oct, 1988), 921-940. Google ScholarGoogle Scholar
  18. 18 GOLDBERG, A. V., AND TARJAN, R. E. Solving minimum-cost flow problems by successive approximation. In Proceedings of the 19th ACM Symposium on Theory of Computing (New York, N.Y., May 25-27). ACM, New York, 1987, pp. 7-18. Google ScholarGoogle Scholar
  19. 19 KARP, R. M. A characterization of the minimum cycle mean in a digraph. Discrete Math. 23 (1978), 309-31 i.Google ScholarGoogle Scholar
  20. 20 KARP, R. M., AND ORLIN, J.B. Parametric shortest path algorithms with an application to cyclic staffing. Discrete Appl. Math. 3 (1981), 37-45.Google ScholarGoogle Scholar
  21. 21 KLEIN, M. A primal method for minimal cost flows with applications to the assignment and transportation problems. Manage. Sci. 14 (1967), 205-220.Google ScholarGoogle Scholar
  22. 22 LAWLER, E~ L. Combinatorial Optimization: Networks and Matroids. Holt, Reinhart, and Winston, New York, N.Y., 1976.Google ScholarGoogle Scholar
  23. 23 ORLIN, J. B. Genuinely polynomial simplex and non-simplex algorithms for the minimum cost flow problem. Tech. Rep. No. I615-84. Sloan School of Management, M.I.T., Cambridge, Mass., Dec. ! 984.Google ScholarGoogle Scholar
  24. 24 ORLIN, J.B. On the simplex algorithm for networks and generalized networks. Math. Prog. ,Studies 24 (1985), 166-178.Google ScholarGoogle Scholar
  25. 25 ORLIN, J.B. A faster strongly polynomial minimum cost flow algorithm. In Proceedings of the 20th ACM Symposium on Theory of Computing (Chicago, Ill, May 2-4). ACM, New York, I988, pp. 377-387. Google ScholarGoogle Scholar
  26. 26 ORLIN, J. B., AND AHUJA, R.K. New scaling algorithms for assignment and minimum cycle mean problems. Sloan Working Paper 2019-88. Sloan School of Management, M.I.T., Cambridge, Mass., 1988.Google ScholarGoogle Scholar
  27. 27 PAPADIMITRIOU, C. H., AND STEIGLITZ, K. Combinatorial Optimization: Algorithms and Complexity. Prentice-Hall, Englewood Cliffs, N.J., 1982. Google ScholarGoogle Scholar
  28. 28 ROCK, H. Scaling techniques for minimal cost network flows. In Discrete Structures and Algorithms, U. Pape, Ed. Carl Hansen, Miinich, W. Germany, 1980, pp. 181-191.Google ScholarGoogle Scholar
  29. 29 SLEATOR, D.D. An O(nm log n) algorithm for maximum network flow. Tech. Rep. STAN-CS- 80-83 I. Computer Science Department, Stanford Univ., Stanford, Calif., 1980.Google ScholarGoogle Scholar
  30. 30 SLEATOR, D. D., AND TARJAN, R.E. A data structure for dynamic trees. J. Comput. Syst. Sci. 26 (1983), 362-391. Google ScholarGoogle Scholar
  31. 31 SLEATOR, D. D., AND TARJAN, R.E. Self-adjusting binary search trees. J. ACM 32, 3 (July 1985), 652-686. Google ScholarGoogle Scholar
  32. 32 TARDOS, 1~. A strongly polynomial minimum cost circulation algorithm. Combinatorica 5, 3 (1985), 247-255. Google ScholarGoogle Scholar
  33. 33 TARJAN, R. E. Data Structures and Network Algorithms. Society for Industrial and Applied Mathematics, Philadelphia, Pa., 1983. Google ScholarGoogle Scholar
  34. 34 VAN EMDE BOAS, P., KAAS, R., AND ZXJLSTRA, E. Design and implementation of an efficient priority queue. Math. Syst. Theory 10 (1977), 99-127.Google ScholarGoogle Scholar
  35. 35 WEINTRAUB, A. A primal algorithm to solve network flow problems with convex costs. Manage. Sci. 21 (1974), 87-97.Google ScholarGoogle Scholar

Index Terms

  1. Finding minimum-cost circulations by canceling negative cycles

            Recommendations

            Reviews

            Max Garzon

            Several elaborate strongly polytime algorithms are known for minimum-cost circulation on a network with flow capacities and cost-per-unit flows. The authors show here that a simple cycle-canceling greedy algorithm following the classical strategy of successive approximation leads to a strongly polytime algorithm. Although the classical strategy may run for an exponential number of iterations, the authors show how a judicious choice of residual cycle, namely the cycle with the least average cost, produces a minimum-cost circulation in O n 2m 3 log n iterations where arc costs are arbitrary real numbers, or O n 3/2m 2 m where arc values are integers; this algorithm is polynomial in the number of nodes n , the number of arcs m , and the largest absolute value of an arc cost C , where m := min log &parl0;nC&parr0; , n log &parl0;nC&parr0;, n m log n . As the authors point out, the proof, which relies crucially on duality and scaling, is not combinatorial. Another canceling-cycles strategy discovered by Weintraub and modified by Barahona and Tardos [1] also leads to strongly polytime algorithms.

            Access critical reviews of Computing literature here

            Become a reviewer for Computing Reviews.

            Comments

            Login options

            Check if you have access through your login credentials or your institution to get full access on this article.

            Sign in

            Full Access

            • Published in

              cover image Journal of the ACM
              Journal of the ACM  Volume 36, Issue 4
              Oct. 1989
              279 pages
              ISSN:0004-5411
              EISSN:1557-735X
              DOI:10.1145/76359
              Issue’s Table of Contents

              Copyright © 1989 ACM

              Publisher

              Association for Computing Machinery

              New York, NY, United States

              Publication History

              • Published: 1 October 1989
              Published in jacm Volume 36, Issue 4

              Permissions

              Request permissions about this article.

              Request Permissions

              Check for updates

              Qualifiers

              • article

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader