Next Article in Journal
The Influences of Asymmetric Market Information on the Dynamics of Duopoly Game
Next Article in Special Issue
RISC Conversions for LNS Arithmetic in Embedded Systems
Previous Article in Journal / Special Issue
Packing Oblique 3D Objects
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On the Dual and Inverse Problems of Scheduling Jobs to Minimize the Maximum Penalty

by
Alexander A. Lazarev
1,
Nikolay Pravdivets
1,* and
Frank Werner
2
1
Institute of Control Sciences, 117997 Moscow, Russia
2
Fakultät für Mathematik, Otto-von-Guericke-Universität Magdeburg, 39106 Magdeburg, Germany
*
Author to whom correspondence should be addressed.
Mathematics 2020, 8(7), 1131; https://doi.org/10.3390/math8071131
Submission received: 11 June 2020 / Revised: 3 July 2020 / Accepted: 6 July 2020 / Published: 10 July 2020
(This article belongs to the Special Issue Advances and Novel Approaches in Discrete Optimization)

Abstract

:
In this paper, we consider the single-machine scheduling problem with given release dates and the objective to minimize the maximum penalty which is NP-hard in the strong sense. For this problem, we introduce a dual and an inverse problem and show that both these problems can be solved in polynomial time. Since the dual problem gives a lower bound on the optimal objective function value of the original problem, we use the optimal function value of a sub-problem of the dual problem in a branch and bound algorithm for the original single-machine scheduling problem. We present some initial computational results for instances with up to 20 jobs.

1. Introduction

We consider single-machine scheduling problems, where a set of n jobs N = { 1 , 2 , , n } has to be processed on a single machine starting at time τ . For each job j, a release date r j , a processing time p j and a due date d j are given. Many scheduling problems require the minimization of some maximum term. Denote by C j the completion time of job j, then the minimization of the makespan (i.e., the maximum completion time of the jobs)
C m a x = max j = 1 , , n C j ,
or the minimization of maximum lateness
L m a x = max j = 1 , , n { C j d j }
are well-known examples of such an optimization criterion.
In this paper, we consider two related problems of such a min-max problem, namely a dual problem as well as an inverse problem of the single-machine scheduling problem with given release dates and minimizing the maximum penalty. While the original problem 1 | r j | L m a x is N P -hard in the strong sense [1], we prove that both the dual and inverse problems of this problem can be solved in polynomial time.
Due to the N P -hardness of the problem 1 | r j | L m a x , several branch and bound algorithms have been developed and special cases of the problem have been considered, see e.g., [2,3,4,5,6,7,8,9]. In [9], it has been shown that if the release dates for all jobs are from the interval [ d j p j A , d j A ] for all jobs and some constant A, the problem can be solved in O ( n log n ) time if no machine idle times are allowed and in O ( n 2 log n ) time if machine idle times are allowed. Another important special case of this problem has been considered in [10]. In that paper, it is shown that for naturally bounded job data, the problem can be polynomially solved. More precisely, a polynomial time solution of the variant is given when the maximal job processing time and the differences between the job release dates are bounded by a constant. The binary search procedure presented in this work determines an optimal solution in O ( n 2 log n log p m a x ) or O ( d m a x n log n log p m a x ) time, where p m a x is the maximal processing time and d m a x is the maximal due date.
In [11], some computational experiences and applications for the more general case with additional precedence constraints are reported. Their algorithm turned out to be superior to earlier algorithms. Some applications to job shop scheduling are also discussed. A more recent branch and bound algorithm for this single-machine problem with release dates and precedence constraints has been given in [12]. This algorithm uses four heuristics for finding initial upper bounds and a variable neighborhood search procedure. It solved most considered instances within one minute of CPU time. Several approximation schemes for four variants of the problem with additional non-availability or deadline constraints have been derived in [13]. An approximation algorithm for this single-machine problem with additional workload dependent maintenance duration has been presented in [14]. This algorithm is even optimal for some special cases of the problem. A hybrid metaheuristic search algorithm for the single-machine problem with given release dates and precedence constraints has been developed in [15]. Computational tests have been made using own instance sets with 100 jobs and instances from [12] with up to 1000 jobs. The hybridization of the elektromagnetism algorithm with tabu search leads to a tradeoff between diversification and intensification strategies. The metric approach is another recent possibility for solving the problem 1 | r j | L m a x approximately with guaranteed maximal error, see e.g., [16]. The introduced metric delivers an upper bound on the absolute error of the objective function value. Taking a given instance of some problem and using the introduced metric, the nearest instance is determined for which a polynomial or pseudo-polynomial algorithm is known. Then a schedule is constructed for this instance and applied to the original instance.
There have been also considered problems with several optimization criteria. In [17], the single-machine problem with the primary criterion of minimizing maximum lateness and the secondary criterion of minimizing the maximum job completion time has been investigated. The author gives dominance properties and conditions when the Pareto-optimal set can be found in polynomial time. The derived properties allow extension of the basic framework to exponential implicit enumeration schemes and polynomial approximation algorithms. The problem of finding the Pareto-optimal set for two criteria in the case when there are constraints on the source data have been considered in [18,19]. In [18], the idea of the dual approach is considered in detail, but there is no sufficient experimental study of the effectiveness of this approach. Lazarev et al. [20] considered the problem of minimizing maximum lateness and the makespan in the case of equal processing times and proposed a polynomial time approach for finding the Pareto-optimal set of feasible solutions. They presented two approaches, the efficiency of which depends on the number of jobs and the accuracy of the input-output parameters.
The dual and inverse problems considered in this paper are maximization problems. In the literature, there exist some works on other single-machine maximization problems, usually under the assumption of no inserted idle times between the processing of jobs on the machine. Maximization problems in single-machine problems were considered e.g., in [21,22]. The complexity and some algorithms for single-machine total tardiness maximization problems have been discussed in [23]. In [24], a pseudo-polynomial algorithm for the single-machine total tardiness maximization problem has been transformed by a graphical algorithm into a polynomial one.
The remainder of this paper is as follows. In Section 2, we introduce the dual problem of the single-machine problem, where the maximum penalty term of a job should be minimized. Section 3 considers an inverse problem, where the minimum of the penalty terms should be maximized. The solution of this dual problem is embedded into a branch and bound algorithm for the original problem. Some computational results for this branch and bound algorithm are given in Section 4. The paper finishes with some concluding remarks.

