Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
129 tokens/sec
GPT-4o
28 tokens/sec
Gemini 2.5 Pro Pro
42 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
38 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Online Carpooling using Expander Decompositions (2007.10545v2)

Published 21 Jul 2020 in cs.DS and cs.GT

Abstract: We consider the online carpooling problem: given $n$ vertices, a sequence of edges arrive over time. When an edge $e_t = (u_t, v_t)$ arrives at time step $t$, the algorithm must orient the edge either as $v_t \rightarrow u_t$ or $u_t \rightarrow v_t$, with the objective of minimizing the maximum discrepancy of any vertex, i.e., the absolute difference between its in-degree and out-degree. Edges correspond to pairs of persons wanting to ride together, and orienting denotes designating the driver. The discrepancy objective then corresponds to every person driving close to their fair share of rides they participate in. In this paper, we design efficient algorithms which can maintain polylog$(n,T)$ maximum discrepancy (w.h.p) over any sequence of $T$ arrivals, when the arriving edges are sampled independently and uniformly from any given graph $G$. This provides the first polylogarithmic bounds for the online (stochastic) carpooling problem. Prior to this work, the best known bounds were $O(\sqrt{n \log n})$-discrepancy for any adversarial sequence of arrivals, or $O(\log!\log n)$-discrepancy bounds for the stochastic arrivals when $G$ is the complete graph. The technical crux of our paper is in showing that the simple greedy algorithm, which has provably good discrepancy bounds when the arriving edges are drawn uniformly at random from the complete graph, also has polylog discrepancy when $G$ is an expander graph. We then combine this with known expander-decomposition results to design our overall algorithm.

Citations (7)

Summary

We haven't generated a summary for this paper yet.