Lemma 1(b), observations (i)–(ii): in a schedule of FS with finish time , ends by and starts after
ProvedFlowJobShop.PartitionFlow.observations_i_iiflow-shopp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1preemptive-schedulingscheduling
Let , and FS be as in the proof of Lemma 1. Let be any preemptive schedule of FS with . Then
- task finishes by time : every piece of it ends at or before ;
- task does not start before time : every piece of it starts at or after .
These two observations are the first step of the paper's proof of Lemma 1(b): they fix the window in which the other jobs can use processor , and the window that job needs on .
Formalization Note "Finishes by " and "does not start before " are stated piecewise; when both tasks have time , have no piece, and the statement holds trivially, as in the paper.
Preamble
import Mathlib import Definitions.Def_FlowJobShop_PartitionFlow_FlowShop import Definitions.Def_FlowJobShop_PartitionFlow_Partition import Definitions.Def_FlowJobShop_PartitionFlow_Instance open FlowJobShop.PartitionFlow.FlowShop
Formal statement
namespace FlowJobShop.PartitionFlow
/-- Observations (i)–(ii) in the proof of Lemma 1(b) (Gonzalez–Sahni 1978, p. 39): in every
preemptive schedule of FS with finish time `≤ 2T`, (i) task `t_{1,n+1}` finishes by time `T`
(every piece of it ends by `T`), and (ii) task `t_{3,n+2}` does not start before time `T`
(every piece of it starts at or after `T`). Job `n + 1` is `Sum.inr 0`, job `n + 2` is
`Sum.inr 1`; processors `P_1, P_3` are `0, 2`. -/
theorem observations_i_ii {n : ℕ} (a : Fin n → ℕ) (S : PreemptiveSchedule (FS a))
(hS : S.finishTime ≤ 2 * T a) :
(∀ p ∈ S.pieces 0 (Sum.inr 0), p.2 ≤ T a) ∧
(∀ p ∈ S.pieces 2 (Sum.inr 1), T a ≤ p.1) := by sorry
end FlowJobShop.PartitionFlow
Source
Gonzalez, Sahni, Flowshop and Jobshop Schedules: Complexity and Approximation, Operations Research 26(1) (1978), p. 39, §1 Flow Shop, proof of Lemma 1, observations (i) and (ii)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.