Theorem 4(f) — KNAPSACK has a solution iff the constructed instance has
ProvedSchedComplexity.OneMachine.theorem_4f_equivalenceknapsacklate-jobsnp-completenessp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1schedulingsingle-machine
Let be positive integers with , and take the instance of reductions (c) and (f): jobs with unit weights, the jobs released at with , , and the last job released at with , . Then
that is, with no late job. This is the equivalence behind KNAPSACK with threshold ; the paper states (c) and (f) with one construction.
Formalization Note As in (c), is the proof's standing assumption (p. 16), idle time is allowed, and the paper's "Cf. reduction (i) and Figure 4" is made explicit as this equivalence over all feasible schedules.
Preamble
import Mathlib import Definitions.Def_SchedComplexity_OneMachine_Knapsack import Definitions.Def_SchedComplexity_OneMachine_Constructions
Formal statement
namespace SchedComplexity.OneMachine
/-- Theorem 4(f), equivalence (Brucker, Lenstra & Rinnooy Kan, Report BW 43/75, p. 17): for
positive integers `a_1, …, a_t, b` with `0 < b < A = ∑ a_j`, KNAPSACK has a solution iff the
constructed `n|1|r_n≥0,w_j=1|∑w_jU_j` instance (the construction of (c), unit weights) has a
feasible schedule with `∑ w_j U_j ≤ y = 0`. -/
theorem theorem_4f_equivalence (a : List ℕ) (b : ℕ) (ha : ∀ v ∈ a, 0 < v) (hb : 0 < b)
(hbA : b < a.sum) :
KnapsackYes a b ↔
∃ B, (instCF a b).IsFeasible B ∧ (instCF a b).sumWU B ≤ 0 := by sorry
end SchedComplexity.OneMachine
Source
Brucker, Lenstra & Rinnooy Kan, Complexity of Machine Scheduling Problems, Mathematisch Centrum Report BW 43/75 (1975), p. 17, Theorem 4(f)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.