No-wait flow shop C_max and ΣC_j as travelling-salesman path problems with weights c_jk (p. 24)
ProvedSchedComplexity.NoWait.tsp_reformulationConsider a no-wait flow shop with jobs, machines and strictly positive processing times , with as in (8) and as in (9). For every :
- some feasible no-wait schedule has if and only if some ordering of the jobs satisfies
- some feasible no-wait schedule has if and only if some ordering satisfies
Part 1 is the paper's statement that minimizing "is now equivalent to solving the TRAVELLING SALESMAN problem with and weights defined by (9) and by , ": a tour starting at the dummy vertex is a job ordering, and its length is the left-hand side. Part 2 is the corresponding fact for the total completion time, which the proof of Theorem 5(b) uses when it says the instance is "constructed as in (a)".
Formalization Note Positivity of the processing times is a hypothesis: with zero processing times one job may pass another, and start order and machine order need not agree. For both sides of both equivalences hold.
import Mathlib import Definitions.Def_SchedComplexity_NoWait_NoWaitFlowShop
namespace SchedComplexity.NoWait
/-- The no-wait flow shop as a travelling-salesman problem (p. 24): with strictly positive
processing times, (a) some feasible no-wait schedule has `C_max ≤ y` iff some ordering `π` of
the jobs has path length `Σ_{i<n-1} c_{π i, π (i+1)} + q_{π (n-1), m} ≤ y`, and (b) some feasible
no-wait schedule has `Σ_ℓ C_ℓ ≤ y` iff some ordering `π` has
`Σ_k (Σ_{i<k} c_{π i, π (i+1)} + q_{π k, m}) ≤ y`. -/
theorem tsp_reformulation {n m : ℕ} (p : Fin n → Fin m → ℕ) (hm : 0 < m)
(hp : ∀ ℓ r, 0 < p ℓ r) (y : ℕ) :
((∃ B, IsNoWaitSchedule p B ∧ ∀ ℓ, completion p B ℓ ≤ y) ↔
∃ π : Fin n ≃ Fin n, pathMakespan p hm π ≤ (y : ℤ)) ∧
((∃ B, IsNoWaitSchedule p B ∧ ∑ ℓ, completion p B ℓ ≤ y) ↔
∃ π : Fin n ≃ Fin n, pathTotalCompletion p hm π ≤ (y : ℤ)) := by sorry
end SchedComplexity.NoWait
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.