2. The Dual Problem

Let us consider the general formulation of the N P -hard problem of minimizing the maximum penalty or cost φ max for a set of jobs on a single machine, i.e., problem 1 r j φ max . The machine cannot process more than one job of the set N = { 1 , , n } at a moment. Preemptions of the processing of a job are prohibited. Let φ j k ( C j k ( π ) ) denote the penalty for job j N if it is processed as the k-th job in the sequence π = ( j 1 , j 2 , , j k , , j n ) . We assume that all φ j k ( C j k ( π ) ) , k = 1 , 2 , , n , are arbitrary non-decreasing penalty functions.
By μ * we denote the optimal value of the objective function:
μ * = min π Π ( N ) max k = 1 , , n φ j k ( C j k ( π ) ) ,
where Π ( N ) = { π 1 , π 2 , , π n ! } denotes the set of all permutations (schedules) of the jobs of the set N.
In the scheduling literature, many special cases of the following general dual problem are considered. One wishes to find an optimal job sequence π * and the corresponding objective function value ν * such that
ν * = max k = 1 , , n min π Π ( N ) φ j k ( C j k ( π ) ) .
For convenience, we introduce a notation that takes into account the position of the job in the schedule. Let a schedule (job sequence) π Π ( N ) be given by π = ( j 1 , j 2 , , j n ) . For the job, which is processed as the k-th job in the sequence, k = 1 , 2 , , n , under a schedule π , we denote:
ν k = min π Π ( N ) φ j k ( C j k ( π ) ) , k = 1 , 2 , , n .
Obviously,
ν * = max k = 1 , , n ν k .
Lemma 1
([25]). Let φ j ( t ) , j = 1 , 2 , , n , be arbitrary non-decreasing penalty functions in the problem 1 r j φ max . Then we have ν n ν k for all k = 1 , 2 , , n , i.e., ν * = ν n .
Proof. 
Suppose that there exists a number k , k < n , such that ν k > ν n . Assume that π n = ( j 1 , j 2 , , j n ) is a schedule for which the value ν n is obtained. Then we consider the schedule
π = ( j n k + 1 , j n k + 2 , , j n , j 1 , j 2 , , j n k ) .
Please note that under the schedule π , the job j n will be carried out as the k-th job in the sequence. Since C j n ( π n ) C j n ( π ) , we have
ν n = φ j n ( C j n ( π n ) ) φ j n ( C j n ( π ) ) ν k .
Due to the assumption ν k > ν n , we obtain the inequality
ν k > ν n ν k
which is a contradiction. The lemma has been proved.  □
Thus, the solution of the dual problem 1 | r j | ϕ m a x is reduced to the problem of finding the value ν n . We enumerate all jobs in order of non-decreasing release dates: r i 1 r i 2 r i n . Due to
ν n = min π Π ( N ) φ j n ( C j n ( π ) ) ,
we will put each of the jobs j of the set N onto the last (i.e., the n-th) position. The other n 1 jobs of the set N \ { j } are arranged in their original order starting at time τ . This gives the earliest completion time of processing the jobs from the set N \ { j } . This procedure is formally summarized in Algorithm 1. The input data of Algorithm 1 is the pair ( N , τ ) , where τ is used to calculate C j .
Algorithm 1: Solution of the dual problem of the problem 1 r j φ max
  • Construct the schedule π r = ( i 1 , i 2 , , i n ) , in which all jobs are sequenced according to non-decreasing release dates: r i 1 r i 2 r i n .
  • For k = 1 , 2 , , n , find the value φ i k ( C i k ( π k ) ) for the schedule π k = ( π r \ i k , i k ) .
  • Find the value ν * = min k = 1 , , n φ i k ( C i k ( π k ) ) and the job i k , which gives the value ν * .
