Manuscript Offprint
arXiv:2611.12330Cut Conditions, Integrality, and Obstructions for Directed Multiflows
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Srinwanti Debgupta¹, Martin Skutella¹, and Philipp Warode²
¹ Technische Universität Berlin, Germany {debgupta,skutella}@math.tu-berlin.de ² Humboldt-Universität zu Berlin, Germany philipp.warode@hu-berlin.de
Abstract. In contrast to the max-flow/min-cut theorem for single-commodity flows, the cut condition is necessary but not sufficient for the existence of directed multiflows, even with only two commodities. Poremba and Shepherd (IPCO 2023) conjecture that the cut condition is sufficient for all capacities and demands on a directed two-commodity topology if and only if it contains neither of two specific topologies as a relevant minor. We prove this conjecture. As a consequence, the fractional and integral flow-cut gaps of every directed two-commodity topology coincide and are either 1 or 2.
We then investigate stronger necessary conditions for multiflow feasibility and their implications for integrality. We introduce a hierarchy of five conditions, ranging from the classical cut condition through conditions based on blocking edge sets and binary edge lengths to the linear programming dual characterization of fractional feasibility. The corresponding classes of sufficient topologies are strictly nested. We extend the Nagamochi-Ibaraki theorem: whenever one of the first four conditions is sufficient on a topology, integral capacities and demands satisfying that condition admit an integral multiflow, computable in polynomial time. Finally, we prove that recognizing topologies on which any of these four conditions is sufficient is coNP-complete, even for two commodities.
Keywords: directed multiflows · cut-sufficiency · integral flows · relevant minors · flow-cut gaps
1 Introduction
Multiflows model the simultaneous routing of several commodities through a network with shared capacities, with applications in communication networks, transportation, and logistics [1]. Their expressive power also connects them closely to general linear programming: fractional multiflow feasibility has a polynomial-size linear programming formulation, and conversely, even directed two-commodity flow feasibility is as hard as general linear programming [11,6].
A multiflow topology consists of a supply digraph and a demand digraph on the same vertex set. Each demand edge represents a commodity with source and sink . A multiflow assigns nonnegative flow
S. Debgupta, M. Skutella, Ph. Warode

'bad triangle'

'bad dual triangles'
Fig. 1. The bad triangle (left) and the bad dual triangles (right). Solid edges are supply edges; the dashed demand edges represent commodities. With all capacities and demands equal to one, both topologies satisfy the cut condition but admit no feasible multiflow: the unique paths of the two commodities share a unit-capacity edge, namely on the left and on the right.
values to directed paths for each commodity . Given nonnegative edge capacities on supply edges and demands , it is feasible if the paths of each commodity carry a total flow of and the total flow of all commodities on each supply edge is at most . A multiflow is integral if all path-flow values are integers; unless stated otherwise, we allow fractional flow values.
For the special case of a single commodity, the max-flow/min-cut theorem characterizes feasibility by capacity inequalities for cuts, and integral capacities and demands guarantee an integral flow whenever a feasible flow exists. For multiple commodities, the analogous cut condition requires every vertex set to have enough outgoing capacity for the total demand of commodities whose source lies inside and sink outside. This condition remains necessary; however, it is no longer sufficient, even for two commodities (see Figure 1). Moreover, fractional feasibility need not imply integral feasibility for integral capacities and demands, again already with two commodities.
The distinction between directed and undirected multiflows is also apparent with only two commodities. In undirected graphs, the cut condition suffices for fractional feasibility [9]. Disjoint-path problems exhibit a similar contrast: deciding whether a digraph contains vertex-disjoint directed paths for two given terminal pairs is NP-hard [7], whereas in undirected graphs the corresponding problem is polynomial-time solvable for any fixed number of terminal pairs [16].
These differences motivate the study of directed topologies on which the cut condition nevertheless characterizes feasibility. A topology is cut-sufficient if, for every choice of nonnegative capacities and demands, the cut condition implies the existence of a feasible multiflow. Nagamochi and Ibaraki [13] show that cut-sufficiency also restores integrality: on a cut-sufficient topology, integral capacities and demands satisfying the cut condition admit an integral multiflow.
Poremba and Shepherd [15] initiated the study of cut-sufficiency for directed two-commodity topologies in terms of forbidden obstructions. Cut-sufficiency is not inherited by arbitrary minors, but it is inherited by relevant minors. A minor is relevant if every choice of capacities and demands satisfying the cut condition on the minor still satisfies it when extended to the original topology: surviving edges retain their weights, deleted supply and demand edges receive capacity and demand zero, respectively, and contracted supply edges receive sufficiently large (or even infinite) capacities.
Poremba and Shepherd's basic obstructions are the bad triangle and the bad dual triangles (Figure 1). They prove that excluding both as relevant minors characterizes cut-sufficiency when the two demands form a directed path or a roundtrip ; they also establish this characterization for directed star and triangle demand graphs. They also prove that recognizing cut-sufficiency is coNP-hard, even for roundtrip demands. The remaining non-trivial two-commodity case consists of four distinct terminals, called two-matching demands. For this case, they conjecture the same forbidden-minor characterization and prove it for unit demands and integral capacities [15, Thm. 4].
Main result. We prove the conjecture of Poremba and Shepherd (Theorem 3): a directed two-commodity topology is cut-sufficient if and only if it contains neither the bad triangle nor the bad dual triangles as a relevant minor. In particular, sufficiency for unit demands and integral capacities on a two-matching topology implies sufficiency for arbitrary nonnegative capacities and demands. The argument of Poremba and Shepherd for unit demands analyzes pairs of paths directly. Our proof instead starts from a linear programming certificate of infeasibility: a nonnegative integral edge-length function that violates the dual length inequality. From such a certificate we obtain a path from one commodity's source to the other commodity's sink that is shorter than the first commodity's own source-sink distance. Contracting this path yields a relevant minor whose two demands form a directed path, the case solved by Poremba and Shepherd. Minimality of the certificate guarantees that, after the contraction, the two commodities still have simple paths sharing an edge. Their characterization then supplies a forbidden minor.
As a consequence, non-cut-sufficiency of a directed two-commodity topology is always certified by demands in and capacities in , confirming the unit-demand certificate property conjectured by Poremba and Shepherd (Remark 1). Moreover, the fractional and integral flow-cut gaps of every directed two-commodity topology coincide and equal one or two (Corollary 6). The flow-cut gap is the least factor, at least one, by which capacities must be scaled to guarantee a routing for every choice of capacities and demands satisfying the cut condition; in the integral case, the original weights and the routing are required to be integral. The upper bound two is immediate for two commodities; the content lies in the dichotomy and in the equality of the fractional and integral gaps. Our result determines the gap exactly for each topology. For the broader study of fractional and integral flow-cut gaps, see Chekuri, Shepherd, and Weibel [4]. When the number of commodities is unbounded, directed flow-cut gaps can be polynomially large [5].
A hierarchy of cut conditions. We place these results in a hierarchy of five necessary conditions. A commodity is blocked by an edge set if each of its
S. Debgupta, M. Skutella, Ph. Warode
paths uses an edge in . Beyond the cut condition (C1), condition (C2) requires every cut leaving a vertex set to have capacity at least the total demand it blocks. Condition (C3) imposes the same requirement on every edge set . Both were studied by Majthoub Almoghrabi et al. [12]; (C3) is the classical condition behind directed sparsest cut [8,5], and a framework related to (C2) appears in [3]. Condition (C4) also counts how many edges of the set each path must use, via 0/1 edge lengths. Condition (C5) allows all nonnegative integral lengths and characterizes feasibility by linear programming duality. The classes of topologies on which the th condition suffices are strictly nested, already for two commodities (Theorem 1). Checking any of (C2), (C3), or (C4) is strongly coNP-complete even for two commodities, whereas checking (C1) for a fixed number of commodities or (C5) for any number takes polynomial time (Proposition 1 and Theorem 6). Recognizing each of is coNP-complete, even for two-matching demands (Theorem 2).
Extending Nagamochi and Ibaraki's theorem [13], we show that sufficiency at any of the first four levels implies integral sufficiency, with an integral multi-flow computable in polynomial time (Theorem 5); for (C2) and (C3), the existence statement was observed in [12]. The key property is that these conditions have 0/1 capacity coefficients and integral right-hand sides for integral demands. Condition (C4) is the strongest condition in the hierarchy with 0/1 capacity coefficients. The integrality conclusion holds through this level but fails for (C5), where fractional feasibility need not imply integral feasibility even for integral capacities and demands.
Organization. Section 2 fixes notation, and Section 3 introduces the hierarchy. Section 4 proves the main result and its consequences, and Section 5 proves the integrality theorem. The appendix contains sufficient families for the intermediate levels, including a closure rule under vertex sums, the verification of the strict inclusions, the complexity results, a weight-preserving contraction for blocking-set violations, results on gaps at the higher levels, and length tests with bounded coefficients.
Let be the set of paths in . A multiflow assigns a value to every path , ; the total flow of commodity on an edge is . The multiflow is feasible if
and an instance is feasible if it admits a feasible multiflow. Multiflows are fractional unless stated otherwise; an integer multiflow has all integral. Cancelling cycles shows that the usual edge-based formulation, used as a linear program in Section 5, has the same feasible instances.
For a digraph on and , let and denote its edges leaving and entering , respectively. A cut of is an edge set . For and , write and .
A vertex set separates commodity if and ; thus is the set of separated commodities. An edge set blocks commodity if every path uses an edge in . Let (or when is clear) be the commodities blocked by . Every separated commodity is blocked by the corresponding cut, but a cut may also block a commodity it does not separate. To see that every blocked commodity is separated by a cut contained in , let be the vertices reachable from in . Then
For edge lengths , write for a path or walk , and let be the minimum length of a path, or if none exists; in demand-weighted sums we use . Let , and let be the incidence vector of a set of edges, vertices or commodities. For vertices before on a path , is the subpath from to , and denotes concatenation of paths and edges sharing an endpoint.
3 A hierarchy of cut conditions
The five necessary conditions are:
for every ,
(C1)
for every ,
(C2)
for every ,
(C3)
for every ,
(C4)
for every .
(C5)
S. Debgupta, M. Skutella, Ph. Warode
Weights satisfying (C1) in an infeasible instance are deceptive; a topology is cut-sufficient exactly when it has no deceptive weights. Conditions (C2) and (C3) were studied in [12], where (C2) is shown to suffice for series-parallel digraphs. Condition (C3) is also the condition underlying directed sparsest cut [8,5]; a framework related to (C2) appears in [3, Sect. 2.2].
For a fixed edge set , routing each commodity on a path minimizing its number of edges in shows that the minimum over feasible weights with demands is , provided every positive-demand commodity has a path. Therefore, any inequality valid for all feasible instances must satisfy , and is implied by (C4) with .
Every feasible instance satisfies all five conditions. Conversely, (C5) implies feasibility by [10,14], or equivalently by linear programming duality; see, e.g., [17, Thm. 70.1]. Moreover,
For , take . The other implications follow from definitions.
Definition 1. For , a topology is -sufficient if every weighting satisfying is feasible. Let be the class of these topologies.
Thus, . Here denotes cut-sufficient topologies, whereas contains all topologies. All inclusions are strict, already for two commodities.
Theorem 1. Even when restricted to two-commodity topologies,
More precisely, for , the th topology in Figure 2 belongs to . The displayed weights satisfy the th condition and violate the st.
The proof of Theorem 1 can be found in Appendix A together with sufficient families for the intermediate levels. In particular, unique commodity paths ensure (C2)-sufficiency, as the next lemma shows; its proof is deferred to Section A.1.
Lemma 1 (Unique commodity paths). If every commodity has at most one simple directed source-sink path, then .
Checking (C1) can be done in polynomial-time for a fixed number of commodities [15]; checking (C2)-(C4) is strongly coNP-complete even for two commodities, while (C5) is polynomial-time checkable (Proposition 1 and Theorem 6). Recognizing the sufficient topology classes, however, is a separate problem. Poremba and Shepherd [15, Thm. 8] proved that recognizing is coNP-hard already for roundtrip demands. We show hardness at every level (see Section B.2 for proof).
The theorem is usually stated for real lengths. If a positive-demand pair is unreachable, already violates (C5). Otherwise, a strict violation by real lengths persists under a sufficiently close rational approximation, and scaling gives integral lengths.

