Next Article in Journal
A Mini Review on Pyrolysis of Natural Algae for Bio-Fuel and Chemicals
Next Article in Special Issue
Optimized Organosolv Pretreatment of Biomass Residues Using 2-Methyltetrahydrofuran and n-Butanol
Previous Article in Journal
R-CNN-Based Large-Scale Object-Defect Inspection System for Laser Cutting in the Automotive Industry
Previous Article in Special Issue
Synthesis of New 1-Aryl-2-(3,5-dimethylpyrazol-1-yl)ethanone Oxime Ether Derivatives and Investigation of Their Cytotoxic Effects
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimization of No-Wait Flowshop Scheduling Problem in Bakery Production with Modified PSO, NEH and SA

1
Department of Process Analytics and Cereal Science, University of Hohenheim, 70599 Stuttgart, Germany
2
Instituto de Agroquímica y Tecnología de Alimentos (IATA-CSIC), Catedrático Agustín Escardino Benlloch 7, 46980 Paterna, Valencia, Spain
*
Author to whom correspondence should be addressed.
Processes 2021, 9(11), 2044; https://doi.org/10.3390/pr9112044
Submission received: 9 September 2021 / Revised: 3 November 2021 / Accepted: 11 November 2021 / Published: 15 November 2021
(This article belongs to the Special Issue Redesign Processes in the Age of the Fourth Industrial Revolution)

Abstract

:
In bakery production, to perform a processing task there might be multiple alternative machines that have the same functionalities. Finding an efficient production schedule is challenging due to the significant nondeterministic polynomial time (NP)-hardness of the problem when the number of products, processing tasks, and alternative machines are higher. In addition, many tasks are performed manually as small and medium-size bakeries are not fully automated. Therefore, along with machines, the integration of employees in production planning is essential. This paper presents a hybrid no-wait flowshop scheduling model (NWFSSM) comprising the constraints of common practice in bakeries. The schedule of an existing production line is simulated to examine the model and is optimized by performing particle swarm optimization (PSO), modified particle swarm optimization (MPSO), simulated annealing (SA), and Nawaz-Enscore-Ham (NEH) algorithms. The computational results reveal that the performance of PSO is significantly influenced by the weight distribution of exploration and exploitation in a run time. Due to the modification to the acceleration parameter, MPSO outperforms PSO, SA, and NEH in respect to effectively finding an optimized schedule. The best solution to the real case problem obtained by MPSO shows a reduction of the total idle time (TIDT) of the machines by 12% and makespan by 30%. The result of the optimized schedule indicates that for small- and medium-sized bakery industries, the application of the hybrid NWFSSM along with nature-inspired optimization algorithms can be a powerful tool to make the production system efficient.

1. Introduction

In an industrial production system, scheduling jobs is an important integral part. It refers to the arrangement of jobs to be processed on machines under some constraints. A production system can fail to be efficient due to the lack of planning and proper allocation of tasks among machines. In the literature, such problems are known as flowshop scheduling problems (FSSP) or a job shop scheduling problem and have been observed as NP (nondeterministic polynomial time)-complete combinatorial optimization problems when the number of machines exceeds two [1].
In FSSP, jobs are n products, each of which consists of a set of tasks. These tasks need to be performed sequentially by a set of m machines. In some flowshop environments, these tasks need to proceed continuously without any interruption in between, known as no-wait FSSP. In such cases, the production start time of a product can be independent. However, once it starts, the waiting time between two consecutive tasks is unacceptable. In a typical FSSP environment, all the products n undergo all the machines ( m ) in the same order, which is widely known as permutation FSSP.
In the bakery production system, the dynamic process involving physical and biochemical reactions, such as yeast fermentation, causes change in the behavior of the material. Due to the addition of living yeast cells, the dough is strictly sensitive to time and temperature as they affect CO2 production significantly and thus influence the texture and aroma of the final product. Even though some processing steps, for example, dough rest and cooling after baking, may not require any energy-consuming machine, they have a certain duration for these tasks. Exceeding the predefined duration for a task causes overtreatment and delay for the next treatment. In a bakery production environment, both are unacceptable as they directly affect the product quality. Therefore, the processing tasks need to be performed accordingly in time. From this perspective, the bakery production schedule falls in the no-wait FSSP.
Abdollapour et al. presented a mathematical model of a flexible no-wait flow shop problem with a capacity restriction on the machines [2]. Bewoor et al. described a mathematical model of a no-wait flow shop scheduling model and proposed a hybrid particle swarm optimization algorithm to solve the scheduling problem [3]. Application of no-wait FSSP was provided by many other studies [4,5]. However, there are some exceptional characteristics in the bakery production system and very few authors have focused on this branch [6,7,8]. Therefore, there are opportunities to improve production modeling and optimization. Medium- and small-scale bakeries, even in many developed countries, are reportedly conducting production operations inefficiently [7], merely based on personal experience. A recent study reported that there are enough opportunities to improve production efficiency in the bakery industry by forecasting sales and optimizing the production schedule [9]. In this scheme, sales forecasting tackles the waste of food by predicting the market demand for each type of product and the optimized production schedule concerns minimizing the production cost of the predicted products in terms of time and energy consumption. However, this article focuses on the optimization of the production schedule and addresses a hybrid NWFSSM with an application in a bakery industry that involves several constraints and objectives that were not included in previous studies. By using the proposed model, a production schedule can be simulated and the cost of production, such as makespan, and the TIDT can be calculated. However, to find an optimized schedule with minimum cost, an optimizer must be integrated.
In the literature, many heuristic and meta-heuristic optimizations were proposed with their modification and showed a comparison of their performance by solving scheduling problems. In the early stage, the constructive approach, widely known as NEH [10], is probably the one mostly refined and modified by other authors [11]. On the other hand, many meta-heuristics and their modified approaches have been applied to solve FSSP, such as particle swarm optimization [12,13], simulated annealing [14], genetic algorithm [13,15,16], ant colony optimization [7], and firefly algorithm [17].
Ever since the PSO algorithm was introduced by Eberhart and Kennedy [18], it was demonstrated that despite being a powerful algorithm, it easily falls into a local minima when solving complex and high dimensional problems [19]. Moreover, a common disadvantage of nature-inspired evolutionary optimization algorithms, like PSO, is that there is no certainty of always achieving a better result. Studies have found that a simple change in the PSO algorithm reportedly increases the performance effectiveness in terms of finding a quality solution to FSSP within a reasonable time. By adjusting the random value in the acceleration of a particle using a prescribed probability, PSO reportedly can avoid being trapped in local minima [20]. The addition of local search functionality in the PSO algorithm was presented to have improved performance [21,22]. A robust hybrid PSO algorithm was proposed by Ji et al. [23] where PSO-Based exploration and SA-based exploitation were integrated. Similarly, Issa et al. proposed a scheme of merging PSO with a recently proposed sine cosine optimization algorithm to impose optimum exploration and exploitation in searching the solution [24].
In this research, we propose a modified PSO (MSPO) to tackle the issues associated with providing premature optimization results by implementing the subtraction operator. The behavior of PSO concerning exploration and exploitation due to the change in acceleration parameters was investigated to solve the “no-wait” flowshop scheduling problem effectively. An existing production line of a bakery was taken as a case with the objectives of minimizing the makespan and TIDT. The performance of MPSO was compared with standard PSO with two different configurations (PSO-A, PSO-B), SA, and NEH. The robustness and frequency to surpass a certain level of optimization result were investigated. The main contribution of the paper can be summarized as follows:
  • Develop an application of the optimization algorithms to improve the efficiency of the existing bakery production line by delivering a realistic schedule with reduced makespan and machine idle time.
  • Thoroughly present the formulation of a hybrid “no-wait” flowshop model (NWFSSM) in the bakery industry where a product follows a set of sequential tasks. However, the order, duration, and required machine for the tasks might be different for different products.
  • Carry out modification to standard PSO to avoid premature convergence to the local optimum solution.
  • The proposed strategy requires no significant additional computational time, and implementation is as simple as standard PSO yet highly effective.
  • Demonstrate a performance comparison between MPSO and standard PSO, SA, and NEH to give an impression of how reliable the proposed method is.
