cs.DSDate pending

A Group-Based Resource Allocation Model for the Fractional Knapsack Problem

Authors: Abhinaba Chakraborty

Abstract

To solve the fractional knapsack problem, Dantzig's greedy rule orders items according to their value-to-cost ratio. This ordering introduces priority issues. An arbitrarily small perturbation to the input can change the allocation if the budget is exhausted between two items with very similar ratios. To mitigate that problem, we introduce a two-stage rule. We group items sharing attributes within a radius δ\delta. These groups are then evaluated in descending order of ratio, and divide their group's budget share without further ranking. Consider a group featuring an aggregate capacity UGU_G, unit costs contained in [w−,w+][w^-,w^+], and a representative value v^\widehat{v}. The group's loss compared to the exact optimum is bounded by v^ UGw+−w−w++w−+εvUG\widehat{v}\, U_G\frac{w^+-w^-}{w^++w^-}+\varepsilon_v U_G, in which εv\varepsilon_v limits the group's internal value variation. Moreover, for any group size, this harmonic factor remains tight. The overall loss becomes restricted to the single budget-binding group whenever the grouping remains order-compatible; thus, groups containing at most KK items suffer a per-item loss of O(Kn)\mathcal{O}(\frac{K}{n}). Should group ratio intervals exhibit an overlap of at most ω\omega, an additive term ωC\omega C degrades this bound. Within the separation margin between adjacent groups, the grouped allocation remains Lipschitz continuous with respect to cost data, exhibiting a modulus of Kwmin⁡\frac{K}{w_{\min}}. Computing this allocation takes O(n+mlog⁡m+∣Γ∣log⁡∣Γ∣)\mathcal{O}(n+m\log m+|\Gamma|\log|\Gamma|) time given mm groups and a boundary group Γ\Gamma. Alternatively, the time complexity drops to O(n+mlog⁡m)\mathcal{O}(n+m\log m) if a linear-time selection method identifies the boundary group's allocation.

Explore similar work

CardsList
  1. Online Fair Division with Budget Constraints

    Jul 25, 2026Saar Cohen, Nicholas Teh, Paul W. Goldberg +1Knapsack ConstraintFairness Constraints

  2. A Sub-4 Approximation for Fair kk-Means

    Sep 7, 2026Kangke Cheng, Guanlin Mo, Shihong Song +1K-MeansApproximation Algorithms