Scheduling Problems with Two Competing Agents 3: The Least-Cost Backward Rule Gives a Nondominated Schedule Minimizing Total Completion Time Under a Maximum-Cost BoundResearch Paper
Motivation
Many scheduling situations involve more than one decision maker sharing a resource. Two departments of a firm may share a machine shop, two clients may share a contractor, or two users may share a processor, and each cares only about how its own jobs are served. Agnetis, Mirchandani, Pacciarelli and Pacifici (Oper. Res. 52(2), 2004) introduced a systematic study of such two-agent scheduling problems. Their framework has two questions. The constrained problem asks for the best schedule for one agent among those that keep the other agent's cost below a bound. The Pareto problem asks for the schedules whose cost pair cannot be improved for one agent without hurting the other. The paper settles the complexity of these questions for the standard scheduling objectives and gave rise to a large literature on multi-agent scheduling (see the survey by Perez-Gonzalez and Framinan, EJOR 235, 2014).
This mission covers §5.2 of the paper: agent minimizes the total completion time of its jobs, and agent requires that the maximum of its jobs' regular costs stay below a bound .
Setting
Agent owns jobs and agent owns jobs . Job has a processing time . All jobs are available at time and are processed one at a time, without interruption, on a single machine. Because every objective here is nondecreasing in the completion times, the machine is never left idle, and a schedule is simply a sequence of all jobs; the completion time of a job is the total processing time of that job and the jobs before it. Write and for the total processing times of the two agents.
Agent 's objective is the total completion time . Each -job has a nondecreasing cost function , and agent 's objective is the maximum cost
Given a bound , a schedule is feasible for the problem if for every -job, and optimal if it is feasible and minimizes among feasible schedules. The instance is feasible if a feasible schedule exists. A schedule is nondominated if no schedule is at least as good for both agents and strictly better for one.
The paper solves the problem with a backward rule (Figure 1). Fill the sequence from the end. With the total length of the jobs not yet placed, place last any unplaced -job with . If there is none, place last a longest unplaced -job. If neither exists, the instance is infeasible. The least-cost variant of §5.2.1 chooses, among the -jobs, one minimizing over all unplaced -jobs. A B-block of a schedule is a maximal run of consecutive -jobs.
Formalization targets
Goal: Theorem 5.7
On a feasible instance with , every schedule produced by the least-cost variant, under any tie-breaking, satisfies
The nondominance is the printed theorem; the optimality is how the paper introduces , and rests on Theorem 5.5.
Milestones
- Lemma 5.3: if some -job has , some optimal schedule ends with and no optimal schedule ends with an -job.
- Lemma 5.4: if every -job has , every optimal schedule ends with a longest -job.
- Theorem 5.5 (correctness): on a feasible instance every schedule of Figure 1 is optimal, and Figure 1 runs to completion exactly on feasible instances.
- Lemma 5.6: all optimal schedules have the same partition of the -jobs into B-blocks, and each B-block occupies the same time interval in all of them.
Significance
Theorem 5.5 shows that the constrained problem with total completion time against a maximum cost is solvable by sorting, in contrast to its weighted version, which the same section shows NP-hard. Lemma 5.6 describes all optimal schedules: they agree on the completion times of the -jobs (up to permuting identical jobs) and on the B-blocks, and differ only inside each block. Theorem 5.7 turns this into a nondominated schedule. It is the building block for the Pareto problem of §11.2, where solving the constrained problem for a sequence of bounds enumerates the nondominated pairs.
The results are proved in the paper; none of them has a machine-checked proof that we know of. The mission formalizes the statements and asks for their proofs. The proof of Theorem 5.7 invokes "the very same proof of Lawler's algorithm (Lawler 1973) restricted to ", applied inside each B-block. Lawler's rule is a separate statement on the platform, LawlerPrec.MinMax.lawler_rule_optimal, currently open. A solver may prove it and adapt it, but the goal does not need it in that exact form.
Difficulty
The interchange arguments of Lemmas 5.3 and 5.4 are short. The obstacle is Lemma 5.6. Two optimal schedules can differ in which -job is placed at each step, and in the order of -jobs of equal length. The paper's argument compares the completion time of each -job across two optimal schedules and shows it cannot move earlier. That needs the fact that a -job finishing before an -job could not have been placed at that -job's completion time, which comes from applying Lemma 5.3 to a prefix of the schedule. Formalizing it requires restricting optimality to prefixes and sub-instances, which the bare sequence model does not provide. The tempting shortcut of proving Theorem 5.7 from Lawler's rule on the whole schedule fails, since the bound and agent 's objective change which jobs may be placed where; the reduction is only to one Lawler instance per block.
Formalization scope
Jobs are Fin nA ⊕ Fin nB (0-based). A schedule is a duplicate-free list of all jobs, with completion times from the published sequence model MooreLateJobs.Shared.completionTime (Moore 1968 series), which this mission reuses. Processing times are real and strictly positive. Without positivity the second claim of Lemma 5.3 fails, because a zero-length -job can sit anywhere. Cost functions are real-valued and nondecreasing, and is real (the paper's integer is a special case). Feasibility is stated job by job; is a finite maximum and requires , which the goal assumes. Lemma 5.4 assumes , since "a longest -job" presupposes one.
The paper's loose phrases are read as follows:
- "the algorithm" is a property of a finished sequence. At position , with the jobs at positions unplaced and their total length, the job at must be a choice the rule allows.
- "Ties are broken arbitrarily" means that every sequence satisfying the rule is covered.
- "no solution exists, STOP" leaves no allowed choice. Running to completion therefore means that some sequence satisfies the rule.
- "the optimal schedule generated in this way" puts optimality into the goal as a conclusion, not a hypothesis.
- "a longest A-job" is an -job of maximal length; when several are tied, no statement fixes which one.
- Nondominance quantifies over all schedules, not only those feasible for .
- A B-block's interval runs from the earliest start to the latest completion of its jobs.
The running times of Theorems 5.5 and 5.8 ( and ) are not formalized. Nor is the claim (3) inside the proof of Lemma 5.6.
A trivializing formalization is ruled out: feasibility of the instance is a hypothesis and not built into the rule, the rule constrains every position, and the goal asserts nondominance against all schedules.
Useful infrastructure includes interchange lemmas for the sequence model (moving one job to the end, swapping two jobs), restriction of a schedule to a prefix, and Lawler's rule for on a fixed time window. The interchange lemmas and the prefix restriction are reusable across the whole two-agent series.
Selected references
- A. Agnetis, P. B. Mirchandani, D. Pacciarelli, A. Pacifici, Scheduling Problems with Two Competing Agents, Operations Research 52(2), 229–242, 2004. https://doi.org/10.1287/opre.1030.0092
- E. L. Lawler, Optimal Sequencing of a Single Machine Subject to Precedence Constraints, Management Science 19(5), 544–546, 1973. https://doi.org/10.1287/mnsc.19.5.544
- J. M. Moore, An n Job, One Machine Sequencing Algorithm for Minimizing the Number of Late Jobs, Management Science 15(1), 102–109, 1968. https://doi.org/10.1287/mnsc.15.1.102
- R. L. Graham, E. L. Lawler, J. K. Lenstra, A. H. G. Rinnooy Kan, Optimization and Approximation in Deterministic Sequencing and Scheduling: A Survey, Annals of Discrete Mathematics 5, 287–326, 1979. https://doi.org/10.1016/S0167-5060(08)70356-X
- P. Perez-Gonzalez, J. M. Framinan, A common framework and taxonomy for multicriteria scheduling problems with interfering and competing jobs: Multi-agent scheduling problems, European Journal of Operational Research 235(1), 1–16, 2014. https://doi.org/10.1016/j.ejor.2013.09.017