The rest of the paper is organized as follows. Section 2 describes the formulation of the bakery scheduling problem and modifications in the PSO algorithm. Section 3 shows the comparative performance analysis of modified and standard PSO, SA, and NEH in solving the bakery scheduling problems.

2. Materials and Methods

The formulation of the bakery scheduling problem, simulation, and all optimization algorithms were performed on a computer running Windows 10 as the operating system with a configuration of an Intel Core i5 at 4 × 3.20 GHz, 8.00 GB ram. The simulation of the hybrid NWFSSM and optimization algorithms were programmed and performed using the programming language Python 3.7 [25].
In this study, two problem sets of bakery production data were used, which were collected from two European small- and medium-sized enterprise bakeries. In problem I, the bakery had 21 different product batches and was used to simulate the current production schedule. In the next step, the optimization algorithms were performed to find an optimized schedule and compared with current production efficiency.
The second case, problem II was taken from Hecker et al. [6] which had 40 product batches. The authors described a no-wait flowshop model for that bakery production and performed standard PSO to optimize it. Therefore, problem II was chosen to compare the performance of the proposed MPSO with that study.

2.1. Bakery Production System

Each product in the bakery has a recipe, from a scheduling perspective, which is the combination of the number of processing tasks and the sequence of these tasks. Figure 1 shows a typical production line in a bakery. However, the recipes can vary in many aspects, such as the total number and sequence of the tasks, use of a specific machine, machine set up (e.g., temperature), and duration for the tasks. Furthermore, many tasks are performed manually e.g., loading flour, yeast, salt, and water into a mixer, transferring dough into a fermentation chamber, or baking oven. This considers that only machines and machine capacity in scheduling may overlook the limitation of the manpower. Additionally, to conduct one task, there are multiple alternative machines in bakeries. The number of alternative machines for different tasks is also different (Figure 1). As a result, the task allocation procedure in bakery production is different than most of the production systems. Therefore, a real bakery production scheduling problem can not be considered as permutation FSSP, rather such a model can be categorized as a hybrid-NWFSSM [26].

2.2. Problem Description

The problem dealt with in this paper can be discussed in two parts. Firstly, a hybrid NWFSSM was required to simulate the bakery production schedule. The main difficulty here was to integrate a set of constraints to reflect the actual production. It was expected that hybrid NWFSSM provides some information to evaluate one simulated production schedule. In bakery production efficiency, the main focus lies on the makespan and TIDT of the machines as they consume energy. Therefore, the output of the hybrid NWFSSM was the makespan and TIDT calculated from the simulated production schedule.
Secondly, an optimized schedule had to be found that has a minimum makespan and TIDT. The possible ways to schedule the production of n products can be found from a permutation of n items without repetition but in a different order of items. Mathematically, it can be expressed by P n = n ! . In other words, the only difference between n ! schedules is the order of n products i.e., which product should be produced when. However, this can influence production efficiency significantly. If the order of n products in which they will be produced is changed, makespan and TIDT will also be changed. Moreover, if n is higher, the possible ways to schedule are also increased by n ! . For 21 product batches in problem I, there are 5.1 × 1019 possible production schedules. The main difficulty is that there is no exact method to find the best schedule in a shorter period of time. Using mathematical programming, all possible solutions can be calculated and evaluated to find the optimal schedule. However, it might take a long computation time. Therefore, many heuristic and metaheuristic optimization algorithms have been used to solve such problems. In such cases, the optimization algorithms may not find the best possible solution, but an almost best solution, which is usually better compared to what actually followed by the bakeries.
In this study, PSO, MPSO, SA, and NEH were performed to search for an optimized schedule from the massive number of options.

2.3. Objective Function

In this study, the main objectives were to reduce the makespan and TIDT of the machines in bakery production. It can be described as follows:
C o s t = C m a x + W T I D T  
where C o s t is the cost of optimized schedule, C m a x is the makespan, and W T I D T is the weighted total idle time of the machines. In the objective function, C m a x is the exact makespan of an optimized schedule and WTIDT is calculated from the idle time of the machines of the same schedule using weighting factors (explained in Section 2.4). The weighting factor for a machine should reflect the cost due to the energy consumption contributed in total production cost. The highly energy-consuming machines should have a high weighting factor, hence a smaller increase in idle time would have a bigger impact on the total cost compared to the other machines. In this study, the weighting factor for the machines were chosen, such that WTIDT for the existing schedule was lower than the makespan. However, it completely depends on the goal. If any bakery wants to focus more on the idle time reduction of the machines, the weighting factors for individual machines can be tuned such that WTIDT is bigger than the existing schedule’s makespan. The cost reduction due to the optimization algorithm was calculated using Equation (2).
C o s t   reduction = C o s t o p t C o s t 0 × 100
where C o s t o p t and C o s t 0 are the cost from optimized and existing production schedules, respectively calculated using Equation (1).

2.4. Hybrid NWFSSM for the Bakery Production

