Abstract
In this paper, we consider two types of semi-online problems with hierarchies. In the extensible bin-packing problem with two hierarchical bins, one bin can pack all items, while the other bin can only pack some items. The initial size of the bin can be expanded, and the goal is to minimize the total size of the two bins. When the largest item size is given in advance, we provide some lower bounds and propose online algorithms. When the total item size is given in advance, we provide some lower bounds and propose online algorithms. In addition, we also consider the relevant early-work-maximization problem on two hierarchical machines; one machine can process any job, while the other machine can only process some jobs. Each job shares a common due date, and the goal is to maximize the total early work. When the largest job size is known, we provide some lower bounds and propose two online algorithms whose competitive ratios are close to the lower bounds.
    1. Introduction
The bin-packing problem (BP) is one of the most fundamental problems in combinatorial optimization and is the cornerstone of approximation algorithms, and it has been extensively studied since the early 1970s. The extensive study of the BP, called the extensive bin-packing problem (EBP), has had a great impact on the design and analysis of approximation algorithms [,], which are widely used in numerous classic applications, such as machine scheduling, cutting stock problems, storage allocation, and cloud storage. Currently, the model of the EBP arises in scheduling problems [], and more and more hierarchical scheduling has been combined with early work maximization (especially makespan minimization) in recent years [] (especially [,,]). Thus, in this work, we will investigate both problems: the hierarchical extensible bin-packing problem and the early-work-maximization problem. Before introducing our problems, we will first provide some basic knowledge and related notions, the contributions of previous studies, and the motivation and the results of this paper.
1.1. Basic Knowledge and Related Notions
In the (semi-)online scheduling problem, the jobs arrive one by one. The performance of the (semi-)online algorithm is measured by the competitive ratio. For a maximization (minimization) problem and given an instance I, the objective value of the solution produced by an online algorithm A is denoted by  (, for short), and the offline optimal criterion value is denoted by  (, for short). The performance of A is measured by its competitive ratio, and the competitive ratio of A is defined as the minimum value  satisfying  () for any instance I, where  denotes the output value by A and  denotes the offline optimal criterion value. On the other hand, if there is no online algorithm for the problem that has a competitive ratio strictly less than , then  is referred to as a lower bound of the problem. In particular, if there is an online algorithm with a competitive ratio exactly matching the problem’s lower bound, then we claim that this algorithm is an optimal online algorithm.
For the online hierarchical extensible bin-packing problem, we are given a set  of n items. Each item  has a size  and m extendable bins  with original size 1, where each item must be packed into one bin, and the total size of the items packed in any bin can exceed 1, if necessary. The load  of a bin  is just the total size of the items contained in , and the size of a bin  is defined by . The extensible bin-packing problem introduced in [,], which is also called operating room allocation [], is to minimize the total size of the bins, i.e., to minimize
        
      
        
      
      
      
      
    
Since the model of the EBP naturally arises in scheduling problems, we stick to the scheduling terminology in this article (bins are the same as machines; items are the same as jobs). For the semi-online hierarchical early work maximization scheduling problem, we are given a set  of two hierarchical machines and a set  of n jobs arriving online. The machine  can process all jobs, while the machine  can only process some of the jobs. Each job can only be processed by one machine. A new job  arrives only after job  is irrevocably scheduled to a machine. Let  be the load of , . The objective is to find a schedule such that the total early work
        
      
        
      
      
      
      
    
        is maximized.