(a) Satisfies (C1), violates (C2).

(b) Satisfies (C2), violates (C3).

(c) Satisfies (C3), violates (C4).

(d) Satisfies (C4), violates (C5).
Fig. 2. Infeasible instances separating successive levels of the hierarchy. Solid edges have capacity 1 and dotted edges capacity ; dashed edges represent commodities with the demand given next to the respective edges. Panels (a) and (b) are adapted from [12].
Theorem 2 (Recognition). For each , deciding whether a topology belongs to is in coNP, for any number of commodities. It is coNP-hard already for two-commodity topologies with two-matching demands; more strongly, it is coNP-hard to distinguish topologies in from topologies outside .
4 From length functions to forbidden relevant minors
We now characterize the two-commodity topologies in , completing the work of Poremba and Shepherd [15].
Theorem 3. A directed two-commodity topology is cut-sufficient if and only if it contains neither the bad triangle nor the bad dual triangles as a relevant minor (Definition 3).
4.1 Relevant minors and the known two-path case
A minor of is obtained by deleting supply and demand edges and contracting a set of supply edges, identifying their endpoints in both and . We treat and the deleted edges as part of the minor, since the following extension refers to them.
S. Debgupta, M. Skutella, Ph. Warode
Definition 2 (Extension of weights). Let be a minor of and let be weights on . Let . The extension of to is
Definition 3 (Relevant minor, [15, Def. 2]). A minor is relevant if the extension of every weighting of the minor that satisfies (C1) also satisfies (C1) on .
Poremba and Shepherd use capacity +∞ on contracted edges. Capacity gives the same relevant minors: any cut containing such an edge has capacity at least the total demand. Our convention keeps the weights finite and integral. As in [15], relevance and cut-sufficiency are unchanged if weights are restricted to integers. Deletions always give relevant minors, contractions need not [15, Fig. 4], and relevance is transitive because extensions compose. A routing on the extended weights in the original topology projects to a routing on the minor, so a relevant minor outside certifies that its parent is outside .
Demand edges , are called two-path demands when are distinct, and roundtrip demands when . We use the following results of Poremba and Shepherd [15].
Theorem 4 ([15, Thms. 2, 3, and 5]). For two-path or roundtrip demands, the following are equivalent:
(i) the topology is cut-sufficient;
(ii) every simple path for one commodity is edge-disjoint from every simple path for the other;
(iii) neither the bad triangle nor the bad dual triangles is a relevant minor.
Thus, it only remains to consider two-matching demands with four distinct terminals. Every other two-commodity demand graph has two-path or roundtrip demands, or a common source or sink. In the last case, the topology is cut-sufficient by the single-commodity max-flow/min-cut theorem applied after adding a super-sink or a super-source. For any deceptive weights on a two-matching demands topology, both demands are positive, and each is reachable from by (C1).
Lemma 2 (Cross-commodity contraction). Let have two-matching demands, and let be a directed path, . Contracting produces a relevant minor. If avoids and , it produces two-path demands , where is the contracted vertex.
A failure of relevance is described by homogeneous rational cut inequalities and one strict reverse cut inequality, and a failure of cut-sufficiency analogously by one violated integral length inequality from (C5). A nonempty system of either kind has a rational solution, which can be scaled to an integral one.
Proof. Let weights on the contracted topology satisfy (C1), and let . If contains all or none of , its cut inequality for the extension is that of the corresponding set in the minor. If an edge of leaves , its capacity covers all demand. Otherwise only enters (and does not leave it), so and , thus no demand leaves .
4.2 A short cross-commodity path
Fix a two-matching instance with deceptive weights. Since it is infeasible, (C5) fails: there is a witness, an integral length vector with
where each is finite because is reachable from . In Section 4.3 we choose a witness of minimum total length; the next lemma holds for every witness.
Lemma 3. Every witness satisfies or .
Proof. Suppose both inequalities fail. Set and define
Then and for . For each integer , the set contains no sink, and it contains exactly when . Summing the (C1) inequalities of gives
Every edge satisfies , since each term of the minimum does. Hence leaves at most of the sets , and the left-hand side of (3) is at most , a contradiction.
4.3 Every layer interacts with both commodities
Choose a witness of minimum total length . For every commodity , let ; it is finite everywhere and on every edge. For an integer , define and . We call a layer of commodity : it consists of the edges through which an path can leave for the last time. Every path has a last exit, so blocks commodity and contains a cut separating it (Section 2). Hence (C1) gives
Each edge has , hence . It also lies on a simple commodity- path: a shortest path inside , then , then a simple path outside .
S. Debgupta, M. Skutella, Ph. Warode
Lemma 4 (No private layer). Let be a witness of minimum total length, let , and let be an integer. Put and for . Then, and .
Proof. The vector is nonnegative and integral. An -shortest commodity- path uses an edge of , so .
For the converse, let if and otherwise. Then for every edge . If both ends lie on the same side of , this is the inequality for , since there. If leaves , then . If it enters , then , so as is integral. Since and , summing along any path gives .
The layer is nonempty, so . Minimality of implies that is not a witness. Using (4), we obtain
Comparison with (2), and , yields .
Thus a shortest commodity-j path for uses the layer. We next show that a suitable layer supplies a common edge that survives the required contraction.
Lemma 5 (Preserving a common edge on simple paths). Let be a witness of minimum total length and suppose that, for , some -shortest path has length . Then contracting produces a relevant minor with two-path demands and a common edge on simple paths for its two commodities.
Proof. Define , , and ; see Figure 3. Since is -shortest of length , every vertex of has and so belongs to ; as , the vectors and agree on . Let be a simple -shortest path. By Lemma 4, , so uses an edge of ; let be its first. In particular, and agree on .
Claim: avoids . Otherwise, choose a vertex in their intersection and write , where equality holds because is shortest and prefixes of -shortest paths are -shortest. Since ,
Replacing the suffix of after by , and using that the remaining -length of is nonnegative, therefore gives an walk of -length at most . Removing cycles contradicts the definition of . This proves the claim, and in particular . Also , since .
We may therefore contract to produce a relevant minor by Lemma 2. The edge survives: its tail is outside by the claim, and its head lies outside . To obtain a simple commodity- path in the minor, notice

