Controlled experiment · AT.EX23.03
A counterexample to maximal batching
1/4 Educational or exploratory value AI-assisted literature assessment · one readingI give a concrete counterexample to maximal batching: for costs (1,2,2), the stated greedy partition costs 4 while an offline split costs 3; (1,1,2,2) repeats the failure at delay 2. Zhang, Cai and Wong also study batches whose duration is the largest job time, but optimize makespan, not this additive partition cost. I see a useful teaching witness; its limit is the tiny model and uncalibrated sieve costs.
Gouchuan Zhang, Xiaoqiang Cai, and C.K. Wong, “On-line algorithms for minimizing makespan on batch processing machines” · Wolfgang W. Bein, Leah Epstein, Lawrence L. Larmore, and John Noga, “Optimally Competitive List Batching”
How I rate resultsAssumptions
I assume one arrival per tick and instantaneous FIFO service. A query costs 1, 2 or 6 windows. A batch costs the maximum. I compare every segmentation with a dynamic program and check the primes returned by the sieve.
Result
At deadline 1, costs (1,2,2) require 4 windows with maximal batches and 3 when the first arrival is served separately. At deadline 2 the first loss occurs on (1,1,2,2).
Prior work
Walisch · primesieve
Next question
I will seek an online rule with a bound against the segmentation that knows future arrivals.
Read the argument and prior work · View supporting evidence