1.2. The Contributions of Previous Studies
The extensible bin-packing problem (EBP), with the goal of minimizing the total sizes of bins, originates from the research work of Dell’Olmo et al. [], who showed that the problem is strongly NP-hard. Furthermore, they proved that the approximation ratio of the longest processing time (LPT) algorithm for the problem is .
Alon et al. [] presented a unified efficient polynomial time approximation scheme (EPTAS) for scheduling on parallel machines, which is also suitable for the EBP. It is worth noting that Coffman et al. [] presented an asymptotic fully polynomial time approximation scheme (FPTAS) for the EBP. If the number m of bins is fixed, there is an FPTAS following from the results of []. Most recently, Levin [] designed an EPTAS for a generalization of the EBP with unequal bin sizes, where the cost of exceeding the bin size depends on the index of the bin and not only on the amount by which the size of the bin is exceeded.
A special case of the EBP is the case of extensible bin packing with unequal bin sizes (called the EBP-UBS). The online version of the problem was first studied by Dell’Olmo et al. [], and they proved that the competitive ratio of the LS algorithm is , which was improved slightly by Ye et al. []. Berg et al. [] gave an online algorithm for the online EBP with a variable cost of extension. Most recently, Luo et al. [] presented several lower bounds and an online algorithm whose competitive ratio is optimal in certain cases for the online EBP with a variable cost of extension. When , there exists a big gap between the best-known lower bound and the upper bound for the online EBP. When , the best possible competitive ratio for the online EBP problem is  [,]. Another special case of the EBP is the case of a stochastic extensible bin-packing problem (SEBP), in which the size of each item follows some known probability distribution, and all the n items are packed into m bins of unit capacity in order to minimize the expected costs. Sagnol et al. [] showed that there is a simple policy, called LEPT, with an approximation ratio of  for the SEBP, and the problem has been generalized to arbitrary stochastic jobs in []. Building on the two papers, Sagnol et al. [] proved improved bounds under distributional assumptions of the processing times.
The EBP model arises in scheduling problems in which machines are available for some amount of time at a fixed cost and for extra time at an additional cost. Speranza et al. [] first introduced the online scheduling problem on m identical machines with extendable working time, which is also a special online EBP problem in which all bin sizes are equal to one and the size of a bin can be extended if necessary. They proved that the competitive ratio of the list scheduling (LS) algorithm for the problem is  and designed a new online algorithm with a competitive ratio of .
A similar problem is the early work maximization scheduling problem. Nonpreemptive parallel machine scheduling with a common due date to maximize the total early work of all the jobs, i.e., the total processing time of the jobs completed before the common due date, has been a popular objective in the past decade [,]. Recently, for the offline version of the problem, when the number m of machines is fixed, Li [] presented an FPTAS with running time , for any desired accuracy , where n is the number of jobs and  is exponential in . When the number m of machines is not fixed, Li [] also presented an EPTAS. Moreover, Sun et al. [] proved that the worst-case ratio of the LPT algorithm for the offline early-work-maximization problem is at most  this year. For the online case of the problem, Chen et al. [] considered the scheduling problem on parallel identical machines and presented an algorithm with a competitive ratio of . In particular, they proved that the competitive ratio of  is tight when . This year, Jiang et al. [] proved that the tight competitive ratio of the LS algorithm is  and improved the upper bound on the competitive ratio for the previous algorithm  to .
For the early-work-maximization problems on two hierarchical machines, Xiao et al. [] studied two semi-online models of the problem with a buffer or rearrangements. If a buffer size of K is available, they designed an optimal online algorithm with a competitive ratio of . If it is allowed to reassign at most K jobs after all the jobs have been scheduled, they proposed an optimal online algorithm with a competitive ratio of . Furthermore, Xiao et al. [] designed an optimal online algorithm with a competitive ratio of  for the problem and proposed several optimal semi-online algorithms for the cases when the largest processing time or total processing time is known. For the early-work-maximization problems on two hierarchical uniform machines  and , where machine  with speed  is available for all jobs and machine  with speed 1 is available only for high-hierarchy jobs, Xiao et al. [] proposed four optimal semi-online algorithms for the cases of the total size of all jobs, the total size of low-hierarchy jobs, the total size of high-hierarchy jobs, and both the total size of low-hierarchy and high-hierarchy jobs that are known in advance, respectively. This problem is also closely related to the online -norm load-balancing problem on two hierarchical machines [,] and the online machine covering problems on two hierarchical machines [,,]. Furthermore, more related results can be found in the recent surveys [,,].
The makespan minimization scheduling problem on hierarchical machines is another typical objective in scheduling and is also closely related to the online early-work-maximization problem. The online version of such a problem was also first studied by Park et al. [] and Jiang et al. []. They independently proposed an optimal online algorithm with a competitive ratio of . Moreover, if the total size of all the jobs is given in advance, ref. [] presented an optimal online algorithm with a competitive ratio of . If the largest processing time of jobs is known in advance, Wu et al. [] presented an optimal online algorithm with a competitive ratio of ; if the total processing time is known in advance, the group presented an optimal online algorithm and obtained the same result as []. If the processing times are bounded, Liu et al. [], Luo et al. [], and Zhang et al. [] designed several online algorithms for the makespan minimization problem on two hierarchical machines. Chen et al. [,] considered several semi-online versions of the problem and proposed the corresponding optimal online algorithms. Akaria et al. [] discussed online scheduling with migration on two hierarchical machines.
1.3. The Motivation of the Paper
The EBP has been widely used to represent the cost of allocating surgeries to operating rooms (ORs) [,,] in recent years, which is a challenging combinatorial optimization problem. There is also significant uncertainty in the duration of surgical procedures, which further complicates assignment decisions. In the context of OR allocation, ORs represent bins. Assume that  is the number of ORs. Each bin has a certain size at a fixed cost , which denotes the time T that each OR is available during a particular day. The OR can be utilized for more than the regular available time. Under this model, the total cost of a solution assigning the subset of surgeries  to the i-th operating room () becomes , and the decision maker is asked to find the best allocation so that the total cost is minimized. The EBP corresponds to the situation in which  and . In practice, surgical durations are not known in advance, and the patients with more severe injuries should be given priority treatment, which is also highly important. In addition, in communications engineering, service providers assign service classes to calls in communications networks and route queries to hierarchical databases. Hence, motivated by these random cases and online hierarchical scheduling [], we study the hierarchical extensible bin-packing problem (HEBP), in which each bin  has an identical original size 1, for . The bin  can pack all the items, while  can only pack the items with the high hierarchy, i.e., , with the objective of minimizing the expected costs. Our new model is defined to generalize some special semi-online cases of the HEBP.
Scheduling with the goal of early work maximization has many practical applications in recent years, such as scheduling customer orders in manufacturing systems, testing software in software engineering, spreading fertilizers in agriculture, planning technological processes in manufacturing systems, collecting data from sensors in control systems, and harvesting crops in agriculture. For example, in the service industry, service providers often assign corresponding privileges and differentiated services to customers according to the level of service they promise to customers. Motivated by [], we study the early-work-maximization problems on two identical parallel machines under a grade of service (GoS) provision, with the information of the largest job, where the machine  can process all jobs, while the machine  can only process the higher hierarchical jobs, with the goal of maximizing the total early work. Our new model is defined to generalize some special semi-online cases of the problem.
1.4. The Organization and Results of the Paper
The remainder of this paper is organized as follows.  Section 2 focuses on a series of models for the HEBP with the largest item size known in advance.
(Section 2.1) If the largest size  of the items is known in advance, without knowledge of the item hierarchy, and if at least one item of size  appears, we give two lower bounds  and  and propose an optimal online algorithm with a competitive ratio of .
(Section 2.2) If the hierarchy of the largest item is known in advance and there is at least one item of the largest size  that appears, we give some lower bounds. When , we propose a simple online algorithm with a competitive ratio of .
(Section 2.3) If the largest item with hierarchy  is known in advance and if , i.e., , where  is the size of the largest item  with the lower hierarchy, we design an optimal semi-online algorithm with a competitive ratio of .
(Section 2.4) If the largest item with hierarchy  is known in advance and considering the case where , i.e., , where  is the size of the largest item  with the higher hierarchy, we show a lower bound  and design an online algorithm with a competitive ratio of .
Section 3 focuses on a series of models for the HEBP with the total item size known in advance.
(Section 3.1) If the total size T of all the items is known in advance, we give a lower bound of  and propose an optimal online algorithm with a competitive ratio of .
(Section 3.2) If the total size  of the low-hierarchy items is known in advance, we show a lower bound of  and propose an algorithm with a competitive ratio of .
(Section 3.3) If the total size  of the high-hierarchy items is known in advance, we show a lower bound of  and propose an algorithm with a competitive ratio of .
In Section 4, we investigate the semi-online hierarchical early-work-maximization problem, i.e., the case of the largest job is known in advance.
(Section 4.1) If the largest job size  is known in advance, without knowledge of the job hierarchy, we give two lower bounds  and  for  and , respectively. We also propose an online algorithm with a competitive ratio  for .
(Section 4.2) If the hierarchy of the largest job is known, when the largest job has a low hierarchy, i.e., , we denote this problem as . We give two lower bounds  and  for  and , respectively.
Finally, we present our conclusions in Section 5.
2. The Hierarchical Extensible Bin-Packing Problem of Knowing the Largest Item Size
For the online case, a set of n items  and two hierarchical bins  are given. Each item  is characterized by two parameters: the item size  and the item hierarchy . For convenience, item  is denoted by  for . Each bin  has an identical original size of 1 for . The hierarchical constraint means that the bin  can pack all the items, while  can only pack the items with hierarchy 2, i.e., .
All the items of I are ordered in a list and arrive one by one. Once an item arrives, it must be assigned to one of the two hierarchical bins immediately and irrevocably. The information of item  is given after item  has been assigned. Assume that the size of each item satisfies
      
      
        
      
      
      
      
    
This problem is to find a packing that assigns all the items of I to the two bins, and the goal is to minimize the total size of both bins. Let  be the load of the bin , i.e., the total size of the items assigned to , for . If , the size of bin  is equal to 1, i.e., . If , the size of bin  is equal to its load, i.e., . As a result, the size of bin  is defined as
      
      
        
      
      
      
      
    
Therefore, the goal of the problem is to find a packing plan such that the total size of both bins
      
      
        
      
      
      
      
    
      is minimized.