The complexity of Algorithm 1 can be estimated as follows. We need O ( n log n ) operations to construct the schedule π r . We need O ( n ) operations to find each of the n values φ i k ( C i k ( π k ) ) . Therefore, to determine the value ν * and the corresponding job i k , for which the value ν * is obtained, no more than O ( n 2 ) operations are required.
Theorem 1
([25]). Let φ j ( t ) , j = 1 , 2 , , n , be arbitrary non-decreasing penalty functions for the problem 1 r j φ max . Then the inequality μ * ν * holds.
Proof. 
Suppose the opposite, i.e., there exists an instance of the problem 1 r j φ max , for which the inequality μ * < ν * holds. Let π * = ( j 1 , j 2 , , j n ) be an optimal schedule for this instance. Then we have
φ j n ( C j n ( π * ) ) μ * < ν * ,
which contradicts equality (3):
ν * = ν n = min π Π ( N ) φ j n ( C j n ( π ) ) .
The theorem has been proved.  □
The obtained estimate can be efficiently used in constructing schemes of a branch and bound method for solving the problem 1 r j φ max , and for estimating the error of approximate solutions when the branch and bound algorithm stops without finding an optimal solution.
We denote by { N , τ , ν , π , B } the sub-problem of processing the jobs of the set N N from time τ τ on according to some partial sequence π for the jobs of the set N \ N , where ν is the lower bound obtained by solving the dual problem of this instance, τ = C max ( π , τ ) is the start time of the planning horizon for the jobs from the set B , which is equal to the makespan value for the sequence π , and τ is the time when the machine is ready to process the jobs from the set N. B is the set of jobs that cannot be placed on the corresponding first position of the schedule.
The subsequent Algorithm 2 implements one of the possible schemes of the branch and bound method using the solution of the dual problem. The branching in Algorithm 2 is carried out as a result of dividing the current sub-instance into two instances: put the job f (the job with the smallest due date from the set of jobs ready for processing) at the next position in the schedule and prohibit the inclusion of the job f at the next position in the schedule (by increasing the possible start time of job f).
Denote
r j ( τ ) = max { r j , τ } , r ( N , τ ) = min j N r j ( τ ) .
Let | N | > 1 . We choose a job f = f ( N , τ ) from the set N such that
f ( N , τ ) = arg min j N \ B d j r j ( τ ) = r ( N , τ ) .
If N = { i } , then f ( N , τ ) = i for all τ . Here B is a set of jobs that cannot be placed on the current first position. Denote by π * the currently best schedule constructed for all jobs.
We note that a deeper comparative discussion of the characteristics of the particular search strategies can be found in [26,27].
Algorithm 2: Solution of the problem 1 r j L max by the branch and bound method based on the solution of the dual problem
 1.
Initial step
Let π * = . The list of instances contains the original instance { N , τ , ν , , } , where ν is a lower bound on the optimal objective function value obtained by solving the dual problem of this instance.
 2.
Main step
(a)
From the list of instances, select an instance { N , τ , ν , π , B } with a minimal lower bound  ν .
(b)
Find the job f = f ( N , τ ) from the set N \ B with the smallest due date from the number of jobs ready for processing at time τ .
(c)
Replace the instance { N , τ , ν , π , B } by the two instances { N 1 , τ 1 , ν 1 , π 1 , B 1 } and { N 2 , τ 2 , ν 2 , π 2 , B 2 } in the list of instances, where:
-
N 1 = N \ { f } , τ 1 = max { r f , τ } + p f , B 1 = , π 1 = ( π , f ) , ν 1 is a lower bound obtained by solving the dual problem of this instance by Algorithm 3;
-
N 2 = N , τ 2 = τ , B 2 = B { f } , π 2 = π , ν 2 is a lower bound obtained by solving the dual problem of this instance by Algorithm 3.
(d)
If, after completing this step of the algorithm, we obtain { π 1 } = N , that is, all jobs are ordered, then π * = arg min { L max ( π 1 , τ ) , L max ( π * , τ ) } .
(e)
Exclude all instances { N , τ , ν , π , B } , for which ν L max ( π * , τ ) .
 3.
