Abstract

We consider a single-machine scheduling problem with outsourcing options in an environment where the cost information of the downstream is available via some information sharing technologies. The due date is assigned to the position differently from the traditional due date. Each job can be processed in-house or outsourced. Note that, for cost saving, as many due dates as the number of outsourced jobs should be canceled. An in-house job incurs a stepwise penalty cost for tardiness, and an outsourced job incurs an outsourcing cost. Thus, the objective is to minimize the total penalty and outsourcing cost minus the total profit from cost savings. We show that the problem is weakly NP-hard and investigate some polynomially solvable cases. Due to the high complexity of the dynamic programming, we developed heuristics and verified their performance through numerical experiments.

1. Introduction

Information sharing has been known as one of the effective tools that enable parties in a supply chain to coordinate with each other [1, 2]. A number of scenarios that exploit the capability of information sharing might be possible according to the characteristics of the supply chain. In this paper, we consider the problem of manufacturers who want to schedule their processing of jobs so that the cost of a carrier as well as her own costs is simultaneously minimized. We assume that a decision maker, i.e., manufacturer, is well aware of the cost structure of her carrier by some information sharing technologies.

Generally, a manufacturer in the current business environment is looking to entrust part of its production to a subcontractor and third-party logistics providers, respectively. With such outsourcing, the manufacturer can deliver goods to its consumers on time, reduce operating costs, and make its organization more flexible. Thus, the proper use of outsourcing can make a company more competitive [3, 4], which provides us with motivation to consider a production scheduling problem with an outsourcing option [5, 6, 7].

In this paper, we consider a single-machine scheduling problem such that a job can be processed directly by in-house resources or outsourced to a subcontractor. For in-house jobs, a due date is assigned, depending on the job sequence, and a stepwise penalty cost for tardiness can be incurred. A due date can be interpreted as the arrival time of a particular truck operated by an independent carrier. Note that these due dates are given not for specific jobs but for specific positions, and these due dates are referred to as generalized due dates (GDD) [8]. This reflects the situation in which a carrier’s truck periodically visits a factory according to a planned timetable and picks up not a specific product, but one that is completed upon the truck’s arrival. In this case, the truck’s arrival time can be regarded as the due date. When some jobs are determined to be outsourced, it is assumed that as many due dates should be canceled as the number of outsourced jobs. In particular, we assume that any due date can be canceled. This is different from the canceling policy of Gerstl and Mosheiov [9], where the due dates are canceled in nonincreasing order.

As mentioned at the outset, the objective to be minimized of manufacturers consists of two components: one for their own cost and the other for the cost of the carrier. For a given set of due dates, the cost of the manufacturer is the outsourcing cost. The cost of the carrier, on the contrary, is the difference between the waiting cost due to late completion of jobs and the profit due to the canceled due dates. The canceling notification from the manufacturer which is sufficiently earlier than the due dates enables the carrier to redirect the corresponding resources, e.g., trucks and drivers. Thus, we assume that the canceling of due dates incurs profit instead of cost. Note that, for the manufacturer, all information on the carrier becomes available as a result of some information sharing technologies.