In the following, let  be the total size of the items assigned to bin  after item  is assigned, for . Clearly, we have
      
      
        
      
      
      
      
    
Let T be the total size of all the items and  be the total size of the items with hierarchy . Hence, we have . Define  as the offline optimal value and  as the output value of the (semi-)online algorithm A. From the definition of the total size of both bins, we have the following lemma.
Lemma 1. 
The offline optimal value  satisfies
      
        
      
      
      
      
    
In this section, we consider a series of models for which the largest item size is given in advance. Assume that each item size  is bounded by , i.e.,
      
      
        
      
      
      
      
    
2.1. The Largest Item Is Known
In this subsection, the largest size of the items is known in advance without knowledge of the item hierarchy, and at least one item of size  appears. We give two lower bounds  and  and propose an optimal online algorithm with a competitive ratio .
Theorem 1. 
When only the size of the largest item is known, any online algorithm A has a competitive ratio at least  for .
Proof.  
Let N be a large enough integer and . The first t items are , where t is the minimal integer satisfying the following conditions.
Case 1.  ().
The item  and the last k items  arrive,  and , then  and .
Case 2.  ().
The last two items  and  arrive, implying that  and .
As a result, in all cases, we obtain that
          
      
        
      
      
      
      
    
Therefore, our theorem holds in any case. □
Theorem 2. 
When only the size of the largest item is known, any online algorithm A has a competitive ratio of at least  for .
Proof.  
The first item is .
Case 1.  is assigned to .
Then, the last item  arrives, and we have  and .
Case 2.  is assigned to .
Then, the next item :
          
- (i)
 - If is assigned to , and no more items arrive, then, we have and .
 - (ii)
 - If is assigned to , the last item arrives, then we have and .
 
		  As a result, in all cases, we obtain that
          
      
        
      
      
      
      
    
Therefore, our theorem holds in any case.    □
The details of our online algorithm are described in Algorithm 1.  
Theorem 3. 
The competitive ratio of Algorithm 1 is at most .
| Algorithm 1: A1. | 
![]()  | 
Proof.  
Since the largest item size is , we have . Based on Lemma 1, we have . In the case of , we have . In the case of , we have . Both cases imply that Algorithm 1 reaches optimality. Thus, we only consider the case of , implying that
          
      
        
      
      
      
      
    
We consider the following two cases:
Case 1.  and .
Let  be the last item of hierarchy  assigned to . According to Algorithm 1, we know that item  is assigned to  at Line 9; then, we have
          
      
        
      
      
      
      
    
By Lemma 1, we have
          
      
        
      
      
      
      
    
          where the second inequality follows from , the third inequality follows from , and the last inequality follows from (4).
Case 2.  and .
Let  be the last item of hierarchy 2 assigned to . According to Algorithm 1, we know that item  is assigned to  at Line 7; then, we have
          
      
        
      
      
      
      
    
By Lemma 1, we have
          
      
        
      
      
      
      
    
          where the second inequality follows from  and the last inequality follows from (5).
Therefore, our theorem holds in any case.    □
2.2. The Largest Item with Lower Hierarchy or Higher Hierarchy
In this subsection, the hierarchy of the largest item is known, and there is at least one item of size  that appears; we give some lower bounds. When , we propose a simple online algorithm with a competitive ratio of .
Theorem 4. 
When the largest item is the hierarchy-1 item, any online algorithm A has a competitive ratio of at least  for .
Proof.  
Let N be a large enough integer and . The first t items are  and , where t is the minimal integer satisfying the following conditions.
Case 1.  ().
The last item  arrives, then  and .
Case 2.  ().
The last two items  and  arrive, implying that  and .
As a result, in all cases, we obtain that
          
      
        
      
      
      
      
    
Therefore, our theorem holds in any case.    □
Theorem 5. 
When the largest item is the hierarchy-2 item, any online algorithm A has a competitive ratio of at least  for .
Proof.  
Let N be a large enough integer and . The first item is .
If  is assigned to , then the last item  arrives, and we have  and .
If  is assigned to , then the next  items  arrive, where t is the minimal integer satisfying the following conditions.
Case 1.  ().
The last item  arrives, then  and .
Case 2.  ().
The next item  arrives:
          
- (i)
 - If is assigned to , no more jobs arrive, and we have and .
 - (ii)
 - If is assigned to , the last item arrives, and we have and .
 
Since , we have
          
      
        
      
      
      
      
    
          and
          
      
        
      
      
      
      
    
          and as a result, in all cases, we obtain that
          
      
        
      
      
      
      
    
Therefore, our theorem holds in any case.    □
Theorem 6. 
When the largest item is the hierarchy-2 item, any online algorithm A has a competitive ratio of at least  for .
Proof.  
The first item is .
Case 1.  is assigned to .
Then, the last item  arrives, and we have  and .
Case 2.  is assigned to .
Then, the next item  arrives:
          
- (i)
 - If is assigned to , no more items arrive, and we have and .
 - (ii)
 - If is assigned to , the last item arrives, and we have and .
 
Therefore, we obtain
          
      
        
      
      
      
      
    
Therefore, our theorem holds in any case.    □
The details of our online algorithm are described in Algorithm 2.  
Theorem 7. 
The competitive ratio of Algorithm 2 is at most .
| Algorithm 2: A2. | 
![]()  | 
Proof.  
      
        
      
      
      
      
    
As the proof of Theorem 3, we consider only the following two cases.
Case 1.  and :
          
- (i)
 - If the largest item is hierarchy 1, then all items of hierarchy 2 are assigned to , and Algorithm 2 reaches optimality.
 - (ii)
 - If the largest item is hierarchy 2, then the first largest item is assigned to , and . By Lemma 1, we have
 
Case 2.  and :
          
- (i)
 - If the largest item is hierarchy 1, then . By Lemma 1, we have
 - (ii)
 - If the largest item is hierarchy 2, then only the first largest item is assigned to , and , which contradicts the assumption that .
 
Therefore, our theorem holds in any case.    □
2.3. The Largest Item with the Lower Hierarchy
In this subsection, we focus on the semi-online case in which the largest item with hierarchy 1 is known a priori and consider the case in which , i.e.,
        
      
        
      
      
      
      
    
        where  is the size of the largest item  with the lower hierarchy; we design an optimal semi-online algorithm with a competitive ratio of .
Theorem 8. 
The competitive ratio of any online algorithm A for the problem is no less than .
Proof.  
Assume that . The first two items  and  arrive.
Case 1.  is assigned to .
Then, the last item  arrives. Thus, we have  and .
Case 2.  is assigned to .
Then, the third item  arrives:
          
