arXiv · 1501.00014
Optimal rounding under integer constraints
Abstract
Given $N$ real numbers whose sum is an integer, we study the problem of finding $N$ integers that preserve the sum while minimizing the rounding error. We first show that every optimal solution necessarily rounds each coordinate either to its floor or its ceiling, reducing the problem to the selection of the coordinates to be rounded upward. This characterization extends to a class of separable convex integer optimization problems with a single sum constraint. For the resulting optimization problem we characterize the complete set of optimal solutions and show that rounding upward the largest fractional parts simultaneously minimizes the $L^q$ rounding error for every $q\geq 1$. More generally, the resulting error vector is minimal in the weak-majorization order and therefore minimizes every symmetric convex coordinatewise nondecreasing loss of the rounding error. When the $L^q$-optimal solution is not unique, we provide an explicit tie-breaking rule that minimizes the relative rounding error among all optimal solutions. These results lead to a deterministic algorithm with linear $O(N)$ worst-case complexity. Unlike independent randomized rounding, which preserves the target coordinates and the sum constraint only in expectation, the proposed method computes an exactly feasible, provably optimal integer rounding with deterministic optimality guarantee. Besides solving the constrained rounding problem, the algorithm applies as the rounding step in relaxed integer optimization problems with a single conservation constraint.
Explore related subjects
Keep this discovery
Rama Cont, Massoud Heidari. 2014-12-30. Optimal rounding under integer constraints. https://arxiv.org/abs/1501.00014
Cite the original work for its findings. Save a collection to share your selection of sources.