Abstract
Makespan minimization on identical machines is a fundamental problem in online scheduling. The goal is to assign a sequence of jobs to m identical parallel machines so as to minimize the maximum completion time of any job. Already in the 1960s, Graham showed that Greedy is \((21/m)\)competitive. The best deterministic online algorithm currently known achieves a competitive ratio of 1.9201. No deterministic online strategy can obtain a competitiveness smaller than 1.88. In this paper, we study online makespan minimization in the popular randomorder model, where the jobs of a given input arrive as a random permutation. It is known that Greedy does not attain a competitive factor asymptotically smaller than 2 in this setting. We present the first improved performance guarantees. Specifically, we develop a deterministic online algorithm that achieves a competitive ratio of 1.8478. The result relies on a new analysis approach. We identify a set of properties that a random permutation of the input jobs satisfies with high probability. Then we conduct a worstcase analysis of our algorithm, for the respective class of permutations. The analysis implies that the stated competitiveness holds not only in expectation but with high probability. Moreover, it provides mathematical evidence that job sequences leading to higher performance ratios are extremely rare, pathological inputs. We complement the results by lower bounds, for the randomorder model. We show that no deterministic online algorithm can achieve a competitive ratio smaller than 4/3. Moreover, no deterministic online algorithm can attain a competitiveness smaller than 3/2 with high probability.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
We study one of the most basic scheduling problems. Consider a sequence of jobs \( {{\mathcal{J}}} = J_1, \ldots, J_n \) that has to be assigned to m identical parallel machines. Each job \(J_t\) has an individual processing time \(p_t\), \(1\le t\le n\). Preemption of jobs is not allowed. The goal is to minimize the makespan, i.e. the maximum completion time of any job in the constructed schedule. Both the offline and online variants of this problem have been studied extensively, see e.g. [4, 11, 14, 19, 21, 34] and references therein.
We focus on the online setting, where jobs arrive one by one. Whenever a job \(J_t\) is presented, its processing time \(p_t\) is revealed. The job has to be scheduled immediately on one of the machines without knowledge of any future jobs \(J_s\), with \(s>t\). Given a job sequence \({{\mathcal {J}}}\), let \(A({{\mathcal {J}}})\) denote the makespan of an online algorithm A on \({{\mathcal {J}}}\). Let \({ O PT}({{\mathcal {J}}})\) be the optimum makespan. A deterministic online algorithm A is ccompetitive if \(A({{\mathcal {J}}}) \le c\cdot { O PT}({{\mathcal {J}}})\) holds for all \({{\mathcal {J}}}\) [39]. The best competitive ratio that can be achieved by deterministic online algorithms is in the range [1.88, 1.9201], see 14, 35. No randomized online algorithm is known that beats deterministic ones, for general m.
In this paper we investigate online makespan minimization in the randomorder model. Here an input instance/job sequence is chosen by an adversary. Then a random permutation of the input elements/jobs arrives. The randomorder model was considered by Dynkin [10] and Lindley [29] for the secretary problem. Over the last years the framework has received quite some research interest and many further problems have been studied. These include generalized secretary problems [2, 3, 13, 28, 29], the knapsack problem [2, 28], bin packing [26], facility location [31], matching problems [17, 22, 30], packing LPs [27] and convex optimization [20].
We present an indepth study of online makespan minimization in the randomorder model. As a main contribution we devise a new deterministic online algorithm that achieves a competitive ratio of 1.8478. After almost 20 years this is the first progress for the pure online setting, where an algorithm does not resort to extra resources in handling a job sequence.
1.1 Previous Work
We review the most important results relevant to our work and first address the standard setting where an online algorithm must schedule an arbitrary, worstcase job sequence. Graham in 1966 showed that the famous Greedy algorithm, which assigns each job to a least loaded machine, is \((2{1\over m})\)competitive. Using new deterministic strategies the competitiveness was improved in a series of papers. Galambos and Woeginger [15] gave an algorithm with a competitive ratio of \((2{1\over m}\epsilon _m)\), where \(\epsilon _m\) tends to 0 as \(m\rightarrow \infty\). Bartal et al. [4] devised a 1.986competitive algorithm. The bound was improved to 1.945 [23] and 1.923 [1]. Fleischer and Wahl [14] presented an algorithm that attains a competitive ratio of 1.9201 as \(m\rightarrow \infty\). Chen et al. [7] gave an algorithm whose competitiveness is at most \(1+\varepsilon\) times the best possible factor, but no explicit bound was provided. Lower bounds on the competitive ratio of deterministic online algorithms were shown in [1, 5, 12, 18, 35, 36]. For general m, the bound was raised from 1.707 [12] to 1.837 [5] and 1.854 [18]. Rudin [35] showed that no deterministic strategy has a competitiveness smaller than 1.88.
For randomized online algorithms, there is a significant gap between the best known upper and lower bounds. For \(m=2\) machines, Bartal et al. [4] presented an algorithm that achieves an optimal competitive ratio of 4/3. To date, there exists no randomized algorithm whose competitiveness is smaller than the deterministic lower bound, for general m. The best known lower bound on the performance of randomized online algorithms tends to \(e/(e1)\approx 1.581\) as \(m\rightarrow \infty\) [6, 38].
Recent research on makespan minimization has examined settings where an online algorithm is given extra resources when processing a job sequence. Specifically, an algorithm might have a buffer to reorder the incoming job sequence [11, 25] or is allowed to migrate jobs [37]. Alternatively, an algorithm has information on the job sequence [8, 9, 24, 25], e.g. it might know the total processing time of the jobs or even the optimum makespan.
In the randomorder model only one result is known for makespan minimization on identical machines. Osborn and Torng [33] showed that Greedy does not achieve a competitive ratio smaller than 2 as \(m\rightarrow \infty\). Recently Molinaro [32] studied online load balancing with the objective to minimize the \(l_p\)norm of the machine loads. He considers a general scenario with machinedependent job processing times, which are bounded by 1. For makespan minimization he presents an algorithm that, in the worst case, is \(O(\log m/\varepsilon )\)competitive and, in the randomorder model, has an expected makespan of \((1+\varepsilon ) { O PT}({{\mathcal {J}}}) + O(\log m/\varepsilon )\), for any \(\varepsilon \in (0,1]\). Göbel et al. [16] consider a scheduling problem on one machine where the goal is to minimize the average weighted completion time of all jobs. Under randomorder arrival, their competitive ratio is logarithmic in n, the number of jobs, for the general problem and constant if all jobs have processing time 1.
1.2 Our Contribution
We investigate online makespan minimization in the randomorder model, a sensible and widely adopted input model to study algorithms beyond the worst case. Specifically, we develop a new deterministic algorithm that achieves a competitive ratio of 1.8478 as \(m\rightarrow \infty\). This is the first improved performance guarantee in the randomorder model. The competitiveness is substantially below the best known ratio of 1.9201 in the worstcase setting and also below the corresponding lower bound of 1.88 in that framework.
A new feature of our algorithm is that it schedules an incoming job on one of three candidate machines in order to maintain a certain load profile. The best strategies in the worstcase setting use two possible machines, and it is not clear how to take advantage of additional machines in that framework. The choice of our third, extra machine is quite flexible: An incoming job is placed either on a least loaded, a heavily loaded or—as a new option—on an intermediate machine. The latter one is the \((h+1)\)st least loaded machine, where h may be any integer with \(h \in \omega (1)\) and \(h\in o(\sqrt{m})\).
When assigning a job to a machine different from the least loaded one, an algorithm has to ensure that the resulting makespan does not exceed c times the optimum makespan, for the targeted competitive ratio c. All previous strategies in the literature lower bound the optimum makespan by the current average load on the machines. Our new algorithm works with a refined lower bound that incorporates the processing times of the largest jobs seen so far. The lower bound is obvious but has not been employed by previous algorithms.
The analysis of our algorithm proceeds in two steps. First we define a class of stable job sequences. These are sequences that reveal information on the largest jobs as processing volume is scheduled. More precisely, once a certain fraction of the total processing volume \(\sum _{t=1}^n p_t\) has arrived, one has a good estimate on the hth largest job and has encountered a certain number of the \(m+1\) largest jobs in the input. The exact parameters have to be chosen carefully.
We prove that with high probability, a random permutation of a given input of jobs is stable. We then conduct a worstcase analysis of our algorithm on stable sequences. Using their properties, we show that if the algorithm generates a flat schedule, like Greedy, and can be hurt by a huge job, then the input must contain many large jobs so that the optimum makespan is also high. A new ingredient in the worstcase analysis is the processing time of the hth largest job in the input. We will relate it to machine load in the schedule and to the processing time of the \((m+1)\)st largest job; twice the latter value is a lower bound on the optimum makespan.
The analysis implies that the competitive ratio of 1.8478 holds with high probability. Input sequences leading to higher performance ratios are extremely rare. We believe that our analysis approach might be fruitful in the study of other problems in the randomorder model: Identify properties that a random permutation of the input elements satisfies with high probability. Then perform a worstcase analysis.
Finally in this paper we devise lower bounds for the randomorder model. We prove that no deterministic online algorithm achieves a competitive ratio smaller than 4/3. Moreover, if a deterministic online algorithm is ccompetitive with high probability, then \(c\ge 3/2\).
2 Strong Competitiveness in the RandomOrder Model
We define competitiveness in the randomorder model and introduce a stronger measure of competitiveness that implies highprobability bounds. Recall that traditionally a deterministic online algorithm A is ccompetitive if \(A({{\mathcal {J}}})\le c \cdot OPT({{\mathcal {J}}})\) holds for all job sequences \({{\mathcal {J}}} = J_1, \ldots , J_n\). We will refer to this worstcase model also as the adversarial model.
In the randomorder model a job sequence \({{\mathcal {J}}} = J_1, \ldots , J_n\) is given, which may be specified by an adversary. (Alternatively, a set of jobs could be specified.) Then a random permutation of the jobs arrives. We define the expected cost / makespan of a deterministic online algorithm. Let \(S_n\) be the permutation group of the integers from 1 to n, which we consider a probability space under the uniform distribution, i.e. each permutation in \(S_n\) is chosen with probability 1/n!. Given \(\sigma \in S_n\), let \({{\mathcal {J}}}^{\sigma } = J_{\sigma (1)},\ldots , J_{\sigma (n)}\) be the job sequence permuted by \(\sigma\). The expected makespan of A on \({{\mathcal {J}}}\) in the randomorder model is \(A^\text {rom}({{\mathcal {J}}}) = \mathbf {E} _{\sigma \sim S_n}[A({{\mathcal {J}}}^\sigma )] = {1\over n!} \sum _{\sigma \in S_n} A({{\mathcal {J}}}^\sigma )\). The algorithm A is ccompetitive in the randomorder model if \(A^\text {rom}({{\mathcal {J}}})\le c \cdot OPT({{\mathcal {J}}})\) holds for all job sequences \({{\mathcal {J}}}\).
We next define the notion of a deterministic online algorithm A being nearly ccompetitive. The second condition in the following definition requires that the probability of A not meeting the desired performance ratio must be arbitrarily small as m grows and a random permutation of a given job sequence arrives. The subsequent Lemma 1 states that a nearly ccompetitive algorithm is ccompetitive in the randomorder model.
Definition 1
A deterministic online algorithm A is called nearly ccompetitive if the following two conditions hold.