Termination step
If the list of instances is empty, STOP, otherwise repeat the main step 2.
To find the value ν in step 2(c), we need to modify Algorithm 1 taking into account a list B of jobs that cannot be placed on the current position. The input data of Algorithm 3 is the triplet ( N , τ , B ) , where τ is used to calculate C j .
Algorithm 3: Modification of the solution algorithm for the dual problem of the problem 1 r j φ max with respect to a list of jobs that cannot be on the first position
  • Construct the schedule π r = ( i 1 , i 2 , , i n ) , in which all jobs are sequenced according to non-decreasing release dates: r i 1 r i 2 r i n .
  • For k = 1 , 2 , , n , if N \ ( B { i k } ) , find a job
    i l = arg min j N \ ( B { i k } ) r j
    and construct the schedule π k = ( i l , π r \ { i l , i k } , i k ) .
    Find the value φ i k ( C i k ( π k ) ) .
    If N \ ( B { i k } ) = , then we assume C i k = + .
  • Find the value ν * = min k = 1 , , n φ i k ( C i k ( π k ) ) and the job i k , which gives the value ν * .
It is easy to see that this algorithm can be used to solve the more general problem 1 r j φ max . In addition, if the algorithm is stopped without an empty list of instances due to a time limit, the current schedule π * can be taken as an approximate solution of the problem.
Hence, although the original problem 1 r j φ max is N P -hard in the strong sense (recall that problem 1 r j L max is N P –hard in the strong sense), the dual problem turned out to be polynomially solvable.
If precedence relations are specified between the jobs by an acyclic graph G, then the dual problem of the problem 1 r j , p r e c φ max can also be solved in a similar way. Since the argumentation is similar, we skip the details. Here, the core is to solve the problem 1 r j , p r e c C max . Jobs without successors according to the precedence graph G will be put one-by-one to the last positions in the job sequence. Thus, the dual problem of the problem 1 r j , p r e c φ max is also polynomially solvable.
For problems with m > 1 machines, e.g., problem P m r j , p r e c φ max , the core consists of solving the dual problem, which is the partition problem. This dual problem is N P –hard in the ordinary sense.
Thus, although in mathematical programming the original and dual problems have usually the same complexity status, it turned out that the dual problems of the scheduling problems considered in this paper have a lower complexity than the original problems. This interesting fact should be investigated further in more detail also for other scheduling problems.

3. The Inverse Problem of the Maximum Lateness Problem

