Theorem 2.2 — on one processor some optimal schedule splits no task
ProvedMcNaughtonSched.SingleProc.exists_optimal_noSplitConsider tasks on a single processor with processing times , penalties and arbitrary deadlines , and let be the total loss of a schedule (the sum over tasks of , where is the completion time of ). Then there is a feasible schedule in which no task is split and which is optimal among all feasible schedules, split or not, with or without idle time:
Splitting a task therefore never helps on a single processor; the search for an optimum can be restricted to the finitely many orders of unsplit tasks.
Formalization Note "Optimal solution" is stated as the existence of a minimizer over every feasible schedule. "No task is split" means each task has exactly one piece. The hypothesis (the are penalties) is needed: with a negative penalty and idle time allowed, the loss is unbounded below and no optimum exists. is the standing assumption that tasks take time.
import Mathlib import Definitions.Def_McNaughtonSched_SingleProc_Model
namespace McNaughtonSched.SingleProc
theorem exists_optimal_noSplit {m : ℕ} (a p d : Fin m → ℝ)
(ha : ∀ i, 0 < a i) (hp : ∀ i, 0 ≤ p i) :
∃ S₀ : Schedule m, IsFeasible a S₀ ∧ NoSplit S₀ ∧
∀ S : Schedule m, IsFeasible a S → totalLoss p d S₀ ≤ totalLoss p d S := by sorry
end McNaughtonSched.SingleProc
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.