Algorithms for the transportation problem in geometric settings

For A, B ⊂ Rd, |A| + |B| = n, let a e A have a demand da e Z+ and b e B have a supply sb e Z+, [EQUATION] = U and let d(.,.) be a distance function. Suppose the diameter of A ∪ B is Δ under d(.,.), and e > 0 is a parameter. We present an algorithm that in O((n√Ulog2 n + U log U)Φ(n) log(ΔU/e)) time computes a solution to the transportation problem on A, B which is within an additive error e from the optimal solution. Here Φ(n) is the query and update time of a dynamic weighted nearest neighbor data structure under distance function d(.,.). Note that the (1/e) appears only in the log term. As among various consequences we obtain, • For A, B ⊂ Rd and for the case where d(.,.) is a metric, an e-approximation algorithm for the transportation problem in O((n√U log2 n + U log U)Φ(n) log (U/e)) time. • For A, B ⊂ [Δ]d and the L1 and L∞ distance, exact algorithm for computing an optimal bipartite matching of A, B that runs in O(n3/2 log d+O(1) n log Δ) time. • For A, B ⊂ [Δ]2 and RMS distance, exact algorithm for computing an optimal bipartite matching of A, B that runs in O(n3/2+δ log Δ) time, for an arbitrarily small constant δ > 0. For point sets, A, B ⊂ [Δ]d, for the Lp norm and for 0 < α, β < 1, we present a randomized dynamic data structure that maintains a partial solution to the transportation problem under insertions and deletions of points in which at least (1 − α)U of the demands are satisfied and whose cost is within (1 + β) of that of the optimal (complete) solution to the transportation problem with high probability. The insertion, deletion and update times are O(poly(log(nΔ)/αβ)), provided U = nO(1).

[1]  Krzysztof Onak,et al.  Maintaining a large matching and a small vertex cover , 2010, STOC '10.

[2]  Piotr Indyk,et al.  A near linear time constant factor approximation for Euclidean bichromatic matching (cost) , 2007, SODA '07.

[3]  Pankaj K. Agarwal,et al.  A near-linear constant-factor approximation for euclidean bipartite matching? , 2004, SCG '04.

[4]  Kenneth Steiglitz,et al.  Combinatorial Optimization: Algorithms and Complexity , 1981 .

[5]  Richard M. Karp,et al.  A n^5/2 Algorithm for Maximum Matchings in Bipartite Graphs , 1971, SWAT.

[6]  Pravin M. Vaidya,et al.  Using geometry to solve the transportation problem in the plane , 2005, Algorithmica.

[7]  Sandeep Sen,et al.  Fully Dynamic Maximal Matching in O (log n) Update Time , 2011, 2011 IEEE 52nd Annual Symposium on Foundations of Computer Science.

[8]  Richard M. Karp,et al.  A n^5/2 Algorithm for Maximum Matchings in Bipartite Graphs , 1971, SWAT.

[9]  Pankaj K. Agarwal,et al.  Approximation algorithms for bipartite and non-bipartite matching in the plane , 1999, SODA '99.

[10]  Micha Sharir,et al.  Vertical decomposition of shallow levels in 3-dimensional arrangements and its applications , 1995, SCG '95.

[11]  Pankaj K. Agarwal,et al.  On Bipartite Matching under the RMS Distance , 2006, CCCG.

[12]  David P. Woodruff,et al.  Efficient Sketches for Earth-Mover Distance, with Applications , 2009, 2009 50th Annual IEEE Symposium on Foundations of Computer Science.

[13]  Robert E. Tarjan,et al.  A data structure for dynamic trees , 1981, STOC '81.

[14]  David Eppstein,et al.  Dynamic Euclidean minimum spanning trees and extrema of binary functions , 1995, Discret. Comput. Geom..

[15]  Robert E. Tarjan,et al.  Faster Scaling Algorithms for Network Problems , 1989, SIAM J. Comput..

[16]  Pravin M. Vaidya,et al.  Geometry helps in matching , 1989, STOC '88.