Remark 1. In Section 3, we will show that our problem is weakly NP-hard and has a pseudopolynomial time algorithm. Moreover, in Section 4, we will introduce some polynomially solvable cases. All these results also hold for the case where canceling due dates incurs costs instead of profits.
The main contributions of this paper are to establish the computational complexities of the problem and its variants, and to design heuristics whose effectiveness was verified through numerical experiments. For practitioners who consider our problem as an appropriate model for their problems, polynomially solvable cases and heuristics can provide some guidelines for tackling their own problems. In particular, manufacturers can align their production schedules with those of carriers or other downstream firms. This practice can result in reducing the transportation costs as well as overhead costs of manufacturers [10].
The scheduling problem with GDD was introduced by Hall [8]. In Hall [8] and Hall et al.’s [11] studies, the computational complexity of cases with various performance measures—such as maximum lateness, total weighted completion time, total weighted tardiness, and the weighted number of tardy jobs—is established in various machine environments, such as a single machine, parallel machines, and shops. However, the single-machine scheduling problem that minimizes the total weighted number of tardy jobs has been proven to be NP-hard by Sriskandarajah [12] and Yuan [13], and strongly NP-hard by Gao and Yuan [14]. Mosheiov and Oron [15] considered the problem on parallel identical machines to minimize the maximum tardiness and total tardiness. They showed that the schedule ordered by the shortest processing time (SPT) performs extremely well. Choi and Park [16] considered single-machine scheduling with GDD and identical due date intervals to minimize the weighted number of early and tardy jobs. They showed that the problem is strongly NP-hard and has no ρ-approximation algorithm for any fixed value . Gerstl and Mosheiov [9] considered two single-machine scheduling problems with GDD and rejection options with the objective of minimizing the total rejection cost plus the maximum tardiness or the total tardiness. They showed that the two machine problems are weakly NP-hard and developed heuristics whose performance was verified through the numerical experiments. To the best of our knowledge, Gerstl and Mosheiov [9] were the only ones to consider the scheduling problem with GDD and outsourcing options.
The remainder of the paper is organized as follows. Section 2 defines our problems. In Section 3, we prove the weak NP-hardness of our problems. Section 3 presents some conditions that make our problems polynomially solvable. In Section 4, we develop heuristics and conduct numerical experiments. Finally, in Section 6, we present our concluding remarks.

2. Notation and Problem Definition

In this section, we introduce the notations used throughout the paper and formally define our problem.

Let and be the processing time and the outsourcing cost of job , respectively. Let be the th due date and be the profit from canceling for . We assume that . Let be a schedule such that the number of in-house jobs is h andwhere is the ith in-house job assigned to the th due date. Without loss of generality, assume that

Let be the completion time of the ith in-house job in σ, which is calculated as

Let be the penalty cost function for the tardiness of the job assigned to , which is defined aswhere is a given threshold. Without loss of generality, assume that

This stepwise tardiness penalty cost has been considered in the field of transportation and semiconductor manufacturing [1720].

Then, our problem is to find a schedule σ to minimizewhere and are the sets of outsourced jobs and canceled due dates, respectively; that is,

Let our problem be referred to as Problem P.

Proposition 1. There exists an optimal schedule such that the in-house jobs are sequenced by SPT order.

Proof. Proposition 1 holds immediately from the standard pairwise interchange scheme.
Henceforth, we consider only schedules satisfying Proposition 1.

3. Computational Complexity

In this section, we show that Problem P is weakly NP-hard. For the proof of NP-hardness, we use the equal cardinality partition (ECP) problem, which can be stated as follows: given a set of elements, a bound , and a size for each element , can be partitioned into two disjoint sets and such that

Without loss of generality, assume that for any subset with ,

Lemma 1. Problem P is NP-hard, even if:(i)The step function for each has only two intervals, that is,(ii)The intervals between the consecutive due dates are identical, that is,where is a given threshold.

Proof. Given an instance of the ECP problem, we can construct an instance of our problems as follows. There are jobs withLet andThis reduction can be carried out in polynomial time. Henceforth, we show that a solution to the ECP problem exists if and only if there exists a schedule σ for Problem P with .
Suppose there exists a solution to the ECP problem. Then, we can construct a schedule such that(i)The number of in-house jobs is (ii) is the SPT sequence of jobs in , where job is the first job, according to Proposition 1(iii)Let and . Note that, for ,Since , and ,Inequalities (15) and (16) show that no tardy in-house job exists in . Furthermore, according to the reduction scheme above,Thus, by inequality (17),Suppose there exists a schedule for Problem P with . LetSince ,and no tardy job exists in which implies that job is the first in-house job by Proposition 1.

Claim 1. .

Proof. By relation (20), . Thus, Claim 1 holds only by proving . Suppose that . Then, holds and, by assumption (9), we haveThis is a contradiction.

Claim 2. .

Proof. Since and ,Suppose that . Then,By inequality (23), we haveand job becomes tardy. This is a contradiction.
Let and . Then, and become the solution to the ECP problem.
Henceforth, for simplicity, assume that

Lemma 2. Problem P can be solved in pseudopolynomial time.