The ‘no-wait’ flowshop scheduling model for bakery production proposed by Hecker et al. [6] was implemented to simulate new production data. However, since the proposed model was strictly for one bakery, some limitations had to be overcome to make a new model to reflect real production scenarios, which will be discussed in this section.
Table 1 shows an example of production data. It shows that the number and order of processing stages are different for the products that are in the common practice of the bakery industry. In this example, square bread has dough rest as a processing task, while pan bread requires no dough rest. Moreover, the number of stages for sourdough, square bread, and pan bread are 4, 8, and 11, respectively. The number and order of the stages may vary depending on the recipe of the products, which also varies from bakery to bakery. Therefore, it is difficult to make a common order of processing stages with a higher number of products that will work for every bakery industry. Moreover, the addition of a new product may require modifying the order of processing stages.
In their study, Hecker et al. [6] proposed an idea to make an order by mixing machines and processing stages. In the proposed order, 26 stages were shown despite the maximum stage for any product being 12. The idea was to make a common route for all the products. If a certain stage or machine in the route is not relevant to a product, it can be ignored by setting a 0 min processing duration. The machine for a task was kept fixed, although it is more flexible in practice. For instance, baking a product can be done either in Oven 1 or Oven 2 as there are mostly multiple alternatives for the same processing task. Moreover, in the bakery, many processing tasks are conducted manually by employees. It is practical to consider the limited capacity of the employees, which was ignored in the model proposed by Hecker et al. [6]. Moreover, the evaluation criteria of a schedule, either makespan or TIDT was used by the authors.
To eliminate these limitations in previous studies, a new flowshop model was created, the main features and constraints of which can be explained as follow.
The name, number, and order of the stages for the products are independent. We propose no common route, rather it will be according to the original recipe. Therefore, due to the addition or deletion of a product, the complexity regarding the order of processing tasks can be ignored.
Instead of fixing the machines, alternatives for a task are proposed. As a result, during task allocation, the algorithm will try to allocate the task for all products among these alternatives in a way that the overall makespan and WTIDT will be the lowest for a production sequence.
The shift plan of employees is integrated, thus tasks are allocated within their working plan. Moreover, the conflict in manual tasks is avoided. Since delay between tasks is unacceptable, and interruption in one stage may cause delay to other stages and products, the task allocation for employees was found to be vital.
The addition of new products and machines may require searching for a new optimized schedule as workload and capacity, respectively rise. Change in the shift plan or number of employees can also influence the overall production efficiency. Similarly, a machine, for instance, an oven can be added in the machine alternatives for baking to observe its influence on the production efficiency. The proposed model allows simulating the production by adapting such changes and monitor the efficiency to help the administration in decision making.
Instead of a single objective, both makespan and WTIDT were taken into consideration to find a cost-effective solution to the production schedule. The WTIDT reflects the contribution of each machine in the final production cost.
Figure 2 illustrates the procedure of solving a given bakery production scheduling problem. The working principle can be described in four sections, namely, production data, hybrid NWFSSM, optimization algorithms, and visualization of results. In the production data, the name of the products, processing stages, start time, finish time, used machine for each stage, shift plan for employees, and current production sequence were recorded. The extracted information was used to simulate the schedule using hybrid NWFSSM. The output of the model is makespan and WTIDT for any production sequence. Afterward, the optimization algorithm executes and searches for an improved solution set, which is delivered back to the hybrid NWFSSM. The updated solution is converted into a sequence of production to make a new schedule and evaluation. This procedure is repeated until a certain termination criterion for one run is met. At the final stage, the schedule is visualized and cost reduction in terms of makespan and WTIDT is presented.
The progress of hybrid NWFSSM is presented in Figure 3. The assumptions and constraints are as following:
Let us assume a production line has n products P { P i   | i = 1 ,   2 ,   3 , , n } , where P indicates the set of products.
To complete the processing of these products, there are m machines M { M k   | k = 1 ,   2 ,   3 , , m } and e employees E { E l   | l = 1 ,   2 ,   3 , , e } .
P i , s refers to one processing time of product P i at stage s where s = 1 ,   2 ,   3 ,   ,   S i and S i   is the final stage for the product P i .
A set of alternatives, either machines or employees that can perform P i , s processing task is A i , s where A i , s M or A i , s E .
None of the machines and employees can process more than one task at a time.
It is assumed that machines are available from the beginning to the end of the production time.
The task allocation among employees must follow their working schedule such that none of the allocated tasks is scheduled out of their availability.
The allocation of tasks among machines and employees was performed by using Algorithm 1. The makespan ( C m a x ) and weighted total idle time (WTIDT) of machines were calculated by Equations (3) and (4) respectively.
C m a x = m a x i m u m f i   |   i = 1 ,   2 , , n
where f i is the finish time of the product P i .
W T I D T = k = 1 m e n d k s t a r t k i = 1 n p t i , k × W k
where k denotes one machine from a total number of m machines, s t a r t k and e n d k refer to the production time when machine k started and ended respectively, p t i , k is the processing time of the product P i that was allocated to the machine k and W k refers weighting factor for idle time of machine k .
In a bakery production environment, the idle time of all the machines is not equally important for the cost of production. These machines can be used immediately after switching on, and hence no energy is consumed during idle time. In contrast, several machines e.g., ovens require to run a certain time to fulfill the settings required to perform the processing task. In such cases, to avoid the unexpected interruption in the production, the machines are mostly kept running even when no products are processed. The idle time of these machines must be pronounced with a higher weighting factor as it increases the overall production cost. Therefore, W k was used to discriminate the machines in contributing to the cost function through WTIDT in Equation (1). WTIDT was used only for optimization purposes to represent the cost due to the TIDT. In contrast, TIDT refers to the sum of the idle time of all the machines in a schedule. TIDT was calculated by using Equation (4), just as with the WTIDT, however with W k = 1 for all the machines.
Algorithm 1. Tasks allocation procedure.
1begin
2  generate a solution // e.g., from PSO
3sort jobs J according to the given solution // e.g., SPV rule
4for P i = 1 to n do // for all the products
5  for s m = t 0 totfdo // start minutes for P i e.g., t 0 ,   t 1 ,   ,   t f
6
7
   s = 1 , s t s = s m // start time for first stage
uninterrupted = True // no-wait constraint
8whileuninterrupted is True and s S i // for all the stages
9   t a s k   m i n u t e s i , s = s t s ,   s t s + 1 , , s t s + p t i , s
10resource available = False ,   a l t e r n a t i v e = 1
11whileresource available is False and a l t e r n a t i v e A i , s
12  if a l t e r n a t i v e is free during t a s k   m i n u t e s i , s
13
14
15
  Allocate task to this alternative resource
resource available = True // break loop (line 11)
s = s + 1 , s t s = s t s + p t i , s // start time for next stage
16else try with next alternative
17   a l t e r n a t i v e = a l t e r n a t i v e + 1
18  ifresource available = False // no alternative is free
19
20
      uninterrupted = False // no-wait constraint is interrupted
