1. Introduction
As is known to all, machines may occur some breakdowns or say unavailability periods. And many breakdowns have a lot of uncertainty. To meet the actual needs, many scholars have paid much attention to the study of the scheduling problem with the machine subject to breakdowns. In the first place, in 1984, Glazebrook [
1] studied a kind of scheduling problem for a machine with a stochastic breakdown. In 1989, Adiri et al. [
2] considered the problem of scheduling tasks on a single machine to minimize the flowtime (total completion time); they mainly discussed the problem that the SPT policy minimizes the follow time in the case of a single breakdown and the more general case of multiple breakdowns, respectively. In 1990, Birge et al. [
3] studied a kind of single-machine scheduling problem with the machine subject to a sequence of stochastic breakdowns. After this, the scheduling work with the machine subject to a sequence of stochastic breakdowns has constantly appeared. For instance, in 1993, Mittenthal and Raghavachair [
4] investigated the problem of quadratic early-tardy penalties with the machine subject to a sequence of stochastic breakdowns. In 1996, Cai and Tu [
5] made a further investigation into the problem that was considered by the paper [
4] under the condition of jobs with random processing times. In 2008, Tang et al. [
6] studied a stochastic JIT scheduling problem with a machine subject to a sequence of stochastic breakdowns. In 2008, Cheng et al. [
7] studied the problem that scheduling jobs on a machine subject to stochastic breakdowns to minimize absolute early-tardy penalties. In 2022, Li and Chen [
8] explored the problem of minimizing total weighted late work on a single machine with non-availability intervals. In 2022, Choi and Park [
9] considered a single-machine scheduling problem with resource-dependent processing times and multiple unavailability periods.
Since this century, the study of online scheduling with machine subject to breakdowns has been gradually thriving. In 2002, Tan and He [
10] studied the optimal online algorithm for scheduling on two identical machines with unavailable periods. In 2014, Huo et al. [
11] investigated the scheduling problem on a single machine with a single breakdown, or say with a single unavailable period; they considered the online optimization problem of minimizing total weighted completion time under the condition assumed that every job has a weight proportional to its processing time. In 2016, Kacem and Kellerer [
12] investigated three single-machine scheduling problems with the so-called semi-online scenario, which are actually the scheduling problem on a single machine with an unexpected breakdown. In 2020, Tian [
13] improved a part of the work of literature [
11].
Up to now, most research for the online scheduling problem with the machine subject to a single breakdown focuses on the following research setting. The breakdown results in an unavailable period or hole during which the machine cannot perform the processing of any job. At the beginning of the scheduling horizon, except the breakdown can occur, no other information is known, in other words, its state is unknown, or say, the starting time and the terminating time , including the distributions of theirs, are unknown and independent; a sequence of the jobs must be determined in advance and the sequence cannot be changed in the whole process of production. Jobs are non-resumable, that is, the job which has been interrupted by the breakdown has to be restarted to process after the machine is recovered later. The objective is to find an optimization sequence or schedule.
However, in many cases, we have known some states of the related processing situation in advance, it is a very meaningful work to discuss the optimization scheme of problems under a certain statistical information of the breakdown. In the present work, we address the problem to minimize flowtime (minimize total completion time) with the above setting integrated the condition that the starting time is a random variable with known distribution. We will introduce and investigate the expected competitive ratio of online minimizing flowtime with the case described. In addition, we will also make some discussions on our study.
The remainder contents are organized as follows. Sect.2 gives preliminary notations and knowledge. Sect.3 introduces the related works. Sect.4 pays attention to our main work. Sect.5 makes some discussions on our work. Finally, we draw our conclusions in Sect.6.
2. Formulation
Process jobs on a single machine M subject to a single breakdown. Assume the starting time and the terminating time of the breakdown are and , respectively; machine M cannot work in the period of time for the breakdown. Jobs are non-resumable, i.e., when a job is interrupted by the unavailable interval, it has to be restarted after the machine is recovered later; and all jobs are ready to be scheduled at the time . Unless there is a breakdown during the processing of a task, tasks must be processed without interruption. Each job) has a determined processing time. is a positive real number, called the weight of job . The process starts from the time and one job can be processed at a time. A processing schedule, or say sequence, must be made before the time and the schedule cannot be changed in the whole process. Let be the completion time of the job . Consider the problem to find a schedule before time such that the (weighted) followtime, or say, the total (weighted) completion time, is minimized, namely () is minimized.
When
, we believe no breakdown occurs, which is called the degenerate case. The problem is just the classical scheduling problem of minimizing the (weighted) followtime, which is denoted by
When
, the problem can be divided into the following three types. If
is given before time
, we call the problem as minimizing weighted followtime for the machine with a non-availability interval or hole. If
is unknown before time
, we call the problem as online minimizing weighted flowtime for the machine with a non-availability interval or hole. If a part of distribution on interval
is known before time
, we call the problem as the scheduling problem of stochastic online minimizing weighted followtime for the machine with a non-availability interval or hole. In the present work, by the three-field notation, we respectively denote the three problems as
When
, for convenience, we denote the problems (2.2), (2.3) and (2.4) respectively as
For problem (2.7), assume the starting time is a random variable
and there is no any other information on the terminating time
; assume also
where
is the distribution function of
;
expresses the density of
on the interval
; the integral is Riemann integral. In the case, we denote the problem as HSONRP(Hole Stochastic Online Non-Resumable Problem).
In briefness, we denote the objective function of the schedule
by
, that is,
For the problem (2,1) ((2,2)), let
be a schedule and
be the optimal schedule. Then we call
as the competitive ratio of schedule
. Let
be an algorithm to solve the problem,
be an instance and
be the schedule with
obtained by algorithm
. Then
is called the competitive ratio, or the approximation ratio of algorithm
, where
is any instance of (2,1) ((2,2)).
For the problem (2.3), let
be an algorithm to solve the problem,
be an instance and for the instance
,
be the schedule obtained by algorithm
. Let also
be the competitive ratio of the schedule
for the problem (2.2) with hole
. Then we call
as the competitive ratio of algorithm
for the problem.
For the problem HSONRP, let
be an algorithm to solve the problem,
be an instance and
be the schedule obtained by algorithm
for the instance
. Given
, for any
, let also
be the competitive ratio of the schedule
for the problem (2.2) with the hole
. Define
. When
or
, we define
, where
is the competitive ratio of the schedule
for the problem (2.1). Since, if the starting time
, we can arrange the schedule after the breakdown; and if the starting time
, the breakdown does not disturb the arranged schedule, we can believe no breakdown occurs in the two cases. That is, when
or
, it is reasonable that we define
when the starting time is the random variable
, we call the mean value of random variable
as the expected competitive ratio of algorithm
for the problem.
In order to convenience, we also introduce the following notations and assumptions. Given
, let
be a schedule. We use
express the interrupted task. Let also
Denote the schedule obtained by SPT rule as
Since the case that
is trivial, we assume
in the following. Moreover, we also assume that the event
includes the two cases the time
is in the breakdown period and there is no breakdown.
3. Related work
In the first place, (2.1) is the classical scheduling problem of minimizing the total weighted completion time, which has the famous WSPT(weighted shortest processing time) rule, that is, arranging jobs as the order non-decreasing, the objective is minimized.
(2.2) is a quite difficult problem. Substantial works have discussed this problem over the last couple of decades, see the related work of Huo et al. [
11]. In particular, in 1996, Lee [
14] showed that the error bound of the WSPT rule can be arbitrarily large. 2008, Kacem and Chu [
15] showed that both the WSPT rule and MWSPT (modified weighted shortest processing time) rules have a tight error bound of
under some conditions. 2008, Kacem [
16] proposed a 2-approximation algorithm with
time complexity and showed bound
is tight. In 2014, Huo et al. [
11] proposed the so-called the FF-LPT rule, which is a modified version of the LPT rule; and they showed both the LPT rule and FF-LPT rule can give a tight approximation ratio of 2 in the case of
.
(2.5) is the special case of (2.2), which is called the minimizing flowtime problem. For the problem, in 1989, Adiri et al. [
2] showed the problem is NP-complete, and the SPT problem has the approximation ratio
(the relative error for the SPT schedule is less than or equal to
). In 1992, Lee and Liman [
17] proved that SPT rule has a tight approximation ratio of
, instead of
. Later, in 2005, Sadfi et al. [
18] gave the so-called Modified SPT Police algorithm that has a tight approximation ratio of
. In 2006, He et al. [
19] also proposed a polynomial time approximation scheme. In 2007, Breit [
20] developed a parametric
-algorithm, in which better worst-case error bounds can be obtained.
For problem (2.3), in 2014, Huo et al. [
10] first showed in the case
, there is no algorithm
such that
, and LPT rule has a tight competitive ratio 2. (2.6) is the special case of (2.3), which is called online minimizing the flowtime for the machine with a non-availability interval or hole, and closely contact with (2.5). Since the SPT rule and the above stated results of competitive ratio of the rule for problem (2.5) have no relation with specific conditions of
and
, these results are also true for the problem (2.6).
For the problem (2.7), assume the starting time to breakdown is a random variable
. Adiri et al. [
2] proposed a definition of a schedule to stochastically minimize the flowtime and showed that if the distribution function of the staring time
is concave, then the SPT rule stochastically minimizes the flow time in the sense of their definition. In addition, for problems (2.4) and (2.7), to the best of our knowledge, there are no other works until now.
In the present work, we address problem HSONRP, which is a kind of problem (2.7). We mainly study the expected competitive ratio of the SPT rule, and make some discussions about the work we study.
4. Main work
First of all, given
, let
be a schedule. Then we have
Here,
is the idle time immediately before the breakdown in the schedule
.
Lemma 1. For the problem (2.5)((2.6) and (2.7) with given ), let be the SPT schedule. Then we have the following two conclusions. (1) For any schedule , we have: , where and are the interrupted tasks respectively in the schedule and the schedule . (2) For the optimal schedule , we have: .
Proof .
For
is the SPT schedule, we have
.Hence (1) holds. Now we prove (2) as follows. By the above expressions of
, we have
From Lemma 1, we have
. Due to
is the optimal schedule, we also have
. Due to
is the SPT schedule, we have
. Combining these results, we have
is obvious. Thus (2) holds, and we have completed the proof. □
Lemma 2.
For problem (2.5), we have
For problem (2.3), we have
Here SPT denotes the algorithm of SPT rule, sequenceis the SPT schedule.
Proof. Let
be the optimal schedule. Since
be the SPT schedule, we have
. By Lemma1, we also have
. Therefore, we obtain
Hence,
(4.1) holds. For
is the interrupted task, we have
. This leads to
. Bring the result in (4.1), we obtain (4.2). (4.3) is straight obtained from (4.2). The proof is finished. □
Theorem 1.
For problem HSONRP, we have when
is uniform distribution on the interval , we further have
Moreover, if … or , then we have
Proof. We can easily know
when
or
and in terms of (4.1), we have
Further,
where the integrals are all the Lebesgue-Stieltjes integral of the function
on the function
. For
by (4,7), we have
Combining (4.8) and (4.9), we obtain (4.4). When
is uniform distribution on the interval
, we have
This leads to
Bring it in (4.4), we obtain
That is, (4.5) holds. Note that
; and
We know that (4.6) is true from (4.5). If
, from (4.6),
is obvious. If
and
, we have
The proof is completed. □
5. Discussions
(1) When the system possesses some information on statistics, such as the distributions of certain variables, it is quite useful in practice to find the high probability laws. Hence, facing the era of big data, we should work hard to develop statistical optimization, whose meaning is mainly to catch the optimization law of large probability. On the other hand, when a system, which has a large amount of uncertainty, possesses not enough information on statistics; or the information on statistics is too complex, it is impossible or quite difficult to find an effective optimization method by statistical methods alone. Hence, facing the era of big data, we should also work hard to develop methods of combining statistical optimization with online optimization. The present work is conducted under the promotion of this idea. The definition of the expected competitive ratio is proposed in the light of this idea.
(2) Sometimes, considering the problem under appropriate conditions is easy to find a good method. For example, under some conditions, we can obtain the result
The present work fully demonstrates this viewpoint.
(3) For problem HSONRP, when
is uniform distribution on the interval
,by the related result of Lee and Liman [
17], that is, SPT has a tight approximation ratio of
, we have
In terms of (4.8) and (4.9), we can easily obtain the following conclusion.
(4) For problem (1.5), in 1989, Adiri et al. [
2] showed the SPT rule has approximation ratio
. In 1992, Lee and Liman [
17] proved the SPT rule has a tight approximation ratio of
, instead of
. When
, which is the setting of the previous work in this research line, from the result
, we obtain
.
For and the condition of this conclusion is quite loose, to some extent, the result demonstrates the advantage of the present work.
(5) Moreover, from (4.6), we can obtain
In terms of the result, we can quickly estimate by . This is also an advantage of the present work.
(6) In practice, we can approximately calculate the expected competitive ratio by the method of numerical evaluations. This will fully develop the efficiency of big data and statistical optimization, widen the investigating horizon of the scheduling area and strengthen the effect of the scheduling research. The formulae (4.1)-(4.6) can strongly support the numerical evaluations. In the actual estimate, we can choose the formulae from (4.1)-(4.6) making calculation according to the specific needs and conditions.
6. Conclusions
In the present work, we study problem HSONRP. We have first proposed the definition of the expected competitive ratio for algorithm to find the optimized solution to the problem. And then we studied . In particular, under a quite loose conditions, we proved . Through this work we have developed the approaches to study the scheduling problem which includes determinate information, stochastic information and other uncertain information. For the expected competitive ratio, which can be extended to other models, there are much work to do. In the future, this is an interesting direction to pursue.
Author Contributions
Z.P. LI: Conceptualization, project administration, and writing—original draft. C.D. CHENG: Conceptualization, formal analysis, and writing—review and editing. All authors have read and agreed to the published version of the manuscript.
Funding
This paper is supported by the Natural Science Foundation of China under the grant (71661001).
Data Availability Statement
Data availability is not applicable to this article as no new data were created or analyzed in this study.
Conflicts of Interest
The authors have no financial or proprietary interests in any material discussed in this article.
References
- Glazebrook, K.D. Scheduling stochastic jobs on a single machine subject to breakdowns. Naval. Res. Logist. 1984, 31, 251–264. [Google Scholar] [CrossRef]
- Adiri, I.; Bruno, J.L.; Frostig, E.; et al. Single Machine Flow-Time Scheduling With a Single Breakdown. Acta Informatica. 1989, 26, 679–696. [Google Scholar] [CrossRef]
- Birge, J.R.; Frenk JB, G.; Mittenthal, J.; et al. Single-machine scheduling subject to stochastic breakdowns. Naval. Res. Logist. 1990, 37, 661–677. [Google Scholar] [CrossRef]
- Mittenthal, J.; Raghavachari, M. Stochastic Single Machine Scheduling with Quadratic Early-Tardy Penalties. Oper. Res. 1993, 41, 786–796. [Google Scholar] [CrossRef]
- Cai, X.; Tu, F.S. Scheduling jobs with random processing times on a single machine subject to stochastic breakdowns to minimize early-tardy penalties. Naval. Res. Logist. 1996, 43, 1127–1146. [Google Scholar] [CrossRef]
- Tang, H.Y.; Zhao, C.L.; Cheng, C.D. Single machine stochastic JIT scheduling problem subject to machine breakdowns. Sci. China Ser. A-Math. 2008, 51, 273–292. [Google Scholar] [CrossRef]
- Cheng, C.D.; Tang, H.Y.; Zhao, C.L. Scheduling jobs on a machine subject to stochastic breakdowns to minimize absolute early-tardy penalties. Sci. China Ser. A-Math. 2008, 51, 864–888. [Google Scholar] [CrossRef]
- Li, S.S.; Chen, R.X. Minimizing total weighted late work on a single-machine with non-availability intervals. J. Comb. Optim. 2022, 44, 1330–1355. [Google Scholar] [CrossRef]
- Choi, B.C.; Park, M.J. Single-machine scheduling with resource-dependent processing times and multiple unavailability periods. J. Sched. 2022, 25, 191–202. [Google Scholar] [CrossRef]
- Tan, Z.Y.; He, Y. Optimal online algorithm for scheduling on two identical machines with machine availability constraints. Inform. Process. Lett. 2002, 83, 323–329. [Google Scholar] [CrossRef]
- Huo, Y.M.; Reznichenko, B.; Zhao, H.R. Minimizing total weighted completion time with an unexpected machine unavailable interval. J. Sched. 2014, 17, 161–172. [Google Scholar] [CrossRef]
- Kacem, I.; Kellerer, H. Semi-online scheduling on a single machine with unexpected breakdown, Theor. Comput. Sci. 2016, 646, 40–48. [Google Scholar]
- Tian, J.; Zhou, Y.; Fu, R. An improved semi-online algorithm for scheduling on a single machine with unexpected breakdown. J. Comb. Optim. 2020, 40, 170–180. [Google Scholar] [CrossRef]
- Lee, C.Y. Machine scheduling with an availability constraints. J. Global. Optim. 1996, 9, 395–416. [Google Scholar] [CrossRef]
- Kacem, I.; Chu, C. Worst-case analysis of the WSPT1 and MWSPT2 rules for single machine scheduling with one planned setup period. Eur. J. Oper. Res. 2008, 187, 1080–1089. [Google Scholar] [CrossRef]
- Kacem, I. Approximation algorithm for the weighted flow-time minimization on a single machine with a fixed non-availability interval. Comput. Ind. Eng. 2008, 54, 401–410. [Google Scholar] [CrossRef]
- Lee, C.Y.; Liman, S.D. Single-machine flow-time scheduling with scheduled maintenance. Acta Inform. 1992, 29, 375–382. [Google Scholar] [CrossRef]
- Sadfi, C.; Penz, B.; Rapine, C.; et al. An improved approximation algorithm for the single machine total completion time scheduling problem with availability constraints Eur, J. Oper. Res. 2005, 161, 3–10. [Google Scholar] [CrossRef]
- He, Y.; Zhong, W.Y.; Gu, H.K. Improved algorithms for two single machine scheduling problems. Theor. Comput. Sci. 2006, 363, 257–265. [Google Scholar] [CrossRef]
- Breit, J. Improved approximation for non-preemptive single machine flow-time scheduling with an availability constraint. Eur. J. Oper. Res. 2007, 183, 516–524. [Google Scholar] [CrossRef]
|
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).