Proof. We reduce Problem P to the shortest path (SP) problem. Let and be the source and sink nodes, respectively. Let be the node indicating:(i)Which jobs in have to be outsourced(ii)Which due dates in have to be canceled(iii)The total processing time of in-house jobs in is CIf and , then let be connected to with lengthIf and , then let be connected to the sink node with lengthThe objective is to find the SP from the source to the sink node. In the reduced SP problem, the number of nodes is observed to be , and each node has outgoing arcs. Since the graph of the reduced SP problem is acyclic, the reduced SP problem can be solved in by the algorithm of Ahuja et al. [21].

Theorem 1. Problem P is weakly NP-hard.

Proof. Theorem 1 holds immediately from Lemmas 1 and 2.

4. Polynomially Solvable Cases

In this section, we introduce three polynomially solvable cases.

Theorem 2. Problem P is polynomially solvable if the processing times are identical, that is, , .

Proof. We will prove Theorem 2 by reducing Problem P to the SP problem such that the total number of nodes is bounded by n. Let and be the source and sink nodes, respectively. Let be the node indicating.(i)Which jobs in have to be outsourced(ii)Which due dates in have to be canceled(iii)The total processing time of in-house jobs in is If and , then let be connected to with lengthIf and , then let be connected to the sink node with lengthThe objective is to find the SP from the source to the sink node. In the reduced SP problem, the number of nodes is observed to be , and each node has outgoing arcs, respectively. Since the graph of the reduced SP problem is acyclic, the reduced SP problem can be solved in by the algorithm of Ahuja et al. [21].

Theorem 3. Problem P is polynomially solvable, if(i)The intervals between the consecutive due dates are identical, that is,where is a given threshold;(ii) for each .

Proof. In an optimal schedule, the total penalty cost for tardiness is observed to be zero by sequencing the in-house jobs in SPT order. Based on this observation, we will prove Theorem 3 by reducing Problem P to the weighted matching problem.
Construct a graph such that(i) and (ii)For each edge , and For and , the weight of edge is calculated asThe objective is to find the set of edges whose total weight is maximized. Note that, if edge , then in an optimal schedule of Problem P, job l is outsourced, and due date is canceled. The reduced weighted matching problem can be solved in by the Hungarian method.

Theorem 4. Given , it is polynomially solvable to determine to minimize for Problem P.

Proof. We will prove Theorem 4 by reducing Problem P to the SP problem such that the number of nodes is bounded by n. Let be the completion time of job . Let and be the source and sink nodes, respectively. Let be the node indicating.(i)Which due dates in have to be canceled(ii)In-house job is assigned to If and , then let be connected to with lengthIf and , then let be connected to the sink node with length . If , then let be connected to the sink node with lengthThe objective is to find the SP from the source to the sink node. In the reduced SP problem, the number of nodes is observed to be , and each node has outgoing arcs, respectively. Since the graph of the reduced SP problem is acyclic, the reduced SP problem can be solved in by the algorithm of Ahuja et al. [21].

5. Heuristics

In this section, due to the high complexity of the dynamic programming in Lemma 2, we present three heuristics. We conduct numerical experiments to evaluate each heuristic. Heuristic H1 is based on the heuristic of Gerstl and Mosheiov [9]. First, Heuristic H1 prioritizes the jobs to be outsourced and the due dates to be canceled in advance and constructs new schedules by deleting jobs and due dates in order of priority from the initial schedule. Then, Heuristic H1 selects the best schedule among the constructed schedules. The detailed description of Heuristic H1 is as follows.

5.1. Heuristic H1

Step 1. Obtain two sequences and by sequencing the jobs in the nonincreasing orders of and , respectively, and a sequence ς by sequencing the due dates in the nonincreasing orders of .Step 2. SetStep 3. Constructwhere and are the subsequences constructed from and by deleting job and , respectively.Step 4. Return such that

Heuristic H1 can be improved by the property in Theorem 4. Instead of in Step 3 of Heuristic H1, Heuristic H2 assigns due dates according to the algorithm in the proof of Theorem 4. The detailed procedure is as follows.

5.2. Heuristic H2

Step 1. Obtain two sequences and by sequencing the jobs in the nonincreasing orders of and , respectively.Step 2. SetStep 3. Constructwhere is the subsequence from by deleting job and is the sequence obtained by applying the approach in Theorem 4 when .Step 4. Return such that