Fig. 3. The contraction in Lemma 5, shown schematically. The cross-commodity path (gray) lies inside ; the first edge of the commodity- path (dashed) in the layer leaves . The retained commodity- path starts at its last contact with and stays outside thereafter. The retained prefix of ends at its first contact with . Both become simple paths through after contraction.
that since , the path meets ; retain only up to its first such vertex. This prefix contains and becomes a simple path after contraction.
For commodity , take a simple shortest path within and a simple path outside . Let be the last vertex of in . The path meets only at and is simple, because and lie on opposite sides of . After contraction it is a simple path containing , as required.
Proof (of Theorem 3). Both forbidden topologies admit deceptive weights, so necessity follows from the closure of cut-sufficiency under relevant minors. For sufficiency, suppose that is not cut-sufficient and choose deceptive weights. Theorem 4 handles two-path and roundtrip demands, and topologies with a common source or sink are cut-sufficient and hence excluded, so the demands are two-matching and positive. Choose a witness of minimum total length. By Lemma 3, there are with ; let be an -shortest path. Lemma 5 implies that contracting yields a relevant minor with two-path demands and a common edge on simple paths for both commodities. By Theorem 4, this relevant minor contains a forbidden relevant minor, and by transitivity so does .
5 Integrality at the first four levels
Nagamochi and Ibaraki [13] proved that every cut-sufficient topology is integrally cut-sufficient. We extend this to the next three levels of the hierarchy and make it constructive. For (C2) and (C3), the existence statement was already observed in [12] without proof. Since , it suffices to treat .
Theorem 5. Let .
Every feasible integral instance on admits an integral multiflow, and one can be computed in polynomial time.
On with , feasibility is equivalent to , so the theorem states that sufficiency of implies integral sufficiency. The algorithm assumes the topology belongs to ; it does not recognize that class. The algorithm only tests
S. Debgupta, M. Skutella, Ph. Warode
fractional feasibility and solves multiflow linear programs; it never checks (Cr), which is coNP-hard for .
For a multiflow , let be the total flow value on edge , and for let . The first four cut conditions share the following common feature that drives this section:
Lemma 6 (Unit reduction). Let , let be integral, let be a feasible multiflow for , and let be an edge with . Then satisfies .
The proof of Lemma 6 is deferred to Appendix G. It uses that every capacity coefficient is 0 or 1, which fails for (C5). So does the conclusion of Theorem 5: contains every topology, whereas fractional feasibility does not imply integral feasibility, even with two commodities.
The next lemma makes the total flow on every edge integral, although individual commodity flows may remain fractional. For fixed demands, it extends [13, Lem. 3.3]. Its proof is also deferred to Appendix G.
Lemma 7 (Integral total flow). Fix an integral demand vector , and suppose that is feasible for every integral capacity vector such that satisfies (C4). Then, for every integral such that is (fractionally) feasible, one can compute, using linear programs, an integral capacity vector such that is feasible and every feasible multiflow under saturates every edge.
Proof (of Theorem 5). Correctness. We construct an integral multiflow by induction on the total demand; the case is trivial. As , the hypothesis of Lemma 7 holds for every integral , so the lemma yields integral and a feasible multiflow with for every edge . Flow conservation of gives, for every vertex ,
Choose with . Removing one unit of commodity from shows that is feasible, so by induction it admits an integral multiflow . The unused capacities are nonnegative integers, and subtracting the conservation equations of from (5) shows that has net outflow 1 at , at , and 0 elsewhere. Hence is reachable from along edges satisfying : otherwise the set of vertices so reachable would have net outflow 1 but no outgoing unused capacity. Adding one unit of commodity along such a path to gives an integral multiflow for , and hence for .
Running time. The recursion makes one call per unit of demand, so we first reduce the demands. Compute a feasible multiflow , cancel its cycles, and decompose each commodity into at most paths. Rounding these path flows down gives an integral multiflow . The residual instance with and is integral and feasible, witnessed by , and because it is a sum of at most fractional parts. Apply the recursion to it and add . Fewer than recursive steps remain, each solving linear programs and finding one path, so at most linear programs are solved in total. Their encoding sizes stay polynomial, since the topology is unchanged and capacities and demands only decrease.
In particular, Theorem 5 implies that integral multiflows can be computed in polynomial time, whenever they exist, on parallel-channel topologies, cactus and block-ESP digraphs, and topologies in which all but one commodity have a unique path (Lemmas 8 and 9 and Corollary 5).
Acknowledgements: AI Disclosure
The main result of this paper, the proof of the Poremba–Shepherd conjecture, was obtained without any use of AI, as was the generalization of the Nagamochi–Ibaraki theorem to conditions (C2)–(C4). We subsequently used AI tools to help simplify arguments or make them more precise and, in particular, to improve the language and presentation. Through iterative exchanges combining the authors' mathematical expertise with AI-generated suggestions, AI also contributed to the hardness results for recognizing sufficient topologies, extensions and clearer formulations of sufficiency arguments, constructions for gaps at the higher levels of the hierarchy, and results on length tests with bounded coefficients. The authors take full responsibility for all results, proofs, and other content of the paper.
References
- Ahuja, R.K., Magnanti, T.L., Orlin, J.B.: Network Flows: Theory, Algorithms, and Applications. Prentice Hall, Englewood Cliffs, NJ (1993)
- Bentz, C.: On the hardness of finding near-optimal multicuts in directed acyclic graphs. Theor. Comput. Sci. 412(39), 5325–5332 (2011). https://doi.org/10.1016/J.TCS.2011.06.003
- Chekuri, C., Kannan, S., Raja, A., Viswanath, P.: Multicommodity flows and cuts in polymatroidal networks. SIAM J. Comput. 44(4), 912–943 (2015). https://doi.org/10.1137/130906830
- Chekuri, C., Shepherd, F.B., Weibel, C.: Flow-cut gaps for integer and fractional multiflows. J. Combin. Theory Ser. B 103(2), 248–273 (2013). https://doi.org/10.1016/j.jctb.2012.11.002
- Chuzhoy, J., Khanna, S.: Polynomial flow-cut gaps and hardness of directed cut problems. J. ACM 56(2), 6:1–6:28 (2009)
- Ding, M., Kyng, R., Zhang, P.: Two-commodity flow is equivalent to linear programming under nearly-linear time reductions. In: Proceedings of ICALP 2022. LIPIcs, vol. 229, pp. 54:1–54:19 (2022). https://doi.org/10.4230/LIPICS.ICALP.2022.54
- Fortune, S., Hopcroft, J., Wyllie, J.: The directed subgraph homeomorphism problem. Theor. Comput. Sci. 10(2), 111–121 (1980). https://doi.org/10.1016/0304-3975(80)90009-2
S. Debgupta, M. Skutella, Ph. Warode
-
Harvey, N.J.A., Kleinberg, R., Rasala Lehman, A.: On the capacity of information networks. IEEE Trans. Inform. Theory 52(6), 2345–2364 (2006). https://doi.org/10.1109/TIT.2006.874531
-
Hu, T.C.: Multi-commodity network flows. Oper. Res. 11(3), 344–360 (1963). https://doi.org/10.1287/opre.11.3.344
-
Iri, M.: On an extension of the maximum-flow minimum-cut theorem to multicommodity flows. J. Oper. Res. Soc. Japan 13(3), 129–135 (1971)
-
Itai, A.: Two-commodity flow. J. ACM 25(4), 596–611 (1978). https://doi.org/10.1145/322092.322100
-
Majthoub Almoghrabi, M., Skutella, M., Warode, P.: Integer and unsplittable multiflows in series-parallel digraphs. Math. Program. (2026). https://doi.org/10.1007/s10107-026-02392-8
-
Nagamochi, H., Ibaraki, T.: On max-flow min-cut and integral flow properties for multicommodity flows in directed networks. Inf. Process. Lett. 31(6), 279–285 (1989). https://doi.org/10.1016/0020-0190(89)90087-2
-
Onaga, K., Kakusho, O.: On feasibility conditions of multicommodity flows in networks. IEEE Trans. Circuit Theory 18(4), 425–429 (1971)
-
Poremba, J., Shepherd, F.B.: Cut-sufficient directed 2-commodity multiflow topologies. Math. Program. 210(1), 793–814 (2025). https://doi.org/10.1007/S10107-025-02195-3
-
Robertson, N., Seymour, P.D.: Graph minors. XIII. The disjoint paths problem. J. Combin. Theory Ser. B 63(1), 65–110 (1995). https://doi.org/10.1006/jctb.1995.1006
-
Schrijver, A.: Combinatorial Optimization: Polyhedra and Efficiency, Algorithms and Combinatorics, vol. 24. Springer, Berlin, Heidelberg (2003), volumes A–C
A Sufficient families and strictness of the hierarchy
This appendix proves the membership results stated in Section 3 and, alongside them, verifies the four examples of Figure 2, which proves Theorem 1. In these examples every dotted edge has capacity . Hence an edge set containing a dotted edge satisfies every inequality of (C1)–(C3). Lowering the length of a dotted edge by one lowers the left-hand side of (C4) or (C5) by D and each commodity distance by at most one, since a shortest path uses the edge at most once; it preserves any violation. Below we therefore check only edge sets and length vectors that avoid the dotted edges.
A.1 All or all but one commodity has a unique path
Proof (of Lemma 1). Let satisfy (C2), and omit zero-demand commodities. Every remaining commodity has a path, since otherwise the cut separates it and violates (C1); let be this path. Feasibility is equivalent to
Fix an edge on some . The graph has no path, since splicing one into and shortcutting cycles would give a second simple path. Hence the set reachable from in satisfies . This cut blocks exactly the commodities whose path uses , so (C2) for is (6) for .
Corollary 1. The first topology of Figure 2 lies in .
Proof. By Lemma 1, since both commodities have unique paths, the topology lies in . For the given weights, a cut that separates one commodity contains an edge of its path, and a cut that separates both contains the dotted edge ; so (C1) holds. The cut blocks both commodities and violates (C2).
Lemma 8. If all but at most one commodity have at most one simple directed source-sink path, then .
Proof. Let satisfy (C4), and omit zero-demand commodities; by (C1) every positive-demand commodity has a path. If all remaining commodities have a unique path, then Lemma 1 applies. Otherwise, let be the remaining commodity with several paths, let be the others, with unique paths , and let . Applying (C4) to the length vector gives , so the commodities in can be routed on their paths. For any with and , apply (C4) to to obtain
Thus the residual capacities satisfy every cut inequality. The max-flow/min-cut theorem routes commodity in these residual capacities.
Corollary 2. The third topology of Figure 2 lies in .
Proof. Commodity 2 has the unique path , so the topology lies in by Lemma 8. Let and . Deleting or alone blocks only commodity 2, and deleting both blocks both; so (C3) holds for the given weights. The lengths give distances 1 and 2 for commodities 1 and 2, respectively; therefore violating (C4).
Corollary 3. The fourth topology of Figure 2 lies in .
Proof. Every topology lies in . The fourth topology is the third topology with the added edge . We first see that for the given weights (C4) holds. Assuming 0 lengths on the dotted edges,
For ,
Equation (7) is immediate if . If , the cases give right-hand sides 0,2,3 (and left-hand sides 1,2,3), respectively. Hence (C4) holds. The lengths give capacity cost 4 and weighted distance , violating (C5).
S. Debgupta, M. Skutella, Ph. Warode
A.2 Parallel channels
A parallel-channel topology has distinct terminals (sources and sinks) , and mutually vertex-disjoint directed paths disjoint from the terminals, called channels; a channel may be a single vertex. Its only other edges are the connectors: one from each to the first vertex of each , and one from the last vertex of each to each . The commodities are for ; see Figure 4.
Lemma 9. Every parallel-channel topology belongs to .
Proof. For given capacities and demands, let be the minimum of the capacities of the two connectors joining commodity to channel . Let be the minimum capacity of an internal edge of , taking if is a single vertex. Every commodity path uses exactly one channel, so feasibility is equivalent to the existence of with
This is equivalent to a flow problem in an auxiliary network with edges from a source to each commodity node of capacity , from to each channel node of capacity , and from to a sink of capacity . A cut with commodity set on the source side thus has capacity at least , with equality when each channel is placed optimally. By the max-flow/min-cut theorem, (8) is feasible if and only if
Assume (C3), and fix . For each channel , take either an edge of of capacity or, for every , a connector of capacity , whichever is cheaper; for a single-vertex channel only the second option exists. The union blocks every commodity in and has capacity equal to the right-hand side of (9), so (C3) implies (9).

