Theorem 4(h) — KNAPSACK has a solution iff the flow shop with J_{n−1} < J_n has C_max ≤ t(A + 1) + 1
ProvedSchedComplexity.Shops.theorem_4h_equivalenceflow-shopknapsacknp-completenessp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1scheduling
Let and be positive integers with , where . Consider the two-machine flow shop with jobs, all released at time : item job () has processing times , ; has , ; has , ; and the only precedence constraint is , i.e. . Then
This is the equivalence in the proof of Theorem 4(h), which shows that KNAPSACK reduces to .
Formalization Note The report proves only the bound "" and says that "the remainder of the equivalence proof is analogous to that of reduction (g)"; the theorem states the full equivalence that this remark asserts. The assumption and the positivity of the data are hypotheses (the bound above uses ).
Preamble
import Mathlib import Definitions.Def_SchedComplexity_OneMachine_Knapsack import Definitions.Def_SchedComplexity_Shops_Constructions
Formal statement
namespace SchedComplexity.Shops
/-- Theorem 4(h), 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
`constrH a b` (items with `p_j1 = t a_j`, `p_j2 = 1`; `J_{n-1}` with `p = (1, t b)`; `J_n` with
`p = (1, t(A - b))`; precedence `J_{n-1} < J_n`) has a feasible schedule with
`C_max ≤ y = t(A + 1) + 1`. -/
theorem theorem_4h_equivalence (a : List ℕ) (b : ℕ) (ha : ∀ v ∈ a, 0 < v) (hb : 0 < b)
(hbA : b < a.sum) :
SchedComplexity.OneMachine.KnapsackYes a b ↔ (constrH a b).HasScheduleLE (yH 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(h)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.