// break loop (line 8) and try with a new s m (line 5)
To illustrate the proposed NWFSSM, there are 3! = 6 possible production sequences to produce three products e.g., sourdough, square bread, and pan bread (Table 1). For simplicity, no alternative machines are shown. Proofing, dough rest, cooling cabinets, and freezer are considered to have the capacity to operate three products at a time. The rest of the resources can operate only one product at a time. For instance, if the mixer is occupied for square bread, the mixing of pan bread cannot be executed during this time as there is only one mixer and it can operate one product at a time. If a production sequence of {sourdough, square bread, pan bread} is followed, the schedule is presented in Figure 4.
According to the schedule, the makespan is 289 min as this is the maximum time any product is finished. The idle time for the oven is 2 min. However, if the production sequence is changed to {pan bread, sourdough, square bread}, the values are changed to 295 min, and 7 min respectively.

2.5. Optimization Algorithms

2.5.1. Modification to Standard PSO

PSO is a metaheuristic optimization algorithm inspired by the behavior of animals like birds on the food search. The position of one particle or individual carries one solution to the given problem. The particles search the solution in a space in the form of multi-paths obliged by the movement in a swarm following a quasi-likelihood function. The instant movement and direction to which a particle moves are controlled by two dominant positions in the space i.e., current global best position and best personal position. The former offers the best solution to the problem and the latter is best in the solution history of the corresponding individual particle.
Each movement results in a change of the position of the particle, thus a new solution is proposed. The motion of particles is controlled by velocity parameters. In standard PSO, the velocity control parameters are proposed to be constant over the runtime. However, in this study, a certain modification to accelerate the movement of particles is proposed which consequently would come across with a complementary solution from the updated particle position. The integration of parameters α allows PSO to revise the motion of the particles shown in Equations (5)–(7).
v i t + 1 = v i t × W + C 1 t + 1 × r 1 g * x i t + C 2 t + 1 × r 2 x i * x i t
x i t + 1 = x i t + v i t + 1
C 1 t + 1 = C 1 t + α
where C 1 t + 1 and C 2 t + 1 indicate the velocity parameters, v i t + 1 is the velocity, x i t + 1 is the updated position vector of particle i at iteration t + 1 , g * is the global best position, x i * is the personal best position in the history of particle i , W is a parameter that controls the influence of the previous velocity of the particle, r 1 , r 2 refer to the random numbers between 0 and 1, indicates the multiplication of a scalar with a vector, and α is the acceleration parameter.
Equation (6) is the addition of three velocities, where the first part refers to the velocity in the previous movement t , like inertia, the second part is called social velocity, and the third part is cognitive velocity. In standard PSO, parameters, W , C 1 ,   and   C 2 are kept constant over a runtime, which means a constant influence of three velocities on the final movement. In this study, Equation (5) was added to modify the parameter C 1 . A negative α indicates a decrease of C 1 with iterations, and vice-versa. Therefore, the ratio of C 1   and   C 2 is changed over a runtime, and thus the relative influence of social and cognitive velocity in the final movement. Table 2 shows the values of acceleration parameters for standard PSO (PSO-A, PSO-B) and modified PSO (MPSO). The value of α depends on the number of iterations, and the initial value of C 1   and   C 2 , which can be described by the following equation.
α = C 2 C 1 d × t o t a l   i t e r a t i o n
where C1 and C2 are velocity parameters and C1 > C2, d determines how many iterations the value of C1 would be higher than C2. For this study, d was set to 0.80 which indicates that from the beginning to 80% of total iterations, the value of C1 was higher than C2.
Figure 5 shows the change in the ratio of C 1   and   C 2 over a runtime. It explains how the ration of social and cognitive velocity is also indirectly controlled where the social velocity is more prominent at the initial phase and cognitive velocity is given more strength at the later phase. Therefore, particles in MPSO tends to move to the individual best position at the later phase which may lead to a new global best position instead of being stuck in the current best position. For a new optimization problem, the global optimum is unknown, hence, metaheuristic algorithms like PSO cannot differentiate local optima from global optimum. Since PSO is based on the food-searching behavior of animals, it never stops in one location. The efficiency of searching for an improved and better location for food depends on how good the agents, e.g., birds, are directed. From an algorithmic point, this can be represented by tuning the parameters. The final solution returned by algorithm may not be the global optimum for a problem, however, it can be compared with the best solution from many runs of multiple algorithms. In this study, the trend of finding an improved solution is observed to explain whether an algorithm tends to stuck in local minima.
The construction of the MPSO algorithm proceeds as follows.
Step 1: The parameters for MPSO are initialized. For this study, the number of particles i and number of iterations t are 10 and 50, respectively. The cost function of Equation (1) was used as an objective to minimize the cost. The initial position for the particles x i 0 were allocated randomly and kept the same for all the runs. The initial velocity for the particles v i 0 were set to 0. The initial velocity parameters, C 1 ,   C 1 , and W were 1.80, 1.00, and 0.05 respectively. The acceleration parameter ( α ) was set to −0.02.
Step 2: The swarm of particles is used as the solutions to the problem in hybrid NWFSSM to calculate the objective function. The fitness of particles is compared to determine the global best position ( g * ) in the swarm and individual best position ( x i * ) in the history of a particle.
Step 3: The position of the particles is changed using Equations (5) and (6).
Step 4: The modification of the velocity parameter C 1 is performed using Equation (7).
Step 5: Steps 2 to 4 repeated until the maximum iteration t is met.
To study the influence of modification in searching behavior, the relative Euclidean distance between the current position of particles and the global best position was measured using Equation (9).
D i , g * t = d = 1 n X d , i X d , g * 2
where D i , g * t is the Euclidean distance between particle i and global best position g * at iteration t , n is the dimension of the position vector, and X d , i and X d , g * indicate the value at index d in the position vector of particle i and global best g * respectively.
To smooth the Euclidean distance data from 50 iterations, the Savitzky–Golay filter [27] was used with a window size of 5001 (1 iteration had 1000 distance values) and 3rd degree of polynomials. To evaluate the convergence of the mean of the best cost M B C t of one iteration, t was calculated using Equation (10).
M B C t = r = 1 R B C t , r R
where r and R indicate an instance of run and total runs of the algorithm respectively, and t is the iteration.

2.5.2. PSO Solution Approaches