Fig. 4. A parallel-channel topology with two commodities and three channels (shaded), including the single-vertex channel . Colors distinguish the terminal pairs and their connectors.
Corollary 4. The second topology of Figure 2 lies in .
Proof. It is a parallel-channel topology with channels and , so it lies in . Let , , and . Blocking commodity 1 requires and , and blocking commodity 2 requires and . No cut can contain both and . So a cut blocks at most one commodity, and then has capacity at least ; thus (C2) holds. The set blocks both commodities with capacity , violating (C3).
The violating set is an instance of the sets in the proof of Lemma 9, and it is not a cut. This is why parallel channels need (C3) rather than (C2).
A.3 Vertex sums and supply-graph families
Call a supply digraph -sufficient if for every demand graph on its vertices. A vertex sum of two digraphs identifies one vertex from each and leaves their edge sets disjoint.
Lemma 10. For , vertex sums of -sufficient supply digraphs are -sufficient; for r = 5 this holds trivially.
Proof. Let be the vertex sum of at , and suppose that satisfies . Discard zero-demand commodities; every remaining commodity has a path, since (C1) holds. A simple path whose endpoints lie in one of stays in it, while a path between and passes through exactly once. Split each such commodity at , retaining its demand in each piece; assign the others to the piece containing their endpoints, where a commodity with an endpoint at goes to the piece containing its other endpoint. This gives instances on and ; we show that the one on satisfies (symmetric arguments hold for the instance on ).
An edge set blocks a local commodity exactly when it blocks the corresponding original commodity; commodities having no local segment remain unblocked. Thus (C3) is inherited. For (C4), extend a binary length function by zero on . The distance of each original commodity equals its local distance, or zero if it has no segment in , so the local inequality is again inherited. For (C1) and (C2), extend a vertex set by all of if , and leave it unchanged otherwise. Its outgoing edges are exactly ; the separated commodities for (C1), and the blocked commodities for (C2), correspond to their local segments.
By the assumed sufficiency, both instances are feasible. At , join the two segment flows of each split commodity, splitting path flows to match amounts. The result is a feasible multiflow in , since and have disjoint edge sets.
An edge-series-parallel (ESP) digraph is obtained from a single directed edge by series and parallel composition, with the usual consistent terminal identifications. Such digraphs are (C2)-sufficient by [12, Thm. 3]. A block of an undirected
S. Debgupta, M. Skutella, Ph. Warode
18
multigraph is a maximal connected subgraph with no cut vertex, where a cut vertex is one whose removal (with its incident edges) disconnects the graph. A block-ESP digraph is a digraph in which every block of the underlying undirected multigraph induces an ESP digraph for a suitable choice of terminals. A cactus digraph is an orientation of an undirected cactus: each block is either an edge or a simple cycle.
Corollary 5. Cactus digraphs and block-ESP digraphs are (C2)-sufficient.
Proof. By Lemma 10, it suffices to consider individual blocks; disconnected components can be treated separately, since (C1) excludes positive demand between them. The assertion for ESP blocks is the cited theorem. In an orientation of a simple undirected cycle, two distinct directed paths with the same endpoints, if they exist, cover the cycle. The block is then the parallel composition of these two paths, hence an ESP digraph. Otherwise every ordered pair has at most one simple directed path and Lemma 1 applies.
Neither family contains the other: three internally disjoint directed paths of length at least two with common endpoints form an ESP block whose underlying graph is not a cactus, whereas a consistently directed cycle is a cactus block and is not ESP.
B Complexity of checking and recognition
B.1 Checking the conditions
Here the input is a weighted instance with rational capacities and demands encoded in binary. Recognizing sufficient topologies is treated in Section B.2.
Proposition 1. Condition (C1) can be checked with at most minimum-cut computations. Condition (C5) can be checked in polynomial time, without a bound on the number of commodities.
Proof. There are at most terminals. For each set of terminals, all sets containing exactly the terminals in have the same right-hand side in (C1). If it is positive, one minimum-cut computation, with the terminals in merged into a source and the others into a sink, finds such an of minimum capacity. This also gives the fixed-parameter tractability observed in [15, Cor. 3]. For (C5), solve the edge-flow feasibility linear program, which has variables.
Theorem 6. For each , deciding whether a two-commodity instance satisfies (Cr) is strongly coNP-complete.
Proof. Membership in coNP. A violating vertex set, edge set, or binary length function is a polynomial-size certificate for the complement, since blocked commodities and binary distances are computable in polynomial time.
Hardness for (C3). Bentz [2] proved that it is NP-hard to decide whether an unweighted directed acyclic graph has an edge set of size at most blocking two given terminal pairs. Let be the minimum size of an cut. The answer is no if , and yes if , as the union of two minimum cuts shows. Since the are computable in polynomial time, the problem remains NP-hard on instances with , and we reduce from these. Give every edge capacity 1, and set and , so that and . An edge set blocking only commodity has capacity at least . Hence (C3) fails exactly when an edge set of size at most blocks both commodities. All numbers are bounded by , so the hardness is strong.
From checking (C3) to checking (C2). Let and replace each edge by , with capacities and , respectively. A set corresponds to the cut induced by , which consists of the second halves of the edges in . This cut has capacity and blocks the same commodities as . Conversely, a cut violating (C2) cannot contain a first half, since that alone has capacity . Its outgoing second halves project to an edge set of the original graph of the same capacity blocking the same commodities. Thus, the subdivided instance satisfies (C2) if and only if the original satisfies (C3).
From checking (C3) to checking (C4). Add, for each commodity, a new edge of capacity 0. For a binary length vector on the augmented graph, let . The new edges make every distance at most 1, and a commodity not blocked by has distance 0. Hence
with equality when every has length 1. Thus (C4) for the augmented instance is equivalent to (C3) for the original.
Both reductions keep two commodities and polynomially bounded numbers.
B.2 Recognizing sufficient topologies
We prove the two parts of Theorem 2 separately.
Lemma 11 (Membership). For each , deciding whether a topology belongs to is in coNP, for any number of commodities.
Proof. A weighting that satisfies (Cr) but is infeasible would certify nonmembership. However, checking (Cr) is coNP-hard for (Theorem 6), and (C1) is only known to be checkable efficiently for fixed k. We therefore certify non-membership by a single inequality.
Setup. A commodity without a path has demand zero under (C1), and hence under each of the four conditions, so deleting it does not affect membership in . Assume that every commodity has a path, and let . The feasible capacity-demand vectors form the cone generated by
S. Debgupta, M. Skutella, Ph. Warode
where and are unit vectors of the capacity and demand coordinates, respectively. The first generators represent unused capacity and the second unit path flows. These 0/1 vectors span (take all and one path vector per commodity), so is full-dimensional. The inequality is valid for if and only if and for all .
Facets. Let be the cone defined by nonnegativity and the inequalities of . These are valid for , so , and if and only if . This holds if and only if every facet inequality of is a positive multiple of a defining inequality of . If it is, lies in every facet halfspace, hence in . Conversely, if , Farkas' lemma writes each facet normal as a nonnegative combination of defining normals of . These lie in the dual cone , and a facet normal spans an extreme ray of , so each normal with a positive coefficient is a positive multiple of it.
Certificate. Nonmembership is thus certified by a facet inequality of that matches no defining inequality of , that is, is a positive multiple of none. Such a certificate consists of a nonzero integer normal and linearly independent generators of that are tight for the inequality . Each generator can be encoded by an edge or a simple commodity path. An integer facet normal of polynomial encoding length exists: take a cofactor vector of the matrix of the tight generators, choosing its overall sign so that the inequality is valid. Hadamard's inequality bounds the encoding length of each entry by for ; the case is immediate. Validity of the inequality is equivalent to , for , which is checked by shortest-path computations. Tightness and rank are also polynomially checkable, and together with validity certify that the inequality defines a facet.
Matching. Coordinate inequalities are matched directly. Each inequality of has capacity part for some , and is trivial if , since all commodities have paths. So a match requires all positive entries of to equal some ; then , with factor .
– For (C3) and (C4), a match exists if and only if , respectively , for all .
– For (C2), a match additionally requires for some . Let be the set reachable in from the tails of . Such an exists if and only if contains no head of : any such contains the tails, avoids the heads, and is closed under edges outside , so ; conversely, works.
– For (C1), a match requires and a set with and . Force the tails of and the sources with into , and the heads of and the sinks with out of it. The set must contain the head of every edge of whose tail it contains, and whenever it contains with . Such an exists if and only if the set reachable from the forced-in vertices along these edges and pairs avoids the forced-out vertices; that set is then one.
All these tests run in polynomial time.
For hardness, we reduce from the useful edge problem: given a digraph , distinct vertices , and an edge , is there an path that uses ? This problem is NP-complete [7], and Poremba and Shepherd [15, Sect. 5] also reduce from it.
In the following proof we use the notion of -transshipments (transshipments). Let with , and write . A -transshipment is a flow in with whose net outflow at every vertex is . It exists if and only if
This follows from the max-flow/min-cut theorem after adding a source with an edge of capacity to every vertex with , and a sink with an edge of capacity from every vertex with .

