Lemma 3 — removing late jobs of an optimal schedule preserves optimality
ProvedMooreLateJobs.NumLate.lemma3p2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1schedulingsingle-machine
Let be a finite set of jobs with and . Suppose is an optimal schedule for whose late set is non-empty, and let . Let be any optimal schedule for of the form , with late set . Then for every ordering of the schedule
is an optimal schedule for , and its late set is exactly .
This lemma is what lets the algorithm discard jobs one by one: a job found late in some optimal schedule can be set aside, the rest scheduled optimally, and the discarded job appended.
Formalization Note is added. The hypothesis that is non-empty is kept as on the page.
Preamble
import Mathlib import Definitions.Def_MooreLateJobs_Shared_completionTime import Definitions.Def_MooreLateJobs_NumLate_lateSet import Definitions.Def_MooreLateJobs_NumLate_IsOptimal import Definitions.Def_MooreLateJobs_NumLate_earlyPart
Formal statement
namespace MooreLateJobs.NumLate
theorem lemma3 {ι : Type*} [DecidableEq ι] (J : Finset ι) (t D : ι → ℝ)
(ht : ∀ i ∈ J, 0 ≤ t i) (htD : ∀ i ∈ J, t i ≤ D i)
(S : List ι) (hS : IsOptimal t D J S) (hL : (lateSet t D S).Nonempty)
(Jstar : Finset ι) (hJstar : Jstar ⊆ lateSet t D S)
(S' : List ι) (hS' : IsOptimal t D (J \ Jstar) S')
(hform : S' = earlyPart t D S' ++ latePart t D S')
(P'' : List ι) (hP'' : Shared.IsSchedule (Jstar ∪ lateSet t D S') P'') :
IsOptimal t D J (earlyPart t D S' ++ P'') ∧
lateSet t D (earlyPart t D S' ++ P'') = Jstar ∪ lateSet t D S' := by sorry
end MooreLateJobs.NumLate
Source
Moore, An n Job, One Machine Sequencing Algorithm for Minimizing the Number of Late Jobs, Management Science 15(1), 1968, p. 105, Lemma 3 (proof pp. 105-106)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.