§4 — if all A-jobs are scheduled and no B-job can be scheduled last, the instance is infeasible
ProvedTwoAgentSched.MaxMax.stuck_infeasiblefeasibilityp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1schedulingtwo-agent
Let the processing times be nonnegative and every cost function nondecreasing. Suppose that, at some point of the backward algorithm of §4, the set of unscheduled jobs is nonempty and contains no A-job, and that no B-job of can be scheduled last: with
every B-job has . Then the problem has no feasible schedule.
This is the stopping rule of the algorithm: it justifies declaring the instance infeasible when the rule cannot place a job.
Formalization Note The set is an arbitrary nonempty set of B-jobs; the statement does not require to arise from a run of the algorithm, which makes it apply to every such state.
Preamble
import Mathlib import Definitions.Def_TwoAgentSched_MaxMax_Model
Formal statement
namespace TwoAgentSched.MaxMax
/-- §4, the stopping rule of the backward algorithm (Agnetis et al. 2004, p. 232): "If, at a
certain point in the algorithm, all A-jobs have been scheduled and no B-job can be scheduled
last, the instance is not feasible." Let `U` be a nonempty set of unscheduled jobs containing no
A-job, and `τ̄ = Σ_{j ∈ U} p_j`. If every B-job `k ∈ U` has `f^B_k(τ̄) > Q`, then
`1‖f^A_max : f^B_max ≤ Q` has no feasible schedule. -/
theorem stuck_infeasible {nA nB : ℕ} (p : Job nA nB → ℝ) (hp : ∀ j, 0 ≤ p j)
(fB : Fin nB → ℝ → ℝ) (hfB : ∀ k, Monotone (fB k)) (Q : ℝ)
(U : Finset (Job nA nB)) (hU : U.Nonempty) (hUA : ∀ h : Fin nA, Sum.inl h ∉ U)
(hUB : ∀ k : Fin nB, Sum.inr k ∈ U → Q < fB k (∑ j ∈ U, p j)) :
¬ ∃ l : List (Job nA nB), IsFeasible p fB Q l := by sorry
end TwoAgentSched.MaxMax
Source
Agnetis, Mirchandani, Pacciarelli & Pacifici, Scheduling Problems with Two Competing Agents, Oper. Res. 52(2) (2004), p. 232, §4, the algorithm paragraph, last sentence ("If, at a certain point in the algorithm, all A-jobs have been scheduled and no B-job can be scheduled last, the instance is not feasible.")
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.