- (i)
 - If is assigned to bin , then the last item arrives. Thus, we have and .
 - (ii)
 - If is assigned to bin , then the last item arrives. This means that and .
 
Therefore, , our theorem holds in any case.    □
Now, we present an optimal online algorithm to solve the semi-online case when the largest item has the lower hierarchy. The primary concept of this algorithm is that we prioritize bin  when allocating items, since the largest items with hierarchy 1 can only be assigned to .
Theorem 9. 
The competitive ratio of Algorithm 3 is at most .
| Algorithm 3: A3. | 
![]()  | 
Proof.  
As the proof of Theorem 3, we consider only the following two cases.
Case 1.  and .
According to the analysis of Theorem 2, we let  be the last item of hierarchy  assigned to . According to Algorithm 3, we know that item  is assigned to  at Line 9, implying that
          
      
        
      
      
      
      
    
Thus, based on Lemma 1, we have
          
      
        
      
      
      
      
    
          where the second inequality follows from , the third inequality follows from , and the last inequality follows from (7).
Case 2.  and .
Case 2.1 .
Let  be the last item assigned to . By (6), we assume that
          
      
        
      
      
      
      
    
According to Algorithm 3, we know that item  is assigned to  at Line 7, which implies that
          
      
        
      
      
      
      
    
          and
          
      
        
      
      
      
      
    
          where the inequality follows from (8). Hence, based on Lemma 1, we have
          
      
        
      
      
      
      
    
Case 2.2 .
Obviously, we have
          
      
        
      
      
      
      
    
Thus, based on Lemma 1, we have
          
      
        
      
      
      
      
    
          where the second inequality follows from , the third inequality follows from , and the last inequality follows from (9).
Therefore, our theorem holds in any case.    □
2.4. The Largest Item with the Higher Hierarchy
In this subsection, we focus on the semi-online case in which the largest item with hierarchy 2 is known in advance and consider the case in which , i.e.,
        
      
        
      
      
      
      
    
        where  is the size of the largest item  with the higher hierarchy. We show a lower bound  and design an online algorithm with a competitive ratio of .
Theorem 10. 
The competitive ratio of any online algorithm A for the problem is no less than .
Proof.  
Assume that . The first item  arrives. Let N be a large enough integer and .
Case 1.  is assigned to bin .
Then, the next N items  arrive, and no more items arrive. Thus, we have , and .
Case 2.  is assigned to bin .
Then, the second item  arrives:
          
- (i)
 - is assigned to bin .Then, no more items arrive. Thus, we have , and .
 - (ii)
 - is assigned to bin .Then, the next N items arrive, and no more items arrive. Thus, we have and .
 
As a result, in all cases, we obtain that
          
      
        
      
      
      
      
    
Therefore, our theorem holds in any case.    □
Now, we present an online algorithm to solve the semi-online case when the largest item has the lower hierarchy. The primary concept of this algorithm is that we reserve bin  for the first largest item until it appears in the system.
Theorem 11. 
The competitive ratio of Algorithm 4 is at most .
| Algorithm 4: A4. | 
![]()  | 
Proof.  
As the proof of Theorem 3, we consider only the following two cases.
Case 1.  and .
According to the analysis of Theorem 2, we let  be the last item of hierarchy 2 assigned to ,  be the first largest item of hierarchy 2, and . Since item  can be assigned only to  in Algorithm 4, we can obtain that .
Case 1.1 .
According to Algorithm 4, we know that item  is assigned to  at Line 10 and  is assigned to  at Line 13, implying that
          
      
        
      
      
      
      
    
          and
          
      
        
      
      
      
      
    
          where the first inequality follows from (10). Hence, we have
          
      
        
      
      
      
      
    
As item  is assigned to  after item , then
          
      
        
      
      
      
      
    
Case 1.2 .
According to Algorithm 4, we know that item  is assigned to  at Line 18 and  is assigned to  at Line 13, implying that
          
      
        
      
      
      
      
    
As item  is assigned to  before item , then, together with (11), this implies that
          
      
        
      
      
      
      
    
          hence, we have
          
      
        
      
      
      
      
    
As a result, by (11) and (12), we have
          
      
        
      
      
      
      
    
          hence, based on Lemma 1,
          
      
        
      
      
      
      
    
          where the second inequality follows from , the third inequality follows from , and the last inequality follows from (13).
Case 2.  and .
Let  be the last item assigned to :
          
- (i)
 - If item is assigned to at Line 16 of Algorithm 4, then we have
 - (ii)
 - If is the first largest item with a size , it is assigned to at Line 13 of Algorithm 4. Let be the last item assigned to before . Then, according to Algorithm 4, we have
 
As a result, by (14) and (15), we have
          
      
        
      
      
      
      
    
          hence, and based on Lemma 1,
          
      
        
      
      
      
      
    
Therefore, our theorem holds in any case.    □
3. The Hierarchical Extensible Bin-Packing Problem of Knowing the Total Item Size
In this section, we consider a series of models for which the total item size is known in advance.
3.1. The Total Size of All the Items Is Known
In this subsection, when we know the total size T of all the items in advance, we give a lower bound of  and propose an optimal online algorithm with a competitive ratio of .
Theorem 12. 
Any online algorithm A for the problem has a competitive ratio of at least .
Proof.  
Assume that . The first item is :
          
- (i)
 - If is assigned to , then the last two items and arrive. Thus, we have and .
 - (ii)
 - If is assigned to , then the second item arrives.
 
If item  is assigned to bin , then the last item  arrives. Thus, we have  and .
If item  is assigned to bin , then the last item  arrives. Thus, we have  and .
As a result, in all cases, we obtain that
          
      
        
      
      
      
      
    
Therefore, our theorem holds in any case.    □
The details of our online algorithm are described in Algorithm 5.
        
| Algorithm 5: A5. | 
![]()  | 
Theorem 13. 
The competitive ratio of Algorithm 5 is at most .
Proof.  
As the proof of Theorem 3, we consider the following two cases:
Case 1.  and .
In this case, we have . If there is no item of hierarchy  assigned to , then  and , implying that Algorithm 5 reaches optimality. Else, let  be the last item of hierarchy  assigned to :
          
- (i)
 - If item is assigned to at Line 10 by Algorithm 5, let be the last item assigned to . According to Algorithm 5, we know thatBased on Lemma 1, we have
 - (ii)
 - If item is assigned to at Line 12 by Algorithm 5, let be the first item assigned to at Line 12. According to Algorithm 5, we know thatandimplying thatwhere the last inequality follows from (1).
 
Based on Lemma 1, if , by (16), we have
          
      
        
      
      
      
      
    
          if , by (16), we have
          
      
        
      
      
      
      
    