Fig. 5. The proof of Lemma 12. Wavy lines are paths in ; dashed edges are demands. After the edge is added, an path through consists of vertex-disjoint and paths.
Lemma 12. Let have the two commodities and . If has no vertex-disjoint paths and , then .
Proof. Let satisfy (C1); we construct a feasible multiflow. Put
For every , is at most the demand separated by , so by (C1). Hence there is a -transshipment . It moves units from and to and , but it may send flow from to or from to .
To separate the commodities, add the edge with units of flow on it. The resulting flow has net outflow at , at , and zero elsewhere, so it decomposes into paths of total value and cycles. Any simple path through would consist of an path, the edge , and a path, and these two paths would have to be vertex-disjoint for the simplicity of the whole path (Figure 5). By assumption there are no such vertex-disjoint paths, so does not lie in any path; all units on lie on cycles. Removing from each of these cycles leaves paths of total value . Together with the paths, they have flow at most on every edge, so they form a feasible multiflow.
S. Debgupta, M. Skutella, Ph. Warode
Lemma 13. For each , deciding whether a topology belongs to is coNP-hard already for two-commodity topologies with two-matching demands.
Proof. Let with be an instance of the useful edge problem. Build from by deleting and attaching the gadget of Figure 2(d) through the edges and (see Figure 6). The demand graph has the commodities and , so the four terminals are distinct. Every path that enters the gadget uses , and every path that leaves it uses .
We show that if no path in uses , and otherwise. This proves hardness for every class between and , in particular for each with .
No path in uses . By Lemma 12, it suffices to show that has no vertex-disjoint paths from to and from to . Suppose such paths exist. Since enters the gadget only once, via , its prefix is an path in . Similarly, exits the gadget only once, via , and its suffix is a path in . These two paths are vertex-disjoint, so together with they yield an path in using , a contradiction.
An path in uses . Let . Assign capacities as in Figure 2(d): set capacity 1 on solid edges , , and capacity 3 on dotted edges. Also set capacity 3 on , , and all edges of and ; set capacity 0 on all remaining edges.
First, we observe that (C4) holds for this weighting. Let , let be the total -length on capacity-3 edges, and let be its values on , , . Commodity 1 may use , , one of , , or , then and . Commodity 2 may use or . Each route uses any capacity-3 edge at most once, so with ,

