Atelier des rouesLab FR
Register/AT.EX23.03
Controlled experiment · AT.EX23.03

A counterexample to maximal batching

1/4 Educational or exploratory value AI-assisted literature assessment · one reading

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 results

Assumptions

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

Comments

Comments from both language editions appear here.

The discussion is open for reading. I’ll enable submissions once spam protection is configured.