Case 2.  and .
In this case, we have . Let  be the total size of the items of hierarchy  assigned to , and let  be the last item assigned to :
          
- (i)
 - If item is assigned to at Line 7 of Algorithm 5, then we have , which contradicts .
 - (ii)
 - If item is assigned to at Line 10 of Algorithm 5, then we haveandimplying thatwhere the last inequality follows from (1).
 
Based on Lemma 1, if , by (17), we have
          
      
        
      
      
      
      
    
          and if , by (17), we have
          
      
        
      
      
      
      
    
Therefore, our theorem holds in any case.    □
3.2. The Total Size of the Low-Hierarchy Items Is Known
In this subsection, the total size  of the low-hierarchy items and the total size  of the high-hierarchy items are known in advance. We show a lower bound of  and propose an algorithm with a competitive ratio of .
Theorem 14. 
Any online algorithm A for the problem has a competitive ratio of at least .
Proof.  
Let . The first two items are  and .  can only be assigned to :
          
- (i)
 - If is assigned to , then no more items arrive. Hence, we have and , implying that
 - (ii)
 - If is assigned to , the last item arrives. Regardless of how item is allocated, we have and , implying that
 
Therefore, in any case, we have , implying that the theorem holds.    □
The details of our online algorithm are described in Algorithm 6.  
        
| Algorithm 6: A6. | 
![]()  | 
Theorem 15. 
The competitive ratio of Algorithm 6 is at most .
Proof.  
As the proof of Theorem 3, we consider only the following two cases.
Case 1.  and .
In this case, we have . If there is no item of hierarchy  assigned to , then  and , implying that Algorithm 6 reaches optimality. Else, let  be the last item of hierarchy  assigned to . According to Algorithm 6, we know that there are three possibilities for assigning item  to :
          
- (i)
 - If is assigned to at Line 10 of Algorithm 6, then we have , which contradicts .
 - (ii)
 - If is assigned to at Line 13 of Algorithm 6, then we haveBased on Lemma 1, we have
 - (iii)
 - If is assigned to at Line 15 of Algorithm 6, let be the item assigned to at Line 15. According to Algorithm 6, we have andIf , then
 
If , let  be the last item assigned to  when  arrives; from the choice of Algorithm 6, we know that  is assigned to  at Line 10. Thus, we have
          
      
        
      
      
      
      
    
Together with (18), we have
          
      
        
      
      
      
      
    
Therefore, we have
          
      
        
      
      
      
      
    
Case 2.  and .
In this case, we have . Let  be the last item assigned to . According to Algorithm 6, we know that there are three possibilities for assigning item  to :
          
- (i)
 - If is assigned to at Line 7 of Algorithm 6, we have
 - (ii)
 - If is assigned to at Line 13 of Algorithm 6, let be the item assigned to at Line 13. According to Algorithm 6, we have
 - (iii)
 - If is assigned to at Line 15, then Algorithm 6 does not run Lines 7 and 13. Since only item is assigned to at Line 15, we have , which contradicts the assumption that .
 
As a result, by (19) and (20), we have
          
      
        
      
      
      
      
    
Therefore, our theorem holds in any case.    □
3.3. The Total Size of High-Hierarchy Items Is Known
In this subsection, the total size  of the high-hierarchy items is known in advance. We show a lower bound of  and propose an algorithm with a competitive ratio of .
Theorem 16. 
Any online algorithm A for the problem has a competitive ratio of at least .
Proof.  
Let . The first item is :
          
- (i)
 - If is assigned to , the last two items and arrive. Therefore, and , implying that
 - (ii)
 - If is assigned to , the next item arrives.
 
If  is assigned to , then no more items arrive. Therefore,  and , implying that
          
      
        
      
      
      
      
    
If  is assigned to , the last item  arrives. Therefore,  and , implying that
          
      
        
      
      
      
      
    
Therefore, in any case, we have , implying that the theorem holds.    □
The details of our online algorithm are described in Algorithm 7.  
        
| Algorithm 7: A7. | 
![]()  | 
Theorem 17. 
The competitive ratio of Algorithm 7 is at most .
Proof.  
As the proof of Theorem 3, we consider only the following two cases.
Case 1.  and .
In this case, we have . If there is no item of hierarchy  assigned to , then  and , implying that Algorithm 7 reaches optimality. Else, let  be the last item of hierarchy  assigned to . According to Algorithm 7, we know that there are two possibilities for assigning item  to :
          
- (i)
 - If is assigned to at Line 10 of Algorithm 7, then we have
 - (ii)
 - If is assigned to at Line 15, let be the item assigned to at Line 15. According to Algorithm 7, we haveandimplying that
 
As a result, based on Lemma 1, by (21) and (22), we have
          
      
        
      
      
      
      
    
Case 2.  and .
In this case, we have . Let  be the last item assigned to . According to Algorithm 7, we know that there are three possibilities for assigning item  to :
          
- (i)
 - If is assigned to at Line 7 of Algorithm 7, we have
 - (ii)
 - If is assigned to at Line 13, let be the first item assigned to at Line 13. According to Algorithm 7, we have
 - (iii)
 - If is assigned to at Line 15, then Algorithm 7 does not run Lines 7 and 13. Since only item is assigned to at Line 15, we have , which contradicts the assumption that .
 
As a result, based on Lemma 1, by (23) and (24), we have
          
      
        
      
      
      
      
    
Therefore, our theorem holds in any case.    □
3.4. The Total Size of the Low-Hierarchy and High-Hierarchy Items Are Known
In this subsection, the total size  of the low-hierarchy items and the total size  of the high-hierarchy items are known in advance. We show a lower bound of , and we propose an optimal algorithm with a competitive ratio of .
Theorem 18. 
Any online algorithm A for the problem has a competitive ratio at least .
Proof.  
Let  and . The first three items are , , and . The item  can only be assigned to :
          
- (i)
 - If and are assigned to the same bin, then the last two items and arrive, implying that and .
 - (ii)
 - If and are assigned to the different bins, then the last two items and arrive, implying that and .
 
As a result,
          
      
        
      
      
      
      
    
Therefore, in any case, we have , implying that the theorem holds.    □
The details of our online algorithm are described in Algorithm 8.  
        
| Algorithm 8: A8. | 
![]()  | 
Theorem 19. 
The competitive ratio of Algorithm 8 is at most .
Proof.  
As the proof of Theorem 3, we consider only the following two cases.    □
Case 1.  and .
In this case, we have . If there is no item of hierarchy  assigned to , then  and , implying that Algorithm 8 reaches optimality. Else, let  be the last item of hierarchy  assigned to . According to Algorithm 8, we know that there are three possibilities for assigning item  to :
- (i)
 - If is assigned to at Line 7 of Algorithm 8, then we have
 
