arXiv:2611.08256cs.DSNov 2026

Manuscript Offprint

arXiv:2611.08256

Minimum-Cost kk-Arborescence Packing in O~(km+k4n)\tilde O(km+k^4 n) Time

Zhaienhe Zhou

Abstract

We give a deterministic, strongly polynomial algorithm running in O~(km+k4n)\tilde{O}(km + k^4n) time that finds kk arc-disjoint arborescences of minimum total cost in a directed multigraph with nn vertices and mm arcs. This significantly improves upon the state of the art for k≥2k \geq 2 with k=no(1)k = n^{o(1)}: the prior fastest weakly polynomial and strongly polynomial algorithms take O~(kmnlog⁡C)\tilde{O}(km\sqrt{n}\log C) and O~(kmn)\tilde{O}(kmn) time (Gabow and Xu, 1989; Gabow, 1995), respectively.

Roughly, our technique can be viewed as a way to apply a linear number of shortest augmenting paths in near-linear total time for the special case of the weighted matroid intersection problem between the kk-fold graphic matroid and the indegree partition matroid. This was previously done in the unweighted case by Gabow (1995), but our approach is different.

As an extension, we also obtain a deterministic O~(km1+o(1)+k5n)\tilde{O}(km^{1+o(1)} + k^5n)-time algorithm for minimum-cost maximum-cardinality packing of kk forests in undirected graphs. In particular, this finds kk edge-disjoint spanning trees of minimum total cost, if they exist. The previous fastest algorithm takes O~(kn2+m)\tilde{O}(kn^2 + m) time (Gabow and Westermann, 1992).

*University of Michigan, United States. Email: zhaienhezhou@gmail.com. Work done in part while the author was an undergraduate student at the University of Science and Technology of China.

Contents

1 Introduction 1
2 Overview 3
3 Preliminaries 7
3.1 Notation and Matroid Terminology 7
3.2 Unions of Forests and Tight Blocks 7
3.3 Weighted Matroid Intersection 8
3.4 Algorithmic Tools 9
4 Min-Cost k-Arborescence Packing 9
4.1 Relax and Augment 9
4.2 Batching Framework 11
4.2.1 Locality of Augmenting Paths 11
4.2.2 Checking Compatibility by Contracting Tight Blocks 12
4.2.3 Optimality and Progress 13
4.2.4 Warm-Up Complexity 14
4.3 Compressing the Exchange Graph 15
4.3.1 Fine-Grained Search Graph 15
4.3.2 Compressed Search Graph 16
4.4 Finding a Maximum Compatible Set of Proposals 19
4.5 Proof of the Relaxation Theorem 20
5 Strongly Polynomial Algorithm via Vertex Prices 22
5.1 Price Invariant 22
5.2 Price Update 23
5.3 Potential for the Compressed Graph 24
5.4 Algorithm and Analysis 25
6 Applications 26
6.1 Indegree-Bounded Forest Packing 26
6.2 Undirected Forest Packing 27
6.2.1 Two-Stage Greedy Lemma 28
6.2.2 Algorithm and Analysis 30
6.3 Minimum-Cost k-Edge-Connected Spanning Subgraphs 32
A Forest-Swap Reachability and Execution 32
B Cyclic Scans 33
Acknowledgments 34
AI Methodology Statement 34

References (23)