Modelling and Solving Rescheduling Problems in Dynamic Permutation Flow Shop Environments

,e aim of this paper is to analyse, model, and solve the rescheduling problem in dynamic permutation flow shop environments while considering several criteria to optimize. Searching optimal solutions in multiobjective optimization problems may be difficult as these objectives are expressing different concepts and are not directly comparable. ,us, it is not possible to reduce the problem to a single-objective optimization, and a set of efficient (nondominated) solutions, a so-called Pareto front, must be found. Moreover, in manufacturing environments, disruptive changes usually emerge in scheduling problems, such as machine breakdowns or the arrival of new jobs, causing a need for fast schedule adaptation. In this paper, a mathematical model for this type of problem is proposed and a restarted iterated Pareto greedy (RIPG) metaheuristic is used to find the optimal Pareto front. To demonstrate the appropriateness of this approach, the algorithm is applied to a benchmark specifically designed in this study, considering three objective functions (makespan, total weighted tardiness, and steadiness) and three classes of disruptions (appearance of new jobs, machine faults, and changes in operational times). Experimental studies indicate the proposed approach can effectively solve rescheduling tasks in a multiobjective environment.


Introduction
Scheduling in production systems addresses the problem of sequencing the manufacturing of a series of jobs assigned to different machines in a production environment subject to certain requirements. Since 1950s, these complex problems of (NP-hard) type as shown by Garey et al. [1] have been studied in depth by the scientific community.
Flow shop systems seek the optimal scheduling of "n" jobs {j 1 , j 2 , . . ., j n } in "m" machines {m 1 , m 2 , . . ., m m }. Each job consists of "m" tasks, the i th task being processed by the machine m i . In each specific period of time, every machine processes a single task. us, to finish a job on the machine i, this machine must be available and the job on machine "m − 1" should have been fully processed.
When job scheduling is identical in each machine, there is a permutation flow shop problem (PFSP), which usually assumes no precedence among different job tasks or interruptions on them. PFSP is the problem tackled in this paper as it has many real-world applications, although other environments may appear, such as the blocking flow shop problem [2] or the integrated planning and scheduling production system [3,4].
Due to the combinatorial nature of the problem, of factorial order, the number of schedules increases to n! Multiobjective optimization seeks to recognize the best advantageous solution by simultaneously analysing multiple discrepant objectives (for example, cost, quality, or time). Every objective can be measured in different units or have different meanings, making them incomparable. Consequently, they do not allow a possible optimal solution for all criteria to be obtained. While finding efficient solutions (known as nondominated), the final objective would be to obtain the group of nondominated solutions, also called Pareto-optimal solutions, making up the Pareto front. Subsequently, the decision maker will select the solution that better meets the business needs.
Multiobjective optimization problems need to use metrics which allow comparing the performance efficiency of the Pareto-Front obtained with every algorithm. Based on the multiobjective optimization literature, the following metrics have been selected: (i) Hypervolume [5] (ii) Unary epsilon indicator [6][7][8] e methods used to solve multiobjective optimization problems are usually based on scalar [9] or metaheuristic techniques [10]. Regarding scalar methods, many strategies can be used to set up the objective weighting: conventional (CWA), dynamic (DWA), random (RWA), and bang-bang weighted aggregation (BWA). All of them try to convert a multiobjective problem into a single one, by modifying the weights of the objective functions at each process step in order to find the Pareto-front solution set. Other scalar methods are the epsilon-constraint, goal programming, and lexicographical order.
Most of the papers on these methods study biobjective problems which are more easily represented graphically and whose results are easier to analyse. e limitations of current algorithms are usually analysed to solve problems with a greater number of objective functions and subsequently design new techniques which allow the specific problems to be efficiently tackled [27,28].
is paper is structured in the following way. First, rescheduling schemes studied in the literature are commented. Once the problem's mathematical formulation is defined as an integer linear programming model, the rescheduling architecture is presented to solve the problem based on a predictive-reactive strategy. Next, the RIPG metaheuristic is described and validated on Dubois-Lacoste Instances in a static, biobjective environment. After calibrating the parameters, the RIPG metaheuristic is applied to a benchmark that was specifically designed for this paper. Finally, comparative results are obtained, and the discussion and the main conclusions of the paper are shown.

