{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,13]],"date-time":"2026-06-13T08:56:35Z","timestamp":1781340995775,"version":"3.54.1"},"reference-count":36,"publisher":"Association for Computing Machinery (ACM)","issue":"1","license":[{"start":{"date-parts":[[2022,12,19]],"date-time":"2022-12-19T00:00:00Z","timestamp":1671408000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"name":"ONR","award":["N00014\u201317\u20131\u20132194"],"award-info":[{"award-number":["N00014\u201317\u20131\u20132194"]}]},{"name":"European Research Council","award":["ScaleOpt\u2013757481"],"award-info":[{"award-number":["ScaleOpt\u2013757481"]}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["J. ACM"],"published-print":{"date-parts":[[2023,2,28]]},"abstract":"<jats:p>\n            We present an\n            <jats:italic>O(nm)<\/jats:italic>\n            algorithm for all-pairs shortest paths computations in a directed graph with\n            <jats:italic>n<\/jats:italic>\n            nodes,\n            <jats:italic>m<\/jats:italic>\n            arcs, and nonnegative integer arc costs. This matches the complexity bound attained by Thorup [\n            <jats:xref ref-type=\"bibr\">31<\/jats:xref>\n            ] for the all-pairs problems in undirected graphs. The main insight is that shortest paths problems with approximately balanced directed cost functions can be solved similarly to the undirected case. The algorithm finds an approximately balanced reduced cost function in an\n            <jats:italic>O(m<\/jats:italic>\n            \u221a\n            <jats:italic>n<\/jats:italic>\n            log\n            <jats:italic>n<\/jats:italic>\n            ) preprocessing step. Using these reduced costs, every shortest path query can be solved in\n            <jats:italic>O(m)<\/jats:italic>\n            time using an adaptation of Thorup\u2019s component hierarchy method. The balancing result can also be applied to the \u2113\n            <jats:sub>\u221e<\/jats:sub>\n            -matrix balancing problem.\n          <\/jats:p>","DOI":"10.1145\/3565019","type":"journal-article","created":{"date-parts":[[2022,10,17]],"date-time":"2022-10-17T13:07:21Z","timestamp":1666012041000},"page":"1-33","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":2,"title":["Directed Shortest Paths via Approximate Cost Balancing"],"prefix":"10.1145","volume":"70","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-7488-094X","authenticated-orcid":false,"given":"James B.","family":"Orlin","sequence":"first","affiliation":[{"name":"Massachusetts Institute of Technology, Cambridge, MA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1152-200X","authenticated-orcid":false,"given":"L\u00e1szl\u00f3","family":"V\u00e9gh","sequence":"additional","affiliation":[{"name":"London School of Economics and Political Science, London, United Kingdom"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2022,12,19]]},"reference":[{"key":"e_1_3_2_2_2","volume-title":"Network Flows \u2013 Theory, Algorithms and Applications","author":"Ahuja Ravindra K.","year":"1993","unstructured":"Ravindra K. Ahuja, Thomas L. Magnanti, and James B. Orlin. 1993. Network Flows \u2013 Theory, Algorithms and Applications. Prentice Hall."},{"key":"e_1_3_2_3_2","first-page":"890","volume-title":"58th Annual IEEE Symposium on Foundations of Computer Science (FOCS\u201917)","author":"Allen-Zhu Zeyuan","year":"2017","unstructured":"Zeyuan Allen-Zhu, Yuanzhi Li, Rafael Oliveira, and Avi Wigderson. 2017. Much faster algorithms for matrix scaling. In 58th Annual IEEE Symposium on Foundations of Computer Science (FOCS\u201917). 890\u2013901."},{"key":"e_1_3_2_4_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10107-022-01825-4"},{"key":"e_1_3_2_5_2","doi-asserted-by":"publisher","DOI":"10.1145\/3402926"},{"key":"e_1_3_2_6_2","first-page":"902","volume-title":"58th Annual IEEE Symposium on Foundations of Computer Science (FOCS\u201917)","author":"Cohen Michael B.","year":"2017","unstructured":"Michael B. Cohen, Aleksander Madry, Dimitris Tsipras, and Adrian Vladu. 2017. Matrix scaling and balancing via box constrained Newton\u2019s method and interior point methods. In 58th Annual IEEE Symposium on Foundations of Computer Science (FOCS\u201917). 902\u2013913."},{"key":"e_1_3_2_7_2","volume-title":"Introduction to Algorithms (3rd ed.)","author":"Cormen Thomas H.","year":"2009","unstructured":"Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, and Clifford Stein. 2009. Introduction to Algorithms (3rd ed.). MIT Press."},{"key":"e_1_3_2_8_2","doi-asserted-by":"publisher","DOI":"10.1007\/BF01386390"},{"key":"e_1_3_2_9_2","first-page":"36","article-title":"Economical algorithms for finding shortest paths in a network","author":"Dinic E. A.","year":"1978","unstructured":"E. A. Dinic. 1978. Economical algorithms for finding shortest paths in a network. Transportation Modeling Systems (1978), 36\u201344.","journal-title":"Transportation Modeling Systems"},{"key":"e_1_3_2_10_2","doi-asserted-by":"publisher","DOI":"10.1145\/367766.368168"},{"key":"e_1_3_2_11_2","doi-asserted-by":"publisher","DOI":"10.1016\/S0022-0000(05)80064-9"},{"key":"e_1_3_2_12_2","doi-asserted-by":"publisher","DOI":"10.1137\/0205006"},{"key":"e_1_3_2_13_2","doi-asserted-by":"publisher","DOI":"10.1145\/28869.28874"},{"key":"e_1_3_2_14_2","first-page":"90","volume-title":"26th Annual IEEE Symposium on Foundations of Computer Science (FOCS\u201985)","author":"Gabow Harold N.","year":"1985","unstructured":"Harold N. Gabow. 1985. A scaling algorithm for weighted matching on general graphs. In 26th Annual IEEE Symposium on Foundations of Computer Science (FOCS\u201985). 90\u2013100."},{"key":"e_1_3_2_15_2","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539792231179"},{"key":"e_1_3_2_16_2","doi-asserted-by":"crossref","first-page":"61","DOI":"10.1007\/3-540-45022-X_7","volume-title":"International Colloquium on Automata, Languages, and Programming (ICALP\u201900)","author":"Hagerup Torben","year":"2000","unstructured":"Torben Hagerup. 2000. Improved shortest paths on the word RAM. In International Colloquium on Automata, Languages, and Programming (ICALP\u201900). Springer, 61\u201372."},{"key":"e_1_3_2_17_2","doi-asserted-by":"publisher","DOI":"10.1016\/0012-365X(78)90011-0"},{"key":"e_1_3_2_18_2","doi-asserted-by":"publisher","DOI":"10.1016\/0167-6377(93)90022-9"},{"key":"e_1_3_2_19_2","doi-asserted-by":"publisher","DOI":"10.1007\/BF01586040"},{"key":"e_1_3_2_20_2","doi-asserted-by":"publisher","DOI":"10.1137\/1.9781611974782.122"},{"key":"e_1_3_2_21_2","doi-asserted-by":"publisher","DOI":"10.1145\/321043.321048"},{"key":"e_1_3_2_22_2","first-page":"154","volume-title":"Proceedings of the 28th Annual ACM-SIAM Symposium on Discrete Algorithms","author":"Ostrovsky Rafail","year":"2017","unstructured":"Rafail Ostrovsky, Yuval Rabani, and Arman Yousefi. 2017. Matrix balancing in \\(L_p\\) norms: Bounding the convergence rate of Osborne\u2019s iteration. In Proceedings of the 28th Annual ACM-SIAM Symposium on Discrete Algorithms. 154\u2013169."},{"key":"e_1_3_2_23_2","doi-asserted-by":"publisher","DOI":"10.1007\/BF02165404"},{"key":"e_1_3_2_24_2","doi-asserted-by":"crossref","first-page":"32","DOI":"10.1007\/3-540-36136-7_4","volume-title":"International Symposium on Algorithms and Computation","author":"Pettie Seth","year":"2002","unstructured":"Seth Pettie. 2002. On the comparison-addition complexity of all-pairs shortest paths. In International Symposium on Algorithms and Computation. Springer, 32\u201343."},{"key":"e_1_3_2_25_2","doi-asserted-by":"publisher","DOI":"10.1016\/S0304-3975(03)00402-X"},{"key":"e_1_3_2_26_2","doi-asserted-by":"publisher","DOI":"10.7155\/jgaa.00365"},{"key":"e_1_3_2_27_2","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539702419650"},{"key":"e_1_3_2_28_2","doi-asserted-by":"publisher","DOI":"10.5555\/2781807.2781819"},{"key":"e_1_3_2_29_2","doi-asserted-by":"publisher","DOI":"10.1145\/2988227"},{"key":"e_1_3_2_30_2","doi-asserted-by":"publisher","DOI":"10.1137\/0201010"},{"key":"e_1_3_2_31_2","doi-asserted-by":"publisher","DOI":"10.5555\/3485"},{"key":"e_1_3_2_32_2","doi-asserted-by":"publisher","DOI":"10.1145\/316542.316548"},{"key":"e_1_3_2_33_2","first-page":"699","volume-title":"Proceedings of the 14th ACM-SIAM Symposium on Discrete Algorithms (SODA\u201903)","author":"Thorup Mikkel","year":"2003","unstructured":"Mikkel Thorup. 2003. On \\(\\mathrm{AC}^0\\) implementations of fusion trees and atomic heaps. In Proceedings of the 14th ACM-SIAM Symposium on Discrete Algorithms (SODA\u201903). 699\u2013707."},{"key":"e_1_3_2_34_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jcss.2004.04.003"},{"key":"e_1_3_2_35_2","doi-asserted-by":"publisher","DOI":"10.1145\/321105.321107"},{"key":"e_1_3_2_36_2","doi-asserted-by":"publisher","DOI":"10.1145\/2591796.2591811"},{"key":"e_1_3_2_37_2","doi-asserted-by":"publisher","DOI":"10.1002\/net.3230210206"}],"container-title":["Journal of the ACM"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3565019","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3565019","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3565019","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T19:02:52Z","timestamp":1750186972000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3565019"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,12,19]]},"references-count":36,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2023,2,28]]}},"alternative-id":["10.1145\/3565019"],"URL":"https:\/\/doi.org\/10.1145\/3565019","relation":{},"ISSN":["0004-5411","1557-735X"],"issn-type":[{"value":"0004-5411","type":"print"},{"value":"1557-735X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022,12,19]]},"assertion":[{"value":"2020-11-03","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2022-09-04","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2022-12-19","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}