In PSO, the position vector of particle i consists of continuous values x i , 1 t ,   x i , 2 t ,   x i , 3 t , , x i , n t , which is considered as one solution to the problem. The dimension of the position vector is the same as the number of variables to optimize i.e., n -dimension for n products. However, a solution in hybrid NWFSSM (Figure 2) is expected to be a sequence of products consisting of discrete values as 1 ,   2 ,   3 , , n . Each value in this sequence represents a product. Therefore, the n-dimensional position vector must be converted into a sequence of discrete numbers to reflect the n corresponding products. The smallest position value (SPV) rule has been introduced and widely practiced to meet this requirement. In this arrangement, each of the continuous values in a position vector is conjugated with a product with respect to their indexes. For instance, one position vector [ x i , 1 t ,   x i , 2 t ,   x i , 3 t ] is conjugated with {1, 2, 3} where 1, 2, and 3 indicate sourdough, square bread, and pan bread, respectively. After an iteration, the index of continuous values in the position vector is changed and sorted by the rule of smallest to the largest value (Table 3). The conjugated products are rearranged according to the sorted index to get a new product sequence. To illustrate, if   x i , 3 t is the smallest value in the updated position vector, pan bread will be placed first in the output product sequence.

2.5.3. Simulated Annealing (SA) and Nawaz-Enscore-Ham (NEH) Algorithms

Simulated annealing is one of the most widely-used metaheuristic optimization algorithms inspired by the annealing procedure of the metal by merging the idea of a metropolis Monte Carlo criterion to avoid being trapped to local minima [28].
The implementation of the SA algorithm proceeds as follows.
Step 1: The parameters for SA are initialized. The temperature (T), final temperature ( T f ), cooling factor c f , and an initial random solution to the problem are introduced. The proposed solution is a sequence of products that is evaluated using hybrid NWFSSM and assigned as an accepted cost C o s t A .
Step 2: Generate a random neighboring solution to the problem. The position of two random products in the accepted sequence is swapped and evaluated to get the cost of the new solution ( C o s t N ).
Step 3: The cost of the accepted solution and neighboring solution is compared and the relative difference Δ is calculated by using Equation (11).
Δ = C o s t N C o s t A C o s t A
Step 4: The relative difference Δ is evaluated. If Δ   0 , the neighboring solution and its cost are updated as the accepted solution and accepted cost ( C o s t A ) , respectively. Otherwise, the Boltzmann distribution function (Equation (12)) is introduced to calculate the probability ( p ) as the solution acceptance criterion:
p = e Δ T .
If p > a random number between 0.6 and 1.0, the neighboring solution and its cost are updated as the accepted solution and accepted cost ( C o s t A ) . In other cases, the neighboring solution is discarded.
Step 5: The temperature (T) is updated by using Equation (13):
T = T   × c f .
Step 6: Step 2 to 5 repeated until the final temperature ( T f ) is reached. The accepted solution at T f is counted as the final solution to the problem.
The construction of the NEH algorithm is described below.
Step 1: The products are sorted in the descending order of the respective total processing time to get a product sequence (PS) e.g., P S = P 1 ,   P 2 ,   ,   P n where n is the total number of products and product P n requires the lowest processing time.
Step 2: The first two products of the PS are taken to construct the subsequences P 1 ,   P 2 and P 2 ,   P 1 . The subsequences are evaluated by using hybrid NWFSSM, such that no other products are required to process. The best subsequence of the two products is accepted for further evaluation.
Step 3: The next product in the PS is taken into account such that an additional product has to be produced. It is inserted at every possible position of the accepted product sequence to construct subsequences.
Step 4: The subsequences with an additional product are evaluated by using a hybrid NWFSSM and are compared. The subsequence with the lowest cost is assigned as a new accepted product sequence.
Step 5: Step 3 and 4 are repeated until all the products in PS are added in the accepted product sequence. The final accepted sequence is used as the solution to the problem.

2.6. Approach to Evaluate the Performance of Optimization Algorithms

The optimization algorithms, except NEH, provide different results in different runs. Therefore, there is no certainty about delivering a best or nearly best solution always. Additionally, it is challenging to complete one optimization run within a reasonable time when the number of products, stages, and alternative resources are higher. Therefore, it is crucial to know the performance efficiency of optimization algorithms. To evaluate performance, the optimization was repeated 100 times for each of the algorithms, except NEH, to solve problem I.
In this study, the cumulative frequency was used to evaluate the performance i.e., how frequently an optimizer delivers best, better, good, and worst results. Cumulative frequency of 50 in a 10.0% cost reduction means an optimizer reduced cost by at least 10.0% in 50 runs.

3. Results and Discussion

3.1. Effect of Modification on the Performance of PSO

Figure 6a shows an example of the relative Euclidean distance between the current position of particles and the global best position g * from 100 test runs of MPSO, and Figure 6b represents the distribution of distance values at the 10th iteration, describing almost a normal distribution. However, from the raw Euclidean distance (Figure 6a), no clear pathway was observed. Therefore, the Savitzky Golay method was used to filter the data.
Figure 7 illustrates the Euclidean distance of particles from the global best position with Savitzky Golay filtering for PSO-A, PSO-B, and MPSO. It shows that at the initial phase, the distance of particles from the global best position g * was nearly the same for all the versions of PSO. In PSO-A, with the constant and lowest ration C 1   /   C 2 , 0.56, the particles searched solutions closer to the global best position.
PSO-B, in contrast, had constant ration C 1   /   C 2 of 1.00, and particles were searching solutions always far from the best position. Despite PSO-A and PSO-B showing a rapid change in the first 10 iterations, a constant distance was observed till the end of the runtime. However, due to the change in the ratio of C 1   /   C 2 over run time, MPSO had a good combination of searching solutions moderately far away at the initial phase, followed by an inclination toward the best position.
Figure 8 shows the cumulative frequency of standard PSO and MPSO to optimize the cost of different levels. In the worst cases of respective algorithms, MPSO provided a cost reduction of 10.0%, while for PSO-A and PSO-B, it was 7.5% and 6.5%, respectively. The figure shows that the possibility of giving the worst optimization results (<10.0%) by PSO-A is 3%, followed by PSO-B with 9%. However, MPSO showed no such cases in 100 test runs. MPSO outperformed PSO-A and PSO-B in the probability to obtain a better level of optimization results (at least 12.0% cost reduction). In 94 out of 100 runs, MPSO was able to reach this level while for PSO-A and PSO-B, it was 92 and 77, respectively. However, cost reductions by 14.0% or higher were found to be the most difficult level of optimization. At that level, PSO was outperformed by MPSO significantly, provided in 87 runs, which is 25 higher than PSO-A, and 33 higher than PSO-B.
Figure 9 shows the trend of searching for an improved solution during a run from PSO-A, PSO-B, and MPSO that turned into the corresponding best optimization results. It demonstrates that MPSO had the best optimization result with a reduction of cost by 16.3%.
Figure 10 depicts the convergence of the PSO variants calculated from the mean of the best optimization cost at different iterations. PSO-A had the worst mean cost reduction in the first 10 iterations of particles, while PSO-B and MPSO had a similar mean convergence.
However, the scenario changed over the next iterations as PSO-A showed a sharp improvement and outperformed PSO-B. MPSO showed the most consistency in improving the solution from the beginning to the end, which can be explained by the convergence rate. The convergence rate describes how the solutions were upgraded in terms of cost reduction by every iteration. The rate of the mean convergence of PSO-A, PSO-B, and MPSO is 0.27%, 0.26%, and 0.28%, respectively. In PSO-B, both cognitive and social velocities of particles in the swarm were equally weighted. According to this study, such configuration showed no visible improvements after the 25th iteration. In contrast, in PSO-A, cognitive velocity was constantly 1.8 times higher compared to the social velocity and outperformed PSO-B. MPSO was configured in a way that initially, the weight to social velocity was relatively higher and gradually decreased to give more strength to cognitive velocity. Such modifications in PSO were found to be efficient to obtain the best optimization results with a higher possibility.
Figure 11 represents the performance comparison of MPSO, SA, and NEH. It shows that NEH optimized the cost of production by 14.0%. However, NEH was outperformed by MPSO 87 times and by SA 72 times in 100 test runs. Moreover, SA provided the very worst quality optimization results with the lowest cost reduction of 4.5%, where MPSO had 10.0% at the worst level of performance. Therefore, it can be said that MPSO outperformed SA and NEH by solving the optimization problem most efficiently.
The best results from the optimized production schedules obtained by MPSO are described here. Figure 12 shows the comparison of idle time of only energy-consuming machines used for the production. It was observed that proper allocation of tasks among machines can reduce the overall idle time significantly. The results show that idle time for mixers, ovens, a fryer, and a slicer were reduced by 25%, 45%, 8%, 76%, and 38%, respectively, whereas for dividers it increased by 54%. The TIDT in the optimized schedule was reduced by 12%, and makespan by 30%. Table 4 shows the cost calculation for the best schedule obtained by MPSO. The optimized cost ( C o s t o p t ) and initial cost C 0 were calculated from the optimized and existing schedule respectively using Equation (1). WTIDT represents the cost due to the idle time of the machines calculated by using Equation (4).