Rescheduling Systems
In classical scheduling problems, an initial set of known jobs must be scheduled considering the available machines in the system and the existing technological constraints. is static (also so-called offline) approach assumes that the jobs to be sequenced and the configuration of the system are known in advance and constant in time. In real production environments, there may be new job arrivals, as well as certain events, not known beforehand, that induce variations requiring a new schedule, such as breakdowns or preventive maintenance activities in machinery or changes in the priority of jobs. ese conditions make it necessary to incorporate dynamism in the scheduling systems, through the reorganization of jobs, as the static approach is not optimal anymore. Rescheduling is the process of actualizing the current scheduling to adapt to the disruptions that may appear. e basic phases of this process are the following: (i) e rescheduling strategy to be used, defining when necessary the need for a new production schedule (ii) e designated reprogramming policy, specifying the time and manner of carrying out the rescheduling process (iii) e designed technique to update the original schedule ere are mainly three rescheduling strategies described in the literature: predictive-reactive, proactive (or robust), and dynamic [29][30][31][32], among which the predictive-reactive one was selected in this paper. Furthermore, three policies are usually used to complete the rescheduling of the jobs within this approach: event-driven, periodic, and hybrid [33], of which the second one was chosen. ere are also three main procedures available to actualize a non-feasible schedule due to the occurrence of disruptions on the production system: right-shift rescheduling [34,35], partial regeneration [34], and complete regeneration [36,37], the last of them being used in this paper.
Metrics normally employed in evaluating the reprogramming performance can be based on efficiency (for example, makespan, mean flow time, or total weighted tardiness) or robustness (for example, the system's average stability, as proposed by Pfeiffer et al. [33]).
In the literature, there are hardly any papers which cover rescheduling in dynamic, flow shop environments with permutation and multiple objective functions. Itayef et al. [38] and Liefooghe et al. [39] developed algorithms focused on the search for nondominated solutions in a PFSP environment with a proactive-reactive strategy without using the objective function weighting method. Itayef et al. [38] used the Multiobjective Simulated-Annealing Algorithm (MOSA) while Liefooghe et al. [39] proposed metaheuristics based on the hypervolume, known as the Indicator-Based Evolutionary Algorithm (IBEA). Liu et al. [40] proposed a modified iterated greedy algorithm (eIG_Rep), introducing an effective escape mechanism from a local optimum, to consider the arrival of new orders in a PFSP.
Likewise, the literature does not abound when rescheduling analysis is extended to environments which are different from the PFSP environment. Xiong et al. [41] adapted the NSGA-II, Nondominated Sorting Genetic Algorithm [12], for a stochastic flexible job shop problem (FJSP). Iima [42] developed a multiobjective genetic algorithm to minimize the schedule's total tardiness and stability in an environment with parallel machines and variations in job delivery dates. Zhang et al. [43] proposed the application of a multiobjective evolutionary algorithm based on decomposition (MOEA/D) to solve a hybrid flow shop rescheduling problem with 2 objectives (makespan and stability: as the number of jobs assigned to different machines versus the original schedule) and random machine breakdowns. He et al. [44] implemented the NSGA-III algorithm [27] to solve the rescheduling problem of rush 2 Complexity orders in a hybrid flow shop system considering three objectives: makespan, total transportation time, and sequence stability. In reviews on rescheduling techniques by Vieira et al. [45] and Ouelhadj and Petrovic [46], the predictivereactive strategy is identified as the one most frequently used.

Proposed Solution
First, having found no references in the literature, a mathematical formulation for solving this type of problem as an integer linear programming model is proposed. e model tries to optimize three objective functions: makespan, total weighted tardiness (TWT), and stability in order to increase productivity in (1) the production environment (by reducing the makespan), (2) the customer service (by minimizing TWT), and (3) the schedule stability in the rescheduling process when faced with different sudden disruptions.
Subsequently, the architecture for the proposed rescheduling system, its implementation, and the applied RIPG method are described. RIPG is a non-populationbased algorithm recently developed by Ciavotta et al. [25] and applied to a biobjective PFSP environment. In this paper, the algorithm was used in a different context, having been adapted to the dynamic rescheduling architecture developed and used to optimize the three objective functions defined: makespan, total weighted tardiness, and stability.

Mathematical Model.
Before presenting the mathematical model formulation, the scientific literature dealing with uncertainty and multiobjective optimization approaches will be briefly discussed. Razmi et al. [47] presented a mathematical model that included uncertainty through fuzzy processing times, that is to say, a stochastic model in which processing times are not input data for the model, but random variables with a known probability distribution. For multiobjective environments, Itayef et al. [38] formulated a biobjective mathematical model to address the arrival of new jobs and thus minimize the maximum completion time for the tasks and improve the schedule stability. In such a model, two independent sets of jobs are considered: new arrivals to the system, and jobs which were already scheduled in the prior rescheduling period.
Fattahi and Fallahi [48] formulated a dynamic FJSP which considered the starting time of the rescheduling period and the rescheduling time (RT), trying to optimize two objectives: makespan and stability. In order to model the FJSP system, restrictions on operations precedence were included (this type of constraint is not present in PFSP problems).
Ramezanian et al. [49] proposed a mathematical model to formulate a biobjective PFSP with the aim of minimizing the linear combination of the stock jobs cost and the late releases cost, including the starting time of the jobs at the machines (release time). e thesis written by örnblad [50] on mathematical formulations in FJSP explained the importance of analysing the objective functions when developing the problem-solving method. For this analysis, different formulations were proposed, amongst which the so-called time-indexed model, based on the temporal discretization of the scheduling period, stood out. When different formulations were evaluated taking into consideration the objectives of makespan and the average between the tardiness and the completeness time for the jobs, a great difference in performance was observed, depending upon the objective to be reached.
Yenisey and Yagmahan [51] considered a static, multiobjective PFSP formulation which includes the analysis of three time types: waiting times (for jobs at the machines), job preprocessing times (before jobs are processed by the system-ready times), and processing times. Li et al. [52] proposed a mathematical formulation for the PFSP rescheduling problem that includes recovery times for broken machines with the aim of minimizing a bi-criteria function while weighting the makespan and the system stability (calculated as the number of jobs that have a release time which is different from the planned release time calculated within the prior rescheduling point). Finally, Yuan and Yin [53] developed a fuzzy multiobjective local searchbased decomposition (FMOLSD) algorithm to solve a biobjective problem to minimize makespan and total flow time, while considering fuzzy processing times for the jobs scheduled in a permutation flow shop problem. e mathematical formulation to solve the problem is detailed in the following. is formulation is based on the previously mentioned approaches and incorporates new characteristics. Because this is a PFSP, each job must access each machine following the same processing order, that is to say, from the first to the last machine. In the problem, the following considerations are considered: (1) Overlapping is not permitted in consecutive operations for the same job; that is, a new operation in a job cannot begin until the preceding operation for that job is completed. (2) Job pre-emption is not permitted; that is to say, each job must wait until the preceding job has finished in order to be processed on the same machine. between two machines. (4) All the jobs that have begun to be processed in the system must maintain their scheduling order when any type of disruption arises. (5) All jobs interrupted due to a disruption must remain on their assigned machine, with the pending jobs being delayed if necessary. Jobs not impacted by the disruption, so not delayed, will go on with their normal process. (6) Rescheduling is carried out periodically; therefore, two types of jobs exist in the system: those which are already being processed whose schedule order cannot vary, and those whose order can vary (new jobs and jobs which have not yet begun to be processed).
It is important to consider the jobs that are being processed because, depending upon the disruptions Complexity which arise (for example, machine breakdowns), a certain minimum starting time will be established for the next incoming job in the system (in order to be processed by the first machine). (7) Machine breakdowns can arise at any time and not only when the machines are busy. (8) If a machine breakdown arises when a job is being processed, the job will restart processing at the point where the interruption occurred. (9) When a variation in the processing time of a job arises, the new processing time is fixed until the next processing time variation occurs on the same job.
As it is a predictive-reactive rescheduling process, the Mixed-Integer Linear Programming (MILP) model can be run at each rescheduling point, meaning that the past disruptions (new jobs, processing time variations, and machine breakdowns) that have happened during each rescheduling period are received as inputs in the model. ose disruptions impact the next schedule. erefore, there are no predicted disruptions considered in this formulation. e problem is defined by three finite sets: (iii) w i : the priority (weight) of job i with respect to the rest of the jobs. (iv) rl i (release time): once a new job has arrived at the system, the release time is the time necessary for job i to be available in order to be processed again by the production environment. (v) rt j (ready time): the time in which machine j is ready to process a new job. is input data vector represents the initial situation of the machines before undertaking the new scheduling. It is calculated based on the current time, the disruptions which have arisen, and the scheduling scheme calculated at the previous rescheduling point. It is an important factor as it cannot be supposed that all the machines are initially available. In terms of decision variables, the following were considered: (i) Binary variables which represent the position of each of the jobs in the planned schedule: (ii) C i : completion time for the job at position i. (vi) C max , TWT, STB: these variables correspond to the maximum completion time for the tasks, the total weighted tardiness, and the schedule stability, respectively. e mathematical model for the MILP formulation of the permutation flow shop rescheduling problem was based on the following equations. e objectives of the problem were to minimize the makespan, the total weighted tardiness (TWT), and the stability of the schedule to be planned (STB), obtaining the optimal Pareto frontier (PF): e makespan was calculated as the maximum completion time for all the jobs, and it corresponds to the completion time for the last scheduled job, that is, the time when the last task in the last machine finishes: 4 Complexity e total completion time for each job, C i , is defined by the following equation, according to the completion time in the last machine M: where M is the set of machines in the system. More specifically, the completion time for each job i on each machine j takes into consideration the following components: (i) e time at which the job i can begin to be processed by machine j. is time depends on the following: (a) e completion time of job i on the previous machine (C i,j−1 ). (b) e completion time of the previous job, located at position (i − 1), on the current machine j (C i−1,j ). (c) e maximum of these terms will be the instant of time in which job i can begin to be processed by machine j (S i,j ).
(ii) e processing time for job i on machine j (p i,j ).
(iii) Time of breakdown on machine j when job i is being processed (B J end − B J start ). When calculating the completion time along with machine breakdowns, the following equations are modelled, considering the three possible breakdown situations: If the operation finishes before the breakdown appears, If the breakdown appears while the operation O i,j is being processed, it is necessary for the job to wait until the machine is ready again in order to continue its processing: ∀i ∈ J ∧ ∀j ∈ M: Finally, if the operation O i,j has not yet begun, the work must wait until the machine breakdown has finished: ∀i ∈ J ∧ ∀j ∈ M: x ki · p kj , ∀i ∈ J ∧ ∀j ∈ M: Although the above equations contain the max function (that is not linear), they can be expressed in a linearized way using a big-M plus binary variables representation, being automatically transformed by most of the commercial solvers and respecting the MILP formulation of the problem.
If a machine breakdown appears, only one of these three situations can arise; this can be ensured by including the following equation: e starting time for each job i on each machine j depends upon the following equation: In order to define the starting times in the MILP model, the following equations are used.
Operation O i,j cannot begin until the operation for the previous job has finished on the same machine: and operation O i,j cannot begin until the previous operation for the same job has finished: e starting time for job i on the first machine must be greater than the overall release time, as this is the moment when the job is ready to begin to be processed: Because not all the machines are initially available, in order to be able to process the next job, it is important to take into consideration the fact that the starting time for the jobs cannot begin until the machine is available; that is to say, ∀i ∈ J ∧ ∀j ∈ M: S i,j ≥ rt j .
In case there are delays-that is, when a job completion time is greater than its delivery date-the total weighted tardiness (TWT) is calculated as the weighted sum of differences between the total completion time for each job and its delivery date, according to their assigned priority weights (w i ): For modelling purposes in the MILP problem, the following equations were included: e third objective function considered in the problem is the stability (STB), with respect to the base schedule calculated in the previous period (baseline). Stability is expressed as the average of the absolute differences of Complexity 5 unprocessed job starting times, adding a penalty which depends upon the variation in the starting time for the base schedule regarding the current RT. Unprocessed tasks are defined as those jobs which have previously been scheduled at the prior point of rescheduling and which have not yet begun to be processed by the system at the current RT: e absolute value function used in calculating the stability objective is nondifferentiable in addition to being nonlinear. Nevertheless, it can be expressed in an integer linear way, as follows: Two new binary variables d 1j and d 2j were introduced, as well as a large constant BigM, and the following equations for MILP formulation:

Rescheduling Architecture.
e rescheduling strategy used was based on the predictive-reactive approach; thus, a baseline schedule was first generated and then updated according to the disruptions that arise in system. A periodic rescheduling policy was used through time windows. Finally, the rescheduling method consisted of a complete rescheduling based on heuristic/metaheuristic algorithms (as rescheduling method we proposed RIPG algorithm, described in detail in the next section). RIPG is selected because its efficient behaviour in static multiobjective permutation flow shop problems [25] makes it a promising technique for the dynamic environment under study. e proposed rescheduling architecture is shown in Figure 1.
Initially, the baseline schedule was generated according to both the flow shop system involved and the jobs to be scheduled. en, a synchronous control was established-every T units of time-in order to perform a rescheduling process when disruptions arise in the system, obtaining the Pareto-front output from the solutions found in each executed rescheduling interval. It is important to specify an appropriate period, based on the dimensions of the problem, for each rescheduling process. In this paper, this period was calculated as the maximum completion time for jobs (C max ) divided by the total number of rescheduling points to be executed on the system (we have considered 5 rescheduling points as it is an appropriate number to evaluate the architecture adaptation capacity and does not excessively increase the number of executions in the system).
Likewise, at each point of rescheduling, it is necessary to select a representative solution for the calculated Pareto front.
e selected solution will be used as a baseline schedule to be employed for each new rescheduling. e fundamental importance of this base schedule lies in its use in evaluating the stability objective function. To calculate the representative solution for the Pareto front, a knee point method was used [54][55][56]. A detailed description of the knee point method used to calculate this most representative solution can be found in Valledor et al. [57].

Restarted Iterated Greedy Algorithm.
e implementation of the developed RIPG algorithm was based on the design proposed by Ciavotta et al. [25]. eir application of the technique was explained using a biobjective PFSP, and its results on Taillard Instances were described, comparing the RIPG technique with 17 algorithms, including MOSA and Multiobjective Tabu Search (MOTS). Ciavotta et al. [25] described the RIPG as a state-of-the-art method because of its excellent results when compared with the best approaches previously presented in the literature. e RIPG algorithm is an extension of the IG (Iterated Greedy) technique proposed by Ruiz and Stützle [58]. ese techniques belong to the stochastic local search (SLS) category. e RIPG technique consists of 5 phases, as shown in Figure 2: Phase 1. First, an Initial Solution Set (ISS) is determined based upon the execution of different simple heuristics. More specifically, NEH heuristics [59,60] are used, each one being applied to obtain acceptable solutions with different objective functions. For each of the two solutions obtained via heuristics, the greedy phase (described below in phase three) is applied, generating an initial set of nondominated solutions (working set). Phase 2. Second, the optimization loop begins with the process of selecting a solution via the Modified Crowding Distance Assignment (MCDA) method, in order to improve the working set during the greedy phase. e MCDA process receives the working set as an input parameter and calculates the distance to each one of the solutions. e selected solution is the one 6 Complexity with the greatest modified crowding distance (MCD) value, which coincides with solutions in sparsely populated search spaces. e main difference between MCDA and Crowding Distance Assignment (CDA), proposed originally in the NSGA-II [12], is that the first method considers the number of times that a solution  Complexity has been previously selected, giving it less opportunity of being reselected. Phase 3. As the next step, the greedy phase is executed. e selected solution is modified by applying both a destruction operation to eliminate a sub-schedule of jobs from the solution and a greedy process, known as a construction operation, to insert each of the eliminated jobs in one of the possible schedule positions. In this way, a solution pool is created. Phase 4. Next, once again by the MCDA method, a solution is selected from the solution pool generated during the greedy phase, and a local search method is applied for improvement. As local search, we applied the same classical approach as proposed by Ciavotta et al. [25], where n sel jobs are randomly selected; then, each of them is eliminated from the schedule and reinserted in n neigh consecutive positions, half of which precede the initial position of the selected job and the other half follow it. Once all the movements are undertaken for the selected jobs, the generated solutions are subsequently evaluated, and the dominated solutions are eliminated. e nondominated solutions are added to the working set. Phase 5. Finally, a restarting mechanism is implemented on the set of solutions to prevent the algorithm from reaching only a local optimal solution and causing a stagnation effect. e mechanism is simple and reliable; it consists of storing the set of nondominated solutions in the working set in an external file and, subsequently, randomly restarting the working set. is restart process is launched if the size of the working set, that is, the number of nondominated solutions found until that time, does not vary in a pre-set number of iterations. e RIPG algorithm requires the configuration of 5 input parameters: the size of the set of solutions (working set), k (the number of consecutive elements eliminated during the destruction operation of the greedy phase), n sel (the number of elements randomly selected in the local search phase), n neigh (the number of consecutive positions in which a job is reinserted in the local search phase), and the restart threshold (the maximum number of iterations allowed without modifying the size of nondominated solution set; once this limit is surpassed, the working set automatically restarts).

Experimental Design.
e lack of a common scheme to assess rescheduling problems in a PFSP leads to the generation of databases that permit to work with diverse disruptions in the production environment (appearance of new jobs, machine failures, etc.) and evaluate a multiobjective optimization problem. e main database to assess PFSPs was established by Taillard [61] whose instances were initially generated to be applied into single-objective environments, minimization of the completion time of the jobs.
Subsequently, these instances were modified to incorporate a due date to each job, similarly to Minella et al. [62] and Hasija and Rajendran [63], allowing the rescheduling system to be assessed under different objective functions, such as total weighted tardiness (TWT) or maximum delay of jobs [64].
In the proposed rescheduling system, after the original schedule comes into effect, different disruptions may occur over time. NEH heuristic was used [59,65] to achieve the original schedule in order to optimize the makespan. Minella et al. [62] also used it to have a feasible original schedule. Additionally, in our generated benchmark, the disruptions to be considered and the way in which they occur are defined. Although most rescheduling systems focus on one type of disruption, in this paper we use three: machine faults, new job arrivals, and variable processing times.
Machine faults were defined through an exponential distribution defined by the level of failure reached by the system, the mean time to repair (MTTR), and the mean time between faults (MTBF). e breakdown level (Ag), percentage of machine failure time, was estimated by means of the following expression: We have followed the machine faults parameterization proposed by Adibi et al. [66] and Mason et al. [67]. Regarding the arrivals of new jobs, an exponential distribution was also adopted with an arrival rate based on the quotient between the degree of use of the system and the average operating time [68]. Concerning the deviation of the job processing times, they were randomly generated (1% probability) with a variation factor of 30%, in line with the parameters established by Swaminathan et al. [69] with a symmetric triangular distribution.
From the 120 instances of Taillard, another 120 rescheduling instances were created, and from them a subset of 50 was selected to be evaluated with the RIPG algorithm. e reason for not evaluating all 120 instances is the high execution time required. us, for each of these instances, 5 rescheduling points were executed, during which the system was updated according to the events in the flow shop environment, and, therefore, the technique was executed 5 times per instance. e 50 instances used were randomly selected from the set of 120 Taillard Instances, excluding those of greater size (with 500 jobs), because it is not usual to work with such a high number of jobs in environments with more than one objective function. At the website Instances & Solutions, the following files have been included: (i) Training instances used with the Irace Package (ii) Evaluation instances (iii) Pareto-front solutions from the RIPG for each one of the 10 repetitions undertaken for each evaluation instance

Validation of the RIPG Algorithm on Dubois-Lacoste
Instances in a Static, Biobjective Environment. Since we have 8 Complexity not found a benchmark for the dynamic three-objective problem in the literature, we adapted the algorithm to a static, biobjective approach and used the multiobjective performance metrics proposed by Dubois-Lacoste et al. [26] as a way to validate the correct behaviour of the algorithm. e aim of Dubois-Lacoste et al. was minimizing both the maximum completion time for the tasks and the total weighted tardiness. e reason for selecting this environment is the ability to compare the results of the applied algorithm with the best results obtained in the literature through a Two-Phase Local Search + Pareto Local Search (TP + PLS) hybrid algorithm.
In our experiments, the RIPG metaheuristic used classic parametrization as proposed in the literature [25] and recommended for biobjective environments (see Table 1).
Each experiment was repeated 5 times (independently) in order to evaluate the multiobjective metrics of hypervolume and the unary epsilon indicator (I 1 ε ) on each of the Dubois-Lacoste et al. instances [26]. Based upon a preliminary statistical study with the Wilcoxon test, the RIPG algorithm was inferred to behave in a similar way to the TP + PLS algorithm in a static, biobjective environment, as can be seen in the box plot in Figure 3. Similar results are obtained with the unary multiplicative epsilon indicator, as can be seen in Figure 4.
In Figure 5, a comparison between the Pareto fronts obtained by the RIPG algorithm and the best results found in the literature is shown [26] for some of the Taillard  Instances. e RIPG algorithm approaches the best Pareto fronts obtained in the literature, following the same trends without excessively deviating from the reference nondominated solutions. New nondominated solutions have even been detected in some cases, as can be seen in instances ta018 and ta024.

Parameter Calibration.
As classical parameters in static environments could not adjust properly to dynamic scenarios, we have run a parameter calibration of RIPG in our rescheduling multiobjective environment. e hardware environment for experimentation consisted of a machine with a Quad-Core Intel Xeon X5675 processor, 3.07 GHz, and 16 GB of RAM memory. e operating system used was Windows 7 Enterprise Edition, 64 bit architecture. e software was developed on the .NET platform with the C# programming language using the Microsoft Visual Studio 2010 Development Framework. In order to define the stopping criterion, we analysed different approaches from the literature [58,[70][71][72][73][74]. Most use a maximum execution time, calculated depending on the size of the problem that is defined by the number of jobs and machines that the system has available, as the stopping criterion. For this study, the time limit was calculated with the following equation: t � n × m 2 × 100, where t is the time in milliseconds, n is the number of jobs, and m is the number of machines. e above expression was used to calculate the

Parameter
Default value Size of the set of job solutions after the restart phase (working set) 100 k (number of consecutive elements eliminated in the greedy phase's destruction operation). 5 n sel (number of elements selected randomly in the local search phase). Dynamic parameter dependent on the number of jobs in the instance to be solved.
n sel � n count if n count ≤ n * 0.5, else n sel � n * 0.5 n is the number of jobs and n count is the number of times that a solution has been selected n neigh (consecutive positions where a job is reinserted in the local search phase). 5 Restart threshold (maximum number of iterations allowed without modifying the size of the nondominated solutions set. Once this value is surpassed, the working set randomly restarts). execution time because both the number of jobs and the number of machines played a role in the difficulty of the problem to be solved. In addition, it allowed the use of more calculation time in problems with greater complexity. Likewise, the automatic configuration of the parameters defined by the RIPG algorithm was proposed based on an extension of the iterated F-Race method and implemented in the Irace tool [75]. To accomplish this, hypervolume was defined as a metric to evaluate the configuration schemes, as this is the most common criterion in multiobjective problems. To select the training instances, a complexity analysis was used depending on the results provided in the literature regarding Taillard Instances [26].  As representative instances, a total of 6 problems were selected (ta02, ta031, ta047, ta061, ta080, and ta024), in which two have low complexity, two have medium complexity, and two are of high complexity in terms of solving difficulty. e criterion chosen to evaluate the complexity of an instance was based on a trade-off between the number of nondominated solutions found in the literature for biobjective, static problems (makespan and total weighted tardiness), combined with the relative error found in monoobjective problems considering the makespan criterion. e instances used in the calibration phase were not subsequently used for the evaluation of the algorithm in order to avoid overfitting.
After analysing the Irace results, the RIPG algorithm parameters' configurations did not have a great impact on the results; therefore, this algorithm is robust in terms of parameter variation. In Table 2, the results of the optimal Irace automatic configuration for the RIPG algorithm are shown.

Performance of the RIPG Algorithm in Multiobjective
Dynamic Environments. With the aim of verifying the performance of the RIPG metaheuristic, it was executed on the 50 benchmark problems which were developed specifically in this study for a flow shop rescheduling environment. e RIPG algorithm was executed 10 times (independently) for each of the experiments in order to carry out a reliable statistical analysis. As it was impossible to compare the RIPG algorithm with other metaheuristics in the proposed environment, the results obtained from the simulations in 4 selected instances are presented below. In Figures 6-9, the 124 Integer [50,200] k (number of consecutive elements eliminated in the greedy phase's destruction operation). 5 Integer [1,10] n sel (number of elements selected randomly in the local search phase). Dynamic parameter dependent on the number of jobs in the instance to be solved.
n sel � n count if n count ≤ n * 0.1 else n sel � n * 0.1 n is the number of jobs and n count is the number of times that a solution has been selected n neigh (consecutive positions where a job is reinserted in the local search phase). 8 Integer [1,12] Restart threshold (maximum number of iterations allowed without modifying the size of the nondominated solutions set. Once this value is surpassed, the working set randomly restarts).
3 * n (where n is the number of jobs) Integer [1,4] Dynamic Pareto front in TA_FSRP_20 × 5 × 1  Finally, with the aim of viewing the rescheduling processes when disruptions appear, a small instance was selected (TA_20_5_3) to show the evolution of the manufacturing schedule. It should be noted that, as this is a small instance, machine breakdowns did not occur; however, the rest of the disruptions did appear (see Table 3). In Figure 10, the schedule of the jobs at the different points of rescheduling is shown. J16 is the first job in the initial base schedule. NJX identifies new jobs. e base schedule is presented (t � 0) as well as 5 rescheduling runs (at times t � 232, t � 464, t � 696, t � 928, and t � 1160). Due to the appearance of new jobs and variations in job processing times, the schedule was modified. Figure 11 shows the RIPG Pareto front for each rescheduling point in the instance TA_20_5_3.

Conclusions and Future Lines of Research
is research proposes several relevant contributions. First, a new MILP mathematical formulation has been proposed to represent the dynamic, triobjective rescheduling problem to be solved. Likewise, a set of problems (benchmark instances) has been defined to model dynamic rescheduling environments, including the specification of different disruptions which can arise in a production environment. Additionally, a rescheduling architecture has been designed and implemented, based on a predictive-reactive strategy with periodic rescheduling. Moreover, the RIPG metaheuristic has been applied and its proper operation in dynamic rescheduling systems verified.
To validate the proposed approach and having found no references in the literature, a benchmark based on a static biobjective environment was used. It is important to note that RIPG algorithm approaches the best Pareto frontiers obtained in the literature, following the same trends without excessively deviating from the reference nondominated solutions set in a static biobjective environment. New nondominated solutions have even been detected in some cases, as can be seen in instances ta018 and ta024. Likewise, RIPG is very robust because any parametrization of the algorithm yields similar results in terms of the median value. As it has been impossible to compare the RIPG algorithm with other metaheuristics in the proposed environment, due to the lack of techniques applied in such problems, Pareto frontiers obtained for several instances of problems of different sizes have been shown. e number of nondominated solutions found goes down as the problem's size increases.
For future lines of research, it may be useful to delve deeper into analysing the influence of the base schedule (baseline) used to evaluate the stability objective function on the algorithm's results. In addition, although this paper has analysed all the experiments using 5 rescheduling points, the dynamic system could be evaluated for a variable number of rescheduling points between 0 and 1000, as Sabuncuoglu and Karabuk [76] considered in their work. Likewise, the RIPG metaheuristic could be adjusted to dynamic situations in problems known as many-objective optimization, in which the number of objective functions is greater than three. Lastly, another existing metaheuristic could be adapted to resolve this problem, so that the results may be compared with those obtained through RIPG.