Fig. 6. The topology of the hardness proof. The edge (light) is deleted, and the gadget on is attached through and . The gadget is the fourth topology of Figure 2, with in the roles of and the same solid and dotted edges. Dashed edges are the demands. The paths and exist only in the second case of the proof.
By (7),
Now for infeasibility, note that positive capacity lies only on , and the gadget edges. Using only these edges, every path crosses the gadget from to , and every path is the edge or the path . Give length 1 to and , length 2 to , and length 0 to all other edges. Then every such path has length at least 1, and every such path has length at least 2. A feasible multiflow would therefore need , but .
Now we are in the position to prove Theorem 2.
Proof (of Theorem 2). This follows by combining Lemmas 11 and 13.
C A weight-preserving reduction for blocking-set violations
The contraction in the proof of Theorem 3 may not preserve infeasibility of the given weights. In the instance of Corollary 3, the unique minimum-length integral witness is (and 0 on the dotted edges). By the reduction in Appendix A, any minimum witness is 0 on dotted edges and has total length at most 4; if any of is 0, then the distance formulas in Corollary 3 imply (C5). Among positive triples with sum at most 4, only violates (C5).
For this witness, and . The only short cross-commodity path is with length , so the proof contracts to a vertex (Figure 7). With the original weights, the contracted instance becomes feasible: commodity 1 uses , and commodity 2 sends one unit on and one on . Deleting and still leaves the bad triangle as a relevant minor. However, when (C3) fails, a different contraction keeps the original weights infeasible.
Lemma 14 (Cross-reachability of blocked commodities). Let a multiflow instance satisfy (C1), and let violate (C3). Then there are distinct positive-demand commodities such that contains an path.
Proof. Let and . Then, by (1), , and contains every with . If contained no with , then (C1) would give , a contradiction. As a consequence, for some , and because .
Proposition 2. Let be a two-matching instance that satisfies (C1) and violates (C3). After possibly swapping the commodities, there is an path whose contraction gives a two-path instance, with the original weights on the surviving edges, that satisfies (C1) and violates (C3).
S. Debgupta, M. Skutella, Ph. Warode

