Two-way rounding
Abstract
Given $n$ real numbers $0\leq x_1,...,x_n<1$ and a permutation~$\sigma$ of $\{1,...,n\}$, we can always find $\xbar_1,...,\xbar_n\in\{0,1\}$ so that the partial sums $\xbar_1+... +\xbar_k$ and $\xbar_{\sigma 1}+... +\xbar_{\sigma k}$ differ from the unrounded values $x_1+... + x_k$ and $x_{\sigma 1}+... +x_{\sigma k}$ by at most $n/(n+1)$, for $1\leq k\leq n$. The latter bound is best possible. The proof uses an elementary argument about flows in a certain network, and leads to a simple algorithm that finds an optimum way to round.
- Publication:
-
arXiv Mathematics e-prints
- Pub Date:
- March 1995
- DOI:
- 10.48550/arXiv.math/9504228
- arXiv:
- arXiv:math/9504228
- Bibcode:
- 1995math......4228K
- Keywords:
-
- Mathematics - Optimization and Control
- E-Print:
- SIAM J. Discrete Math. 8 (1995), no. 2, 281--290