The inverse problem of the N P -hard problem of minimizing maximum lateness 1 r j L max consists of finding a schedule π , which reaches the maximum minimal lateness and finding the value
λ * = max π Π ( N ) min k = 1 , , n L j k ( C j k ( π ) ) .
Please note that for this problem, inserted idle times of the machine are prohibited.
This problem was solved only for the case of simultaneous availability of the set N for processing, i.e., r j = 0 , for all j N in [28]. We consider the general case of the problem 1 r j max L min .
Lemma 2.
There exists an optimal schedule π = ( i 1 , , i n ) for the problem 1 r j max L min , for which
d i k p i k d i k + 1 p i k + 1 , k = 2 , 3 , , n 1 ,
and
λ * = min k = 1 , , n L i k ( C i k ( π ) ) .
Proof. 
Assume that at least one of inequalities (6) is not satisfied for an optimal schedule π = ( j 1 , , j n ) and let
λ * = min k = 1 , , n L i k ( C i k ( π ) ) .
In what follows, the proof will consist of two stages, which can be repeated several times.
Step 1. If there are no machine idle times in the schedule π , then go to step 2. Let there be idle times according to schedule π , and consider the last of them:
C j k < r j k + 1 a n d r j m C j m 1 , m = k + 2 , , n .
Construct the schedule π = ( j k + 1 , j 1 , , j k , j k + 2 , , j n ) . Since
C j ( π ) C j ( π ) for all j N ,
the value of the minimal lateness will not decrease. There will be no idle time under the schedule π , and the optimal value λ * will be saved. Set π : = π and go to step 2.
Step 2. If the schedule π meets the conditions of Lemma 2, the proof is completed. If there exist two jobs j l , j l + 1 , for which
d j l p j l > d j l + 1 p j l + 1 ,
then exchange the jobs j l , j l + 1 which yields the schedule
π = ( j 1 , , j l 1 , j l + 1 , j l , j l + 2 , , j n ) .
As there are no machine idle times under the schedule π , we have
r j l C j l 1 ( π ) .
There are the following possible cases:
(1) Let r j l + 1 C j l 1 ( π ) . Obviously, in this case we have
C j k ( π ) = C j k ( π ) , k = 1 , 2 , , l 1 , l + 2 , , n .
According to the assumptions, inequality
C j l 1 ( π ) + p j l + p j l + 1 d j l + 1 > C j l 1 ( π ) + p j l d j l .
holds. Moreover, we have
C j l 1 ( π ) + p j l + 1 d j l + 1 > C j l 1 ( π ) + p j l d j l ;
C j l 1 ( π ) + p j l + 1 d j l > C j l 1 ( π ) + p j l d j l .
Formulas (7)–(10) show that the maximal lateness is not reduced. Set π : = π and repeat step 2.
(2) Let r j l + 1 > C j l 1 ( π ) . In this case, we have
C j k ( π ) = C j k ( π ) , k = 1 , 2 , , l 1 ,
C j k ( π ) > C j k ( π ) , k = l + 2 , , n .
According to the assumptions, we have
C j l + 1 ( π ) d j l + 1 > C j l ( π ) d j l ;
C j l ( π ) d j l > C j l + 1 ( π ) d j l + 1 .
Formulas (8) and (11)–(14) show that the maximal lateness is not reduced. Set π : = π and go to step 1.
In a finite number of steps, we construct an optimal schedule satisfying the conditions of the lemma. The lemma has been proved.  □
Algorithm 4 constructs n schedules, one of which is satisfying the conditions of the lemma.
Algorithm 4: Solution of the inverse problem 1 r j max L min
1.
Enumerate all jobs of the set N according to d 1 p 1 d 2 p 2 d n p n .
2.
For k = 1 , 2 , , n do:
(a)
construct the schedule π k = ( k , 1 , , k 1 , k + 1 , , n ) and
(b)
determine λ k = min j = 1 , , n L j ( C j ( π k ) ) .
3.
Calculate λ * = max k = 1 , , n λ k .
O ( n log n ) operations are needed for renumbering the jobs of the set N. O ( n ) operations are needed for constructing the schedule π k and calculating the value λ k , k = 1 , , n . Thus, no more than O ( n 2 ) operations are needed to find the value λ * .
The objective function value of a solution of the problem of maximizing minimal lateness 1 r j max L min is a lower bound on the optimal objective function value for the original problem 1 r j L max .
Theorem 2
([18]). For the optimal function values of the problem 1 r j L max and the corresponding inverse problem 1 r j max L min , the inequality μ * λ * holds.
Proof. 
Denote by π and π optimal schedules for the problems 1 r j L max and 1 r j max L min , respectively. There exist jobs k , k N , for which the following inequalities hold:
μ * = C k ( π ) d k C j ( π ) d j for all j N ;
C j ( π ) d j C k ( π ) d k = λ * for all j N .
Please note that jobs k and k can be identical. Let π = ( j 1 , , j n ) . Obviously, the following inequality is satisfied for job j 1 :
C j 1 ( π ) d j 1 C j 1 ( π ) d j 1 .
According to inequalities (15)–(17), we get
μ * = C k ( π ) d k C j 1 ( π ) d j 1 C j 1 ( π ) d j 1 C k ( π ) d k = λ * ,
i.e., μ * λ * . The theorem has been proved.  □

4. Computational Results

In this section, we present some results of the numerical experiments carried out on randomly generated test instances. The numerical experiments were carried out on a PC Intel® Core™ i5-4210U CPU @ 1.70GHz, 4 cores; 8 GB DDR4 RAM.
Various methods of generating test instances for different types of scheduling problems are described in [29]. For the problem 1 | r j | L m a x with n jobs, the authors suggest the following generation scheme:
  • r 0 = 0 and r i = r i 1 + X i , where X i exp ( λ ) , for i = 1 , , n ;
  • p i N ( μ , σ ) for i = 1 , , n , truncated below a known lower bound;
  • d i = r i + k E [ p i ] for i = 1 , , n , where k 1 .