Based on Lemma 1, we have
        
      
        
      
      
      
      
    
- (ii)
 - If is assigned to at Line 13, let be the item assigned to at Line 13. According to Algorithm 8, we haveimplying that
 - (iii)
 - If is assigned to at Line 15 of Algorithm 8, then, we haveimplying that
 
As a result, based on Lemma 1, when , by (25) and (26), we have
        
      
        
      
      
      
      
    
        and
        
      
        
      
      
      
      
    
        when , by (25) and (26), we have
        
      
        
      
      
      
      
    
Case 2.  and .
In this case, we have . Let  be the last item assigned to . According to Algorithm 8, we know that there are three possibilities for assigning item  to :
- (i)
 - If is assigned to at Line 10, let be the first item assigned to at Line 10. According to Algorithm 8, we haveimplying that
 - (ii)
 - If is assigned to at Line 13, then Algorithm 8 does not run Lines 10 and 15. Since only item is assigned to at Line 13, we have , which contradicts the assumption that .
 - (iii)
 - If is assigned to at Line 15, let be the item assigned to at Line 15. According to Algorithm 8, we have , which contradicts the assumption that .
 
As a result, based on Lemma 1, when , by (27), we have
        
      
        
      
      
      
      
    
        and
        
      
        
      
      
      
      
    
        when , by (27), we have
        
      
        
      
      
      
      
    
Therefore, our theorem holds in any case.
4. The Hierarchical Early-Work-Maximization Problem of Knowing the Largest Job
In this section, we are given two hierarchical machines  and  and a series of jobs arriving online that are to be immediately scheduled irrevocably at the time of their arrival. An new job appears only after the current job is scheduled to a machine. Let  be the set of all jobs arranged in the order of arrival time. Denote the j-th job as , where  is the processing time (also called the size) of job  and  is the hierarchy of job . If , we call  a low-hierarchy job; otherwise, we call  a high-hierarchy job.  can process all jobs, and  can only process the high-hierarchy jobs.
As in [], we assume that each job has a common due date , and 
      
      
        
      
      
      
      
    
      the early work of job  is denoted by . If job  is completed before the due date , the job is called totally early and . If the job  starts at the time of , but finishes after the due date , the job is called partially early and . If the job  starts at the time of , the job is called totally late and .
A feasible schedule is actually a partition  of the job set , such that  and . Let  be the load of  and . The objective is to find a schedule such that the total early work
      
      
        
      
      
      
      
    
      is maximized. Let T be the total size of the jobs in , and let  be the load of  after job  is assigned to a machine. Clearly, .
Based on the above definitions, we have the following lemma.
Lemma 2. 
The optimal objective value  is at most .
As mentioned in Xiao et al. [], it is not useful if we only know the largest job size (processing time) , which may equal one. Since, if we assume that , i.e., the largest size of all the jobs is equal to 1, then for the semi-online case, Xiao et al. [] obtained the best possible competitive ratio of , which is exactly the best possible competitive ratio for the pure online case. This means that we cannot obtain a better online algorithm with the knowledge of  compared with the pure online case. Therefore, only the information on the largest size of the input jobs is unuseful. However, we can design online algorithms depending on the value of  as in [,].
In this section, assume that the value of  is known. We present some lower bounds and online algorithms, depending on whether the hierarchy of the largest job is given. Let , , and  be the maximum size of all jobs, the maximum size of low-hierarchy jobs, and the maximum size of high-hierarchy jobs, respectively. Let  be the competitive ratio of the proposed algorithms, and let  be the lower bound found in this section. For the sake of convenience, we only represent the portion of the optimal online algorithm that has not been obtained in Figure 1, where the largest gap for any  is no more than .
      
    
    Figure 1.
      The lower bounds and upper bounds.
  
4.1. The Hierarchy of the Largest Job Is Unknown
In this subsection, we consider that only the largest job size  is known, i.e.,  for , and we denote this problem as . We give two lower bounds  and  for  and , respectively. We also propose an online algorithm with a competitive ratio of  for .
Theorem 20. 
Any online algorithm A for  has a competitive ratio of at least
      
        
      
      
      
      
    
Proof.  
We first consider . In this case, we have
          
      
        
      
      
      
      
    
   □
Let N be a large-enough integer and . The first job  arrives. If  is assigned to , the last N jobs  arrive. It follows that  and . Thus, we have . Otherwise,  is assigned to . Let the next  items be , where t is the minimal integer satisfying one of the following two alternative conditions.
Case 1.  and .
The last N jobs  arrive, and these jobs must be assigned to . It follows that  and . Thus, we have
        
      
        
      
      
      
      
    
Case 2.  and .
The next job  arrives. If  is assigned to , then no more jobs arrive. It follows that  and . Thus, we have
        
      
        
      
      
      
      
    
If  is assigned to , then the last N jobs  arrive, and these jobs must be assigned to . It follows that  and . Thus, we have
        
      
        
      
      
      
      
    
Therefore, we have  for .
Next, we consider the case . Let . Clearly,  when . The first job  arrives. If  is assigned to , the last N jobs  arrive. It follows that  and . Thus, we have .
Otherwise,  is assigned to , and the next job  arrives. If  is assigned , then no more jobs arrive. It follows that  and . Thus, we have . If  is assigned , then the last N jobs  arrive and these jobs must be assigned to . It follows that  and . Thus, we have .
The details of our online algorithm are described in Algorithm 9.  
Theorem 21. 
The competitive ratio of Algorithm 9 is at most , for any .
| Algorithm 9: A9. | 
![]()  | 
Proof.  
If  and , by Lemma 2, we have . If  and , by Lemma 2, we have . This implies that we need to consider only the following two cases.
Case 1.  and .
In this case, . If there is no high-hierarchy job assigned to , then Algorithm 9 reaches optimality. Else, let  be the last high-hierarchy job assigned to . According to Algorithm 9, we have . Thus, based on Lemma 2, we have
          
      
        
      
      
      
      
    
Case 2.  and 
In this case, . Let  be the last high-hierarchy job assigned to . According to Algorithm 9 and , we have
          
      
        
      
      
      
      
    
Based on Lemma 2, we have
          
      
        
      
      
      
      
    
Therefore, by Theorem 21, we conclude that Algorithm 9 is optimal when .    □
Remark. If , the above competitive ratio is , which coincides with the result in [].
4.2. The Hierarchy of the Largest Job Is Known
In this subsection, assume that the hierarchy of the largest job is known. When the largest job has a low-hierarchy, i.e.,
        
      
        
      
      
      
      
    
        we denote this problem as . We give two lower bounds  and  for  and , respectively.
Theorem 22. 
Any online algorithm A for  has a competitive ratio of at least
      
        
      
      
      
      
    