Unlike Heuristics H1 and H2, Heuristic H3 constructs new schedules by optimally deleting jobs and due dates from the initial schedule based on Theorem 4. Then, Heuristic H3 selects the best schedule among the constructed schedules. The detailed description of Heuristic H3 is as follows.

5.3. Heuristic H3

Step 1. Set and , whereStep 2. Constructwhere and are the subsequences constructed from π and θ by deleting job j and due date , respectively.Step 3. Find such thatStep 4. Set , , , and .Step 5. If , then set .Step 6. If , then return and STOP; otherwise, go to Step 2.

6. Experimental Results

To evaluate the performance of Heuristics H1–H3, we conducted numerical experiments with randomly generated instances in various settings. We implemented the heuristics with Python language. To implement the pseudopolynomial time algorithm introduced in Lemma 2, the Python NetworkX package was used. All our experiments were performed on a laptop computer with 32 GB of RAM and a 4.00 GHz processor.

6.1. Instances

All instances were categorized with respect to the number of jobs (n) and the densities of the generalized due dates as defined by Gerstl and Mosheiov [9]. More specifically, we considered , and 80 jobs. The job processing times and outsourcing costs were randomly generated in the intervals and , respectively. The generalized due dates were generated uniformly from the interval , where . We considered the cases , and 1.0. The profits for canceling due dates were randomly generated in the interval . Finally, for the tardiness penalty cost introduced in Section 1, , , and δ is the standard deviation of the job processing times. We generated 30 instances for each .

6.2. Results

To evaluate the quality of the solutions obtained by Heuristics H1–H3, we compare these three solutions with the optimal solution, which is obtained by the pseudopolynomial time algorithm in Lemma 2. For instances with ; however, the optimal solutions are not available due to lack of computer memory.

Table 1 shows the objective values of the schedules by applying Heuristics H1–H3 and the optimal algorithm for the instances under the setting . H3 outperforms the other heuristics in all instances, and in particular, finds optimal solutions for of instances. Thus, Heuristic H3 is the best of the three heuristics.

Table 2 compares the computation times of the three heuristics with the optimal algorithm. Heuristic H1 is the fastest, since it simply sorts the jobs and due dates according to predefined measures. Heuristic H3 ranks second, though it requires repetitive enumerations. On the contrary, although Heuristic H2 is similar to Heuristic H1, it exhibits longer computation times than Heuristic H1 since the SP problem needs to be solved as a subroutine.

According to the results in Tables 1 and 2, Heuristic H3 could be the most competitive alternative among the optimal algorithm and heuristics. Indeed, a similar conclusion can be drawn for setting with different β values.

The effect of the densities of generalized due dates (controlled by α in our experiments) is also reported in Table 3. Interestingly, Heuristic H3 finds the optimal solutions for all 30 instances when .

In Table 4, we investigate the effects of β. Note that Heuristic H1 does not consider β in its implementation and thus finds the same solution, regardless of β. On the contrary, Heuristics H2 and H3 consider β and thus find different solutions for different β values.

Table 5 demonstrates the average objective values for each setting of n and α. We found that the performances are consistent with the previous results.

Finally, we report the increases in computation times with respect to the number of jobs. Table 6 shows the averages and standard deviations of the computation times for the instances with . Heuristic H1 finds solutions fastest, with little variation, since it simply sorts jobs. On the contrary, the computation times of Heuristic H2 show steep increases as the number of jobs increases since it uses an SP path subroutine. The computation time of Heuristic H3 lies between those of H1 and H2.

7. Concluding Remarks

Information sharing among parties in a supply chain provides an opportunity for members of the supply chain to coordinate with each other. In this paper, we consider an alignment problem of production and transportation schedules that can be modeled as a single-machine scheduling problem with generalized due dates and outsourcing options. Tardiness and outsourcing costs occur because of in-house and outsourced jobs, respectively, and cost savings arise from canceled due dates. The objective is to minimize the total outsourcing and canceling costs minus the total benefit from cost savings. We showed that the problem is NP-hard, even if each step function has only two intervals, and we developed a pseudopolynomial time algorithm. Due to the high complexity of the pseudopolynomial time algorithm, however, we developed three heuristics and verified their performance by conducting numerical experiments in various settings. These findings can be used to design and implement production schedules considering the alignment of production and transportation to downstream firms.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This work was supported by the 2019 Research Fund of Myongji University.