Theorems 10.1 and 10.2 — and are NP-hard
ProvedTwoAgentSched.Shops.theorems_10_1_10_2Theorems 10.1 and 10.2 of Agnetis, Mirchandani, Pacciarelli and Pacifici: the two-agent problems in which both agents minimize their own makespan, in the two-machine flow shop and in the two-machine open shop, are NP-hard, in the form proved in the paper:
Here PARTITION asks whether a list of nonnegative integers splits into two parts of equal sum, the targets are the recognition problems "is there a feasible schedule in which every A-job completes by and every B-job by ?", every number is written in binary, and is polynomial-time many-one reducibility (a polynomial-time computable map of codes that sends yes-instances to yes-instances and no-instances to no-instances).
Since the source problem is NP-complete in the ordinary sense, the two shop problems are NP-hard already when each agent only wants to finish its own jobs early, and the B-agent owns a single job.
Formalization Note NP-membership is not formalized. The target languages hold codes of instances with natural-number processing times and thresholds; start times are real. The paper's constructions have rational data (, ); a reduction scales them to integers. Theorem 10.1's printed equivalence holds only for even (and or ), so a reduction treats the remaining cases separately.
import Mathlib import Definitions.Def_TwoAgentSched_Shops_Model
namespace TwoAgentSched.Shops
open CookPvsNP ProjSchedTW.Complexity
/-- Theorems 10.1 and 10.2 (Agnetis, Mirchandani, Pacciarelli & Pacifici 2004, pp. 238–239):
`F2‖C^A_max : C^B_max` and `O2‖C^A_max : C^B_max` are NP-hard, in the form proved there: PARTITION
is polynomial-time many-one reducible to the recognition problem
`F2‖C^A_max ≤ Q_A, C^B_max ≤ Q_B` and to `O2‖C^A_max ≤ Q_A, C^B_max ≤ Q_B`, all languages coded
in binary over `BSym`. -/
theorem theorems_10_1_10_2 :
PolyReducible partitionLang flowLang ∧ PolyReducible partitionLang openLang := by sorry
end TwoAgentSched.Shops
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.