The authors suggest that λ , μ , σ and k are generation parameters that can be fixed by the user. Applying this generation scheme, we generate release dates which are independent from the processing times, while the due dates correlate with the processing times, as it usually happens in real problems. We set
λ = 1 100 , μ = 100 , σ = 40 , k = 1
and generated 15 instances for each n { 3 , 4 , , 20 } . The results are shown in Table 1, where the number of branching points are given for each of the 15 instances for any value of n.
An asterisk (*) in Table 1 means that the solution could not be found within 15 min. According to this table, a large part of the instances can be solved with several branching points not greater than the number of jobs. However, some instances appeared to be hard and required a much larger number of branching points. It can be observed that these hard instances generated according to [29] display a rather different solution behavior and need very different numbers of branching points for their exact solution. This interesting phenomenon deserves further detailed investigations which are planned as future work by the authors.
Next, we consider an instance of the problem as a point in the 3 n -dimensional space, where each value of r i , p i , d i represents one of the dimensions. We consider the vector from the zero point to the point of the instance. The complexity of an instance is defined by the direction of the vector, but not by its length. Therefore, to explore the complexity of different instances, we can take points on the surface of the 3 n -dimensional cube. For the processing times and the release dates, we consider only non-negative values. As a result, we obtain points on the quarter of the surface of the 3 n -dimensional cube with r i 0 and p i 0 . Let the size of the cube be 100. We generated 300,000 points on the surface for problems with 4, 5, 6, 7, 8 and 9 jobs (i.e., in the 12-, 15-, 18-, 21, 24, 27-dimensional spaces, respectively). All instances have been solved, and we counted the number of iterations (i.e., branching points) for each problem instance. The results are shown in Figure 1 for the instances with 4 jobs, in Figure 2 for the instances with 5 jobs, in Figure 3 for the instances with 6 jobs, in Figure 4 for the instances with 7 jobs, in Figure 5 for the instances with 8 jobs and in Figure 6 for the instances with 9 jobs. At the y-axis, the numbers are given how often a particular number of branching points (Figure 1) or an interval for the number of branching points (Figure 2, Figure 3, Figure 4, Figure 5 and Figure 6) has occurred among the 300,000 instances for each number n of jobs. For example, in Figure 1, one can see that among the 300,000 solved instances with 5 jobs, there were 72,897 instances with 3 branching points, 16,131 instances with 4 branching points, 29,342 instances with 5 branching points, and so on. It can be observed that the maximal number of 20 branching points was reached for 1294 instances, which is approximately equal to 0.4% of all instances. In Figure 2, the numbers of branching points are grouped in intervals of 5 in each column, i.e., there were 86 026 instances with several branching points between 0 and 4 (actually 4, because it is the minimum possible number of branching points for instances with 5 jobs), 28,566 instances with several branching points between 5 and 9, etc. For instances with 5 jobs, the maximum number of branching points was 93, and it was reached for only 33 instances. As it can be seen in the figures, most of instances can be solved by a small number of branches. For a larger number of jobs, one can detect a smaller number of hard instances with a large number of branching points. Thus, for the instances with 9 jobs, among the 300,000 solved instances, there were only two instances with several branching points more than 180,000: one with 184,868, and the other with 191,887.

5. Conclusions

For solving the N P -hard problem 1 r j φ max for arbitrary non-decreasing penalty functions, an algorithm has been proposed which implements the branch and bound method. For each sub-instance to be considered, a lower bound on the optimal function value is determined using a solution of the dual problem. The proposed algorithm for solving the dual problem can find a solution in several operations not exceeding O ( n 2 ) . The proposed algorithm can find an optimal solution within a time limit of one second for about 98% of the instances for 8 jobs and for about 85% of instances for 9 jobs. Although there are a few instances with a large number of branching points, most instances can be solved very fast by the proposed algorithm. For the hard instances, the execution of the algorithm can be interrupted at any moment, and the current objective function value with the corresponding schedule π can be used as an approximate solution for the instance. However, some generated instances appeared to be very hard. At the moment, we cannot explain this interesting phenomenon. It requires deep additional investigations which are planned in the future.
In addition to the dual problem, the inverse problem has also been solved for the lateness objective function. The algorithm for solving the inverse problem has a complexity of O ( n 2 ) operations. However, in the problem of minimizing maximum lateness, one tries to ‘equalize’ the lateness while minimizing the maximum, in the inverse problem the lateness values are ‘equalized’ due to the maximization of the minimum provided that inserted machine idle times are prohibited.

Author Contributions

The results described in this paper were obtained by communications and mutual works of the authors. Conceptualization, A.A.L. and N.P.; data curation, A.A.L. and N.P.; formal analysis, A.A.L., N.P. and F.W.; investigation, A.A.L., N.P. and F.W.; methodology, A.A.L., N.P. and F.W.; project administration, A.A.L.; software, N.P.; supervision, A.A.L. and F.W.; validation, A.A.L., N.P. and F.W.; visualization, N.P.; writing—original draft, A.A.L. and N.P.; writing—review & editing, F.W. All authors have read and agreed to the published version of the manuscript.

Funding