Algorithm A achieves a constant competitive ratio in the adversarial model.

For every \(\varepsilon >0\), there exists an \(m(\varepsilon )\) such that for all machine numbers \(m \ge m(\varepsilon )\) and all job sequences \({{\mathcal {J}}}\) there holds \(\mathbf {P} _{\sigma \sim S_n} [A({{\mathcal {J}}}^\sigma ) \ge (c+\varepsilon ) OPT({{\mathcal {J}}})] \le \varepsilon\).
Lemma 1
If a deterministic online algorithm is nearly ccompetitive, then it is ccompetitive in the randomorder model as \(m\rightarrow \infty\).
Proof
Let C be the constant such that A is Ccompetitive in the adversarial model. We may assume that \(C>c\). Given \(0<\delta \le Cc\), we show that there exists an \(m(\delta )\) such that, for all \(m\ge m(\delta )\), we have \(A^\text {rom}({{\mathcal {J}}})\le (c+\delta ) OPT({{\mathcal {J}}})\) for every job sequences \({{\mathcal {J}}}\). Let \(\varepsilon = \delta /(Cc+1)\). Since A is nearly ccompetitive, there exists an \(m(\varepsilon )\) such that, for all \(m\ge m(\varepsilon )\) and all inputs \({{\mathcal {J}}}\), there holds \(P_{\varepsilon }({{\mathcal {J}}}) =\mathbf {P} _{\sigma \sim S_n} [A({{\mathcal {J}}}^\sigma ) \ge (c+\varepsilon ) OPT({{\mathcal {J}}})] \le \varepsilon\). Set \(m(\delta ) = m(\varepsilon )\). We obtain
\(\square\)
3 Description of the New Algorithm
The deficiency of Greedy is that it tends to generate a flat, balanced schedule in which all the machines have approximately the same load. An incoming large job can then enforce a high makespan relative to the optimum one. It is thus crucial to try to avoid flat schedules and maintain steep schedules that exhibit a certain load imbalance among the machines.
However, in general, this is futile. Consider a sequence of m identical jobs with a processing time of, say, \(P_{m+1}\) (referring to the size of the \((m+1)\)st largest job in an input). Any online algorithm that is better than 2competitive must schedule these m jobs on separate machines, obtaining the flattest schedule possible. An incoming even larger job of processing time \(p_\mathrm {max}\) will now enforce a makespan of \(P_{m+1}+p_\mathrm {max}\). Observe that \({\mathrm {OPT}}\ge \max \{2P_{m+1},p_\mathrm {max}\}\) since there must be one machine containing two jobs. In particular \(P_{m+1}+p_\mathrm {max}\le 1.5{\mathrm {OPT}}\). Hence sensible online algorithms do not perform badly on this sequence.
This example summarizes the quintessential strategy of online algorithms that are good on all sequences: Ensure that in order to create a schedule that is very flat, i.e. such that all machines have high load \(\lambda\), the adversary must present m jobs that all are large relative to \(\lambda\). In order to exploit this very flat schedule and cause a high makespan the adversary needs to follow up with yet another large job. But with these \(m+1\) jobs, the optimum scheduler runs into the same problem as in the example: Of the \(m+1\) large jobs, two have to be scheduled on the same machine. Thus the optimum makespan is high, compensating to the high makespan of the algorithm.
Effectively realizing the aforementioned strategy is highly nontrivial. In fact it is the central challenge in previous works on adversarial makespan minimization that improve upon Greedy [1, 4, 14, 15, 23]. These works gave us clear notions of how to avoid flat schedules, which form the basis for our approaches. Instead of simply rehashing these ideas, we want to outline next how we profit from randomorder arrival in particular.
3.1 How RandomOrder Arrival Helps
The first idea to profit from randomorder arrival addresses the lower bound on \({\mathrm {OPT}}\) sophisticated online algorithms need. In the literature only the current average load has been considered, but under randomorder arrival another bound comes to mind: The largest job seen so far. In order for an algorithm to perform badly, a large job needs to come close to the end of the sequence. Under randomorder arrival, it is equally likely for such a job to arrive similarly close to the beginning of the sequence. In this case, the algorithm knows a better lower bound for \({\mathrm {OPT}}\). The main technical tool will be our Load Lemma, which allows us to relate what a job sequence should reveal early from an analysis perspective to the actual fraction of jobs scheduled. This idea does not work for worstcase orders since they tend to order jobs by increasing processing times.
Recall that the general challenge of our later analysis will be to establish that there had to be m large jobs once the schedule gets very flat. In classical analyses, which consider worstcase orders, these jobs appear with increasing density towards the end of the sequence. In random orders this is unlikely, which can be exploited by the algorithm.
The third idea improves upon the first idea. Suppose, that we were to modify our algorithm such that it could handle one very large job arriving close to the end of the sequence. In fact, assume that it could only perform badly when confronted with h very large jobs. We can then disregard any sequence which contains fewer such jobs. Recall that the first idea requires one very large job to arrive sufficiently close to the beginning. Now, as h grows, the probability of the latter event grows as well and approaches 1. This will not only improve our competitive ratio tremendously, it also allows us to adhere to the stronger notion of nearly competitiveness introduced in Sect. 2. Let us discuss how such a modification is possible: The first step is to design our algorithm in a way that it is reluctant to use the h least loaded machines. Intuitively, if the algorithm tries to retain machines of small load it will require very large jobs to fill them. In order to force these filling jobs to actually be large enough, our algorithm needs to use a very high lower bound for \({\mathrm {OPT}}\). In fact, here it uses another lower bound for the optimum makespan, \(2P_{m+1}^t\), twice the \((m+1)\)st largest job seen so far at time t. Common analysis techniques can only make predictions about \(P_{m+1}^t\) at the very end of the sequence. It requires very subtle use of the randomorder model to work around this.
3.2 Formal Definition
Formally our algorithm \({ A LG}\) is nearly ccompetitive, where c is the unique real root of the polynomial \(Q[x] = 4x^314x^2+16x 7\), i.e.
Given \({{\mathcal {J}}}\), \({ A LG}\) schedules a job sequence/permutation \({{\mathcal {J}}}^\sigma = J_{\sigma (1)}, \ldots , J_{\sigma (n)}\) that must be scheduled in this order. Throughout the scheduling process \({ A LG}\) always maintains a list of the machines sorted in nonincreasing order of current load. At any time the load of a machine is the sum of the processing times of the jobs already assigned to it. After \({ A LG}\) has processed the first \(t1\) jobs \(J_{\sigma (1)},\ldots , J_{\sigma (t1)}\), we also say at time t, let \(M_1^{t1}, \ldots , M_m^{t1}\) be any ordering of the m machines according to nonincreasing load. More specifically, let \(l_j^{t1}\) denote the load of machine \(M_j^{t1}\). Then \(l_1^{t1}\ge \ldots \ge l_m^{t1}\) and \(l_1^{t1}\) is the makespan of the current schedule.
\({ A LG}\) places each incoming job \(J_{\sigma (t)}\), \(1\le t \le n\), on one of three candidate machines. The choice of one machine, having an intermediate load, is flexible. Let \(h=h(m)\) be an integer with \(h(m)\in \omega (1)\) and \(h(m)\in o(\sqrt{m})\). We could use e.g. \(h(m) = \lfloor \root 3 \of {m} \rfloor\) or \(h(m) = \lfloor \log m \rfloor\). Let^{Footnote 1}
\({ A LG}\) will assign the incoming job to the machine with the smallest load, the \((h+1)\)st smallest load or the ith largest load.
When scheduling a job on a machine that is different from the least loaded one, an algorithm has to ensure that the resulting makespan does not exceed \(c^*\) times the optimum makespan, where \(c^*\) is the desired competitiveness. All previous algorithms lower bound the optimum makespan by the current average machine load. Algorithm \({ A LG}\) works with a refined lower bound that incorporates the processing time of the largest job and twice the processing time of the \((m+1)\)st largest job seen so far. These lower bounds on the optimum makespan are immediate but have not been used in earlier strategies.
Formally, for \(j=1,\ldots , m\), let \(L_j^t\) be the average load of the \(mj+1\) least loaded machines \(M_j^t, \ldots , M_m^t\), i.e. \(L_j^t = {1\over mj+1} \sum _{r=j}^m l_r^t\). We let \(L^t = L_1^t = {1\over m } \sum _{s=1}^t p_s\) be the average load of all the machines. For any \(j=1,\ldots , n\), let \(P_j^t\) be the processing time of the jth largest job among the first t jobs \(J_{\sigma (1)}, \ldots , J_{\sigma (t)}\) in \({{\mathcal {J}}}^\sigma\). If \(t<j\), we set \(P_j^t = 0\). We let \(p^t_{\max } = P_1^t\) be the processing time of the largest job among the first t jobs in \({{\mathcal {J}}}^\sigma\). Finally, let \(L =L^n\), \(P_j = P_j^n\) and \(p_{\max } = p_{\max }^n\).
The value \(O^t = \max \{L^t, p_{\max }^t, 2P_{m+1}^t\}\) is a common lower bound on the optimum makespan for the first t jobs and hence \(OPT({{\mathcal {J}}})\), see Proposition 1 in the next section. Note that immediately before \(J_{\sigma (t)}\) is scheduled, \({ A LG}\) can compute \(L^t\) and hence \(O^t\) because \(L^t\) is 1/m times the total processing time of the jobs that have arrived so far.
We next characterize load imbalance. Let
and
The schedule at time t is the one immediately before \(J_{\sigma (t)}\) has to be assigned. The schedule is flat if \(l_k^{t1} < \alpha L_{i+1}^{t1}\), i.e. if \(l_k^{t1}\), the load of the kth most loaded machine, does not exceed \(L_{i+1}^{t1}=\frac{1}{mi}\sum _{r=i+1}^m l_r^{t1}\), the average load of the \(mi\) least loaded machines, by a factor of at least \(\alpha\) . Otherwise the schedule is steep. Job \(J_{\sigma (t)}\) is scheduled flatly (steeply) if the schedule at time t is flat (steep).
\({ A LG}\) handles each incoming job \(J_{\sigma (t)}\), with processing time \(p_{\sigma (t)}\), as follows. If the schedule at time t is steep, the job is placed on the least loaded machine \(M_m^{t1}\). On the other hand, if the schedule is flat, the machines \(M_i^{t1}\), \(M_{mh}^{t1}\) and \(M_m^{t1}\) are probed in this order. If \(l_i^{t1} + p_{\sigma (t)} \le c\cdot O^t\), then the new machine load on \(M_i^{t1}\) will not violate the desired competitiveness. The job is placed on this machine \(M_i^{t1}\). Otherwise, if the latter inequality is violated, \({ A LG}\) checks if a placement on \(M_{mh}^{t1}\) is safe, i.e. if \(l_{mh}^{t1} + p_{\sigma (t)} \le c\cdot O^t\). If this is the case, the job is put on \(M_{mh}^{t1}\). Otherwise, \(J_{\sigma (t)}\) is finally scheduled on the least loaded machine \(M_m^{t1}\). A pseudocode description of \(ALG\) is given below in Algorithm 1. The job assignment rules are also illustrated in Figs. 1 and 2.
In the next section we will prove the following theorem, Theorem 1, which uses the notion from Sect. 2. Lemma 1 then immediately gives the main result, Corollary 1.
Theorem 1
\({ A LG}\) is nearly ccompetitive, with \(c<1.8478\) defined as above.
Corollary 1
\({ A LG}\) is ccompetitive in the randomorder model as \(m\rightarrow \infty\).
4 Analysis of the Algorithm
4.1 Analysis Basics
We present some results for the adversarial model so that we can focus on the true randomorder analysis of \(ALG\) in the next sections. First, recall the three common lower bounds used for online makespan minimization.
Proposition 1
For any \({{\mathcal {J}}}\), there holds \(OPT({{\mathcal {J}}}) \ge \max \{L,p_{\max }, 2P_{m+1}\}\). In particular, \(O^1\le O^2\le \ldots \le O^n \le OPT({{\mathcal {J}}})\).
Proof
The optimum makespan \(OPT({{\mathcal {J}}})\) cannot be smaller than the average machine load L for the input, even if all the jobs are distributed evenly among the m machines. Moreover, the job with the largest processing time \(p_{\max }\) must be scheduled nonpreemptively on one of the machines in an optimal schedule. Thus \(OPT({{\mathcal {J}}}) \ge p_{\max }\). Finally, among the \(m+1\) largest jobs of the input, two must be placed on the same machine in an optimal solution. Hence \(OPT({{\mathcal {J}}}) \ge 2P_{m+1}\). \(\square\)
For any job sequence \({{\mathcal {J}}} = J_1, \ldots , J_n\), let \(R ({{\mathcal {J}}}) = \min \{{L\over p_{\max }}, {p_{\max }\over L}\}\). Intuitively, this measures the complexity of \({\mathcal {J}}\).
Proposition 2
There holds \(Alg ({{\mathcal {J}}}) <= \max \{1+R({{\mathcal {J}}}),c\} OPT({{\mathcal {J}}})\) for any \({{\mathcal {J}}} = J_1,\ldots , J_n\).
Proof
Let \({{\mathcal {J}}} = J_1,\ldots , J_n\) be an arbitrary job sequence and let \(J_t\) be the job that defines \(ALG\)’s makespan. If the makespan exceeds \(c\cdot OPT({{\mathcal {J}}})\), then it exceeds \(c\cdot O^t\). Thus \(ALG\) placed \(J_t\) on machine \(M_m^{t1}\), cf. lines 4 and 5 of the algorithm. This machine was a least loaded one, having a load of at most L. Hence \(ALG ({{\mathcal {J}}}) \le L+p_t\le L+p_{\max } \le {L+p_{\max } \over \max \{L,p_{\max }\}} \cdot OPT({{\mathcal {J}}}) = (1 + R({{\mathcal {J}}})) \cdot OPT({{\mathcal {J}}})\). \(\square\)
Since \(R({{\mathcal {J}}}) \le 1\) we immediately obtain the following result, which ensures that \(ALG\) satisfies the first condition of a nearly ccompetitive algorithm, see Definition 1.
Corollary 2
\(ALG\) is 2competitive in the adversarial model.
We next identify a class of plain job sequences that we do not need to consider in the randomorder analysis because \(ALG\)’s makespan is upper bounded by c times the optimum on these inputs.
Definition 2
A job sequence \({{\mathcal {J}}} = J_1,\ldots , J_n\) is called plain if \(n\le m\) or if \(R({{\mathcal {J}}}) \le c1\). Otherwise it is called proper.
Let \({{\mathcal {J}}} = J_1,\ldots , J_n\) be any job sequence that is processed/scheduled in this order. Observe that if it contains at most m jobs, i.e. \(n\le m\), and \(ALG\) cannot place a job \(J_t\) on machines \(M_i^{t1}\) or \(M_{mh}^{t1}\) because the resulting load would exceed \(c\cdot O^t\), then the job is placed on an empty machine. Using Proposition 2 we derive the following fact.
Lemma 2
There holds \(ALG ({{\mathcal {J}}}) \le c \cdot OPT({{\mathcal {J}}})\) for any plain job sequence\({{\mathcal {J}}} = J_1,\ldots , J_n\).
If a job sequence \({{\mathcal {J}}}\) is plain (proper), then every permutation of it is. Hence, given Lemma 2, we may concentrate on proper job sequences in the remainder of the analysis. We finally state a fact that relates to the second condition of a nearly ccompetitive algorithm, see again Definition 1.
Lemma 3
Let \({{\mathcal {J}}} = J_1,\ldots , J_n\) be any job sequence that is scheduled in this order and let \(J_t\) be a job that causes \(ALG\)’s makespan to exceed \((c+\varepsilon )OPT({{\mathcal {J}}})\), for some \(\epsilon \ge 0\). Then both the load of \(ALG\)’s least loaded machine at the time of the assignment as well as \(p_t\) exceed \((c1+\varepsilon )OPT({{\mathcal {J}}})\).
Proof
\(ALG\) places \(J_t\) on machine \(M_m^{t1}\), which is a least loaded machine when the assignment is done. If \(l_m^{t1}\) or \(p_t\) were upper bounded by \((c1+\varepsilon )OPT({{\mathcal {J}}})\), then the resulting load would be \(l_m^{t1} + p_t \le (c1+\varepsilon )OPT({{\mathcal {J}}}) + \max \{L,p_t\} \le (c1+\varepsilon )OPT({{\mathcal {J}}}) + OPT({{\mathcal {J}}}) = (c+\varepsilon ) OPT({{\mathcal {J}}})\). \(\square\)
4.2 Stable Job Sequences
We define the class of stable job sequences. These sequences are robust in that they will admit an adversarial analysis of \(ALG\). Intuitively, the sequences reveal information on the largest jobs when a significant fraction of the total processing volume \(\sum _{t=1}^n p_t\) has been scheduled. More precisely, one gets an estimate on the processing time of the hth largest job in the entire sequence and encounters a relevant number of the \(m+1\) largest jobs. If a job sequence is unstable, large jobs occur towards the very end of the sequence and can cause a high makespan relative to the optimum one.
We will show that \(ALG\) is adversarially \((c+\varepsilon )\)competitive on stable sequences, for any given \(\varepsilon >0\). Therefore, the definition of stable sequences is formulated for a fixed \(\varepsilon >0\). Given \({{\mathcal {J}}}\), let \({{\mathcal {J}}}^\sigma = J_{\sigma (1)},\ldots , J_{\sigma (n)}\) be any permutation of the jobs. Furthermore, for every \(j\le n\) and in particular \(j\in \{h,m+1\}\), the set of the j largest jobs is a fixed set of cardinality j such that no job outside this set has a strictly larger processing time than any job inside the set.
Definition 3
A job sequence \({{\mathcal {J}}}^\sigma = J_{\sigma (1)},\ldots , J_{\sigma (n)}\) is stable if the following conditions hold.

