Theorem 4(i) — KNAPSACK has a solution iff the two-machine job shop instance has C_max ≤ A + 1
ProvedSchedComplexity.Shops.theorem_4i_equivalencejob-shopknapsacknp-completenessp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1scheduling
Let and be positive integers with , where . Consider the two-machine job shop with jobs in which item job () has the single operation on , and has machine order with processing times , , . Then
This is the equivalence in the proof of Theorem 4(i), which shows that KNAPSACK reduces to .
Formalization Note The report writes "we may assume that "; the theorem carries this, and the positivity of the data, as hypotheses. The report proves the forward direction with a schedule of value exactly ; the equivalence it concludes is with "value ", which is what is stated.
Preamble
import Mathlib import Definitions.Def_SchedComplexity_OneMachine_Knapsack import Definitions.Def_SchedComplexity_Shops_Constructions
Formal statement
namespace SchedComplexity.Shops
/-- Theorem 4(i), Brucker, Lenstra & Rinnooy Kan, Report BW 43/75, p. 16: for positive integers
`a_1, …, a_t`, `b` with `0 < b < A = ∑ a_j`, KNAPSACK has a solution iff the two-machine job shop
`constrI a b` (items on `M_1` with `p_j1 = a_j`; `J_n` with machine order `(M_2, M_1, M_2)` and
times `b, 1, A - b`) has a feasible schedule with `C_max ≤ y = A + 1`. -/
theorem theorem_4i_equivalence (a : List ℕ) (b : ℕ) (ha : ∀ v ∈ a, 0 < v) (hb : 0 < b)
(hbA : b < a.sum) :
SchedComplexity.OneMachine.KnapsackYes a b ↔ (constrI a b).HasScheduleLE (yI a) := by sorry
end SchedComplexity.Shops
Source
Brucker, Lenstra & Rinnooy Kan, Complexity of Machine Scheduling Problems, Mathematisch Centrum Report BW 43/75 (1975), p. 16, proof of Theorem 4(i)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.