Proof.  
We first consider . Let N be a large-enough integer and . The first t items are  and , where t is the minimal integer satisfying one of the following two alternative conditions.
Case 1.  and .
The last k jobs  with low-hierarchy arrive, where . Since the total size of the low-hierarchy job is one,  and . When , by Lemma 2, we have
          
      
        
      
      
      
      
    
When , by Lemma 2 and , we have
          
      
        
      
      
      
      
    
Case 2.  and .
The last l jobs  and  with low-hierarchy jobs arrive, where . It follows that  and . Therefore, we have
          
      
        
      
      
      
      
    
We next consider . Similarly, let N be a sufficiently large integer and . The first t items are  and , where t is the minimal integer satisfying one of the following two alternatively conditions:
          
- (i)
 - and ;
 - (ii)
 - and .
 
If condition (i) occurs, then the last N job  arrives. It follows that  and . Thus, we have
          
      
        
      
      
      
      
    
If condition (ii) occurs, then the last r jobs  and  with low-hierarchy arrive,  and  for . It follows that  and . Thus, we have
          
      
        
      
      
      
      
    
When the largest job has a high-hierarchy, i.e.,
          
      
        
      
      
      
      
    
          we denote this problem as . We give two lower bounds  and .    □
Theorem 23. 
      
        
      
      
      
      
    
When , any online algorithm A for  has a competitive ratio of at least
Proof.  
As in the proof of Theorem 21, we can obtain the desired result when . Otherwise, let N be a large-enough integer and . The first job  arrives.
Case 1.  is assigned to .
The last N jobs  arrive, and these jobs must be assigned to . It follows that  and . Thus, we have .
Case 2.  is assigned to .
The next job  arrives, where  following . If  is assigned to , then no more jobs arrive. It follows that  and . Thus, we have . If  is assigned to , then the last N jobs  arrive. It follows that  and . Thus, we have  for any case.    □
Next, we present a simple online Algorithm 10 for the case in which the hierarchy of the largest job is known.
        