There holds \(n>m\).

Once \(L^t \ge (c1){i\over m}L\), there holds \(p_{\max }^t \ge P_h\).

For every \(j\ge i\), the sequence ending once we have \(L^t \ge ({j\over m} + {\varepsilon \over 2})L\) contains at least \(j+h+2\) many of the \(m+1\) largest jobs in \({{\mathcal {J}}}\).

Consider the sequence ending right before either (a) \(L^t \ge {i\over m}(c1)\varepsilon L\) holds or (b) one of the hth largest jobs of \({{\mathcal {J}}}\) arrives; this sequence contains at least \(h+1\) many of the \(m+1\) largest jobs in \({{\mathcal {J}}}\).
Otherwise the job sequence is unstable.
Given \(\varepsilon >0\) and m, let \(P_{\varepsilon }(m)\) be the infimum, over all proper job sequences \({{\mathcal {J}}}\), that a random permutation of \({{\mathcal {J}}}\) is stable, i.e.
As the main result of this section we will prove that this probability tends to 1 as \(m\rightarrow \infty\).
Main Lemma 1
For every \(\varepsilon >0\), there holds \(\displaystyle \lim _{m \rightarrow \infty } P_{\varepsilon }(m) =1\).
The Main Lemma 1 implies that for any \(\varepsilon >0\) there exists an \(m(\varepsilon )\) such that, for all \(m\ge m(\varepsilon )\) and all \({{\mathcal {J}}}\), there holds \(\mathbf {P} _{\sigma \sim S_n}[{{\mathcal {J}}}^\sigma \ \mathrm{is\ stable}] \ge 1\varepsilon\). In Sect. 4.3 we will show that \(ALG\) is \((c+\varepsilon )\)competitive on stable job sequences. This implies \(\mathbf {P} _{\sigma \sim S_n}[ ALG ({{\mathcal {J}}}^{\sigma })\ge (c+\varepsilon )OPT({{\mathcal {J}}})] \le \varepsilon\) on proper sequences. By Lemma 2 this probability is 0 on plain sequences. We obtain the following corollary to Main Lemma 1.
Corollary 3
If \(ALG\) is adversarially \((c+\varepsilon )\)competitive on stable sequences, for every \(\varepsilon >0\) and \(m\ge m(\varepsilon )\) sufficiently large, then it is nearly ccompetitive.
In the remainder of this section we describe how to establish Main Lemma 1. We need some notation. In Sect. 3 the value \(L_j^t\) was defined with respect to a fixed job sequence that was clear from the context. We adopt the notation \(L_j^t[{{\mathcal {J}}}^\sigma ]\) to make this dependence visible. We adopt the same notation for the variables L, \(P_j^t\), \(P_j\), \(p_{\max }^t\) and \(p_{\max }\). For a fixed input \({{\mathcal {J}}}\) and variable \(\sigma \in S_n\), we use the simplified notation \(L_j^t[\sigma ] = L_j^t[{{\mathcal {J}}}^\sigma ]\). Again, we use the same notation for the variables \(P_j^t\) and \(p_{\max }^t\).
At the heart of the proof of Main Lemma 1 is the Load Lemma. Observe that after t time steps in a random permutation of an input \({{\mathcal {J}}}\), each job has arrived with probability t/n. Thus the expected total processing time of the jobs seen so far is \(t/n \cdot \sum _{s=1}^n p_s\). Equivalently, in expectation \(L^t\) equals \(t/n\cdot L\). The Load Lemma proves that this relation holds with high probability. We set \(t = \lfloor \varphi n\rfloor\).
Load Lemma
Given any \(\varepsilon >0\) and \(\varphi \in (0,1]\), there exists an \(m(\varepsilon ,\varphi )\) such that for all \(m\ge m(\varepsilon ,\varphi )\) and all proper sequences \({{\mathcal {J}}}\), there holds
Proof
Let us fix a proper job sequence \(\mathcal {J}\). We use the shorthand \({\hat{L}}[\sigma ]= {\hat{L}}[\mathcal {J} ^\sigma ] = L^{\lfloor \varphi n\rfloor }[\mathcal {J} ^\sigma ]\) and \(L=L[\mathcal {J} ]\).
Let \(\delta =\frac{\varphi \varepsilon }{2}\). We will first treat the case that we have \(p_\mathrm {max}[\mathcal {J} ]=1\) and every job size in \(\mathcal {J}\) is of the form \((1+\delta )^{j}\), for some \(j\ge 0\). Note that we have in particular \(c1\le L\le \frac{1}{c1}\) because we are working with a proper sequence. For \(j\ge 0\) let \(h_j\) denote the number of jobs \(J_t\) of size \((1+\delta )^{j}\) and, given \(\sigma \in S_n\), let \(h_j^\sigma\) denote the number of such jobs \(J_t\) that additionally satisfy \(\sigma (t)\le \lfloor \varphi n\rfloor\), i.e. they are among the \(\lfloor \varphi n\rfloor\) first jobs in the sequence \(\mathcal {J} ^\sigma\). We now have
The random variables \(h^\sigma _j\) are hypergeometrically distributed, i.e. we sample \(\lfloor \varphi n\rfloor\) jobs from the set of all n jobs and count the number of times we get one of the \(h_j\) many jobs of processing time \((1+\delta )^{j}\). Hence, we know that the random variable \(h^\sigma _j\) has mean
and variance
In particular,
By Chebyshev’s inequality we have
In particular, by the Union Bound, with probability
we have for all j,
We conclude that the following holds:
In particular, with probability P(m), we have
Hence, if we choose m large enough we can ensure that
So far we have assumed that \(p_\mathrm {max}[\mathcal {J} ]=1\) and every job in \(\mathcal {J}\) has a processing time of \((1+\delta )^{j}\), for some \(j\ge 0\). Now we drop these assumptions. Given an arbitrary sequence \(\mathcal {J}\) with \(0<p_\mathrm {max}[\mathcal {J} ]\ne 1\), let \(\lfloor \mathcal {J} \rfloor\) denote the sequence obtained from \(\mathcal {J}\) by first dividing every job processing time by \(p_\mathrm {max}[\mathcal {J} ]\) and rounding every job size down to the next power of \((1+\delta )^{1}\). We have proven that inequality (1) holds for \(\lfloor \mathcal {J} \rfloor\). The values L and \({\hat{L}}[\sigma ]\) only change by a factor lying in the interval \([p_\mathrm {max},(1+\delta )p_\mathrm {max})\) when passing over from \(\lfloor \mathcal {J} \rfloor\) to \(\mathcal {J}\). This implies that
Since \({\hat{L}}[\lfloor \mathcal {J} \rfloor ^\sigma ]\le L[\mathcal {J} ]\) we obtain
Combining this with inequality (1) for \(\lfloor \mathcal {J} \rfloor\) (and the triangle inequality), we obtain
Thus the lemma follows. \(\square\)
We note that the Load Lemma does not hold for general sequences. A counterexample is a job sequence in which one job carries all the load, while all the other jobs have a negligible processing time. The proof of the Load Lemma relies on a lower bound of \(R({{\mathcal {J}}})\), which is \(c1\) for proper sequences.
We present two consequences of the Load Lemma that will allow us to prove that stable sequences reveal information on the largest jobs when a certain processing volume has been scheduled. Consider a proper \({{\mathcal {J}}}\). Given \({{\mathcal {J}}}^\sigma = J_{\sigma (1)},\ldots , J_{\sigma (n)}\) and \(\varphi >0\), let \(N(\varphi )[{{\mathcal {J}}}^\sigma ]\) be the number of jobs \(J_{\sigma (t)}\) that are among the \(m+1\) largest jobs in \({{\mathcal {J}}}\) and such that \(L^t \le \varphi L\).
Lemma 4
Let \(\varepsilon >0\) and \(\varphi \in (0,1]\). Then there holds
Proof
Fix any proper job sequence \(\mathcal {J}\). For any \({{\mathcal {J}}}^\sigma\), let \(N(\varphi +\varepsilon )[\sigma ] = N(\varphi +\varepsilon )[{{\mathcal {J}}}^\sigma ]\). Furthermore, let \({\tilde{N}} \left( \varphi +\frac{\varepsilon }{2}\right) [\sigma ]\) denote the number of the \(m+1\) largest jobs of \({{\mathcal {J}}}\) that appear among the first \(\left\lfloor \left( \varphi +\frac{\varepsilon }{2}\right) n\right\rfloor\) jobs in \(\mathcal {J} ^\sigma\). Then we derive by the inclusionexclusion principle:
By the Load Lemma the second summand can be lower bounded for every proper sequence \(\mathcal {J}\) by a term approaching 1 as \(m\rightarrow \infty\). Hence it suffices to verify that this is also possible for the term
We will upper bound the probability of the opposite event by a term approaching 0 for \(m\rightarrow \infty\). The random variable \({\tilde{N}}\left( \varphi +\frac{\varepsilon }{2}\right) [\sigma ]\) is hypergeometrically distributed and therefore has expected value
Recall that for proper sequences \(n>m\) holds. For the second inequality we require m and hence in also n to be large enough such that \(\frac{1}{n} \le \frac{\varepsilon }{10}\) holds. Again, the variable \({\tilde{N}}\left( \varphi +\frac{\varepsilon }{2}\right) [\sigma ]\) is hypergeometrically distributed and its variance is thus
Note that we have for m large enough:
Hence, using Chebyshev’s inequality, we have
and this term vanishes as \(m\rightarrow \infty\). \(\square\)
Lemma 5
Let \(\varepsilon >0\) and \(\varphi \in (0,1]\). Then there holds
Proof
Let us fix any proper sequence \(\mathcal {J}\) and set
which is a finite set whose size only depends on \(\varepsilon\) and \(\varphi\). Given \({\tilde{\varphi }}\ge \varphi\), let \(u({\tilde{\varphi }})\) be the smallest element in \(\Lambda\) greater or equal to \({\tilde{\varphi }}\). Then
and if we have
there holds
In particular, in order to prove the lemma it suffices to verify that
The latter is a consequence of applying Lemma 4 to all \({\tilde{\varphi }}\in \Lambda\) and the Union Bound. \(\square\)
We can now conclude the main lemma of this section:
Proof of Main Lemma 1
A proper job sequence is stable if the following four properties hold.