The research was partially supported by RFBR project 18-07-00656 and partially supported by the Basic Research Program of the National Research University Higher School of Economics.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Lenstra, J.K.; Rinnooy Kan, A.H.G.; Brucker, P. Complexity of Machine Scheduling Problems. Ann. Discret. Math. 1977, 1, 343–362. [Google Scholar]
  2. Brooks, G.N.; White, C.R. An Algorithm for Finding Optimal or Near-optimal Solutions to the Production Scheduling Problem. J. Ind. Eng. 1965, 16, 34–40. [Google Scholar]
  3. Schrage, L. Solving Resource-Constrained Network Problems by Implicit Enumeration: Non Preemptive Case. Oper. Res. 1970, 18, 263–278. [Google Scholar] [CrossRef]
  4. Burduk, V.Y.; Shkurba, V.V. Scheduling Theory. Problems and Solving Methods. Cybernetics 1971, 1, 89–102. (In Russian) [Google Scholar]
  5. McMahon, G.; Florian, M. On Scheduling with Ready Times and Due Dates to Minimize Maximum Lateness. Oper. Res. 1975, 23, 475–482. [Google Scholar] [CrossRef]
  6. Korbut, A.A.; Sigal, I.H.; Finkelshtein, Y.Y. Branch and Bound Method (Survey of Theory, Algorithms, Programs and Applications). Oper. Forsch. Stat. Ser. Optim. 1977, 8, 253–280. (In Russian) [Google Scholar]
  7. Carlier, J. The One-Machine Sequencing Problem. Eur. J. Oper. Res. 1982, 11, 42–47. [Google Scholar] [CrossRef]
  8. Tanaev, V.S.; Gordon, V.S.; Shafranskiy, Y.M. Scheduling Theory. Single-Stage Systems Scheduling Theory; Springer-Science+Business Media, B.V.: Dordrecht, The Netherland, 1994; 374p. [Google Scholar]
  9. Hoogeveen, J. Minimizing Maximum Promptness and Maximum Lateness on a Single Machine. Math. Oper. Res. 1996, 21, 100–114. [Google Scholar] [CrossRef]
  10. Vakhania, N.; Werner, F. Minimizing Maximum Lateness of Jobs with Naturally Bounded Job Data on a Single Machine. Theor. Comput. Sci. 2013, 501, 72–81. [Google Scholar] [CrossRef]
  11. Lageweg, B.; Lenstra, J.; Rinnooy Kan, A. Minimizing Maximum Lateness on one machine: Computational experience and applications. Stat. Neerl. 1976, 30, 25–41. [Google Scholar] [CrossRef]
  12. Liu, Z. Single Machine Scheduling to Minimize Maximum Lateness Subject to Release Dates and Precendence Constraints. Comp. Oper. Res. 2010, 37, 1537–1543. [Google Scholar] [CrossRef]
  13. Kacem, I.; Kellerer, H. Approximation Schemes for Minimizing Maximum Lateness. Algorithmica 2018, 80, 3825–3843. [Google Scholar] [CrossRef] [Green Version]
  14. Wang, D.; Xu, D. Single-Machine Scheduling with Workload Dependent Maintenance Duration to Minimize Maximum Lateness. Math. Probl. Eng. 2015, 2015, 732437. [Google Scholar] [CrossRef] [Green Version]
  15. Sels, V.; Vanhoucke, M. A Hybrid Elektromagnetism-like Mechanism/Tabu Search Procedure for the Single Machine Scheduling Problem with a Maximum Lateness Objective. Comp. Ind. Eng. 2014, 67, 44–55. [Google Scholar] [CrossRef]
  16. Lazarev, A.A.; Lemtyuznikova, D.; Werner, F. A General Approximation Approach for Multi-Machine Problems with Minimizing the Maximum penalty; Preprint 04/19, FMA; OVGU: Magdeburg, Germany, 2019; 25p. [Google Scholar]
  17. Vakhania, N. Scheduling a Single Machine with Primary and Secondary Objectives. Algorithms 2018, 11, 80. [Google Scholar] [CrossRef] [Green Version]
  18. Lazarev, A.A. Scheduling Theory. Methods and Algorithms; ICS RAS: Moscow, Russia, 2019; 408p. (In Russian) [Google Scholar]
  19. Lazarev, A.A. Pareto-optimal set for the NP-hard problem of minimization maximum lateness. Izvestiya of Russian Academy of Sciences. Theory Syst. Control 2016, 6, 103–110. (In Russian) [Google Scholar]
  20. Lazarev, A.A.; Arkhipov, D.; Werner, F. Scheduling with Equal Processing Times on a Single Machine: Minimizing Maximum Lateness and Makespan. Optim. Lett. 2017, 11, 165–177. [Google Scholar] [CrossRef]
  21. Aloulou, M.A.; Kovalyov, M.Y.; Portmann, M.-C. Maximization Problems in Single Machine Scheduling. RAIRO Oper. Res. 2007, 41, 1–18. [Google Scholar] [CrossRef] [Green Version]
  22. Gafarov, E.R.; Lazarev, A.A.; Werner, F. Algorithms for Some Maximization Scheduling Problems on a Single Machine. Autom. Remote. Control 2010, 71, 2070–2084. [Google Scholar] [CrossRef]
  23. Gafarov, E.R.; Lazarev, A.A.; Werner, F. Single machine Total Tardiness Maximization Problems. Ann. Oper. Res. 2013, 207, 121–136. [Google Scholar] [CrossRef]
  24. Gafarov, E.R.; Lazarev, A.A.; Werner, F. Transforming a Pseudo-polynomial Algorithm for the Single Machine Total Tardiness Maximization Problem into a Polynomial One. Ann. Oper. Res. 2012, 196, 247–261. [Google Scholar] [CrossRef]
  25. Lazarev, A.A. Dual of the Maximum Cost Minimization Problem. J. Sov. Math. 1989, 44, 642–644. [Google Scholar] [CrossRef]
  26. Agin, N. Optimum Seeking with Branch and Bounds. Manag. Sci. 1966, 13, 176–185. [Google Scholar] [CrossRef]
  27. Lawler, E.L.; Wood, D.E. Branch and Bounds Methods: A Survey. Oper. Res. 1966, 14, 699–719. [Google Scholar] [CrossRef]
  28. Conway, R.W.; Maxwell, W.L.; Miller, L.W. Theory of Scheduling; Addison-Wesley: Reading, MA, USA, 1967. [Google Scholar]
  29. Hall, N.G.; Posner, M.E. Generating Experimental Data for Computational Testing with Machine Scheduling Applications. Oper. Res. 2001, 49, 854–865. [Google Scholar] [CrossRef]
