Two-Way Rounding

نویسنده

  • Donald E. Knuth
چکیده

x n ∈ {0, 1} so that the partial sums ¯ x 1 + · · · + ¯ x k and ¯ x σ1 + · · · + ¯ x σk differ from the unrounded values x 1 + · · · + x k and x σ1 + · · · + x σk by at most n/(n + 1), for 1 ≤ k ≤ 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. Many combinatorial optimization problems in integers can be solved or approximately solved by first obtaining a real-valued solution and then rounding to integer values. Spencer [11] proved that it is always possible to do the rounding so that partial sums in two independent orderings are properly rounded. His proof was indirect—a corollary of more general results [7] about discrepancies of set systems—and it guaranteed only that the rounded partial sums would differ by at most 1 − 2 −2 n from the unrounded values. The purpose of this note is to give a more direct proof, which leads to a sharper result.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Significant interactions in two-way ANOVA: example on impact on testing for normality

A key issue in various applications of analysis of variance is testing for interaction and the interpretation of resulting analysis of variance tables. In this note is demonstrated that for a two-way ANOVA, incorporating interactions or not may have a dramatic influence when considering the usual statistical tests for normality of residuals. The effect of numerical rounding is also discussed.

متن کامل

Rounding of Sequences and Matrices, with Applications

We show that any real matrix can be rounded to an integer matrix in such a way that the rounding errors of all row sums are less than one, and the rounding errors of all column sums as well as all sums of consecutive row entries are less than two. Such roundings can be computed in linear time. This extends and improves previous results on rounding sequences and matrices in several directions. I...

متن کامل

Meaningful Numbers and “Significant Figures”

The concept of significant digits is often used in connection with rounding. Rounding to n significant digits is a more general-purpose technique than rounding to n decimal places, since it handles numbers of different scales in a uniform way. For example, the population of a city might only be known to the nearest thousand and be stated as 52,000, while the population of a country might only b...

متن کامل

Rounding Error in Numerical Solution of Stochastic Differential Equations

The present investigation is concerned with estimating the rounding error in numerical solution of stochastic differential equations. A statistical rounding error analysis of Euler’s method for stochastic differential equations is performed. In particular, numerical evaluation of the quantities EjXðtnÞ2 Ŷnj and E1⁄2FðŶnÞ2 FðXðtnÞÞ is investigated, where X(tn) is the exact solution at the nth ti...

متن کامل

A multidimensional continued fraction based on a high-order recurrence relation

The paper describes and studies an iterative algorithm for finding small values of a set of linear forms over vectors of integers. The algorithm uses a linear recurrence relation to generate a vector sequence, the basic idea being to choose the integral coefficients in the recurrence relation in such a way that the linear forms take small values, subject to the requirement that the integers sho...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • SIAM J. Discrete Math.

دوره 8  شماره 

صفحات  -

تاریخ انتشار 1995