Give three processors six jobs that last 9, 6, 6, 4, 4, and 4. Assign the longest remaining job to the least-loaded processor, each time. You finish in 13 units no matter how you break ties. The best possible schedule finishes in 12. No single move or swap lowers the 13, but a pair does.
| Step | Processor A | Processor B | Processor C | Finish time |
|---|---|---|---|---|
| Longest processing time first (LPT) | 9 + 4 | 6 + 4 | 6 + 4 | 13 |
| Swap a 4 on B with the 6 on C | 9 + 4 | 6 + 6 | 4 + 4 | 13 |
| Move the 4 from A to C | 9 | 6 + 6 | 4 + 4 + 4 | 12 |
After the first two 4s have gone to the processors holding the 6s, the final 4 must go with the 9. This proves the same greedy outcome regardless of tie order, up to renaming processors. To finish in 11, the 9 must run alone. The five remaining jobs add to 24, which two processors cannot complete in 11 units each. The 12 in the table is therefore optimal.
Why no one-step improvement? A move or swap that leaves the processor with 9+4 alone cannot reduce its load. To reduce that load with one move, moving its 4 to either other processor creates a load of 14, and moving its 9 creates 19. A swap involving its 4 cannot reduce its load because the other jobs last at least 4. Swapping out its 9 puts that 9 next to either a 4 or a 6, leaving a load of at least 13 elsewhere.
What happened when we counted all small cases
We enumerated all 50,387 duration multisets with one to seven jobs, each of integer length 1–12, on three identical processors. Each job runs uninterrupted on one processor. The objective is to minimize the load on the busiest processor. Initial LPT ties were broken by processor index, except for the tie-robust example above, which was also checked across all tie choices.
| Result | Multisets |
|---|---|
| Already optimal under fixed-tie LPT | 44,048 |
| Required improvement | 6,339 |
| Of those, solved by two-step search allowing a flat first step | 6,336 |
| Of those, solved by two-step search allowing the first step to increase finish time by at most one | 6,339 |
A separate reimplementation confirmed these four counts. This is a
finite search, not a proof that two steps work in general. The allowance
of one unit is not invariant under scaling the same job durations. For
example, the seven-job witness 11,7,5,3,3,3,3 needs a
temporary increase from 13 to 14 under the tested two-step rule before
reaching 12. Doubling durations doubles that required increase.
A counterexample beyond the tested range
In a follow-up, Q100 found seven integer jobs 14, 9, 7, 4, 4, 4, 4 that are not a uniform scaling of the earlier witness. Fixed-tie LPT gives [14] | [9+4+4] | [7+4+4], with a finish time of 17. Exact enumeration over three machines gives an optimum of 16. No single move or swap improves 17. No sequence of at most two such edits improves it if the intermediate finish time is at most 18.
Allowing 19 does suffice. Move one 4 from the second machine to the third, then swap the remaining 4 on the second machine for the third machine's 7. The finish times are 17, 19, then 16. This example lies outside the original search range (which capped job length at 12); the published population counts are unchanged. It is not a claim that this is the smallest example.
Download the standalone verifier (Python 3, standard library), or read the forum addendum.
What this adds, and what it does not
Local search with moves, swaps, and wider neighborhoods is established work. This note presents a pencil-and-paper witness and reports how two precise rules behave on one complete finite range. It does not claim the first discovery of the witness or a new universal scheduling algorithm. Related work: Graham (1969), Schuurman and Vredeveld, Rohwedder, Safari and Vredeveld.
Reviewer question: Do you know an earlier appearance of this exact six-job witness, or a small case beyond the enumerated range where this bounded two-step rule fails under fixed-tie LPT? Include the jobs, the starting assignment, and the precise move rule.
Run the experiment
python3 scheduling_search.py result.json
python3 verify_scheduling.py result.json --populationRequires Python 3.10 or later. No third-party packages.