Greed Works – Online Algorithms For Unrelated Machine Stochastic Scheduling 2: Greedy Assignment With Nominal Start Times Is (7.216 + 3.608Δ)h(Δ)-Competitive in the Online-Time ModelResearch Paper
Motivation
Scheduling jobs on parallel machines to minimize the total weighted completion time is a basic model of service and computing systems. Two features of practice are hard to combine with performance guarantees: jobs are not known in advance but arrive over time, and their processing times are random, with only their distributions known when they arrive. Machines are moreover often unrelated: a job's processing time distribution depends arbitrarily on the machine, and some jobs cannot run on some machines at all.
Gupta, Moseley, Uetz and Xie (arXiv:1703.01634, Math. Oper. Res. 2020) give the first performance guarantee for this combination: a simple greedy policy whose expected cost is within a factor depending only on the variability of the processing times of the best nonanticipatory policy, which knows all jobs in advance.
Timeline. For deterministic jobs arriving over time, Hall, Schulz, Shmoys and Wein (1997) gave an 8-competitive algorithm on unrelated machines. Megow, Uetz and Vredeveld (2006) introduced the stochastic online model and analysed greedy policies on identical machines with modified release dates. Skutella, Sviridenko and Uetz (2016) gave LP-based approximation algorithms for offline stochastic scheduling on unrelated machines, with guarantees linear in the squared coefficient of variation. The present paper (conference version IPCO 2017) treats the online, stochastic, unrelated case with release dates.
Setting
There is a finite set of machines and jobs . Job is released at an integer time , jobs are indexed so that , and job has weight . If job runs on machine its processing time is a random variable with values in ; on forbidden pairs the page writes , and every job has an allowed machine. On allowed pairs and the variance is finite. Different jobs are independent; one job's times on different machines need not be. The squared coefficient of variation is , and bounds it on every allowed pair.
A policy decides, for each job, a machine and a start time; jobs are nonpreemptive and a machine runs one job at a time. It is nonanticipatory if its decisions up to time use only what is known at : the processing time of a job is learned when the job completes. is the least expected cost of a nonanticipatory policy that knows all jobs, release dates and distributions in advance.
The greedy algorithm (§6.1) is first defined for deterministic times . On machine job gets the modified release date . On arrival, job is assigned to a machine minimizing an explicit upper bound on the increase of the objective (Definition 4), and each machine runs WSPT (largest first) among its jobs whose modified release dates have passed. Run on with it yields the nominal schedule . The stochastic greedy policy (§6.3) keeps and the nominal order on each machine, and starts the th job on machine at , never before its nominal start. Its expected cost is , and
Formalization targets
Goal: Theorem 4
The goal is stated against every admissible nonanticipatory policy, for every tie-breaking of the greedy algorithm.
Milestones
- Lemma 6: the deterministic greedy schedule has .
- Lemma 7, feasibility: with , the weight of jobs on machine released by and unfinished at , and the speed-scaled values (12), is feasible for the dual when , , .
- (13): for the time-indexed relaxations with release dates.
- Lemma 10: for and for .
- Lemma 8: for every job.
Significance
The result. Theorem 4 is the first constant-factor guarantee, for fixed , for stochastic online scheduling on unrelated machines with release dates, and it is achieved by a combinatorial policy that needs no LP solution. For deterministic jobs (, ) it gives a deterministic 7.216-competitive algorithm (Theorem 3), improving the ratio 8 of Hall et al.; for exponential processing times () the factor is . The order matches earlier offline results on unrelated machines and online results on identical machines.
Formalizing it. The result is proved on paper and has no machine-checked proof. A formalization needs nonanticipatory policies with machine choice, a time-indexed LP relaxation with countably many variables and its weak duality, and a dual-fitting argument. It also exposes a gap: the second sentence of Lemma 7, the bound , fails as printed. On one machine with jobs , , the greedy schedule has while . The step counts a job at integer slots, up to one more than . A complete proof of the goal has to close this gap.
Difficulty
Three parts are hard. First, the comparison is with an optimal adaptive policy, so the lower bound has to come from a relaxation that every nonanticipatory policy satisfies in expectation. Writing the time-indexed LP for policies that choose machines at start time, idle deliberately and start at real times, and showing it is a relaxation, requires nonanticipation and job independence to decouple a job's machine from its own processing time. Second, the dual fitting runs through a speed-scaled instance with a non-integer speed , so the dual's integer slots and the schedule's real times do not align; this is where the printed objective bound breaks. Third, the obvious stochastic policy, WSEPT list scheduling without forced idleness, fails: Remark 2 of the paper gives an instance where it has against . The analysis therefore has to work with deliberately delayed starts.
Formalization scope
Machines are a Fintype, Nonempty type; jobs are Fin n in release order. Processing times are ℕ-valued measurable functions on a probability space, with finite second moment and mean at least one on eligible pairs, and with jobs independent (iIndepFun over jobs of the machine-indexed vectors). Forbidden pairs are an eligibility relation, never a zero or junk mean. Release dates are natural numbers: the relaxation of §6.2 has integer slots , and (13) is false for a fractional release date. Weights are nonnegative; is any upper bound on the squared coefficients of variation, which is at least as strong as the page's maximum.
is never written as an infimum. The goal and (13) quantify over every admissible policy: a map from realizations to machines and real start times that is feasible (eligible machine, start at or after release, disjoint half-open processing intervals per machine), nonanticipatory, and has integrable completion times. A non-integrable comparator would have Bochner integral and would make the bound trivial or false; the integrability requirement rules this out. The greedy algorithm is a predicate on an outcome (assignment and start times): cost-minimal assignment, no start before the modified release date, no unnecessary idleness, and the WSPT priority. Every tie-breaking is covered, and the goal fixes . The stochastic policy is the recursion itself. LP feasibility includes summability of every series, and LP optima appear only through "for every feasible point there is a feasible point" statements.
A complete development needs: weak duality for / with countably many variables; the identity for the expected occupation variables of a nonanticipatory policy (reusable for any time-indexed stochastic scheduling relaxation); Lemma 10, a self-contained probability inequality; and the dual fitting. Contributions are welcome on each milestone and on a repaired objective bound for Lemma 7.
Selected references
- V. Gupta, B. Moseley, M. Uetz, Q. Xie, Greed Works – Online Algorithms For Unrelated Machine Stochastic Scheduling, Mathematics of Operations Research, 2020; arXiv:1703.01634v4. https://arxiv.org/abs/1703.01634, https://doi.org/10.1287/moor.2019.0999
- L. A. Hall, A. S. Schulz, D. B. Shmoys, J. Wein, Scheduling to minimize average completion time: off-line and on-line approximation algorithms, Mathematics of Operations Research 22:513–544, 1997. https://doi.org/10.1287/moor.22.3.513
- N. Megow, M. Uetz, T. Vredeveld, Models and algorithms for stochastic online scheduling, Mathematics of Operations Research 31(3):513–525, 2006. https://doi.org/10.1287/moor.1060.0201
- M. Skutella, M. Sviridenko, M. Uetz, Unrelated machine scheduling with stochastic processing times, Mathematics of Operations Research 41(3):851–864, 2016. https://doi.org/10.1287/moor.2015.0757