3.2. Performance Comparison between MPSO and PSO from Literature

As a benchmark, problem II and constraints described by Hecker et al. [6] were taken into consideration. The authors found that the standard PSO performed slightly better than ant colony optimization in optimizing makespan. For better comparisons, the objective function was changed to a single objective to optimize makespan as the authors described. Moreover, instead of WTIDT, the comparison was on TIDT.
Figure 13 shows that the best makespan from the study was 8.4% [6], where for the proposed MPSO it was 8.7%. In 10 out of 21 runs, MPSO provided better optimization than the best performance of PSO. MPSO showed a possibility of 90% to optimize the makespan at least by 8.0%, while PSO showed only 47% possibility. The worst performance from MPSO was 7.6% of makespan reduction. The figure describes that there is a possibility (52%) that PSO cannot reach the worst performance of MPSO. In 11 out of 21 runs, PSO showed a relatively lower performance than the worst case of MPSO. However, optimizing one from makespan and TIDT may not be always cost-effective. It was observed that the optimized schedule with the objective of reducing makespan may have a higher TIDT, which causes high energy consumption. Contrarily, a schedule with optimized TIDT may have a higher makespan, meaning the production run time will be longer.
Figure 14 shows the effectiveness of the single objective optimized results. As makespan reduction was the only objective, TIDT was ignored by the optimization algorithm. The result shows that despite a higher makespan reduction, in some cases, the TIDT was increased, indicated by a negative TIDT [%]. In the worst scenario, the TIDT was increased by 10%, while makespan was reduced by 8%. Similar results were also obtained by Hecker et al. [6].
From the industrial perspective, it depends on how the makespan and TIDT influence the overall production cost which may vary from region to region and bakery to bakery. Therefore, the addition of a weighting factor for each machine may allow modifying the cost function to reflect the real production cost.

4. Conclusions and Outlook

The motivation of this study was to develop a task allocation model for production in bakery industries consisting of complex and mixed constraints, along with searching for an optimized schedule. The integration of many constraints, mainly to make feasible, increases the difficulty to optimize the production. However, the results demonstrated that an optimized schedule could still reduce the makespan and machine idle time of an existing production line significantly by performing heuristic and metaheuristic optimization algorithm.
Furthermore, the robustness and reliability of the optimization algorithms were examined. The study revealed that the convergence rate of PSO could be highly increased by adjusting the acceleration ratio to the best configuration using supporting parameters. Such modification in PSO could outperform standard PSO, SA, and NEH.
This study might be valuable for bakery industries and decision-making authorities to design an efficient bakery production system. A change in the arrangement e.g., addition of machines, employees, or changing the work plan of employees can be conformed to monitor the production efficiency before implementation in a real production line.
Several ideas deserve further investigation, such as the integration of more constraints that might occur in specific bakeries to provide customization opportunities to the bakery industry. Moreover, the application of other heuristic and meta-heuristic algorithms and a combination of their best features can be explored to find a robust optimizer.

Author Contributions

M.B. performed conceptualization, methodology, software, formal analysis, investigation, visualization, writing—original draft preparation. J.S. and D.R. contributed with the resources and data curation. C.M.R. provided the resources and played the role of project administration. B.H. supervised the study and played the role of project administration. All authors have read and agreed to the published version of the manuscript.

Funding

This research has been funded by the EIT Food of the European Institute of Innovation and Technology (EIT), a body of the European Union, the EU Framework Programme for Research and Innovation for the project entitled “Optimization of bakery processes by a computational tool together with consumer feedback to minimize ecological footprint and food waste: Making baking more efficient”.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Two datasets were used for this study. Data used for problem I is not publicly available due to restrictions, e.g., privacy and ethical reason. However, data used for problem II was taken from Hecker et al. [4] and are available at the corresponding journal site.

Acknowledgments

The data used for this study (problem I) was collected from Panishop Bakeries (Zaragoza, Spain) as a part of the EIT Food project. Apart from that, the study was not influenced by any other factors.

Conflicts of Interest

The authors confirm that they have no known involvement in any organization with any financial interest in the subject and materials presented in this manuscript.