Fig. 7. The instance of Corollary 3 after contracting into . Solid edges are supply edges; dashed edges are demands. With the original weights the instance is feasible, but deleting the two gray edges leaves the bad triangle.
Proof. Choose violating (C3). By Lemma 14, both commodities are blocked by . After swapping them if necessary, contains an path . The path avoids , since commodity 1 is blocked by , and it avoids , since otherwise its part from to would avoid . So Lemma 2 applies: contracting into a new vertex gives a relevant minor with the two-path demands and .
Keep the original capacities and demands on the surviving edges, and let be the set of edges of that do not become loops. Then . We show that blocks both commodities in the minor. A path avoiding comes from a path in that starts at a vertex of , ends at , avoids , and meets only at . Together with , it would give an path avoiding . Similarly, an path avoiding , followed by a part of , would give an path avoiding . Both contradict , so violates (C3) in the minor.
Finally, a vertex set of the minor corresponds to the vertex set Y of G obtained by replacing z with . The edges leaving are exactly the edges leaving Y, and and Y separate the same commodities. So the minor satisfies (C1).
Combined with Theorem 4, this proves Theorem 3 for deceptive weights that violate (C3), without the witness argument of Sections 4.2 and 4.3. That argument is needed only for deceptive weights that satisfy (C3).
D Consequences of Theorem 3
Define the fractional flow-cut gap as the infimum of all such that any choice of nonnegative finite weights satisfying (C1) has a routing under capacities . Define the integral flow-cut gap in the same way, requiring an integral routing and restricting the original capacities and demands to integers.
Corollary 6. For every directed two-commodity topology,
Proof. The cut condition allows each commodity to be routed individually within capacity . Superposing these routings gives a multiflow within capacity , integral when are integral. If the topology is cut-sufficient, the Nagamochi-Ibaraki theorem [13], or Theorem 5 (since ) gives both gaps equal to one. Otherwise Theorem 3 gives a forbidden relevant minor. Its unit capacities and demands require scaling by at least two, because both commodity paths use a common edge. Extend these weights to the original topology. The extension is integral and satisfies (C1), while any routing under capacities would project to such a routing on the minor. No is therefore possible.
Remark 1. If a directed two-commodity topology is not cut-sufficient, it admits deceptive weights with demands in and capacities in : as in the proof of Corollary 6, extend the unit weights of a forbidden relevant minor (Definition 2, with ). This confirms the unit-demand certificate property conjectured in [15, Sect. 6].
Remark 2. Each forbidden topology lies in by Lemma 1. Hence a two-commodity topology is cut-sufficient if and only if it has no relevant minor in . This concerns topologies: certifying infeasibility of particular weights may require (C5), and the contraction above need not preserve those weights' infeasibility. Appendix C gives an example, together with a contraction that does preserve it when (C3) fails.
E Gaps at the higher levels
By Corollary 6, the cut condition has gap one or two on every two-commodity topology. Here we show that the higher levels allow every gap value (Sections E.2 to E.4).
E.1 Gaps at the higher levels
For weights satisfying (C1), let be the least factor such that is feasible. For , the fractional gap at level , denoted , is the larger of 1 and the supremum of over all weights satisfying (C). The integral gap is defined in the same way, with integral weights and integral routings. Thus and in Corollary 6. Stronger conditions allow fewer weights, and routing the two commodities separately, as in the proof of Corollary 6, costs at most a factor two. Hence, for two commodities,
By Theorem 5, a (C)-sufficient topology has both gaps equal to one. The table summarizes the results for the two families below, where . The entry gives proved bounds, not an exact value.
S. Debgupta, M. Skutella, Ph. Warode
| Level 2 | Level 3 | Level 4 | |
|---|---|---|---|
| 2 - 1/r | 2 - 1/r | 1 | |
| [2 - 1/r, 2] | 2 - 1/r | 2 - 1/r | |
| 2 | 2 | 1 | |
| 2 | 2 | 2 |
E.2 The forced-chain family
For , define a topology on distinct vertices and supply edges
see Figure 8. We call edges the low edges and all other edges connectors. The commodities are and . Commodity 1 has the unique path , and commodity 2 can use any single low edge or several consecutive ones. The connectors are needed: identifying with would give commodity 2 the path , which uses no low edge.
Theorem 7 (Exact gaps for the forced-chain family). For every , and .
Proof. Lower bound. Give each low edge capacity 1 and each connector capacity r, and set . An edge set containing a connector has capacity at least . A nonempty proper subset of the low edges blocks only commodity 1, and all low edges together block both commodities. So (C3), and hence (C2), holds. In a routing within capacities , commodity 1 puts one unit on each of the r low edges, and each of the r - 1 units of commodity 2 uses at

Fig. 8. The topology . Solid edges are supply edges; dashed edges are demands. Crossings without a vertex are not junctions. In the lower-bound weighting, the low edges have capacity 1, all other edges capacity 3, and .
least one low edge. The low edges have total capacity , so , that is, . Conversely, suffices: route commodity 1 along , and split commodity 2 evenly over the paths , each carrying . Each low edge then carries , and each connector carries at most one unit.
Upper bound. Let weights satisfy (C2), and set . As in the proof of Lemma 1, every edge of forms a cut that blocks commodity 1, so . Hence commodity 1 can be routed on within . Every commodity-2 path lies in . Let be an cut of , and let . Adding to shows that is also a cut of . If , then (C2) gives . If , then blocks both commodities, so ; moreover from the edges of in . The part of in has edges, so it leaves at most times, and . Hence
So after commodity 1 is routed, every cut of keeps capacity at least under , and the max-flow/min-cut theorem routes commodity 2. This proves the upper bound for (C2), and hence for (C3). Finally, by Lemma 8, since commodity 1 has a unique path.
E.3 The bypass family
The topology has the same vertices, the low edges , the connectors
and the edge ; see Figure 9. Commodity 1 can use any single low edge or several consecutive ones. Commodity 2 can use or the path . Both and are acyclic. They have vertices, and and edges, respectively.
Theorem 8 (Exact gaps for the bypass family). For every , it holds that .
Proof. Lower bound. Set . Give each low edge capacity 1, the edge capacity 0, and each connector capacity . We check (C4). If a binary length vector is 1 on some connector, its left-hand side is at least , while every distance is at most ; so (C4) holds. Otherwise, let be the number of low edges of length 1, and let be the length of . The left-hand side of (C4) is . Commodity 1 can use any single low edge, so its distance is 1 if all low edges have length 1, and 0 otherwise. Commodity 2 uses or , so its distance is . If , the right-hand side is . If , it is . So (C4) holds.
In a routing within , commodity 2 cannot use f, so it puts one unit on every low edge, and each of the r-1 units of commodity 1 uses at least one
S. Debgupta, M. Skutella, Ph. Warode
low edge. Hence , that is, . Conversely, suffices: route commodity 2 along , and split commodity 1 evenly over the paths , so that each low edge carries .
Upper bound. Let weights satisfy (C3), and set and . For every edge of , the set blocks commodity 2, so
We first route commodity 2 within . If , send all of it on . Otherwise, send units on and the remaining units along . This fits, since (11) gives for every edge of .
Every commodity-1 path lies in . Let be an cut of . It blocks commodity 1, so by (C3). We show that keeps capacity at least after commodity 2 is routed; the max-flow/min-cut theorem then routes commodity 1. If commodity 2 uses no edge of , this follows from . Otherwise , and contains edges of , each carrying ; moreover , since the part of in has edges and so leaves the vertex set that defines at most times. Then blocks both commodities, so by (C3), and summing (11) over the edges of in gives . Therefore
which says . This proves the upper bound under (C3), and hence under (C4).