Figure 1. Number of branching points for the instances with 4 jobs.
Figure 1. Number of branching points for the instances with 4 jobs.
Mathematics 08 01131 g001
Figure 2. Number of branching points for the instances with 5 jobs.
Figure 2. Number of branching points for the instances with 5 jobs.
Mathematics 08 01131 g002
Figure 3. Number of branching points for the instances with 6 jobs.
Figure 3. Number of branching points for the instances with 6 jobs.
Mathematics 08 01131 g003
Figure 4. Number of branching points for the instances with 7 jobs.
Figure 4. Number of branching points for the instances with 7 jobs.
Mathematics 08 01131 g004
Figure 5. Number of branching points for the instances with 8 jobs.
Figure 5. Number of branching points for the instances with 8 jobs.
Mathematics 08 01131 g005
Figure 6. Number of branching points for the instances with 9 jobs.
Figure 6. Number of branching points for the instances with 9 jobs.
Mathematics 08 01131 g006
Table 1. Number of branching points in Algorithm 2 for the test instances generated according to [29].
Table 1. Number of branching points in Algorithm 2 for the test instances generated according to [29].
nNumber of the Instance
123456789101112131415
3422222222224222
4333333333543333
5944254431448444418
655642271611375555584155
76251666631147310343561726222
872343377237391777719477
912718184783786293488628872182088
1096909966114999999394465849
111013,0981050711013,9921110608177359130310377210
121122,736111135,91057,40732,79811139164,613111116611207,119
131212213,4331109*12183227794,56712*1230,946*12
141313458*593321,7744394131313*32,246*13*
15229314****14*1414**1414*
1615*15*15*15*15***172,87615*
17*1616*16*16161616*9128*1616
1817**17**17171717*****
19*1818*****49991818**1818
20*192103**192019191919191919*

Share and Cite

MDPI and ACS Style

Lazarev, A.A.; Pravdivets, N.; Werner, F. On the Dual and Inverse Problems of Scheduling Jobs to Minimize the Maximum Penalty. Mathematics 2020, 8, 1131. https://doi.org/10.3390/math8071131

AMA Style

Lazarev AA, Pravdivets N, Werner F. On the Dual and Inverse Problems of Scheduling Jobs to Minimize the Maximum Penalty. Mathematics. 2020; 8(7):1131. https://doi.org/10.3390/math8071131

Chicago/Turabian Style

Lazarev, Alexander A., Nikolay Pravdivets, and Frank Werner. 2020. "On the Dual and Inverse Problems of Scheduling Jobs to Minimize the Maximum Penalty" Mathematics 8, no. 7: 1131. https://doi.org/10.3390/math8071131

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop