Search arXivSearch

arXiv · 2509.24656

Tree-based formulation for the multi-commodity flow problem

Abstract

We revisit the tree-based formulation of the minimum-cost multi-commodity flow problem, due to Jones et al. (1993), who found that path-based decomposition converges in fewer master iterations and reported lower CPU times for it. The formulation represents the flow out of each source as a convex combination of shortest-path trees, so the master problem has one demand constraint per source $|S|$ rather than per commodity $|K|$. We re-examine it on 44 instances with up to 3.3 million commodities, three orders of magnitude beyond the scale available to Jones et al. (1993), under five linear programming backends spanning four barrier codes, open source and commercial, CPU and GPU. Their convergence result is confirmed: the tree-based formulation still requires two to three times as many iterations. Their wall-clock conclusion, however, is reversed under every backend in the regime $|S| \ll |K|$: tree-based column generation is 1.4 to 1.9 times faster on the shifted geometric mean, reaches a factor of 99 on the instance with the most commodities, and solves 43 or 44 of the 44 instances under every backend, where the path-based formulation solves 38 to 42, its failures concentrated on the largest transportation instances. Both decompositions are 15 to 28 times faster than solving the compact model directly (5 to 25 on the instances that model solves). The measurements identify the mechanism: the master problem accounts for 87% to 99% of the runtime, and the tree-based master is up to 32 times smaller at termination. The advantage disappears when $|S|$ approaches $|V|$, where a tree column has non-zeros in a large fraction of the master's rows, as on the planar2500 instance. An open-source C++ implementation accompanies the paper.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Simon Spoorendonk, Bjørn Petersen. 2026-08-25. Tree-based formulation for the multi-commodity flow problem. https://arxiv.org/abs/2509.24656

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Genericity of Polyak-Lojasiewicz Inequalities for Entropic Mean-Field Neural ODEs

We address the behavior of idealized deep residual neural networks (ResNets), modeled via an optimal control problem set over continuity (or adjoint transport) equations. The continuity equations describe the statistical evolution of the features in the asymptotic regime where the layers of the network form a continuum. The velocity field is expressed through the network activation function, which is itself viewed as a function of the statistical distribution of the network parameters (weights and biases). From a mathematical standpoint, the control is interpreted in a relaxed sense, taking values in the space of probability measures over the set of parameters. We investigate the optimal behavior of the network when the cost functional arises from a regression problem and includes an additional entropic regularization term on the distribution of the parameters. In this framework, we focus in particular on the existence of stable optimizers --that is, optimizers at which the Hessian of the cost is non-degenerate. We show that, for an open and dense set of initial data, understood here as probability distributions over features and associated labels, there exists a unique stable global minimizer of the control problem. Moreover, we show that such minimizers satisfy a local Polyak--Lojasiewicz inequality, which can lead to exponential convergence of the corresponding gradient descent when the initialization lies sufficiently close to the optimal parameters. This result thus demonstrates the genericity (with respect to the distribution of features and labels) of the Polyak--Lojasiewicz condition in ResNets with a continuum of layers and under entropic penalization.

math.OC

A regret minimization approach to fixed-point iterations

We propose a conversion scheme that turns regret minimizing algorithms into fixed point iterations, with convergence guarantees following from regret bounds. The resulting iterations can be seen as a grand extension of the classical Krasnoselskii--Mann iterations, as the latter are recovered by converting the Online Gradient Descent algorithm. This approach yields new simple iterations for finding fixed points of non-self operators. We also focus on converting algorithms from the AdaGrad family of regret minimizers, and thus obtain fixed point iterations with adaptive guarantees of a new kind. Numerical experiments on various problems demonstrate faster convergence of AdaGrad-based fixed point iterations over Krasnoselskii--Mann iterations.

math.OC

Variational Analysis in Spectral Decomposition Systems

This work is concerned with the variational analysis of functions defined on Euclidean spaces whose values depend solely on certain invariants (``spectrum'') of their arguments, a class we term ``spectral functions.'' Building on our previous work \cite{PartI} on the convex analysis of such functions, we work in the abstract framework of spectral decomposition systems, which covers a wide range of previously studied settings, including eigenvalue decomposition of Hermitian matrices and singular value decomposition of rectangular matrices, and allows the derivation of new results in more general settings such as normal decomposition systems. The main results of this work provide constructive formulae for computing the regular, limiting, and Clarke subdifferentials of a spectral function in terms of the corresponding objects of the associated invariant function. Finally, we obtain a generalization of Lidski\uı's theorem on the spectrum of additive perturbations of Hermitian matrices to arbitrary spectral decomposition systems.

math.OC