Fig. 9. The topology . Solid edges are supply edges; dashed edges are demands. Crossings without a vertex are not junctions. In the lower-bound weighting, the low edges have capacity 1, the edge capacity 0, all other edges a large capacity , and .
E.4 Consequences
Corollary 7 (No finite set of gap values). For two commodities and each , the supremum of over all topologies is 2. For each , the values of include 1 and every with , so no level has a finite set of gap values.
Proof. The upper bound is (10). At levels 2 and 3 the family , and at levels 3 and 4 the family , give the values , which tend to two; level 1 is at least level 2. Topologies with unique commodity paths have for by Lemma 1.
Remark 3 (Integral gaps differ). The integral gaps can be larger than the fractional ones. Take the lower-bound weights on , which are integral, and capacities with . In an integral routing, each low edge then carries at most one unit. Commodity 1 already puts one unit on each of them, so commodity 2 cannot be routed. Hence , whereas by Lemma 8 and Theorem 5. In the same way, the lower-bound weights on , where commodity 2 must use every low edge, give for ; these weights satisfy (C4), and hence also (C2) and (C3). So the supremum of over two-commodity topologies is 2 for every .
F Length tests with bounded coefficients
For an integer , let be restricted to length vectors contained in . Thus is , and becomes stronger as grows. As in Section 4.2, a witness is an integral length vector that violates ; we write , so a witness satisfies . An instance satisfies exactly when it has no witness with all lengths at most .
These are the truncated severance-value conditions of Onaga and Kakusho [14]. They showed that if holds, then all demands can be routed after each is reduced by the same amount , where the numbers depend only on the topology. They asked for the truncation number of a given digraph, the least for which no reduction is needed. For a topology , we let be the least such that is -sufficient, that is, every weighting satisfying is feasible. Requiring positive capacities does not change : increasing capacities preserves , and a limit of feasible instances is feasible. Thus if and only if . We show that is finite and at most exponential in the size of the topology, but not bounded by any function of the number of commodities.
Theorem 9 (Truncation numbers are finite). Let and . Every infeasible weighting has a witness with all lengths at most . Hence .
S. Debgupta, M. Skutella, Ph. Warode
Proof. If a positive-demand pair is unreachable, then is a witness. Otherwise, omit the zero-demand commodities; this does not affect (C5) and can only lower . Consider the cone
that is, the pairs with for which is valid for every feasible instance (Section B.2). Write . If and , then is a witness, since . Such a pair exists: take any witness and .
The cone is defined by finitely many inequalities and lies in the nonnegative orthant, so it is generated by its extreme rays. As holds at some point of , it holds on some extreme ray. That ray is the set of points of at which some linearly independent defining inequalities hold with equality. The coefficient vectors of these inequalities have entries in : an inequality or has one nonzero entry, and an inequality has nonzero entries. So each coefficient vector has Euclidean length at most . By Cramer's rule, the ray is spanned by the vector of signed maximal minors of the matrix whose rows are these coefficient vectors. By Hadamard's inequality, each such minor is at most in absolute value. Choosing the sign so that this integral vector lies on the ray gives , so is a witness with all lengths at most .
Finally, if and holds, there is no witness with all lengths at most , so the instance is feasible.
The bound depends only on the topology, not on u and d, and the number of paths does not enter it.
Theorem 10 (Truncation numbers are unbounded). For every , the topology of Section E.3 has an infeasible weighting with demands (1,2) and positive integral capacities that satisfies . Hence , and for every , is strictly weaker than , already on acyclic two-commodity topologies with positive capacities.
Proof. Give each low edge and the edge capacity 1, and each connector capacity . Commodity 2 can send only one unit on , so it sends one unit along its path through all low edges, which fills every low edge. Then commodity 1 cannot be routed, so the instance is infeasible.
We check . A length vector with all lengths at most that is positive on a connector has . Each distance is at most , so the right-hand side is at most . So consider length vectors that are zero on the connectors. Let be the smallest length of a low edge, and the total length of the low edges. The distance of commodity 1 is , and that of commodity 2 is . So the required inequality is
If , this is . If , then , so the minimum is , and .
Length 1 on every low edge, length on , and length 0 on every connector give and right-hand side , so the instance violates . Choosing gives the strict separation.
Bounded length tests also do not improve the worst-case gap. Define the fractional gap of on a topology as in Appendix E, with in place of .
Corollary 8. For every fixed , the supremum over two-commodity topologies of the fractional gap of is two, even for acyclic topologies with integral weights.
Proof. Take with . Give the low edges capacity 1, the edge capacity 0, and the connectors capacity larger than ; moreover, set . As in the previous proof, length vectors that are positive on a connector satisfy the inequality, and for the others it reads
If , it holds because . If , then , so the minimum is , and . Thus holds.
In a routing within , commodity 2 cannot use , so it puts one unit on every low edge, and each of the units of commodity 1 uses at least one low edge. Hence . Splitting commodity 1 evenly over the paths attains , which tends to two as grows. Since implies (C1), routing the two commodities separately shows that the gap is at most two.
In summary, the worst-case truncation number grows at least linearly (Theorem 10) and at most exponentially (Theorem 9) in the size of the topology, and on each fixed topology, with has gap one. Whether truncation numbers can be super-polynomial in the size of the topology remains open.
G Missing proofs from Section 5
Proof (of Lemma 6). Each inequality in is for some edge set and integer . In (C1)-(C2), is a cut; in (C3), any edge set; in (C4), , so . The same also gives : every path of a separated or blocked commodity meets , and in (C4) every path meets at least times. Moreover, is finite since the existence of makes all positive-demand pairs reachable, so no distance in the right-hand side of (C4) is infinite. If , then , hence and, by integrality, . Inequalities with are unchanged.
Proof (of Lemma 7). Start with and process the edges one at a time, keeping integral and feasible. For the current edge , compute
S. Debgupta, M. Skutella, Ph. Warode
and a minimizer by the edge-flow linear program (Section 2): shortcutting commodity cycles does not increase the objective , so the path-flow and edge-flow linear programming optima coincide.
We claim that is integral. Otherwise, let agree with except that , which is at most . Then is feasible under with slack on , so by Lemma 6, the integral capacities satisfy (C4) with demands . The hypothesis therefore guarantees a feasible multiflow under these capacities. It is also feasible under , but carries at most on , a contradiction. Thus, is integral. Set ; the chosen multiflow remains feasible.
Let be the final capacity vector; it is integral, at most , and admits a feasible multiflow. Capacities only decrease, so a multiflow feasible under was feasible when was processed and computed, so its flow on is at least . Its flow is also at most , because the capacity of was not changed after its processing step. Hence every feasible multiflow under saturates every edge. The procedure solves one linear program per edge.