Lemma 1 —
ProvedKKBinPacking.GeometricGrouping.opt_le_two_size_add_onebin-packingp2o-batch-p200bp2o-gran-per-chapterp2o-plan-paperp2o-v1
Let be an instance of the one-dimensional bin-packing problem: a finite multiset of piece sizes in . Then its optimal number of bins satisfies
where is the total size of the pieces.
In ALGORITHM 2 this bound controls the number of bins used for the instances produced by geometric grouping and for the pieces left after the main loop.
Formalization Note Piece sizes are real numbers in the open interval .
Preamble
import Mathlib import Definitions.Def_KKBinPacking_GeometricGrouping_Instance
Formal statement
namespace KKBinPacking.GeometricGrouping
theorem opt_le_two_size_add_one (I : Multiset ℝ) (hI : IsInstance I) :
(OPT I : ℝ) ≤ 2 * SIZE I + 1 := by sorry
end KKBinPacking.GeometricGrouping
Source
Karmarkar, Karp, An Efficient Approximation Scheme for the One-Dimensional Bin-Packing Problem, Proc. 23rd FOCS, 1982, p. 313, Lemma 1
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.