Theorem 2.3 — with all deadlines 0, unsplit decreasing- order minimizes total loss
ProvedMcNaughtonSched.SingleProc.ratio_order_minimal_zero_deadlinesConsider tasks on a single processor with processing times and penalties , and suppose every deadline is at the present, , so that the loss on is . Let order the tasks by decreasing ratio , and let be the schedule that processes the tasks without splits and without unused time in that order, task running from to . Then is feasible and
where the competitors may split tasks and leave the processor idle.
This is the ratio rule for the total weighted completion time on one machine, in its preemptive form.
Formalization Note The page leaves "with no unused time" implicit here (Theorem 2.4 states it); the sequenced schedule builds it in. Ties among equal ratios may be broken in any order. The deadlines are kept as a parameter with the hypothesis , so the statement is visibly the special case of Theorem 2.4. is the penalty sign, needed as in Theorem 2.2; is the standing assumption.
import Mathlib import Definitions.Def_McNaughtonSched_SingleProc_Model
namespace McNaughtonSched.SingleProc
theorem ratio_order_minimal_zero_deadlines {m : ℕ} (a p d : Fin m → ℝ)
(ha : ∀ i, 0 < a i) (hp : ∀ i, 0 ≤ p i) (hd : ∀ i, d i = 0)
(σ : Equiv.Perm (Fin m)) (hσ : InRatioOrder a p σ) :
IsFeasible a (seqSchedule a σ) ∧
∀ S : Schedule m, IsFeasible a S →
totalLoss p d (seqSchedule a σ) ≤ totalLoss p d S := by sorry
end McNaughtonSched.SingleProc
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.