Theorem 9.3 with (7) — is the optimal value of
ProvedTwoAgentSched.TotalTotal.theorem_9_3dynamic-programmingp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1schedulingtwo-agent
Consider a two-agent single-machine instance in which each agent's jobs are numbered in SPT order, and , and let . Let be the dynamic program (7) with its initialisation. Then is the optimal value of the constrained problem
in the following sense:
- iff no sequence of all jobs has ;
- if is finite, then some sequence with has , and every sequence with has .
This is the correctness half of Theorem 9.3: the problem is solved by a pseudopolynomial dynamic program.
Formalization Note The running time of Theorem 9.3 is not formalised. The SPT numbering of each agent's jobs is the paper's standing convention of §9 and is a hypothesis.
Preamble
import Mathlib import Definitions.Def_TwoAgentSched_TotalTotal_DP
Formal statement
namespace TwoAgentSched.TotalTotal
open MooreLateJobs.Shared
/-- Theorem 9.3 with recursion (7) (Agnetis et al. 2004, p. 238), correctness half: when each
agent's jobs are numbered in SPT order (`p^A_1 ≤ ⋯ ≤ p^A_{n_A}`, `p^B_1 ≤ ⋯ ≤ p^B_{n_B}`),
`F(n_A, n_B, Q)` is the optimal value of `1‖∑ C^A_i : ∑ C^B_i ≤ Q`:
1. `F(n_A, n_B, Q) = +∞` iff no sequence of all jobs has `∑ C^B_i ≤ Q`;
2. if `F(n_A, n_B, Q) = m` is finite, some sequence with `∑ C^B_i ≤ Q` has `∑ C^A_i = m`, and
every sequence with `∑ C^B_i ≤ Q` has `∑ C^A_i ≥ m`.
The running time `O(n_A n_B Q)` is not part of the statement. -/
theorem theorem_9_3 (I : Instance) (hA : Monotone I.pA) (hB : Monotone I.pB) (Q : ℕ) :
(I.dpF I.nA I.nB Q = ⊤ ↔
¬ ∃ l, IsSchedule Finset.univ l ∧ I.sumCB l ≤ (Q : ℝ)) ∧
∀ m : ℕ, I.dpF I.nA I.nB Q = (m : ℕ∞) →
(∃ l, IsSchedule Finset.univ l ∧ I.sumCB l ≤ (Q : ℝ) ∧ I.sumCA l = (m : ℝ)) ∧
∀ l, IsSchedule Finset.univ l → I.sumCB l ≤ (Q : ℝ) → (m : ℝ) ≤ I.sumCA l := by sorry
end TwoAgentSched.TotalTotal
Source
Agnetis, Mirchandani, Pacciarelli & Pacifici, Scheduling Problems with Two Competing Agents, Oper. Res. 52(2) (2004), p. 238, Theorem 9.3 with recursion (7)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.