References

  1. Garey, M.R.; Johnson, D.S.; Sethi, R. The Complexity of Flowshop and Jobshop Scheduling. Math. Oper. Res. 1976, 1, 117–129. [Google Scholar] [CrossRef]
  2. Bewoor, L.; Prakash, V.C.; Sapkal, S.U. Evolutionary Hybrid Particle Swarm Optimization Algorithm for Solving NP-Hard No-Wait Flow Shop Scheduling Problems. Algorithms 2017, 10, 121. [Google Scholar] [CrossRef] [Green Version]
  3. Abdollahpour, S.; Rezaian, J. Two new meta-heuristics for no-wait flexible flow shop scheduling problem with capacitated machines, mixed make-to-order and make-to-stock policy. Soft Comput. 2016, 21, 3147–3165. [Google Scholar] [CrossRef]
  4. Chen, R.-X.; Li, S.-S.; Li, W.-J. Multi-agent scheduling in a no-wait flow shop system to maximize the weighted number of just-in-time jobs. Eng. Optim. 2018, 51, 217–230. [Google Scholar] [CrossRef]
  5. Sun, H.; Jiang, A.; Ge, D.; Zheng, X.; Gao, F. A Chance Constrained Programming Approach for No-Wait Flow Shop Scheduling Problem under the Interval-Valued Fuzzy Processing Time. Processes 2021, 9, 789. [Google Scholar] [CrossRef]
  6. Hecker, F.T.; Hussein, W.B.; Paquet-Durand, O.; Hussein, M.A.; Becker, T. A case study on using evolutionary algorithms to optimize bakery production planning. Expert Syst. Appl. 2013, 40, 6837–6847. [Google Scholar] [CrossRef]
  7. Hecker, F.T.; Stanke, M.; Becker, T.; Hitzmann, B. Application of a modified GA, ACO and a random search procedure to solve the production scheduling of a case study bakery. Expert Syst. Appl. 2014, 41, 5882–5891. [Google Scholar] [CrossRef]
  8. Duarte, B.P.M.; Gonçalves, A.M.; Santos, L.O. Optimal Production and Inventory Policy in a Multiproduct Bakery Unit. Processes 2021, 9, 101. [Google Scholar] [CrossRef]
  9. Huber, J.; Stuckenschmidt, H. Intraday shelf replenishment decision support for perishable goods. Int. J. Prod. Econ. 2020, 231, 107828. [Google Scholar] [CrossRef]
  10. Nawaz, M.; Enscore, E.E.; Ham, I. A heuristic algorithm for the m-machine, n-job flow-shop sequencing problem. Omega 1983, 11, 91–95. [Google Scholar] [CrossRef]
  11. Pan, Q.-K.; Gao, L.; Wang, L.; Liang, J.; Li, X.-Y. Effective heuristics and metaheuristics to minimize total flowtime for the distributed permutation flowshop problem. Expert Syst. Appl. 2019, 124, 309–324. [Google Scholar] [CrossRef]
  12. Sha, D.; Lin, H.-H. A multi-objective PSO for job-shop scheduling problems. Expert Syst. Appl. 2010, 37, 1065–1070. [Google Scholar] [CrossRef]
  13. Tian, X.; Liu, X. Improved Hybrid Heuristic Algorithm Inspired by Tissue-Like Membrane System to Solve Job Shop Scheduling Problem. Processes 2021, 9, 219. [Google Scholar] [CrossRef]
  14. Lin, S.-W.; Cheng, C.-Y.; Pourhejazy, P.; Ying, K.-C. Multi-temperature simulated annealing for optimizing mixed-blocking permutation flowshop scheduling problems. Expert Syst. Appl. 2020, 165, 113837. [Google Scholar] [CrossRef]
  15. Zhan, X.; Xu, L.; Ling, X. Task Scheduling Problem of Double-Deep Multi-Tier Shuttle Warehousing Systems. Processes 2020, 9, 41. [Google Scholar] [CrossRef]
  16. Sun, X.; Wang, Y.; Kang, H.; Shen, Y.; Chen, Q.; Wang, D. Modified Multi-Crossover Operator NSGA-III for Solving Low Carbon Flexible Job Shop Scheduling Problem. Processes 2020, 9, 62. [Google Scholar] [CrossRef]
  17. Fong, S.; Lou, H.-L.; Zhuang, Y.; Deb, S.; Hanne, T. Solving the permutation flow shop problem with firefly algorithm. In Proceedings of the 2014 2nd International Symposium on Computational and Business Intelligence, New Delhi, India, 7–8 December 2014; pp. 25–29. [Google Scholar]
  18. Eberhart, R.; Kennedy, J. A new optimizer using particle swarm theory. In Proceedings of the MHS’95 Sixth International Symposium on Micro Machine and Human Science, Nagoya, Japan, 4–6 October 1995. [Google Scholar]
  19. Sun, T.; Xu, M.-H. A Swarm Optimization Genetic Algorithm Based on Quantum-Behaved Particle Swarm Optimization. Comput. Intell. Neurosci. 2017, 2017, 1–15. [Google Scholar] [CrossRef]
  20. Chan, C.-L.; Chen, C.-L. A cautious PSO with conditional random. Expert Syst. Appl. 2015, 42, 4120–4125. [Google Scholar] [CrossRef]
  21. Zhang, L.; Wu, J. A PSO-Based Hybrid Metaheuristic for Permutation Flowshop Scheduling Problems. Sci. World J. 2014, 2014, 902950. [Google Scholar] [CrossRef]
  22. Jiang, Q.; Liao, X.; Zhang, R.; Lin, Q. Energy-Saving Production Scheduling in a Single-Machine Manufacturing System by Improved Particle Swarm Optimization. Math. Probl. Eng. 2020, 2020, 8870917. [Google Scholar] [CrossRef]
  23. Ji, M.; Yang, Y.; Duan, W.; Wang, S.; Liu, B. Scheduling of no-wait stochastic distributed assembly flowshop by hybrid PSO. In Proceedings of the 2016 IEEE Congress on Evolutionary Computation (CEC), Vancouver, BC, Canada, 24–29 July 2016; pp. 2649–2654. [Google Scholar]
  24. Issa, M.; Hassanien, A.E.; Oliva, D.; Helmi, A.; Ziedan, I.; Alzohairy, A. ASCA-PSO: Adaptive sine cosine optimization algorithm integrated with particle swarm for pairwise local sequence alignment. Expert Syst. Appl. 2018, 99, 56–70. [Google Scholar] [CrossRef]
  25. Van Rossum, G. Python Tutorial; Technical Report CS-R9526; Centrum voor Wiskunde en Informatica (CWI): Amsterdam, The Netherlands, 1995. [Google Scholar]
  26. Pinedo, M.L. Scheduling: Theory, Algorithms, and Systems, 5th ed.; Springer: Berlin/Heidelberg, Germany, 2016; ISBN 978-3-319-26578-0. [Google Scholar]
  27. Savitzky, A.; Golay, M.J.E. Smoothing and Differentiation of Data by Simplified Least Squares Procedures. Anal. Chem. 1964, 36, 1627–1639. [Google Scholar] [CrossRef]
  28. Kirkpatrick, S.; Gelatt, C.D.; Vecchi, M.P. Optimization by Simulated Annealing. Science 1983, 220, 671–680. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Production line of a bakery with processing tasks (-) and resource alternatives (…) to perform the tasks.
