Proof of Theorem 2.12.1 — the PARTITION project is feasible iff the sizes split evenly
ProvedProjSchedTW.Complexity.partitionProject_feasible_iffcomplexity-theorycumulative-resourcesp2o-batch-b23bp2o-gran-per-chapterp2o-plan-bookp2o-v1partitionproject-scheduling
Let with even, . Consider the project with activities of duration zero and one cumulative resource: , ,
and arcs with , and with (). Then its project network is acyclic, and
This is the correctness of the polynomial transformation from PARTITION in the proof of Theorem 2.12.1; the book remarks that the activities of start at time and those of at time .
Formalization Note The book's is an integer only for even sums, and demands are integers (p. 129); the evenness hypothesis makes that explicit (for odd sums no partition exists). Index is i - 1 : Fin ν for the sizes and activity i : Fin (ν + 2). Inventory constraints are required for every .
Preamble
import Mathlib import Definitions.Def_ProjSchedTW_Complexity_Encoding import Definitions.Def_ProjSchedTW_Complexity_Cumulative
Formal statement
namespace ProjSchedTW.Complexity
/-- Proof of Theorem 2.12.1 (p. 131): the project built from PARTITION sizes `s(1), …, s(ν)`
with even total size has an acyclic network, and it has a feasible schedule iff the index set
can be split into two parts of equal total size. -/
theorem partitionProject_feasible_iff {ν : ℕ} (s : Fin ν → ℕ) (hs : Even (∑ i, s i)) :
(partitionProject s).IsAcyclic ∧
((∃ S, (partitionProject s).Feasible S) ↔
∃ A : Finset (Fin ν), ∑ i ∈ A, s i = ∑ i ∈ Aᶜ, s i) := by sorry
end ProjSchedTW.Complexity
Source
Neumann, Schwindt & Zimmermann, Project Scheduling with Time Windows and Scarce Resources, 2nd ed., Springer 2003, p. 131, proof of Theorem 2.12.1, the PARTITION transformation ("Obviously, there is a feasible schedule if and only if …")
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.