Theorem 4(g) — KNAPSACK has a solution iff the flow shop with release date r_n = tb has C_max ≤ t(A + 1)
ProvedSchedComplexity.Shops.theorem_4g_equivalenceflow-shopknapsacknp-completenessp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1scheduling
Let and be positive integers with , where . Consider the two-machine flow shop (every job visits , then ) with jobs: item job () has release date and processing times , ; has release date and processing times , . Then
This is the equivalence in the proof of Theorem 4(g), which shows that KNAPSACK reduces to .
Formalization Note The report prints the two directions and leaves the concluding "if and only if" implicit, as in reductions (i) and (j); the theorem states it. The assumption and the positivity of the data are hypotheses.
Preamble
import Mathlib import Definitions.Def_SchedComplexity_OneMachine_Knapsack import Definitions.Def_SchedComplexity_Shops_Constructions
Formal statement
namespace SchedComplexity.Shops
/-- Theorem 4(g), Brucker, Lenstra & Rinnooy Kan, Report BW 43/75, p. 18: for positive integers
`a_1, …, a_t`, `b` with `0 < b < A = ∑ a_j`, KNAPSACK has a solution iff the two-machine flow shop
`constrG a b` (items with `r_j = 0`, `p_j1 = t a_j`, `p_j2 = 1`; `J_n` with `r_n = t b`,
`p_n1 = 1`, `p_n2 = t(A - b)`) has a feasible schedule with `C_max ≤ y = t(A + 1)`. -/
theorem theorem_4g_equivalence (a : List ℕ) (b : ℕ) (ha : ∀ v ∈ a, 0 < v) (hb : 0 < b)
(hbA : b < a.sum) :
SchedComplexity.OneMachine.KnapsackYes a b ↔ (constrG a b).HasScheduleLE (yG a) := by sorry
end SchedComplexity.Shops
Source
Brucker, Lenstra & Rinnooy Kan, Complexity of Machine Scheduling Problems, Mathematisch Centrum Report BW 43/75 (1975), p. 18, proof of Theorem 4(g)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.