Figure 1. Production line of a bakery with processing tasks (-) and resource alternatives (…) to perform the tasks.
Processes 09 02044 g001
Figure 2. Working principle of bakery production optimization using hybrid no-wait flowshop scheduling model (NWFSSM).
Figure 2. Working principle of bakery production optimization using hybrid no-wait flowshop scheduling model (NWFSSM).
Processes 09 02044 g002
Figure 3. Scheduling procedure of hybrid NWFSSM.
Figure 3. Scheduling procedure of hybrid NWFSSM.
Processes 09 02044 g003
Figure 4. Example schedule of three products with a production sequence of {sourdough, square bread, pan bread}.
Figure 4. Example schedule of three products with a production sequence of {sourdough, square bread, pan bread}.
Processes 09 02044 g004
Figure 5. Ratio of acceleration parameters C 1   and   C 2 in a runtime.
Figure 5. Ratio of acceleration parameters C 1   and   C 2 in a runtime.
Processes 09 02044 g005
Figure 6. Euclidean distance between the current position of particles and global best position ( g * ) recorded from modified particle swarm optimization (MPSO) with 10 particles in 100 test runs: (a) From 50 iterations; (b) distribution of distance values at 10th iteration.
Figure 6. Euclidean distance between the current position of particles and global best position ( g * ) recorded from modified particle swarm optimization (MPSO) with 10 particles in 100 test runs: (a) From 50 iterations; (b) distribution of distance values at 10th iteration.
Processes 09 02044 g006
Figure 7. Influence of modification in the pathway of particles.
Figure 7. Influence of modification in the pathway of particles.
Processes 09 02044 g007
Figure 8. Performance comparison of standard particle swarm optimization (PSO) and modified PSO (MPSO).
Figure 8. Performance comparison of standard particle swarm optimization (PSO) and modified PSO (MPSO).
Processes 09 02044 g008
Figure 9. Optimization trend during a run time.
Figure 9. Optimization trend during a run time.
Processes 09 02044 g009
Figure 10. Mean convergence of optimization from 100 test runs.
Figure 10. Mean convergence of optimization from 100 test runs.
Processes 09 02044 g010
Figure 11. Performance comparison of modified particle swarm optimization (MPSO), simulated annealing (SA), and Nawaz-Enscore-Ham (NEH) to solve problem I.
Figure 11. Performance comparison of modified particle swarm optimization (MPSO), simulated annealing (SA), and Nawaz-Enscore-Ham (NEH) to solve problem I.
Processes 09 02044 g011
Figure 12. Comparison of machines’ idle time in the actual and optimized schedule.
Figure 12. Comparison of machines’ idle time in the actual and optimized schedule.
Processes 09 02044 g012
Figure 13. Performance comparison of particle swarm optimization (PSO) implemented by Hecker et al. [6] with modified PSO (MPSO) to optimize the makespan of problem II.
Figure 13. Performance comparison of particle swarm optimization (PSO) implemented by Hecker et al. [6] with modified PSO (MPSO) to optimize the makespan of problem II.
Processes 09 02044 g013
Figure 14. The effect of makespan optimization on total idle time (TIDT) in problem II.
Figure 14. The effect of makespan optimization on total idle time (TIDT) in problem II.
Processes 09 02044 g014
Table 1. Example production data for three products.
Table 1. Example production data for three products.
Product NameProcessing StageDurationResources
Sourdough1. Preparation3Employee
2. Mixing13Mixer
3. Transfer phase1Employee
4. Proofing360Proofing cabinet
Square bread1. Preparation3Employee
2. Mixing16Mixer
3. Transfer phase1Employee
4. Dough rest15Resting cabinet
5. Dividing3Divider
6. Molding10Employee
7. Proofing75Proofing cabinet
5. Baking18Oven
6. Cooling360Cooling cabinet
7. Freezing70Freezer
8. Packaging10Employee
Pan bread1. Preparation3Employee
2. Mixing12Mixer
3. Transfer phase1Employee
4. Dividing4Divider
5. Shaping5Shaper
6. Proofing85Proofing cabinet
7. Baking14Oven
9. Cooling60Cooling cabinet
10.  Freezing70Freezer
11.  Packaging10Employee
Table 2. Configuration of acceleration parameters in particle swarm optimization (PSO) and modified PSO (MPSO) for 50 iterations.
Table 2. Configuration of acceleration parameters in particle swarm optimization (PSO) and modified PSO (MPSO) for 50 iterations.
ConfigurationVersion W C 1 C 2
Iteration = 0 α Iteration = 50
PSOPSO-A0.501.00-1.001.80
PSO-B0.501.00-1.001.00
Modified PSOMPSO0.501.80−0.020.801.00
Table 3. Numerical explanation of converting a position vector into a production sequence using the smallest position value (SPV) rule.
Table 3. Numerical explanation of converting a position vector into a production sequence using the smallest position value (SPV) rule.
Iteration (t)Position Vector ( x i t ) Sorted Index *SPV
Input Product Sequence **Output Product Sequence **
1[1.24, −0.80, −1.60][3, 2, 1]{1, 2, 3}{3, 2, 1}
2[1.04, −0.90, −0.70,][2, 3, 1]{1, 2, 3}{2, 3, 1}
3[0.44, −0.10, 0.60][2, 1, 3]{1, 2, 3}{2, 1, 3}
* Index of values in x i t sorted by the smallest to the largest value i.e., index of smallest value placed first; ** each number in the sequence reflects one product and at which position to produce.
Table 4. Cost calculation for the existing and optimized schedules.
Table 4. Cost calculation for the existing and optimized schedules.
Makespan [min]WTIDTTotal CostCost Reduction [%]
Existing schedule9683110407816.3%
Optimized schedule67527363411
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Babor, M.; Senge, J.; Rosell, C.M.; Rodrigo, D.; Hitzmann, B. Optimization of No-Wait Flowshop Scheduling Problem in Bakery Production with Modified PSO, NEH and SA. Processes 2021, 9, 2044. https://doi.org/10.3390/pr9112044

AMA Style

Babor M, Senge J, Rosell CM, Rodrigo D, Hitzmann B. Optimization of No-Wait Flowshop Scheduling Problem in Bakery Production with Modified PSO, NEH and SA. Processes. 2021; 9(11):2044. https://doi.org/10.3390/pr9112044

Chicago/Turabian Style

Babor, Majharulislam, Julia Senge, Cristina M. Rosell, Dolores Rodrigo, and Bernd Hitzmann. 2021. "Optimization of No-Wait Flowshop Scheduling Problem in Bakery Production with Modified PSO, NEH and SA" Processes 9, no. 11: 2044. https://doi.org/10.3390/pr9112044

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

Article Metrics

Back to TopTop