A counterexample to maximal batching
I 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 resultsWhen does waiting as long as possible make me sieve a window again?
- Streams tested
- 27
- Suboptimal greedy choices
- 5
- Largest extra window count
- 5
First counterexample at this deadline · [1, 2, 2] → 4 / 3