Once \(L^t \ge (c1)\frac{i}{m}\cdot L\) we have \(p^t_\mathrm {max} \ge P_h\).

For every \(j\ge i\) the sequence ending once we have \(L^t \ge \left( \frac{j}{m}+\frac{\varepsilon }{2}\right) L\) contains at least \(j+h+2\) of the \(m+1\) largest jobs.

The sequence ending right before \(L^t \ge \frac{i}{m}(c1)\varepsilon L\) holds contains at least \(h+1\) of the \(m+1\) largest jobs.

The sequence ending right before the first of the h largest jobs contains at least \(h+1\) of the \(m+1\) largest jobs.
By the Union Bound we may consider each property separately and prove that it holds with a probability that tends to 1 as \(m\rightarrow \infty\).
Let \(\varphi =(c1)\frac{i}{m}\) and choose \(\varepsilon >0\). By the Load Lemma, for \(m\ge m(\varepsilon ,\varphi )\), after \(t=\left\lfloor \varphi n\right\rfloor\) jobs of a proper job sequence \({{\mathcal {J}}}^\sigma\) have been scheduled, there holds \(L^t\le (c1)\frac{i}{m}\cdot L\) with probability at least \(1\varepsilon\). Observe that \(\varphi\) is a fixed problem parameter so that \(m(\varepsilon ,\varphi )\) is determined by \(\varepsilon\). The probability of any particular job being among the first t jobs in \(\mathcal {J} ^\sigma\) is \(\lfloor \varphi n\rfloor /n\). Thus \(p^t_\mathrm {max} \ge P_h\) holds with probability at least \(1(1 \lfloor \varphi n\rfloor /n)^h\). Since \({{\mathcal {J}}}^\sigma\) is proper, we have \(n>m\). Furthermore, \(h=h(m) \in \omega (1)\). Therefore, the probability that the first property holds tends to 1 as \(m\rightarrow \infty\).
The second property is a consequence of Lemma 5 with \(\varphi =\frac{i}{m}\). The third property follows from Lemma 4. We need to choose the \(\varepsilon\) in the statement of the lemma to be \(\frac{i}{m}(c1)\varepsilon\). Finally we examine the last property. In \({{\mathcal {J}}}^\sigma\) we focus on the positions of the \(m+1\) largest jobs. Consider any of the h largest jobs. The probability that it is preceded by less than \(h+1\) of the \(m+1\) largest jobs is \((h+1)/(m+1)\). Thus the probability of the fourth property not to hold is at most \(h(h+1)/(m+1)\). Since \(h\in o(\sqrt{m})\), the latter expression tends to 0 as \(m\rightarrow \infty\). \(\square\)
4.3 An Adversarial Analysis
In this section we prove the following main result.
Main Lemma 2
For every \(\varepsilon >0\) and \(m\ge m(\varepsilon )\) sufficiently large, \(ALG\) is adversarially \((c+\varepsilon )\)competitive on stable job sequences.
Consider a fixed \(\varepsilon >0\). Given Corollary 2, we may assume that \(0<\varepsilon < 2c\). Suppose that there was a stable job sequence \(\mathcal {J} ^\sigma\) such that \(ALG (\mathcal {J} ^\sigma ) > (c+\varepsilon )OPT(\mathcal {J} ^\sigma )\). We will derive a contradiction, given that m is large. In order to simplify notation, in the following let \(\mathcal {J} = \mathcal {J} ^\sigma\) be the stable job sequence violating the performance ratio of \(c+\varepsilon\). Let \(\mathcal {J} = J_1,\ldots , J_n\) and \(OPT = OPT(\mathcal {J})\).
Let \(J_{n'}\) be the first job that causes \(ALG\) to have a makespan greater than \((c+\varepsilon )OPT\) and let \(b_0=l_m^{n'1}\) be the load of the least loaded machine \(M_{m}^{n'1}\) right before \(J_{n'}\) is scheduled on it. The makespan after \(J_{n'}\) is scheduled, called the critical makespan, is at most \(b_0+p_{n'}\le b_0 +OPT\). In particular \(b_0>(c1+\varepsilon ) OPT\) as well as \(p_{n'}>(c1+\varepsilon ) OPT\), see Lemma 3. Let
There holds \(\lambda _\mathrm {start}< \lambda _\mathrm {end}\). The critical makespan of \(ALG\) is bounded by \(b_0+ OPT< (1+\frac{1}{c1+\varepsilon })b_0 = (c+\varepsilon )\frac{b_0}{c1+\varepsilon }=(c+\varepsilon )2\lambda _\mathrm {end}b_0.\) Since \(ALG\) does not achieve a performance ratio of \(c+\varepsilon\) on \(\mathcal {J}\) we have
Our main goal is to derive a contradiction to this inequality.
The impact of the variable \(P_h\):
A new, crucial aspect in the analysis of \(ALG\) is \(P_h\), the processing time of the hth largest job in the sequence \(\mathcal {J}\). Initially, when the processing of \(\mathcal {J}\) starts, we have no information on \(P_h\) and can only infer \(P_{m+1}\ge \lambda _\mathrm {start}b_0\). The second property in the definition of stable job sequences ensures that \(p^t_\mathrm {max}\ge P_h\) once the load ratio \(L^t/L\) is sufficiently large. Note that \(ALG\) then also works with this estimate because \(P_h \le p^t_\mathrm {max} \le O^t\). This will allow us to evaluate the processing time of flatly scheduled jobs. In order prove that \(P_{m+1}\) is large, we will relate \(P_{m+1}\) and \(P_h\), i.e. we will lower bound \(P_{m+1}\) in terms of \(P_h\) and vice versa. Using the relation we can then conclude \(P_{m+1} \ge \lambda _\mathrm {end}b_0\). In the analysis we repeatedly use the properties of stable job sequences and will explicitly point to it when this is the case.
We next make the relationship between \(P_h\) and \(P_{m+1}\) precise. Given \(0<\lambda\), let \(f(\lambda )=2c\lambda 1\) and given \(w>0\), let \(g(w)=(c (2c3)1)w+42c \approx 0.2854\cdot w+0.3044\). We set \(g_b(\lambda )=g\left( \frac{\lambda }{b}\right) b\) and \(f_b(w)=f\left( \frac{w}{b}\right) b\), for any \(b>0\). Then we will lower bound \(P_{m+1}\) by \(g_{b_0}(P_h)\) and \(P_h\) by \(f_{b_0}(P_{m+1})\). We state two technical propositions.
Proposition 3
For \(\lambda >\lambda _\mathrm {{start}}\), we have \(g(f(\lambda ))>\lambda\).
Proof
Consider the function
The function F is linear and strictly increasing in \(\lambda\). Hence for the proposition to hold it suffices to verify that \(F(\lambda _\mathrm {start})\ge 0\). We can now compute that \(F(\lambda _\mathrm {start}) \approx 0.04865 >0.\) \(\square\)
Proposition 4
For \(0<\varepsilon \le 1\), we have \(g(1\varepsilon )> \lambda _\mathrm {{end}}\).
Note that the following proof determines the choice of our competitive ratio c, which was chosen minimal such that \(Q[c]=4c^314c^2+16c7\ge 0\).
Proof
We calculate that
Recall that \(Q[c]=4c^314c^2+16c7=0\). For \(0<\varepsilon \le 1\) we have
Thus we see that \(g(1\varepsilon )\lambda _\mathrm {end}>0\) and can conclude the lemma. \(\square\)
4.3.1 Analyzing Large Jobs Towards Lower Bounding \(P_h\) and \(P_{m+1}\)
Let \(b>(c1+\varepsilon ) OPT\) be a value such that immediately before \(J_{n'}\) is scheduled at least \(mh\) machines have a load of at least b. Note that \(b=b_0\) satisfies this condition but we will be interested in larger values of b as well. We call a machine bfull once its load is at least b; we call a job J a bfilling job if it causes the machine it is scheduled on to become bfull. We number the bfilling jobs according to their order of arrival \(J^{(1)}, J^{(2)}, \ldots\) and let t(j) denote the time of arrival of the jth filling job \(J^{(j)}\).
Recall that our main goal is to show that \(P_{m+1}\ge \lambda _\mathrm {end}b_0\) holds. To this end we will prove that the \(b_0\)filling jobs have a processing time of at least \(\lambda _\mathrm {end}b_0\). As there are m such jobs, the bound on \(P_{m+1}\) follows by observing that \(J_{n'}\) arrives after all \(b_0\)filling jobs are scheduled and that its processing time exceeds \(\lambda _\mathrm {end}b_0\) as well. In fact, since \(OPT\ge b_0\), we have
We remark that different to previous analyses in the literature we do not solely rely on lower bounding the processing time of filling jobs. By using the third property of stable job sequences, we can relate load and the size of the \((m+1)\)st largest job at specific points in the time horizon, formally this is done later in Lemma 8.
In the following we regard b as fixed and omit it from the terms filling job and full. Let \(\lambda =\max \{\lambda _\mathrm {start}b,\min \{g_{b}\left( P_h\right) ,\lambda _\mathrm {end}b\}\}\). We call a job large if it has a processing time of at least \(\lambda\). Let \({\tilde{t}}=t(mh)\) be the time when the \((mh)\)th filling job arrived. The remainder of this section is devoted to showing the following important Lemma 6. Some of the underlying lemmas, but not all of them, hold if \(m\ge m(\varepsilon )\) is sufficiently large. We will make the dependence clear.
Lemma 6
At least one of the following statements holds:

All filling jobs are large.

If \(m\ge m(\varepsilon )\), there holds \(P_{m+1}^{{\tilde{t}}} \ge \lambda =\max \{\lambda _\mathrm {{start}}b,\min \{g_{b}\left( P_h\right) ,\lambda _\mathrm {{end}}b\}\}\), i.e. there are at least \(m+1\) large jobs once the \((mh)\)th filling job is scheduled.
Before we prove the lemma we derive two important implications towards a lower bound of \(P_{m+1}\).
Corollary 4
We have \(P_{m+1} \ge \lambda =\max \{\lambda _\mathrm {{start}}b_0,\min \{g_{b_0}\left( P_h\right) ,\lambda _\mathrm {{end}}b_0\}\}.\)
Proof
Apply the previous lemma, taking into account that \(b\ge b_0\), and use that there are m many \(b_0\)filling jobs followed by \(J_{n'}\). The latter has size at least \(\lambda\) by inequality (3). \(\square\)
We also want to lower bound the processing time of the \((m+1)\)st largest job at time \({\tilde{t}}\). However, at that time only \(mh\) filling jobs have arrived. The next lemma ensures that, if additionally \(P_{h}\) is not too large, this is not a problem.
Corollary 5
If \(P_h \le (1\varepsilon )b\) and \(m\ge m(\varepsilon )\), the second statement in Lemma 6holds, i.e. \(P_{m+1}^{{\tilde{t}}} \ge \lambda =\max \{\lambda _\mathrm {{start}}b,\min \{g_{b}\left( P_h\right) ,\lambda _\mathrm {{end}}b\}\}.\)
The proof of the lemma makes use of the fourth property of stable job sequences. In particular we would not expect such a result to hold in the adversarial model.
Proof
We will show that the first statement in Lemma 6 implies the second one if \(P_h \le (1\varepsilon )b\) holds. In order to conclude the second statement it suffices to verify that at least \(m+1\) jobs of processing time \(\lambda\) have arrived until time \({\tilde{t}}\). By the first statement we know that there were \(mh\) large filling jobs coming before time \({\tilde{t}}\). Hence it is enough to verify that \(h+1\) large jobs arrive (strictly) before the first filling job J.
To show that there are \(h+1\) jobs with a processing time of at least \(P_{m+1}\) before the first filling job J, we use the last property of stable job sequences. If J is among the h largest jobs, we are done immediately by the condition. Else J had size at most \(P_h\le (1\varepsilon )b\). Assume \(J=J_t\) was scheduled on the machine \(M_j^{t1}\), for \(j\in \{i,mh,m\}\), and let \(l=l_j^{t1}\) be its load before J was scheduled. Because J is a filling job we have
In particular, before J was scheduled, the average load at that time was at least
Again, by the last property of stable job sequences, at least \(h+1\) jobs of processing time at least \(P_{m+1}\) were scheduled before this was the case. \(\square\)
We introduce late and early filling jobs. We later need a certain condition to hold, namely the ones stated in Lemma 8, in order to show that the early filling jobs are large. We show that if this condition is not met, the fact that the given job sequence is stable ensures that \(P_m^{{\tilde{t}}} \ge \lambda\).
Let s be chosen maximal such that the sth filling job is scheduled steeply. If \(s\le i\), then set \(s=i+1\) instead. We call all filling jobs \(J^{(j)}\) with \(j>i\) that are scheduled flatly late filling jobs. All other filling jobs are called early filling jobs. In particular the job \(J^{(s+1)}\) and the filling jobs afterwards are late filling jobs. The following proposition implies that the fillings jobs after \(J^{(mh)}\), if they exist, are all late, i.e. scheduled flatly.
Proposition 5
We have \(s \le mh\) if \(m\ge m(\varepsilon )\).
Proof of Proposition 5
Let \({\tilde{h}} < h\) and \(t=t(m{\tilde{h}})\) be the time the \((m{\tilde{h}})\)th filling job J arrived. We need to see that J was scheduled flatly. Assume that was not the case. We know that for \(j\le m{\tilde{h}}\) we have \(l_j^{t1}\ge b> (c1+\varepsilon )OPT\). In particular we have
For the last inequality we need to choose m large enough. If the schedule was steep at time t, then we had for every \(j\le k\)
But then the average load at time \(t1\) would be:
For the second inequality we need to observe that we have \(k\ge (4c7)m+2h\) and that the previous term decreases if we decrease k. One also can check that the second last term is minimized if \(h=0\).
But now we have shown \(L^{t1}>OPT\), which is a contradiction. Hence the schedule could not have been steep at time \(t1\). \(\square\)
We need a technical lemma. For any time t, let \({\overline{L}}_s^t = {1\over mhs+1}\sum _{j=s}^{mh} l_j^t\) be the average load on the machines numbered s to \(mh\).
Lemma 7
If \({\overline{L}}_s^{t(s)1}\ge \alpha ^{1} b\) holds and \(m\ge m(\varepsilon )\) then \(L^{t(s)1}>\left( \frac{s}{m}+\frac{\varepsilon }{2}\right) \cdot L\).
This lemma comes down to a mere computation. While being simple at its core, we have to account for various small error terms. These arise in three ways. Some are inherent to the properties of stable sequences. Others arise from the rounding involved in the definition of certain numbers, i in particular. Finally, the small number h introduces such an error. While all these errors turn out to be negligible, rigorously showing so is technical. Note that the following proof also determines our choice of the value i. For larger values the proof would not hold.
Proof of Lemma 7
Let \(t=t(s)1\). We have \(l_j^{t}\ge b\) for \(j\le s1\) as the first \(s1\) machines are full. Considering the load on the machines numbered up to \(mh\) we obtain
If \(s>i+1\), the schedule was steep at time \(t=t(s)1\) and hence
Since \(l_k^{t}\ge l_i^{t} \ge b\), the previous inequality holds for \(s=i+1\), too, no matter whether \(J^{(s)}=J^{(i+1)}\) was scheduled flatly or steeply. We hence get, for all \(s\ge i+1\),
In the above difference, we first examine the first term, which is minimized if \(s=i+1\). With this setting it is still lower bounded by
In the second term of the above difference \({k \over mi} = {2im\over mi}\) is increasing in i, where \(i \le (2c3)m+h+1\). We choose m large enough such that
There holds \(\alpha ^{1} < 0.5\). Thus the second term in the difference is upper bounded by \({2hb\over m}\).
Recall that \(b>(c1+\varepsilon )OPT\). Furthermore, \(0<\varepsilon <2c\) such that \(c1+\varepsilon <1\). Therefore, we obtain
In the previous term we intentionally highlighted three variables. It is easy to check that if we decrease these variables, the term decreases, too. We do this by setting \(\mathbf{k} =(4c7)m\) and \(\mathbf{i} =(2c3)m\) (while ignoring the nonhighlighted occurrences of i). We also assume that m is large enough such that \(\frac{\varepsilon }{4}\ge \frac{3h+2}{m}\). Then the previous lower bound on \(L^t\) can be brought to the following form:
Using that \(\frac{i+1}{m}< 2c3+\frac{h+2}{m}\) and evaluating the term in front of \(\frac{si1}{m}\) we get
The lemma follows by noting that \(OPT \ge L\). \(\square\)
Lemma 8
If the late filling jobs are large, \({\overline{L}}_s^{t(s)1}\ge \alpha ^{1}b\) and \(m\ge m(\varepsilon )\), we have \(P_{m+1}^{{\tilde{t}}}\ge \lambda\).
Proof
Assume that the conditions of the lemma hold. By Lemma 7 we have \(L^{t(s)1}>\left( \frac{s}{m}+\frac{\varepsilon }{2}\right) \cdot L.\) By the third property of stable sequences, at most \(m+1(s+h+2)=msh1\) of the largest \(m+1\) jobs appear in the sequence starting after time \(t(s)1\). However, this sequence contains \(mhs\) late filling jobs. Thus there exists a late filling job that is not among the \(m+1\) largest jobs. As it has a processing time of at least \(\lambda\), by the assumption of the lemma, \(P_{m+1}\ge \lambda\) holds.
Now consider the \(m+1\) largest jobs of the entire sequence that arrive before \(J^{(s)}\) as well as the jobs \(J^{(s+1)},\ldots , J^{(mh)}\). There are at least \(s+h+2\) of the former and \(mhs\) of the latter. Thus we have found a set of at least \(m+1\) jobs arriving before (or at) time \({\tilde{t}}=t(mh)\). Moreover, we argued that all these jobs have a processing time of at least \(\lambda\). Hence \(P_{m+1}^{{\tilde{t}}}\ge \lambda\) holds true. \(\square\)
We are ready to evaluate the processing time of filling jobs to prove Lemma 6, which we will do in the following two lemmas.
Lemma 9
Any late filling job’s processing time exceeds \(\max \{\lambda _\mathrm {{start}}b,g_b(P_h)\}\).
Proof
Let \(j\ge i+1\) such that \(J^{(j)}\) was scheduled flatly. Set \(t=t(j)1\) and \(l=l_i^t\). Because at least i machines were full, we have have \(L^t\ge b\cdot {i\over m} \ge (c1){i\over m} OPT \ge (c1){i\over m}L\). Hence by Definition 3 we have \(p^{t}_\mathrm {max}\ge P_h\).
Let \({\tilde{\lambda }}=\max \{\lambda _\mathrm {start}b,g_b(P_h)\}\). We need to show that \(J^{(j)}\) has a processing time strictly greater than \({\tilde{\lambda }}\). If we have \(l_{mh}^t<b{\tilde{\lambda }}\), then this was the case because \(J^{(j)}\) increased the load of some machine from a value smaller than \(b{\tilde{\lambda }}\) to b. Hence let us assume that we have \(l_{mh}^t\ge b{\tilde{\lambda }}\). In particular we have
By the definition of a late filling job, \(J^{(j)}\) was scheduled flatly. In particular, it would have been scheduled on machine \(M_i^t\) (which was not the case) if any of the following two inequalities did not hold:

\(p_t + l > cp^{t}_\mathrm {max} \ge cP_h\)

\(p_t + l > cL^t\)
If \(l\le cP_h{\tilde{\lambda }}\) held true, we get \(p_t>{\tilde{\lambda }}\) from the first inequality. Thus we only need to treat the case that \(l> cP_h{\tilde{\lambda }}\) held true. We also know that we have \(l\ge b\), because the ith machine is full. Hence we may assume that
In order to derive the lemma we need to prove that \(p_t{\tilde{\lambda }}>0\) holds. Using the second inequality we get
Using that \((2c3)m+h<i<j1\) and \(b{\tilde{\lambda }}<b\le l\) hold, the previous term does not increase if we replace \(j1\) by \((2c3)m+h\). The resulting term is
Now let us observe that we have \(l\ge b \ge 2(b\lambda _\mathrm {start} b) \ge 2(b{\tilde{\lambda }})\). Hence the previous term is minimized if we set \(h=0\). We get
As \(c(2c3)1\approx 0.2584>0\) the above term does not increase if we replace l by either value: b or \(cP_h{\tilde{\lambda }}\).
If we have \({\tilde{\lambda }}=\lambda _\mathrm {start}b\), we choose \(l=b\) and get
The third equality uses the definition of \(\lambda _\mathrm {start}\). The lemma follows if \({\tilde{\lambda }}=\lambda _\mathrm {start}b\).
Otherwise, if \({\tilde{\lambda }}=g_b(P_h)\), we choose \(l=cP_h{\tilde{\lambda }}\) and get
Here the last equality follows from the definition of \(g_b\). The lemma follows in the case \({\tilde{\lambda }}=g_b(P_h)\). \(\square\)
Lemma 10
If \({\overline{L}}_s^{t(s)1}< \alpha ^{1}b\) holds, the early filling jobs have a processing time of at least \(\lambda _\mathrm {{end}}b\).
Before proving Lemma 10 let us observe the following, strengthening its condition.
Lemma 11
We have
Proof
Let \(i+1 \le j<s\). It suffices to verify that
The second inequality is obvious because for every r the loads \(l_r^t\) can only increase as t increases. For the first inequality we note that by definition the job \(J^{(j)}\) was scheduled steeply and hence on a least loaded machine. This machine became full. Thus it is not among the \(mj\) least loaded machines at time t(j). In particular \(L_{j+1}^{t(j)}\), the average over the \(mj\) smallest loads at time t(j), is also the average of the \(mj+1\) smallest loads excluding the smallest load at time \(t(j)1\). Therefore it cannot be less than \(L_j^{t(j)1}\). \(\square\)
Proof of Lemma 10
Let \(i<j\le s\) such that \(J^{(j)}\) was an early filling job. By Lemma 11 we have \(L_j^{t(j)1}\le L_s^{t(s)1}< \alpha ^{1}b=b\frac{b}{2(c1)}< b\lambda _\mathrm {end}b\). By definition \(J^{(j)}\) was scheduled on a least loaded machine \(M^{t(j)1}_m\) which had load less than \(L_j^{t(j)1}< b\lambda _\mathrm {end}b\) before and at least b afterwards because it became full. In particular \(J^{(j)}\) had size \(\lambda _\mathrm {end}b\).
For \(k<j\le i\) the job \(J^{(j)}\) is scheduled steeply because we have by Lemma 11
Thus for \(k<j\le i\) the job \(J^{(j)}\) is scheduled on the least loaded machine \(M_{m}^{t(j)1}\), whose load \(l_{m}^{t(j)1}\) is bounded by
Hence the job \(J^{(j)}\) had a size of at least \(\lambda _\mathrm {end}b\). We also observe that we have
In particular for \(1\le j \le k\) any filling job \(J^{(j)}\) filled a machine with a load of at most \(\max \{l_m^{t(k)} ,l_i^{t(k)}\}=l_i^{t(k)}<b\lambda _\mathrm {end}b\). Hence it had a size of at least \(\lambda _\mathrm {end}b\). \(\square\)
We now conclude the main lemma of this subsection, Lemma 6.
Proof of Lemma 6
By Lemma 9, all late filling jobs are large. We distinguish two cases depending on whether or not \({\overline{L}}_s^{t(s)1}< \alpha ^{1}b\) holds. If it does, all filling jobs are large by Lemma 10 and the first statement in Lemma 6 holds. Otherwise, the second statement in Lemma 6 holds by Lemma 8. \(\square\)
4.3.2 Lower Bounding \(P_h\) and \(P_{m+1}\)
In this section we establish the following relations on \(P_h\) and \(P_{m+1}\).
Lemma 12
There holds \(P_h>(1\varepsilon )b_0\) or \(P_{m+1}\ge \lambda _\mathrm {{end}}b_0\) if \(m\ge m(\varepsilon )\).
For the proof we need a way to lower bound the processing time of a job \(J_t\) depending on \(P_{m+1}^t\):
Lemma 13
Let \(J_t\) be any job scheduled flatly on the least loaded machine and let \(b=l_{mh}^{t1}\) be the load of the \((h+1)\)th least loaded machine. Then \(J_t\) has a processing time of at least \(f_b(P_{m+1}^{t})\).
Proof
From the fact that \(J_t\) was not scheduled on the \((h+1)\)th least loaded machine \(M_{mh}^t\) we derive that \(p_t>c\cdot O^{t}b\ge c\cdot P_{m+1}^{t}b=f_b(P_{m+1}^{t})\) holds. \(\square\)
Proof of Lemma 12
Assume for a contradiction that we had \(P_h \le (1\varepsilon )b_0\). Let \(J=J_t\) be the smallest among the h last \(b_0\)filling jobs. Then J has a processing time \(p\le P_h\). We want to derive a contradiction to that. Let \(b_1=l_{mh}^{t1}\) be the load of the \((mh)\)th machine right before J was scheduled. Because this machine was \(b_0\)full at that time we know that \(b_1\ge b_0>(c1+\varepsilon ) OPT\) holds and it makes sense to consider \(b_1\)filling jobs. Let \({\tilde{t}}\) be the time the \((mh)\)th \(b_1\)filling job arrived. By Lemma 6 we have \(P_{m+1}^{{\tilde{t}}}\ge \lambda =\max \{\lambda _\mathrm {start}b_1,\min \{g_{b_1}\left( P_h\right) ,\lambda _\mathrm {end}b_1\}\}.\)
If we have \(\lambda =\lambda _\mathrm {end}b_1\ge \lambda _\mathrm {end}b_0\) we have already proven \(P_{m+1}\ge \lambda _\mathrm {end}b_0\) and the lemma follows. So we are left to treat the case that we have \(P_{m+1}^{{\tilde{t}}}\ge \lambda =\max \{\lambda _\mathrm {start}b_1,g_{b_1}\left( P_h\right) \}.\)
Now we can derive the following contradiction:
For the second inequality, we use the monotonicity of \(g_{b_1}()\). The third inequality follows from Lemma 13 and the last one from Proposition 3. \(\square\)
4.3.3 Establishing Main Lemma 2.
Let \(m\ge m(\varepsilon )\) be sufficiently large. The machine number \(m(\varepsilon )\) is determined by the proofs of Proposition 5 and Lemma 7, and then carries over to the subsequent lemmas. Let us assume for a contradiction sake that there was a stable sequence \(\mathcal {J}\) such that \(ALG (\mathcal {J}) > (c+\varepsilon ) OPT(\mathcal {J})\). As argued in the beginning of Sect. 4.3, see (2), it suffices to show that \(P_{m+1}\ge \lambda _\mathrm {end}b_0\). If this was not the case, we would have \(P_h\ge (1\varepsilon )b_0\) by Lemma 12. In particular by Proposition 4 we had \(g_{b_0}\left( P_h\right) =g(1\varepsilon )b_0>\lambda _\mathrm {end}b_0.\) But now Lemma 4 shows that \(P_{m+1}\ge \max \{\lambda _\mathrm {start}b_0,\min \{g_{b_0}\left( P_h\right) ,\lambda _\mathrm {end}b_0\}\}= \lambda _\mathrm {end}b_0\).
We conclude, by Corollary 3, that \(ALG\) is nearly ccompetitive.
5 Lower Bounds
We present lower bounds on the competitive ratio of any deterministic online algorithm in the randomorder model. Theorem 3 implies that if a deterministic online algorithm is ccompetitive with high probability as \(m\rightarrow \infty\), then \(c\ge 3/2\).
Theorem 2
Let A be a deterministic online algorithm that is ccompetitive in the randomorder model. Then \(c\ge 4/3\) if \(m\ge 8\).
Theorem 3
Let A be a deterministic online algorithm that is nearly ccompetitive. Then \(c\ge 3/2\).
A basic family of inputs are job sequences that consist of jobs having an identical processing time of, say, 1. We first analyze them and then use the insight to derive our lower bounds. Let \(m\ge 2\) be arbitrary. For any deterministic online algorithm A, let r(A, m) be the maximum number in \(\mathbb {N} \cup \{\infty \}\) such that A handles a sequence consisting of \(r(A,m)\cdot m\) jobs with an identical processing time of 1 by scheduling each job on a least loaded machine.
Lemma 14
Let \(m\ge 2\) be arbitrary. For every deterministic online algorithm A, there exists a job sequence \({{\mathcal {J}}}\) such that \(A^{\mathrm{rom}}({{\mathcal {J}}}) \ge (1+\frac{1}{r(A,m)+1}) OPT({{\mathcal {J}}})\). We use the convention that \(\frac{1}{\infty +1}=0\).
Proof
For \(r(A,m)=\infty\) there is nothing to show. For \(r(A)<\infty\), consider the sequence \({{\mathcal {J}}}\) consisting of \((r(A,m)+1)\cdot m\) identical jobs, each having a processing time of 1. It suffices to analyze the algorithm adversarially as all permutations of the job sequence are identical. After having handled the first \(r(A,m)\cdot m\) jobs, the algorithm A has a schedule in which every machine has load of r(A, m). By the maximality of r(A, m), the algorithm A schedules one of the following m jobs on a machine that is not a least loaded one. The resulting makespan is \(r(A,m)+2\). The lemma follows since the optimal makespan is \(r(A,m)+1\). \(\square\)
Proof of Theorem 2
Let \(m\ge 8\) be arbitrary. Consider any deterministic online algorithm A. If \(r(A,m)\le 2\), then, by Lemma 14, there exists a sequence \({{\mathcal {J}}}\) such that \(A^{\mathrm{rom}}({{\mathcal {J}}}) \ge {4\over 3} \cdot OPT({{\mathcal {J}}})\). Therefore, we may assume that \(r(A,m)\ge 3\). Consider the input sequence \(\mathcal {J}\) consisting of \(4m4\) identical small jobs of processing time 1 and one large job of processing time 4. Obviously \({\mathrm {OPT}}(\mathcal {J})=4\).
Let i be the number of small jobs preceding the large job in \(\mathcal {J} ^\sigma\). The random variable i takes any (integer) value between 0 and \(4m4\) with probability \(\frac{1}{4m3}\). Since \(r(A,m)\ge 3\) the least loaded machine has load of at least \(l=\left\lfloor \frac{i}{m}\right\rfloor\) when the large job arrives. Thus \(A(\mathcal {J} ^\sigma )\ge l+4\). The load l takes the values 0, 1 and 2 with probability \(\frac{m}{4m3}\) and the value 3 with probability \(\frac{m3}{4m3}\). Hence the expected makespan of algorithm A is at least
For the last inequality we use that \(m\ge 8\). \(\square\)
Proof of Theorem 3
Let \(m\ge 2\) be arbitrary and let A be any deterministic online algorithm. If \(r(A,m)=0\), then consider the sequence \({{\mathcal {J}}}\) consisting of m jobs with a processing time of 1 each. On every permutation of \({{\mathcal {J}}}\) algorithm A has a makespan of 2, while the optimum makespan is 1. If \(r(A,m)\ge 1\), then consider the sequence \({{\mathcal {J}}}\) consisting of \(2m2\) small jobs having a processing time of 1 and one large job with a processing time of 2. Obviously \(OPT(\mathcal {J})=2\). If the permuted sequence starts with m small jobs, the least loaded machine has load 1 once the large job arrives. Under such permutations \(A(\mathcal {J} ^\sigma )\ge 3=\frac{3}{2}\cdot {\mathrm {OPT}}(\mathcal {J})\) holds true. The probability of this happening is \(\frac{m1}{2m1}\). The probability approaches \(\frac{1}{2}\) and in particular does not vanish, for \(m\rightarrow \infty\). Thus, if A is nearly ccompetitive, then \(c\ge 3/2\). \(\square\)
Notes
Note that besides rounding \(\approx\) also hides a small term in o(m).
References
Albers, S.: Better bounds for online scheduling. SIAM J. Comput. 29(2), 459–473 (1999)
Babaioff, M., Immorlica, N., Kempe, D., Kleinberg, R.: A knapsack secretary problem with applications. In: Proceedings of 10th International Workshop on Approximation Algorithms for Combinatorial Optimization Problems (APPROX). Springer, pp. 16–28 (2007)
Babaioff, M., Immorlica, N., Kempe, D., Kleinberg, R.: Matroid secretary problems. J. ACM 65(6), 1–26 (2018)
Bartal, Y., Fiat, A., Karloff, H., Vohra, R.: New algorithms for an ancient scheduling problem. In: Proceedings of 24th ACM Symposium on Theory of Computing (STOC), pp. 51–58 (1992)
Bartal, Y., Karloff, H., Rabani, Y.: A better lower bound for online scheduling. Inf. Process. Lett. 50(3), 113–116 (1994)
Chen, B., van Vliet, A., Woeginger, G.: A lower bound for randomized online scheduling algorithms. Inf. Process. Lett. 51(5), 219–222 (1994)
Chen, L., Ye, D., Zhang, G.: Approximating the optimal algorithm for online scheduling problems via dynamic programming. Asia Pac. J. Oper. Res. 32(01), 1540011 (2015)
Cheng, T., Kellerer, H., Kotov, V.: Semionline multiprocessor scheduling with given total processing time. Theor. Comput. Sci. 337(1–3), 134–146 (2005)
Dohrau, J.: Online makespan scheduling with sublinear advice. In: 41st International Conference on Current Trends in Theory and Practice of Computer Science (SOFSEM). Springer, pp. 177–188 (2015)
Dynkin, E.: The optimum choice of the instant for stopping a Markov process. Sov. Math. 4, 627–629 (1963)
Englert, M., Özmen, D., Westermann, M.: The power of reordering for online minimum makespan scheduling. In: Proceedings of 49th 676 IEEE Annual Symposium on Foundations of Computer Science (FOCS). IEEE, pp. 603–612 (2008)
Faigle, U., Kern, W., Turán, G.: On the performance of online algorithms for partition problems. Acta Cybern. 9(2), 107–119 (1989)
Feldman, M., Svensson, O., Zenklusen, R.: A simple O (log log (rank))competitive algorithm for the matroid secretary problem. In: Proceedings of 26th Annual ACMSIAM Symposium on Discrete Algorithms (SODA). SIAM, pp. 1189–1201 (2014)
Fleischer, R., Wahl, M.: Online scheduling revisited. J. Sched. 3(6), 343–353 (2000)
Galambos, G., Woeginger, G.: An online scheduling heuristic with better worstcase ratio than Graham’s list scheduling. SIAM J. Comput. 22(2), 349–355 (1993)
Göbel, O., Kesselheim, T., Tönnis, A.: Online appointment scheduling in the random order model. In: AlgorithmsESA 2015. Springer, pp. 680–692 (2015)
Goel, G., Mehta, A.: Online budgeted matching in random input models with applications to Adwords. SODA 8, 982–991 (2008)
Gormley, T., Reingold, N., Torng, E., Westbrook, J.: Generating adversaries for requestanswer games. In: Proceedings of the Eleventh Annual ACMSIAM Symposium on Discrete Algorithms, pp. 564–565 (2000)
Graham, R.: Bounds for certain multiprocessing anomalies. Bell Syst. Tech. J. 45(9), 1563–1581 (1966)
Gupta, A., Mehta, R., Molinaro, M.: Maximizing Profit with Convex Costs in the RandomOrder Model. arXiv preprint arXiv:1804.08172 (2018)
Hochbaum, D., Shmoys, D.: Using dual approximation algorithms for scheduling problems theoretical and practical results. J. ACM 34(1), 144–162 (1987)
Karande, C., Mehta, A., Tripathi, P.: Online bipartite matching with unknown distributions. In: Proceedings of the FortyThird Annual ACM Symposium on Theory of Computing, pp. 587–596 (2011)
Karger, D., Phillips, S., Torng, E.: A better algorithm for an ancient scheduling problem. J. Algorithms 20(2), 400–430 (1996)
Kellerer, H., Kotov, V.: An efficient algorithm for bin stretching. Oper. Res. Lett. 41(4), 343–346 (2013)
Kellerer, H., Kotov, V., Speranza, M.G., Tuza, Z.: Semi online algorithms for the partition problem. Oper. Res. Lett. 21(5), 235–242 (1997)
Kenyon, C.: Bestfit binpacking with random order. SODA 96, 359–364 (1996)
Kesselheim, T., Tönnis, A., Radke, K., Vöcking, B.: Primal beats dual on online packing LPs in the randomorder model. In: Proceedings of the FortySixth Annual ACM Symposium on Theory of Computing, pp. 303–312 (2014)
Kleinberg, R.: A multiplechoice secretary algorithm with applications to online auctions. SODA 5, 630–631 (2005)
Lachish, O.: O (log log rank) competitive ratio for the matroid secretary problem. In: 2014 IEEE 55th Annual Symposium on Foundations of Computer Science. IEEE, pp. 326–335 (2014)
Mahdian, M., Yan, Q.: Online bipartite matching with random arrivals: an approach based on strongly factorrevealing lps. In: Proceedings of the FortyThird Annual ACM Symposium on Theory of Computing, pp. 597–606 (2011)
Meyerson, A.: Online facility location. In: Proceedings 42nd IEEE Symposium on Foundations of Computer Science. IEEE, pp. 426–431 (2001)
Molinaro, M.: Online and randomorder load balancing simultaneously. In: Proceedings of the TwentyEighth Annual ACMSIAM Symposium on Discrete Algorithms. SIAM, pp. 1638–1650 (2017)
Osborn, C., Torng, E.: List’s worstaveragecase or WAC ratio. J. Sched. 11(3), 213–215 (2008)
Pruhs, K., Sgall, J., Torng, E.: Online scheduling. (2004)
Rudin, J., III.: Improved bounds for the online scheduling problem (2001)
Rudin, J., III., Chandrasekaran, R.: Improved bounds for the online scheduling problem. SIAM J. Comput. 32(3), 717–735 (2003)
Sanders, P., Sivadasan, N., Skutella, M.: Online scheduling with bounded migration. Math. Oper. Res. 34(2), 481–498 (2009)
Sgall, J.: A lower bound for randomized online multiprocessor scheduling. Inf. Process. Lett. 63(1), 51–55 (1997)
Sleator, D., Tarjan, R.: Amortized efficiency of list update and paging rules. Commun. ACM 28(2), 202–208 (1985)
Funding
Open Access funding enabled and organized by Projekt DEAL.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
A preliminary version of this paper has appeared in the 47th International Colloqium on Automata, Languages and Programming (ICALP), 2020. Work supported by the European Research Council, Grant Agreement No. 691672, project APEG.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Albers, S., Janke, M. Scheduling in the RandomOrder Model. Algorithmica 83, 2803–2832 (2021). https://doi.org/10.1007/s00453021008418
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00453021008418