| Algorithm 10: A10. | 
![]()  | 
Theorem 24. 
The competitive ratio of Algorithm 10 is at most , for any .
Proof.  
We first consider that the largest job is a low-hierarchy job. According to Algorithm 10, if there are high-hierarchy jobs, then all high-hierarchy jobs are assigned to . As the proof of Theorem 21, we consider only the cases of  and . Since there is at least one low-hierarchy job  that must be assigned to , we have . Based on Lemma 2, we have
          
      
        
      
      
      
      
    
Similarly, when the largest job has a high-hierarchy, we have , and it is easy to obtain this result. By Theorem 24, when , Algorithm 10 is optimal for .    □
5. Conclusions
In this paper, we studied two types of online problems with hierarchies. In some situations where the optimal online algorithm cannot be obtained, it is interesting to design optimal online algorithms. In the future, it will also be necessary to consider general models with any number of bins or machines.
Author Contributions
Conceptualization, Y.Y., M.X. and W.L.; methodology, Y.Y., M.X. and W.L.; software, Y.Y. and M.X.; validation, W.L.; formal analysis, Y.Y., M.X. and W.L.; investigation, M.X. and W.L.; resources, W.L.; data curation, M.X.; writing—original draft preparation, Y.Y. and M.X.; writing—review and editing, M.X. and W.L.; visualization, Y.Y.; supervision, M.X.; project administration, W.L.; funding acquisition, Y.Y. and W.L. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the National Natural Science Foundation of China (Grant No. 12071417) and the Postgraduate Research and Innovation Foundation of Yunnan University (KC-22223092).
Data Availability Statement
No new data were created nor analyzed in this study. Data sharing is not applicable to this article.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Coffman, E.G.; Csirik, J.; Galambos, G.; Martello, S.; Vigo, D. Bin packing approximation algorithms: Survey and classification. In Handbook of Combinatorial Optimization; Springer: Berlin/Heidelberg, Germany, 2013; pp. 455–531. [Google Scholar]
 - Hoberg, R.; Rothvoss, T. A logarithmic additive integrality gap for bin packing. In Proceedings of the 28th Annual ACM-SIAM Symposium on Discrete Algorithms. Society for Industrial and Applied Mathematics, Barcelona, Spain, 16–19 January 2017; pp. 2616–2625. [Google Scholar]
 - Speranza, M.G.; Tuza, Z. On-line approximation algorithms for scheduling tasks on identical machines with extendable working time. Ann. Oper. Res. 1999, 86, 491–506. [Google Scholar] [CrossRef]
 - Xiao, M.; Liu, X.; Li, W. Semi-online early-work-maximization problems on two hierarchical uniform machines with partial information of processing time. J. Comb. Optim. 2023, 46, 21. [Google Scholar] [CrossRef]
 - Akaria, I.; Epstein, L. Online scheduling with migration on two hierarchical machines. J. Comb. Optim. 2022, 44, 3535–3548. [Google Scholar] [CrossRef]
 - Qi, X.; Yuan, J. Semi-online hierarchical scheduling on two machines for lp-norm load balancing. Asia Pac. J. Oper. Res. 2019, 36, 1950002. [Google Scholar] [CrossRef]
 - Xiao, M.; Liu, X.; Li, W.; Chen, X.; Sterna, M.; Blazewicz, J. Online and semi-online scheduling on two hierarchical machines with a common due date to maximize the total early work. arXiv 2022, arXiv:2209.08704. [Google Scholar]
 - Dell’Olmo, P.; Kellerer, H.; Speranza, M.G.; Tuza, Z. A 13/12 approximation algorithm for bin packing with extendable bins. Inform. Process. Lett. 1998, 65, 229–233. [Google Scholar] [CrossRef]
 - Denton, B.T.; Miller, A.J.; Balasubramanian, H.J.; Huschka, T.R. Optimal allocation of surgery blocks to operating rooms under uncertainty. J. Oper. Res. 2010, 58, 802–816. [Google Scholar] [CrossRef]
 - Alon, N.; Azar, Y.; Woeginger, G.J.; Yadid, T. Approximation schemes for scheduling on parallel machines. J. Sched. 1998, 1, 55–66. [Google Scholar] [CrossRef]
 - Coffman, E.G.; Lueker, G.S. Approximation algorithms for extensible bin packing. J. Sched. 2006, 9, 63–69. [Google Scholar] [CrossRef][Green Version]
 - Woeginger, G.J. When does a dynamic programming formulation guarantee the existence of a fully polynomial time approximation scheme (FPTAS)? INFORMS J. Comput. 2000, 12, 57–74. [Google Scholar] [CrossRef]
 - Levin, A. Approximation schemes for the generalized extensible bin-packing problem. Algorithmica 2022, 84, 325–343. [Google Scholar] [CrossRef]
 - Dell’Olmo, P.; Speranza, M.G. Approximation algorithms for partitioning small items in unequal bins to minimize the total size. Discret. Appl. Math. 1999, 94, 181–191. [Google Scholar] [CrossRef][Green Version]
 - Ye, D.; Zhang, G. On-line extensible bin packing with unequal bin sizes. In Proceedings of the 1st International Workshop on Approximation and Online Algorithms, Budapest, Hungary, 16–18 September 2019; pp. 235–247. [Google Scholar]
 - Berg, B.P.; Denton, B.T. Fast approximation methods for online scheduling of outpatient procedure centers. INFORMS J. Comput. 2017, 29, 581–783. [Google Scholar] [CrossRef]
 - Luo, K.; Spieksma, F.C.R. Online bin packing with overload cost. In Proceedings of the 7th International Conference on Algorithms and Discrete Applied Mathematics, Rupnagar, India, 11–13 February 2021; pp. 3–15. [Google Scholar]
 - Ye, D.; Zhang, G. On-line scheduling with extendable working time on a small number of machines. Inform. Process. Lett. 2003, 85, 171–177. [Google Scholar] [CrossRef]
 - Sagnol, G.; Schmidt genannt Waldschmidt, D.; Tesch, A. The price of fixed assignments in stochastic extensible bin packing. In Proceedings of the 16th International Workshop on Approximation and Online Algorithms, Helsinki, Finland, 23–24 August 2018; pp. 327–347. [Google Scholar]
 - Sagnol, G. Stochastic extensible bin packing. arXiv 2020, arXiv:2002.00060. [Google Scholar]
 - Sagnol, G.; Schmidt genannt Waldschmidt, D. Improved bounds for stochastic extensible bin packing under distributional assumptions. In Proceedings of the 7th International Symposium on Combinatorial Optimization, Online, 18–20 May 2022; pp. 228–241. [Google Scholar]
 - Chen, X.; Ding, N.; Dosa, G.; Han, X.; Jiang, H. Online hierarchical scheduling on two machines with known total size of low-hierarchy jobs. Int. J. Comput. Math. 2015, 92, 873–881. [Google Scholar] [CrossRef]
 - Luo, T.; Xu, Y. Semi-online scheduling on two machines with GoS levels and partial information of processing time. Sci. World J. 2014, 2014, 5762340. [Google Scholar] [CrossRef] [PubMed]
 - Li, W. Improved approximation schemes for early work scheduling on identical parallel machines with a common due date. J. Oper. Res. Soc. China 2022, online. [Google Scholar] [CrossRef]
 - Sun, R.; Zhang, R.; Lan, Y.; Li, W. LPT algorithm for early-work-maximization problem. Oper. Res. Trans. 2024. online. Available online: https://kns.cnki.net/kcms/detail/31.1732.O1.20240129.1642.008.html (accessed on 13 February 2024).
 - Chen, X.; Sterna, M.; Han, X.; Blazewicz, J. Scheduling on parallel identical machines with late work criterion: Offline and online cases. J. Sched. 2016, 92, 729–736. [Google Scholar] [CrossRef]
 - Jiang, Y.; Wu, M.; Chen, X.; Dong, J.; Cheng, T.C.E.; Blazewicz, J.; Ji, M. Online early work scheduling on parallel machines. Eur. J. Oper. Res. 2024, 315, 855–862. [Google Scholar] [CrossRef]
 - Xiao, M.; Bai, X.; Li, W. Online early-work-maximization problem on two hierarchical machines with buffer or rearrangements. In Proceedings of the 16th International Conference on Algorithmic Applications in Management, Guangzhou, China, 13–14 August 2022; pp. 46–54. [Google Scholar]
 - Qi, X.; Yuan, J. Semi-online hierarchical scheduling for lp-norm load balancing with buffer or rearrangements. 4OR 2017, 15, 265–276. [Google Scholar] [CrossRef]
 - Chassid, O.; Epstein, L. The hierarchical model for load balancing on two machines. J. Comb. Optim. 2008, 15, 305–314. [Google Scholar] [CrossRef]
 - Luo, T.; Xu, Y. Semi-online hierarchical load balancing problem with bounded processing times. Theor. Comput. Sci. 2015, 607, 75–82. [Google Scholar] [CrossRef]
 - Wu, Y.; Cheng, T.; Ji, M. Optimal algorithms for semi-online machine covering on two hierarchical machines. Theor. Comput. Sci. 2014, 531, 37–46. [Google Scholar] [CrossRef]
 - Dwibedy, D.; Mohanty, R. Semi-online scheduling: A survey. Comput. Oper. Res. 2022, 139, 105646. [Google Scholar] [CrossRef]
 - Vakhania, N. On preemptive scheduling of unrelated machines using linear programming. AIMS Math. 2023, 8, 7061–7082. [Google Scholar] [CrossRef]
 - Wang, D.; Ye, C. Single machine and group scheduling with random learning rates. AIMS Math. 2023, 8, 19427–19441. [Google Scholar] [CrossRef]
 - Park, J.; Chang, S.Y.; Lee, K. Online and semi-online scheduling of two machines under a grade of service provision. Oper. Res. Lett. 2006, 34, 692–696. [Google Scholar] [CrossRef]
 - Jiang, Y.; He, Y.; Tang, C. Optimal online algorithms for scheduling on two identical machines under a grade of service. J. Zhejiang Univ.-Sci. A 2006, 7, 309–314. [Google Scholar] [CrossRef]
 - Wu, Y.; Ji, M.; Yang, Q. Optimal semi-online scheduling algorithms on two parallel identical machines under a grade of service provision. Int. J. Prod. Econ. 2012, 135, 367–371. [Google Scholar] [CrossRef]
 - Liu, M.; Chu, C.; Xu, Y.; Zheng, F. Semi-online scheduling on 2 machines under a grade of service provision with bounded processing times. J. Comb. Optim. 2011, 21, 138–149. [Google Scholar] [CrossRef]
 - Luo, T.; Xu, Y. Optimal algorithm for semi-online scheduling on two machines under GoS levels. Optim. Lett. 2016, 10, 207–213. [Google Scholar] [CrossRef]
 - Zhang, A.; Jiang, Y.; Fan, L.; Hu, J. Optimal online algorithms on two hierarchical machines with tightly-grouped processing times. J. Comb. Optim. 2015, 29, 781–795. [Google Scholar] [CrossRef]
 - Chen, X.; Xu, Z.; Dósa, G.; Han, X.; Jiang, H. Semi-online hierarchical scheduling problems with buffer or rearrangement. Inform. Process. Lett. 2013, 113, 127–131. [Google Scholar] [CrossRef]
 - Bar-Noy, A.; Freund, A.; Naor, J. On-line load balancing in a hierarchical server topology. SIAM J. Comput. 2001, 31, 527–549. [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.  | 
© 2024 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 (https://creativecommons.org/licenses/by/4.0/).









