Sections 5–6 and Eq. (3) — the minimum weighted number of tardy jobs is Σ p_j − f(n, d_n)
ProvedLawlerMoore.WeightedTardy.min_weighted_tardy_eqLet jobs be processed one at a time by a single machine. Job has a nonnegative integer processing time , a nonnegative integer deadline and a penalty , paid if the job completes after its deadline; the jobs are numbered so that
Let be defined by Equation (3), for and for , with for and for . Then is a real number and
the minimum being taken over all sequences of the jobs (and attained).
This is the paper's solution of the problem of minimizing the weighted number of tardy jobs on one machine: order the jobs by deadline and evaluate Equation (3).
Formalization Note The paper says "the problem is solved by" (1), equivalently (3), without naming the argument at which is read; the evaluation point is made explicit ( for all by the cap). is assumed only so that exists. Processing times and deadlines are natural numbers (as the unit steps of (3) require), penalties are real and nonnegative, and the deadline numbering is Monotone d on the job index. Sequences are schedules in the published list model (IsSchedule, completionTime, lateSet); "minimum" is IsLeast over the set of values of all schedules. The base cases of (3) are those of (1) with for a maximum.
import Mathlib import Definitions.Def_MooreLateJobs_Shared_completionTime import Definitions.Def_MooreLateJobs_NumLate_lateSet import Definitions.Def_LawlerMoore_WeightedTardy_weightedTardy import Definitions.Def_LawlerMoore_WeightedTardy_eq3
namespace LawlerMoore.WeightedTardy
open MooreLateJobs.Shared
/-- §§5–6 and Eq. (3) (pp. 79–80): with the jobs numbered by deadline (`d` monotone) and
penalties `p j ≥ 0`, the value `f(n, d_n)` of Equation (3) is finite, `f(n, d_n) = V`, and the
minimum over all sequences of the weighted number of tardy jobs is `∑_j p_j - V`. -/
theorem min_weighted_tardy_eq {n : ℕ} (hn : 0 < n) (a' d : Fin n → ℕ) (p : Fin n → ℝ)
(hp : ∀ j, 0 ≤ p j) (hd : Monotone d) :
∃ V : ℝ, eq3 a' d p n (d ⟨n - 1, by omega⟩ : ℤ) = (V : WithBot ℝ) ∧
IsLeast {w : ℝ | ∃ l : List (Fin n), IsSchedule Finset.univ l ∧ w = weightedTardy a' d p l}
((∑ j, p j) - V) := by sorry
end LawlerMoore.WeightedTardy
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.