Repairing Schedules by Removing Waiting Times: A Parameterized Complexity Analysis
Abstract
We consider the problem of repairing production schedules in a job-shop setting by reducing pre-planned waiting times. Herein, a schedule of all jobs is given. To compensate unforeseen disturbances, this schedule contains waiting times between the execution of two consecutive tasks of a job. Further, we assume that the schedule temporarily overloads some machines, e.g. due to reduced machine capacities because of worker sickness or (partially) broken machines. We study the problem of removing as few waiting times as possible in order to eliminate the machine overloads. After formalizing this problem, we perform an extensive analysis of its parameterized complexity with respect to several natural parameters, resulting in a detailed picture of the problem’s complexity.
Keywords and phrases:
Job shop, parallel machines, reactive schedulingFunding:
Niels Grüttemeier: Supported by the project Datenfabrik.NRW, a project by KI.NRW, funded by the Ministry for Economics, Innovation, Digitalization and Energy of the State of North Rhine-Westphalia (MWIDE).Copyright and License:
2012 ACM Subject Classification:
Theory of computation Parameterized complexity and exact algorithms ; Theory of computation Problems, reductions and completeness ; Mathematics of computing CombinatoricsEditors:
Pat Morin and Eunjin OhSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Scheduling is a crucial task in the industrial production of goods, helping to achieve key goals such as low production costs or on-time deliveries. Therefore, scheduling is an established and very important area in the intersection of theoretical computer science, operations research, and combinatorial optimization. In classical scheduling problems, one is usually given a set of jobs (and their characteristics) to be processed in the future, and the task is to compute an “optimal” (with respect to some specified criterium) schedule of the jobs. However, many real-world scenarios are not adequatly covered by this approach, for instance when a large number of unexpected obstacles (e.g., machines breaking down, workers calling in sick, arrival of urgent customer orders, etc.) may compromise the initial plan. Recomputing a new schedule from scratch after each such obstacle is hardly an option in practice, as reassignments of jobs and operations to different resources require cancellations of expensive set-ups and lead to shop floor nervousness [21].
Instead of rescheduling, there are also other ways to handle unexpected obstacles in production planning. One such approach is scheduling under uncertainties, containing several different models of uncertainties in scheduling. One of the most common such models is stochastic scheduling, where the values of job parameters (most commonly of the processing time) are independent random variables instead of numbers, see e.g. [19, 8]. Another model is multi-scenario scheduling, where a finite number of different scenarios needs to be considered (see [18] for a survey). Another approach is online scheduling, where the machine breakdowns appear one after another and one has to update the schedule immediately, see e.g. [2, 10]. Another approach is to repair a schedule. In this approach, one starts with a given schedule and applies small changes to it, adapting the schedule to the new situation. This is done by heuristically applying generic operations on the given schedule [20, 21] or by applying data-driven techniques from the field of machine learning [22, 16, 14]. Relatively new approaches combine scheduling under uncertainties with repairing policies [13]. For a very recent survey of scheduling problems in general, we refer to Agnetis et al. [1].
While the vast majority of research on repairing schedules focusses on heuristic approaches and their experimental evaluation, this work aims to lay a foundation for the theoretical study of these problems. In order to do so, we first formalize our scheduling problem as a precise mathematical problem which we call Waiting Time Removal (WTR) using notations from stringology. The idea of WTR is that in a case where unexpected resource breakdowns occur, updated information about resource availability and job durations is perfectly known and one has to adapt the old solution to the new situation. WTR is motivated by real-world production planning scenarios in German mid-sized companies. In this work, we study the computational complexity of WTR, focussing on the parameterized complexity.
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | |
| A | 3 | 2 | 2 | 2 | 2 | 2 | 0 | 1 |
| B | 1 | 1 | 2 | 0 | 2 | 2 | 1 | 1 |
| 1 | A | x | x | B | ||||
| 2 | A | B | ||||||
| 3 | A | x | A | B | ||||
| 4 | A | x | x | A | B | |||
| 5 | A | A | x | A | B |
1 2 3 4 5 6 7 8 A 3 2 2 2 2 2 0 1 B 1 1 2 0 2 2 1 1 1 A x x B 2 A B 3 A A B 4 A A B 5 A A x A B
An example of an instance of WTR together with a repaired schedule is illustrated in Figure 1. Intuitively, our scheduling problem WTR models the following scenario: there are multiple types of different machines (e.g. machine types and ). Similar to a job shop, each job has to be processed on machines of different types in a job-specific order for a specific amount of time. However, in contrast to the standard job shop model, there may be waiting times planned between the steps, serving as a “buffer” to cover unexpected delays. To model this, each job is represented by a string enlisting the required machines (repeating a machine if it needs to be processed for multiple time units) and the planned waiting times. As an example, the string corresponds to a job that first needs to be processed on machine for two time units, then has one time unit waiting time (encoded by the letter “”), and finally needs to be processed on machine for one time unit. At each time step, a different number of machines of each type is available (e.g. at time , three machines of type might be available, meaning that up to three different jobs can be processed on machines of type ); this number will be called the capacity of the machine at that time step. The capacities model e.g. the breakdown of machines or workers required to operate the machine calling in sick. Additionally, each job is assigned with a starting time. The goal is to remove a small number of waiting times from the jobs such that the resulting schedule satisfies the capacity constraints posed on the machine types in the all steps. The idea behind keeping the number of waiting time removals small is that maintaining many waiting times increases the robustness against future disruptions.
Related Work.
To the best of our knowledge, our introduced problem WTR has not yet been studied.
One framework that is conceptually related to the idea of repairing given schedules is the approach of parameterized local search: The idea is to apply a limited number of changes on a given schedule to improve a target function value. Balzereit et al. [3] study parameterized local search for a single machine scheduling problem. While their approach mostly serves as a subroutine in a hill-climbing setting, it can also be used to repair schedules.
Another framework related to repairing schedules is reoptimization [17, 4]: The idea of reoptimization is to compute approximate solutions of perturbed instances from given optimal solutions of an original instance. There are constant factor approximations for reoptimization settings of multi-machine makespan minimization under the constraint that some jobs are not allowed to be scheduled parallel [17]. Boria and Della Croce [4] provide constant factor approximizations for multiple min-sum scheduling problems with release dates.
Our Results.
We initiate the theoretical study of WTR. As WTR is NP-hard even if the number of allowed waiting time removals is unbounded (Theorem 3), the problem is inapproximable, motivating our parameterized complexity analysis. Considering the most natural parameterizations (by the number of jobs, the number of deletions, the time horizont , and the alphabet size and combinations thereof), we derive a complete picture of the parameterized complexity of WTR. An overview of the results is shown in Table 1.
Notably, while most of our hardness results hold already for alphabets of constant size, the paraNP-hardness of WTR parameterized by (Theorem 6) is contrasted with the fixed-parameter tractability with respect to (Theorem 7). A further notable result is that parameterizing with the number of jobs is not sufficient to ensure fixed-parameter tractability (Theorem 3), but only results in an XP-algorithm (Theorem 4).
2 Preliminaries
We use standard notations from parameterized complexity [5].
For integers , we let . We let denote the concatenation of strings, and we let denote the length of a string . Furthermore, for , we let be the th symbol of or the empty word if .
Let be a finite alphabet, let , and let be a string with occurrences of the symbol . For , we let denote the string after removing the th occurrences of for each from . As an example, consider , where we remove the first and the third occurrence of while keeping the second occurrence of . Throughout this work, we call such set an -removal set.
Problem Definition.
Recall that we aim to study a problem where the goal is to adjust a given plan by removing waiting times. In the following, we formalize this idea.
Let be a finite alphabet, let , and let be a number of time steps. A -step capacity bound for is a mapping . Intuitively, corresponds to the capacity of symbol at time step . A job is a tuple consisting of a string and a starting time that satisfies . Intuitively, the inequality guarantees that every job is completed by time step . Given a set of jobs , a symbol and a time step , we define the load of symbol at time step as
A set of jobs satisfies the capacity constraints if for every combination of and . For a job and some , we say that the th letter of is processed at time .
Given a set of jobs , we let denote the number of occurrences of the symbol in the string for . The problem WTR is defined as follows.
Waiting Time Removal (WTR)
- Input:
A number of time steps , a set of jobs, a -step capacity bound , and an integer .
- Question:
Does there exist a family of sets with for each and such that the job set satisfies the capacity constraints ?
For notational convenience, we define for a job its length , its starting time , and for .
Note that essentially bounds the size of an instance of WTR: Each has length at most and thus, can be encoded by encoding at most symbols. Moreover, the load of a symbol can never exceed and thus, can be encoded using bits. Therefore, we can observe the following.
Observation 1.
WTR admits a polynomial kernel for .
Furthermore, note that WTR can be solved by the following simple brut-force algorithm: Enumerate all size- subsets of occurrences of the symbol in the input instance, and check whether removing precisely these occurrences provides a modified set that satisfies the capacity constraints . This simple brute-force strategy implies the following.
Observation 2.
WTR can be solved in time, where denotes the input size.
Graph Theory.
We use standard notation from graph theory, see e.g. [12]. More precisely, all appearing graphs are undirected unless stated otherwise. A graph is -partite if its vertex set can be partitioned into independent sets, i.e., with for each and for each set , there is no edge whose endpoints are both contained in . For a graph and , we denote by the edges with one endpoint in and the other endpoint in . For a vertex , we denote by the set of edges incident to .
3 Parameterization by the Number of Jobs
We first study the parameterization by the number of jobs. While the total number of jobs naturally appears to be a large parameter in real-world applications, we start by showing that – somewhat surprisingly – WTR is unlikely to be fixed-parameter tractable for the parameter .
Theorem 3.
For an instance of WTR, deciding the existence of a deletion family (of arbitrary size) is NP-hard and W[1]-hard parameterized by the number of jobs, even if .
Proof.
We reduce from Multicolored Independent Set which is NP-hard [11] and W[1]-hard parameterized by solution size [15]. In Multicolored Independent Set, one is given an -partite graph with , and the task is to find a multicolored independent set, i.e., a set of pairwise non-adjacent vertices containing exactly one vertex from each . Let be an instance of Multicolored Independent Set. We fix an arbitrary ordering of the edges of as well as of the vertices of each color class . For each color class and each edge , we define the -letter substring to be
Using these substrings, we create, for each , one job where
We define the -capacity bound : For every , letter 1 has capcity one at time . All other capacities are infinite. See Figure 2 for an example.
The reduction clearly runs in polynomial time and the number of jobs equals .
We continue by showing correctness. First note that for any set , job contributes to the load of letter 1 at time if and only if is adjacent to . Given a multicolored independent set , we construct a deletion set as follows: For each job , we let . To see that this satisfies the capacity constraints, note that only letter has a finite capacity (at times for ), so it suffices to show that the load of letter does not exceed its capacity. Assume towards a contradiction that there is some time where the load of letter exceeds its capacitiy, i.e., for some and there are two jobs and both contributing to the load of at time . This implies that is incident to both and , a contradiction to being an independent set.
We conclude with the reverse direction, so let be a deletion family satisfying the capacity constraints. Let . We claim that is an independent set. Assume towards a contradiction that for some and . Then at time , both and contribute to the load of letter , a contradiction to the feasibility of the schedule.
While WTR is presumably not fixed-parameter tractable for , we show that – on the positive side – WTR can be solved in polynomial time for constant values of by providing the following XP algorithm.
Theorem 4.
WTR can be solved in time.
Proof.
We give a dynamic program solving the problem. The dynamic programming table has entries of the form for every suitable tuple , where we call with and for each suitable if, for every , it holds that if and only if . Each entry stores the minimum size of a deletion set such that the load of any symbol for any time does not exceed its capacity and at time (where each letter has capacity 0 for ), the th letter of is processed. Herein, encodes that no letter of is processed until time and encodes that all letters from have already been processed until time . The table is computed as follows: We initialize the table by setting
For the update step, we introduce some additional notation. We say that a suitable tuple is compatible with a suitable tuple if, for every ,
-
,
-
if , then and , and
-
for each , we have .
Intuitively, this means that if the th letter of job is processed at time , then the th letter can be processed at time (after deleting all in between; the second item ensures that only are in between the th and th letter). We update the table as follows:
An optimal solution can be read from using traceback. More formally, we have a yes-instance of WTR if and only if .
The dynamic programming table has entries, each of which can be computed in time. Thus, the dynamic program runs in time.
It remains to show correctness. First, we show by induction on that if , then there is a deletion family of size such that no load exceeds its capacity at any time and at time , the th letter of is scheduled. This clearly holds for . For , let such that . This entry corresponds to a deletion family . By induction, for jobs , no load is exceeded for any time . By the second condition, the th letters of are all , say the th to th occurrences of . Setting for each results in a deletion family of size . By the third condition, no load is exceeded at time . By induction, no load is exceeded at any time for ; consequently, also for no load is exceeded at any time for . Thus, is a deletion family of size with the desired properties.
Next, we show that if there is a deletion family of size such that at time , for each the th letter of is scheduled, and no load is exceeded for any , then . We again do so by induction on . For , the statement is obvious, so consider . The deletion family is also a deletion family where at time , the th letter of is scheduled for some . By the second condition, the th letters of are all , say the th to th occurrences of . Setting for therefore results in a deletion set of size . By induction, we have . Thus, we have
The correctness follows.
Adding a simple pruning rule to the dynamic program from Theorem 4 yields fixed-parameter tractability by the combined parameter :
Corollary 5.
WTR parameterized by can be solved in time.
Proof.
For every job , the deletion set has size at most . Thus, at each time , at most different letters from can be scheduled, implying that at most different values for need to be considered. Consequently, the number of DP entries to consider is , and each of these entries can be computed in time. Therefore, WTR can be solved in time.
4 Parameterization by the Number of Time Steps
We next study parameterization by the number of time steps. We start by showing that WTR cannot be solved in polynomial time for constant values of unless . Motivated by this strong hardness result, we then study parameterizations by the combined parameters of and .
Theorem 6.
WTR is NP-hard even if is constant.
Proof.
We provide a reduction from Independent Set. In Independent Set, one is given a graph together with an integer . The question is whether there exists a set of pairwise non-adjacend vertices with . Independent Set is well-known to be NP-hard even if has maximum degree [7].
Let be an instance of Independent Set, where has maximum degree . We describe how to construnct an equivalent instance of WTR in polynomial time. To this end, we assume that has a proper edge coloring with four colors: Due to Vizing’s Theorem [23], we can partition the edge set into four sets , , , and such that for each , no two edges in share one endpoint. Since the proof of Vizing’s Theorem provides an algorithm computing the partition in polynomial time, we may use the sets for our construction.
To construct an instance of WTR, we first set and we set . Furthermore, we define the alphabet . Next, given some and some , we let if has no incident edge in , and we let otherwise, where is the unique incident edge in . We then define and set . Note that for every , we have .
We complete the construction by defining the capacity . We set . Furthermore, for every and we define . All remaining capacities are set to .
Before we prove the correctness, we provide some intuition. Since and every ends with the symbol at time step , we need to remove the unique occurrence of in strings, which then corresponds to the choice of vertices in a solution of Independent Set. The capacities for then guarantee that no pair of chosen vertices are incident with the same edge.
We conclude the proof by showing that is a yes-instance of Independent Set if and only if is a yes-instance of WTR.
Let be a yes-instance of Independent Set. Then, there is a set containing vertices that are pairwise non-adjacent. We construct a solution of the WTR instance as follows: for each , we remove the unique occurrence of in and let denote the resulting string. Note that for . Note that we removed occurrences of . We show that the modified job set satisfies the capacity constraints : First, observe that . Second, let and assume towards a contradiction that for some symbol . Then, there exist and with . Then, we have and thus, by the construction of , the vertices and are both incident with the same edge in . This contradicts the fact that consists of pairwise non-adjacent vertices. Consequently, we have for every and . Since all other capacities are , we conclude that the modified job set satisfies the capacity constraints and thus, is a yes-instance of WTR.
Conversely, let be a yes-instance of WTR. Then, there is a subset of jobs with such that removing the unique occurrence of in the corresponding strings results in a plan that satisfies the capacity constraints . Observe that since otherwise . Let be the strings of the jobs in . Then, is a set of vertices of with . It reamins to show that the vertices in are pairwise non-adjacent. Assume towards a contradiction that two vertices and of are connected by an edge . Recall that the edge set is partitioned into the sets . Without loss of generality we assume . Then, by the construction of the jobs we have . Removing the single occurrence of in and provides strings and with . Since , this contradicts the fact that the modified job set satisfies the capacity constraints . Consequently, all vertices in are pairwise non-adjacent and thus, is a yes-instance of Independent Set.
Note that the alphabet size of the instance constructed in the proof of Theorem 6 is roughly the size of the input graph of the Independent Set instance. Recall that in our application the symbols in correspond to distinct machine types on which the jobs need to be processed. In a real-world production setting it is reasonable that there are only few distinct machines types. Motivated by this observation, we study the combined parameter and show that WTR is FPT for this parameterization.
Theorem 7.
WTR parameterized by is FPT.
Proof.
Let be an instance of WTR. We show fixed-parameter tractability by reformulating WTR as an integer linear program (ILP) where the number of variables is bounded by a function only depending on and . It is well-known that ILP parameterized by the number of variables is in FPT [9]. To this end, we introduce the notion of job types. Recall that a job consists of a string and a starting time . We say that two jobs have the same type if they have the same string and the same starting time . We denote the number of jobs of type by . For each job type , we consider possible -removal sets . We provide the ILP formulation by specifying the variables, the constraints, and the target function.
Variables.
For each combination of a job type and a possible removal set , we introduce an integer variable . The intuitive idea is that the value of equals the number of jobs with type whose internal -deletions correspond to the (possibly empty) removal set . More precisely, a solution set contains exactly jobs of the form .
Constraints.
For each type , we add the following constraint, ensuring that all jobs of type are scheduled:
For each combination of and , we introduce the following constraint:
The left-hand side corresponds to the load of symbol at time step . Thus, these constraints guarantee that the solution satisfies the capacity constraints : Intuitively, each string has been modified by a (possibly empty) -removal set . For a given type , the inner sum counts all modified strings of type that have symbol at time step . Since we sum up these values over all possible types, the left-hand side corresponds to the load of symbol at time step .
Target Function.
The target function has the form
Recall that intuitively each value of equals the number of jobs with type whose internal -deletions correspond to the (possibly empty) removal set . Thus, for each combination of a type and a removal set , we delete exactly symbols. Since we sum up over all and , the target function models the total number of -deletions.
Number of Variables.
Note that the number of strings in in an instance with maximum time step is bounded by , and that we have at most starting positions. Consequently, there are at most possible job types . Furthermore, since for all , there are at most possible -removal sets . Thus, the number of variables is bounded by . By a classical result by Lenstra [9], an ILP can be solved FPT-time with respect to the number of variables. This implies that the above ILP can be solved in FPT-time with respect to .
We complement the FPT result for by showing that WTR is unlikely to admit a problem kernel of polynomial size for this parameterization.
Theorem 8.
WTR parameterized by does not admit a polynomial kernel unless .
Proof.
We prove the statement by providing a polynomial parameter transformation from Set Cover. In Set Cover, one is given a universe of elements , a familiy of subsets of , and an integer . The question is whether there exists a subfamily such that and . Set Cover parameterized by does not admit a polynomial kernel unless [6].
Let be an instance of Set Cover and fix an arbitrary ordering of the elements in the universe. We describe how to construct an equivalent instance of WTR for the alphabet . We set and we set . Note that is polynomial in . Next, we define the job set . Given some and some , we let if and if . We define the job set , where
Note that if and only if and we have for every .
We finish the construction by defining the -capacity bound : For every , we set . All remaining are set to .
We next show that is a yes-instance of Set Cover if and only if is a yes instance of WTR.
Let be a yes-instance of Set Cover. Then, there exists a subfamily with such that for each , there is one with . We construct a solution of the WTR instance as follows: for each , we remove the unique occurrence of in , and let denote the resulting string. Note that for every . We show that the modified job set satisfies the capacity constraints . Since all other capacities are , it suffices to show that for each the load of symbol at time step is not larger than . Since for all , we have . Since each is contained in at least one , we conclude that . Therefore, is a yes instance of WTR.
Conversely, let be a yes-instance of WTR. Then, there is a subset of jobs with such that removing the unique occurrence of in the corresponding strings results in a plan that satisfies the capacity constraints . Let be the strings of the jobs in . Then, is a subfamily of of size at most . Assume towards a contradiction that there is some with . Then, for each with , the occurrence of in has not been removed. Consequently, the load of symbol at time step is . This contradicts the fact that removing the in the strings of results in a job set that satisfies the capacity constraints . Therefore, is a yes-instance of Set Cover.
The following two observations can be made by a taking closer look at the instance constructed in the proof of Theorem 8: First, the parameter equals the solution size of the Set Cover instance. Since Set Cover is known to be W[2]-hard when parameterized by solution size [5], this implies the following.
Corollary 9.
WTR parameterized by is W[2]-hard even if .
Second, the parameter is upper-bounded by , where is the set familiy in the Set Cover instance. Since Set Cover does not admit a polynomial kernel for [6], this implies the following.
Corollary 10.
WTR does not admit a polynomial kernel for unless even if .
Next, consider the parameterization by . Recall that WTR is XP for by Observation 2 and thus, WTR is XP for . We complement this result by showing W[1]-hardness.
Theorem 11.
WTR parameterized by is W[1]-hard.
Proof.
We reduce from Multicolored Clique parameterized by solution size . In Multicolored Clique, one is given an -partite graph with , and the task is to find a multicolored clique, i.e., a set of pairwise adjacent vertices containing exactly one vertex from each . Multicolored Clique is W[1]-hard parameterized by , even if there is some so that each vertex has exactly neighbors in every other color class [5]. Let be an instance of Multicolored Clique where each vertex has exactly neighbors in every other color class. We let be an arbitrary bijection to fix an ordering of the set containing all two-element subsets of . We use the alphabet . We add the following jobs:
-
for each , we add one job where starts with . Afterwards, for each , we append the following four letters:
-
–
if , then we append ,
-
–
if for some , then we append , and
-
–
if for some , then we append .
-
–
-
for each edge with and for some , we add one job .
The capacities are as follows:
-
for each , letter has capacity 1 at time 1 and capacity at time 2,
-
for each , letter has capacity at every time step, and
-
all other capacities are set to be .
Finally, we set . Note that . As the reduction can clearly be computed in polynomial time, it remains to show correctness.
Before we show the correctness, we provide some intuition. The capacities of at time 1 ensures that at most one deletion occurs in jobs , while the capacities of at time 2 ensure that at least one deletion occurs in . Therefore, exactly one deletion occurs in for every . These vertices with a deletion correspond to a multicolored clique: Since there exists some unique such that the in is deleted, this implies that all occurrences of in move one time step earlier. Thereby, for each with , letter from “collides” with letter in the edges incident to in where . Because the capacity of is at each time step, this implies that a deletion has to occur in for some edge incident to . As the budget allows for further deletions, this implies that there is exactly one edge in with a deletion for . Since this edge needs to be incident to both and , it follows that is a multicolored clique.
We first show that if is a yes-instance to Multicolored Clique, then is yes-instance of WTR. Given a clique with , we construct a solution to the WTR instance as follows: We remove the unique occurrence of in job for each and in job for . We call the resulting strings for and for . As we removed occcurences of in total, it remains to show that the capacity constraints are satisfied. For letter , we have a load of 1 at time 1 (from job ) and a load of at time to (from jobs for ). Thus, the capacities of are satisfied. For , the maximum load at any time is , so its capacity is satisfied. We continue with letter for . At time , the load of is either 0 (if or for some ) or (if for some ; in this case, job and edge jobs (all edges from except for ). In both cases, the capacity constraint is satisfied. Symetrically, at time , the load is either 0 (if or for some ) or (if for some ; in this case, job and edge jobs (all edges from except for ). In both cases, the capacity constraint is satisfied.
Lastly, we show that if is a yes-instance to WTR, then is a yes-instance to Multicolored Clique. Since is a yes-instance, there is a subset of jobs with such that removing the unique occurrence of in the corresponding strings results in a plan that satisfies the capacity constraints . As the capacity of for at time step 2 is , it follows that for each , there exists some with . As , this is unique.
We next show that forms a multicolored clique. Consider any and let for some . At time , job contributes one to the load of . For each edge , job contributes 1 to the load of at time if and only if . As , this implies that there is at least one edge with . Considering the letter and time , symmetric arguments show that there is at least one edge with . As there are deletions in jobs for and , this implies that for each , there is a unique with , and this edge is incident to both and , i.e., . This implies that is a multicolored clique.
5 Conclusion
In this work, we initiated theoretical studies of repairing production schedules by the deletion of waiting times in a job shop setting by introducing a mathematical formulation of the problem. While our results mostly highlight the hardness of this problem, there are also few tractability results, for example when there are only few different machine types and a short time horizon is considered. We conclude with several proposals for further research questions:
-
Instead of removing waiting times, there are also other natural operations to modify a schedule, for example swapping jobs. What is the complexity of the resulting problem?
-
Our scheduling model is quite general, being based on job shop scheduling. Does basing the problem on simpler scheduling models, e.g. flow shops, result in a more tractable problem?
-
Given that eliminating all capacity violations turned out to be quite hard, one might try to not directly search for a “perfect” schedule, but instead only a “better” one (i.e., one with fewer capacity violations). Can such a schedule be found using the framework of parameterized local search?
-
While we study how to remove pre-planned waiting times, it might be interesting to study how these waiting times can be established in the first place. How can we create schedules that are robust in the sense that they can be repaired by removing waiting times?
References
- [1] Alessandro Agnetis, Jean-Charles Billaut, Michael Pinedo, and Dvir Shabtay. Fifty years of research in scheduling – Theory and applications. European Journal of Operational Research, 2025. doi:10.1016/j.ejor.2025.01.034.
- [2] Susanne Albers and Günter Schmidt. Scheduling with unexpected machine breakdowns. Discret. Appl. Math., 110(2-3):85–99, 2001. doi:10.1016/S0166-218X(00)00266-3.
- [3] Kaja Balzereit, Niels Grüttemeier, Nils Morawietz, Dennis Reinhardt, Stefan Windmann, and Petra Wolf. Scalable neighborhood local search for single-machine scheduling with family setup times. CoRR, abs/2409.00771, 2024. doi:10.48550/arXiv.2409.00771.
- [4] Nicolas Boria and Federico Della Croce. Reoptimization in machine scheduling. Theor. Comput. Sci., 540:13–26, 2014. doi:10.1016/J.TCS.2014.04.004.
- [5] Marek Cygan, Fedor V. Fomin, Lukasz Kowalik, Daniel Lokshtanov, Dániel Marx, Marcin Pilipczuk, Michal Pilipczuk, and Saket Saurabh. Parameterized Algorithms. Springer, 2015. doi:10.1007/978-3-319-21275-3.
- [6] Michael Dom, Daniel Lokshtanov, and Saket Saurabh. Kernelization lower bounds through colors and ids. ACM Trans. Algorithms, 11(2):13:1–13:20, 2014. doi:10.1145/2650261.
- [7] M. R. Garey, David S. Johnson, and Larry J. Stockmeyer. Some simplified NP-complete graph problems. Theor. Comput. Sci., 1(3):237–267, 1976. doi:10.1016/0304-3975(76)90059-1.
- [8] Kevin D Glazebrook. Scheduling tasks with exponential service times on parallel processors. J. Appl. Probab., 16(3):685–689, 1979.
- [9] Hendrik W. Lenstra Jr. Integer programming with a fixed number of variables. Math. Oper. Res., 8(4):538–548, 1983. doi:10.1287/MOOR.8.4.538.
- [10] Bala Kalyanasundaram and Kirk Pruhs. Fault-tolerant scheduling. SIAM J. Comput., 34(3):697–719, 2005. doi:10.1137/S0097539794261799.
- [11] Richard M. Karp. Reducibility among combinatorial problems. Complexity of Computer Problems, pages 85–103, 1972. doi:10.1007/978-1-4684-2001-2_9.
- [12] Bernhard Korte and Jens Vygen. Combinatorial Optimization. Springer, 6th edition, 2018.
- [13] Patricio Lamas, Marcos Goycoolea, Bernardo K. Pagnoncelli, and Alexandra M. Newman. A target-time-windows technique for project scheduling under uncertainty. Eur. J. Oper. Res., 314(2):792–806, 2024. doi:10.1016/J.EJOR.2023.10.027.
- [14] Arthur Müller and Lukas Vollenkemper. Reinforcement learning as an improvement heuristic for real-world production scheduling. In Proceedings of the 23rd IEEE International Conference on Machine Learning and Applications (ICMLA ’21). IEEE, 2024. doi:10.1109/ICMLA52953.2021.00085.
- [15] Krzysztof Pietrzak. On the parameterized complexity of the fixed alphabet shortest common supersequence and longest common subsequence problems. J. Comput. Syst. Sci., 67(4):757–771, 2003. doi:10.1016/S0022-0000(03)00078-3.
- [16] George A. Rovithakis, Stelios E. Perrakis, and Manolis A. Christodoulou. Application of a neural-network scheduler on a real manufacturing system. IEEE Trans. Control. Syst. Technol., 9(2):261–270, 2001. doi:10.1109/87.911378.
- [17] Markus W. Schäffter. Scheduling with forbidden sets. Discret. Appl. Math., 72(1-2):155–166, 1997. doi:10.1016/S0166-218X(96)00042-X.
- [18] Dvir Shabtay and Miri Gilenson. A state-of-the-art survey on multi-scenario scheduling. Eur. J. Oper. Res., 310(1):3–23, 2023. doi:10.1016/J.EJOR.2022.11.014.
- [19] Martin Skutella, Maxim Sviridenko, and Marc Uetz. Unrelated machine scheduling with stochastic processing times. Math. Oper. Res., 41(3):851–864, 2016. doi:10.1287/MOOR.2015.0757.
- [20] Stephen F Smith. Reactive scheduling systems. Intelligent scheduling systems, pages 155–192, 1995.
- [21] V Subramaniam, AS Raheja, and K Rama Bhupal Reddy. Reactive repair tool for job shop schedules. Int. J. Prod. Res., 43(1):1–23, 2005.
- [22] E. Szelke and G. Markus. A blackboard based perspective of reactive scheduling. In Artificial Intelligence in Reactive Scheduling, pages 60–77. Springer US, 1995. doi:10.1007/978-0-387-34928-2_6.
- [23] Vadim G Vizing. On an estimate of the chromatic class of a p-graph. Diskret. analiz., 3:25–30, 1964.
