§5, p. 10 — composite jobs in nonincreasing ratio order give a minimum-cost arrangement
ProvedLawlerWCT.SeriesPar.ratio_order_optimalLet and be the processing times and real weights of the jobs, and let be a set of composite jobs: nonempty, pairwise disjoint sequences of distinct jobs. Each composite job is treated as a single job with weight , processing time and ratio
If arranges the composite jobs of in nonincreasing order of ratio and arranges them in any order, then the sequence obtained by expanding costs no more than the one obtained by expanding :
This is Smith's ratio rule applied to composite jobs, the step "an optimal sequence can be found by simply placing them in nonincreasing order of the ratios".
Formalization Note The statement compares arrangements that keep each composite job together, with no precedence constraints between composite jobs; that the precedence constraints have been absorbed into the composite jobs is the content of the other milestones. Sequences of composite jobs are lists of lists, and "expanding" is List.flatten.
import Mathlib import Definitions.Def_LawlerWCT_SeriesPar_Model
namespace LawlerWCT.SeriesPar
theorem ratio_order_optimal {ι : Type*} [DecidableEq ι] (p w : ι → ℝ)
(F : List (List ι)) (hne : ∀ c ∈ F, c ≠ []) (hnd : F.flatten.Nodup)
(hp : ∀ j ∈ F.flatten, 0 < p j) :
∀ L L' : List (List ι), L.Perm F → IsRatioOrder p w L → L'.Perm F →
SingleMachinePrec.Biclique.weightedCompletion p w F.flatten.toFinset L.flatten ≤
SingleMachinePrec.Biclique.weightedCompletion p w F.flatten.toFinset L'.flatten := by sorry
end LawlerWCT.SeriesPar
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.