Next Article in Journal
Statistical Validation Framework for Automotive Vehicle Simulations Using Uncertainty Learning
Next Article in Special Issue
Smart Manufacturing Scheduling Approaches—Systematic Review and Future Directions
Previous Article in Journal
A Novel Approach to the Analysis of the Soil Consolidation Problem by Using Non-Classical Rheological Schemes
Previous Article in Special Issue
Strategic Supply Chain Planning for Food Hubs in Central Colombia: An Approach for Sustainable Food Supply and Distribution
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Genetic Crow Search Algorithm for Optimization of Operation Sequencing in Process Planning

1
Department of Mechanical Engineering, Technical Faculty “Mihajlo Pupin”, University of Novi Sad, 23000 Zrenjanin, Serbia
2
Department of Machining, Assembly and Engineering Metrology, Faculty of Mechanical Engineering, Technical University of Ostrava, 70800 Ostrava, Czech Republic
3
Department of Production Engineering, Faculty of Technical Sciences, University of Novi Sad, 21000 Novi Sad, Serbia
4
Department for Power, Electronic and Telecommunication Engineering, Faculty of Technical Sciences, University of Novi Sad, 21000 Novi Sad, Serbia
*
Author to whom correspondence should be addressed.
Appl. Sci. 2021, 11(5), 1981; https://doi.org/10.3390/app11051981
Submission received: 8 February 2021 / Revised: 13 February 2021 / Accepted: 16 February 2021 / Published: 24 February 2021
(This article belongs to the Special Issue Planning and Scheduling Optimization)

Abstract

:
Computer-aided process planning represents the main link between computer-aided design and computer-aided manufacturing. One of the crucial tasks in computer-aided process planning is an operation sequencing problem. In order to find the optimal process plan, operation sequencing problem is formulated as an NP hard combinatorial problem. To solve this problem, a novel genetic crow search approach (GCSA) is proposed in this paper. The traditional CSA is improved by employing genetic strategies such as tournament selection, three-string crossover, shift and resource mutation. Moreover, adaptive crossover and mutation probability coefficients were introduced to improve local and global search abilities of the GCSA. Operation precedence graph is adopted to represent precedence relationships among features and vector representation is used to manipulate the data in the Matlab environment. A new nearest mechanism strategy is added to ensure that elements of machines, tools and tool approach direction (TAD) vectors are integer values. Repair strategy to handle precedence constraints is adopted after initialization and shift mutation steps. Minimization of total production cost is used as the optimization criterion to evaluate process plans. To verify the performance of the GCSA, two case studies with different dimensions are carried out and comparisons with traditional and some modern algorithms from the literature are discussed. The results show that the GCSA performs well for operation sequencing problem in computer-aided process planning.

1. Introduction

According to the Society of Manufacturing Engineers, process planning is considered as a systematic definition of methods for economical and productive manufacturing. In Xu et al. [1] it is considered that computer-aided process planning (CAPP), as a crucial component of todays advanced manufacturing systems, can be imagined as the “bridge” between the product design (CAD) and product manufacturing (CAM). CAPP system development has shown to be a very complex task, assuming today’s high diversity of products and complexity of planning numerous activities within a process plan in different manufacturing conditions. The consequence reflects the fact that CAPP systems are at the lower level of implementation in industry and therefore represent a bottleneck in integrated production environment, as stated by Lukić et al. [2].
As reported in Denkena et al. [3], the main activities of process planning, whether computer-aided or manual, are the following: receiving order and design details, selecting raw material and shape, selecting process technology, determining process order, preparing a process plan (including activities such as the selection of machining operations, sequencing of machining operations, selection of cutting tools, determination of setup requirements, calculations of cutting parameters, selection and design of jigs and fixtures, planning tool paths, estimating processing setup costs and times) and generating planning output (CNC programs, routing sheets, operation sheets etc.). The aim of these stages of process planning is to transform the part design (drawing of a part or a product) into a finished physical part or product in a cost-effective and competitive way.
Among the mentioned activities, the sequencing of machining operations, i.e., the operation sequencing, has been considered as one of the most complex optimization tasks in scientific community. Two main steps of the operation sequencing task are taken into account: (1) selecting the most suitable machining resources such as machines, tools and tool approach directions based on the specific machining features that have to be machined and (2) finding the sequence of all machining operations for a considered part with respect to precedence relationships among operations and features. Such tasks, when handled simultaneously, form a process plan which is evaluated using certain optimization criteria, such as the minimization of production time or minimization of production cost.
According to many authors such as Duo et al. [4], Falih and Shammari [5], Gao et al. [6], Petrović et al. [7] and Huang et al. [8], the operation sequencing is classified as an NP hard optimization problem due to computational ineffectiveness when dealing with these problems using conventional non-heuristic techniques. Milošević et al. [9] reported that metaheuristic algorithms have proven to be robust and efficient methods for these challenges and are therefore employed to find near-optimal solutions in an acceptable time period. Many intelligent metaheuristics have been applied in operation sequencing and process planning optimization in the last few decades. Among them, we can primarily mention traditional optimization approaches, such as genetic algorithms, ant colony optimization, particle swarm optimization or simulated annealing. Nowadays, novel modifications in terms of constraint handling mechanisms, representation of individual solutions and different techniques for improving local and/or global search abilities are still being proposed. In the next section, we will highlight the most recent advances in this area of research.

2. Related Work

Wang et al. [10] proposed a hybrid particle swarm-based method to solve the process planning problem. A novel representation scheme besides two local search algorithms were introduced to improve solutions in each generation. In work by Huang et al. [11], a hybrid approach based on operation precedence graph and genetic algorithm was developed. Topologic sorting algorithm was used to ensure feasibility of solutions and a modified crossover operator with two mutation strategies were adopted. A socio-politically inspired metaheuristic called imperialist competitive algorithm for process planning optimization was proposed by Lian et al. [12]. Various flexibilities were taken into account and the steps such as assimilation, position exchange, imperialist competition and elimination were proceeded to solve the NP hard problem. Liu et al. [13] developed an ant colony optimization algorithm reinforced with the constraint matrix and the state matrix to check the state of the operations and range of operation candidates. A honey bees mating algorithm was implemented by Wen et al. [14]. The solution encoding, crossover operator and local search strategies have been employed to verify the performance of this metaheuristic. Wang et al. [15] presented a two-stage ant colony optimization algorithm to minimize the total production cost. In this approach, a directed graph is used to represent the process planning problem. In the first stage, the operation nodes are selected and the graph is reduced to a simple graph. Later, in the second stage, the selected operations are used to create the sequence and generate process plans. Petrovic et al. [7] utilized particle swarm optimization and chaos theory to solve the flexible process planning problem. Various flexibilities were represented using AND/OR networks and the total production time and cost were used to develop the mathematical model for the minimization of objective function. Hu et al. [16] proposed an ant colony optimization algorithm-based approach to solve the operation sequencing problem in CAPP. Precedence and clustering constraint relationships are taken into account to ensure the feasibility of process plans. Global search ability is enhanced using adaptive updating method and local search mechanism. A hybrid genetic algorithm and simulated annealing approach to optimize the production cost of a complicated part in a dynamic workshop environment was proposed by Huang et al. [8]. The directed graph was used to model precedence relationships among machining operations and the graph search algorithms were embedded into framework of the optimization system. Su et al. [17] presented precedence constrained operation sequencing problem as a mixed integer programming model and incorporated an edge selection based strategy in the genetic algorithm to solve the problem. The novel encoding strategy assures the feasibility of solutions in the initialization stage with acceptable probability, and therefore improves the GA’s convergence efficiency. Dou et al. [4] developed a feasible sequence-oriented discrete particle swarm optimization algorithm that is also directed toward generating feasible operation sequences in the initial stage of the algorithm. A crossover-based mechanism is adopted to evolve the particles in discrete feasible solution space. On the other hand, fragment mutation, as well as greedy and uniform mutations, are used to alter the feasible sequence and machining resources respectively. The adaptive mutation probability is used to improve the exploration ability of the approach. A new mixed-integer linear programming mathematical model is developed and represented on OR-node network graph in the recent study proposed by Liu et al. [18]. A new hybrid evolutionary algorithm is designed on the basis of this MILP model, which combines a genetic algorithm with a simulated annealing algorithm. Moreover, the tournament selection with the varying tournament size was included to prevent the algorithm from premature convergence and increased randomness. Gao et al. [6] proposed the intelligent water drop algorithm in process planning optimization. A priority constraint matrix was used to generate feasible process plans. Falih and Shammari [5] proposed a hybrid constrained permutation algorithm and genetic algorithm approach. A constrained permutation algorithm is employed to generate feasible operation sequences and a genetic algorithm is then used to search for an optimal solution within the feasible search space. A mixed crossover operator in the GA is used to avoid premature convergence to local optima. In a study by Jiang et al. [19], authors proposed the novel fairness-based transaction packing algorithm for permissioned blockchain empowered industrial IoT systems. A heuristic algorithm and a min-heap-based optimal algorithm were employed to solve the fairness problem. Since the fairness problem is related to the sum of weighting time of the selected transaction, it is transformed into the subset sum problem and the extensive experiments were conducted to verify the performance of the fairness-based transaction packing algorithm.
In this paper, a novel improved metaheuristic approach called a genetic crow search algorithm (GCSA) is introduced for optimization of operation sequencing problem. The approach combines the classical CSA with the main components of the GA algorithm and through the joint action from local and global perspective of a population (flock) the evolution of crow individuals is achieved. The operation precedence graph (OPG) is utilized to represent the operation candidates, i.e., crow individuals with regard to corresponding precedence relationships among operations. Then, the initial population (flock) of crow individuals is constructed using vector-based representation to generate a group of feasible individuals. After the main steps of the CSA, a newly proposed nearest resource mechanism is applied to ensure the vectors of each crow individual are set to the nearest integer values. The evolution of the flock of crow individuals starts in the next stage, which consists of five strategies. Firstly, the tournament selection ensures that the most fit crow individuals from the flock are selected and the 3SX crossover operator is applied to generate new crow individuals. The shift mutation strategy is then used to exchange random genes from crow individuals. The feasibility of these crow individuals is questioned, and in that sense, the constraint repair mechanism is used to ensure that infeasible solutions are converted to the feasible domain. The evolution of crow individuals ends with resource mutation, which performs minor changes in genes of machine, tool and TAD vectors, respectively. Using adaptive crossover and mutation probabilities, the exploration ability of the GCSA is improved. The input parameters of the algorithm are optimized using the Taguchi design of experiments, in order to obtain the optimized parameter settings. In each iteration of the GCSA approach, the position of crow individuals is evaluated using the fitness function and the memory of crow individuals is updated. To verify the performance of the proposed algorithm, two case studies with different level of dimensionality are considered. The computational results show that the proposed GCSA performs well and can be considered an efficient method for solving the operation sequencing problem.
The rest of the paper is organized as follows. Section 2 describes the operation sequencing model by focusing on vector-based representation, data types and precedence constraints.

3. Operation Sequencing: Problem Formulation

Operation sequence in process planning consists of a number of selected operations required for feature machining, a sequence of these operations, machining resources such as machines, tools and tool approach directions (TADs), as well as setup plans. Since the capability and the availability of machining resources has an important role when generating operation sequences, several principles have to be considered according to Su et al. [17]:
(1)
Setup plan includes a group operations that can be performed with the same TADs.
(2)
These operations have to be machined using the same machine.
(3)
Reduction of machine, tool and TAD changes is an objective.
(4)
Only one operation can be performed on a single machine.
(5)
Only one operation can be performed using a single cutting tool.
(6)
Only one TAD can be used in a given time.
In this study, an operation sequence is represented using vectors with n bits of data. Those bits are integer values where each value contains relevant manufacturing information. Seeing that the optimization task considers the simultaneous sequencing of operations and selection of machining resources, four vectors are used to illustrate a single process plan. Figure 1 shows a simple example of a represented process plan with a total of 5 machining operations indexed from 1 to 5 (the first row). An operation sequence vector is marked with darker color and consists of bit numbers named Operation[n]. For example, Operation[3] considers the operation number 5. Under the same index, there are machine m3, tool t3 and TAD –z. These candidates are elements of the machine vector Machines[n], the tool vector Tools[n] and the TADs vector TADs[n] respectively and are visualized in a light grey color.
Since the MATLAB programming environment was selected for the implementation of the proposed GCSA approach, therefore, we will place emphasis on the types of data considered when dealing with the operation sequencing problem. All variables with their data types are shown in Table 1.

Precedence Constraints

The precedence constraints within operation sequencing are formulated according to relevant geometrical and manufacturing considerations. They indicate the precedence relationships between operations required to generate a feasible machining sequence. Hu et al. [16] classified constraint relationships into the precedence and the clustering constraints. The precedence constraints are obligatory conditions that must be met, while on the other side, the clustering constraints do not need to be met but have effect on machining efficiency and quality. The precedence constraints can be classified into eight types: datum relationships, primary and secondary relationships, face and hole relationships, processing stage relationships, feature priority relationships, thin-wall relationships, fixed order of operations relationships and material-removal relationships. Li et al. [20] made similar classification on hard and soft constraints, where hard constraints represent obligatory conditions, while soft constraints can be violated if necessary.
To visualize precedence relationships between operations, we adopted an operation precedence graph model (OPG). The OPG is a directed graph consisting of vertices and edges, OPG = (V, E), where vertices V represent the set of operations, while edges E denote the set of links between operation vertices. Each operation element within the operation vector is mapped to the corresponding vertex of the OPG. On the other hand, each precedence relationship is visualized using edges. Vertices that are not linked with edges have no precedence relationships between them. For easier manipulation of the data concerning precedence relationships, adjacency or precedence matrix has been adopted. Figure 2 shows the main elements of OPGs and their mapping to a matrix form. Using a simple example with five operations and four precedence constraints a precedence matrix PM is designed. The value pc[i,j] is a binary value which represents whether operation i precedes operation j or not. As shown, number 1 denotes that there is a precedence relationship between observed operations while 0 shows the lack of any precedences, i.e., no edge between operation i and operation j. By following the edges of an OPG, all the vertices should be traversed in order to obtain a feasible operation sequence.

4. A Genetic Crow Search Algorithm (GCSA) for Optimization of Operation Sequencing

4.1. Crow Search Algorithm

Crow search algorithm (CSA) was introduced in 2016 by Askarzadeh [21]. Its inspiration is derived from the crows’ intelligent behavior exhibited in their ability to hide food and use memory to recall and restore the food when necessary.
Generally, crows are considered as one of the most intelligent living organisms on the planet, with many distinctive attributes such as self-awareness, sophisticated communication, face remembrance, food hiding, memorization, thievery, thievery avoidance and so on.
Their well-known greediness and cleverness is particularly demonstrated in situations when they observe other crow’s movement with the purpose of finding better source of food and steal it once they are gone. Afterwards, crow thieves make sure they hide the stolen food and therefore avoid being victims of thievery as the previous owners. Another important element of cleverness is reflected in the fact that a crow can find out when the other crow is following it. Then, the crow that is being followed can fool the other crow by changing the direction of their flight.
From a computational point of view, the CSA algorithm is a population-based optimization algorithm which utilizes some of the exhibited crow’s intelligence. A flock of crows may consider a population of search agents N where each crow i has its position x i i t at iteration it. Every crow in a flock can memorize its hiding place whose position can be denoted as m i i t . Similar to the personal best position (local best) of each particle in the PSO algorithm, the CSA considers the memory M i i t the best food source (hiding place) the crow i found so far. Flying around the search space and moving towards another crow’s hiding place helps crows to update their position and memory and possibly find a better food source. Two important states are possible when crow i tries to steal hidden food of crow j:
State 1: Crow j is not aware that is followed by crow i, resulting in the situation when crow i successfully commits thievery by moving towards the hiding place of crow j using the following expression:
X i it + 1 = X i it + rand i × fl × M j it M i it
where X i i t . and X i i t + 1 are positions of the crow i in iterations it and it + 1 respectively, r a n d i stands for a random number between 0 and 1, f l is flight length of crow and M i i t and M i i j are memorized positions of crow i and crow j respectively.
State 2: Crow j realizes that it is followed by crow i and fools crow i by choosing a new position randomly in order to save its food:
X i it + 1 = X i it + 1 = X i it + rand i × fl × M j it M i it               if   rand j A P a   random   position                                                       otherwise
where r a n d j denotes a random number in range [0,1] and AP is awareness probability.
Two most important parameters of the flight length and the awareness probability. The role of the flight length parameter f l is to achieve equilibrium between local and the global search. Small values direct the search towards the local optimum (close to X i i t ) and large values prone towards the global optimum (away from X i i t ) . Awareness probability AP also has the similar role in balancing intensification and diversification. Just as for the flight length, small values of A P increase local search capacity, and evidently, larger values emphasize global search capacity.

4.2. GCSA Methodology

The traditional CSA has been implemented mostly on continuous optimization problems with a small number of research studies done on their application in combinatorial optimization. Huang et al. [22] proposed a hybrid HCSA approach to solve the NP hard permutation flow shop scheduling problem (PFSP). They used several techniques to minimize the makespan of the PFSP, such as the smallest position value (SVP) rules to convert continuous to discrete values or job numbers, Nawaz-Enscore-Ham technique to generate a population of quality individuals and simulated annealing and variable neighborhood search algorithms to maintain the diversity of solution throughout the search process. Laabadi et al. [23] used the binary CSA to solve the two-dimensional bin packaging problem, which is also an NP-hard combinatorial problem. This approach utilizes a sigmoid function for mapping real-valued solution into binary ones and specific knowledge repair operator to improve diversity and restore feasibility of infeasible solutions.
The issues of the CSA are mostly expressed by low convergence rate and entrapment in the local optima, as reported in Shirke and Udayakumar [24]. Fine tuning of the algorithm and modifications performed by various authors significantly boosted the performances of the CSA. In our study, we attempt to improve the traditional CSA in order to solve the NP hard process planning optimization problem. Therefore, we introduce a hybridized approach based on the CSA and the main components of the GA. Moreover, adaptive probability coefficients for scaling crossover and mutation operators are included to achieve the trade-off between exploration and exploitation, Dou et al. [4]. The steps of the GCSA approach are depicted on the flowchart in Figure 3.
After initializing the starting parameters of both CSA and GA, the next step is to generate population of feasible individuals using vector-based representation that presents operation sequence, machine, tool and TAD vectors as components of a single process plan. Vectors representing positions of crows in a search space are then evaluated using fitness function described in Section 4.3. They are memorized as the best local solutions found so far by each crow, after which the best solution in the flock is stored. The main loop of the GCSA starts with the standard CSA steps described by Equations (1) and (2). After these steps, the nearest resource mechanism is employed to round the resulting vector elements to the nearest integers, according to the available machine, tool and TAD candidates. The process continues with the genetic strategies which are utilized to improve diversification of search process. Here, we adopted tournament selection, 3SX crossover operator and two mutation operators, shift and resource mutation. Repair mechanism is required after the initialization stage and shift mutation to ensure feasibility of crow individuals. Then, the GCSA steps continue with the evaluation of objective function and the update of crow’s memory and the best solution (global). The search finishes after a predefined number of iterations. In the following sections, some steps are expressed in a more detailed manner.

4.3. Evaluation Criterion of the Operation Sequencing Problem

Numerous studies conducted to this day have taken into account two most common evaluation criteria for operation sequencing, manufacturing (production) time and cost. According to [6,8], detailed information about tool paths and machining parameters is not available and therefore it is not possible to accurately determine the machining cost and machining time. Hence, the total cost of production is adopted as the optimization criterion in this research. The total production cost with weight coefficients consists of the five cost factors:
(1)
Total machine cost (TMC) — the total sum of costs of used machines where machine cost indices denote the constant cost values for each machine.
(2)
Total tool cost (TTC) — the total sum of costs of used cutting tools, where tool cost indices denote the constant cost values for each tool.
(3)
Total machine change cost (TMCC)—the product of the number of machine changes and machine change cost indices, which denote the cost values of machine replacement.
(4)
Total tool change cost (TTCC)—the product of the number of tool changes and tool change cost indices, which denote the constant cost values of tool replacement.
(5)
Total setup cost (TSC)—the product of the number of setup changes and setup change cost indices which denote the constant cost values of a single machine setup.
The full description of all cost factors can be found in [4,5,6,7,8,11,14]. The total weighted production cost (TWPC) finally represents the sum of these five cost factors:
T W P C   =   w 1 · T M C + w 2 · T T C + w 3 · T M C C +   w 4 · T T C C + w 5 ·   T S C
where w1w5 are the corresponding weight coefficients of cost factors.

4.4. Nearest Resource Mechanism

After the main CSA steps in the GCSA approach, the values in position vectors of crow individuals are not positive integers and the next step is to convert the real values obtained by the CSA to the closest number that matches an appropriate machine, tool or TAD candidate from the set. Here, we present the nearest resource mechanism to perform the round-off procedure and assure the newly generated positions are ready for the next stage. Besides the machine and the tool vectors, the TAD position vector is represented using integer values that match the appropriate directions which are denoted as letters with negative or positive signs. In Algorithm 1 below, we show the pseudocode of the most important steps of the nearest resource mechanism. The mechanism in this example is applied to machine vector, although the principle is the same for tool and TAD vectors.
Algorithm 1. The nearest machine mechanism
Machines{} – set of all machine candidates for each operation
currentMachine – current machine candidate
currentOperation – current operation in a process plan
diff = |Machines{currentOperation} – currentMachine|
for i = 1: number of operations
   if currentMachine > Machines{ currentOperation }
      for j = 1: diff
         check if the set Machines{currentOperation} contains
         |currentMachine – diff (j)|
            Use |currentMachine – diff (j)| as a machine candidate;
         else
            continue loop;
         end if
      end for
   elseif currentMachine < Machines{ currentOperation }
      for j = 1: diff
         check if the set Machines{currentOperation} contains
         |currentMachine + diff (j)|
            Use |currentMachine + diff (j)| as a machine candidate;
         else
            continue loop;
         end if
      end for
   else
      for j = 1: diff
         check if the set Machines{currentOperation} contains
         |currentMachine - diff (j)|
            Use |currentMachine - diff (j)| as a machine candidate;
         elseif the set Machines{currentOperation} contains
         |currentMachine + diff (j)|
            Use |currentMachine + diff (j)| as a machine candidate;
         end if
      end for
   end if
end for

4.5. Genetic Components of the GCSA Approach

When producing a new generation of individuals, selection, crossover and mutation represent the crucial components of genetic algorithms. By mimicking the process of natural selection, they enable a population of solutions to evolve during a certain number of generations.
The first step in this process is a selection. A tournament selection operator has been adopted in this study. A few crow individuals from the flock are randomly selected to participate in the “tournament” and the crow individual with the highest fitness value wins the “tournament” and becomes a part of a new flock that consists of the best crow individuals that had previously won the competition.
The selection step is followed by the crossover operator whose purpose is to provide information exchange between two crow individuals from a flock. In this case, the three-string crossover (3SX) proposed by Falih and Shammari [5] was adopted. The 3SX operator affects only resource vectors, e.g., machine, tool and TAD vector respectively, leaving the operation sequence vector untouched and thereby assuring the feasibility of a process plan. The following steps characterize the 3SX crossover operator:
(1)
Two crows from a new flock are randomly selected as parent crows;
(2)
From random cutting point, two parent crows are divided into sections to produce two child crows;
(3)
Resources (machines, tools and TADs) from the right section of child crow 1 are replaced by resources of the same operations from parent crow 2;
(4)
Following the same pattern, resources in the right section of child crow 2 are replaced by resources of the same operations from parent crow 1.
Figure 4 illustrates the 3SX crossover operator applied on the 7-gene length crow individual, with a random cutting point between the 4th and 5th operation index.
Mutation strategies bring a finishing touch to the genetic process of producing new and fitter individuals. They aim to make further improvements in diversification and avoid premature convergence of the algorithm. The first mutation operator used within the GCSA approach is the shift mutation illustrated in Figure 5. A single crow individual is randomly selected from a newly formed flock of crows and two genes (operations with its resources) are randomly selected for exchange. After exchanging the two, some of the precedence constraints may be violated, which affects the operation sequence and therefore the feasibility of a process plan. In that case, the repair mechanism has to be employed to ensure all the crows represent feasible individuals. The same mechanism is applied after the initialization stage of the GCSA. We adopted an approach similar to the constraint handling heuristic proposed by Huang et al. [11].
The second mutation operator is the resource mutation which, similarly to the 3SX crossover operator, operates on resource vectors, machine, tool and TAD vector respectively. The feasibility of operation sequence is therefore not questioned. The following are the steps of the resource mutation operator illustrated in Figure 6:
(1)
Randomly select a crow individual;
(2)
Randomly select the mutation point, i.e., operation with its index;
(3)
Check available machines in the Machines{} for selected operation;
(4)
Randomly select a machine from the Machines{} as the current machine;
(5)
Identify other operations that have the same machine alternative in the Machines{}.
(6)
Assign the same machine alternative as the current machine for other operations.
(7)
Repeat the same steps for tool and TAD vectors using the Tool{} and the TADs{} sets.
As reported by Dou et al. [4], fixed operators have shown to be less effective comparing to the adaptable operators, whose values vary in response to the fitness of individuals. To additionally improve search abilities of the GCSA, we included adaptive crossover and mutation probabilities:
p c = k c 1 · f max f i · f max f avg + k c 2
p m = k m 1 · f max f i · f max f avg + k m 2
where f m a x and f a v g are the maximal and the average fitness value among all crow individuals in the flock, f i is the fitness of the current crow individual and k c 1 , k c 2 , k m 1 , k m 2 are specific probability scale factors for crossover and mutation operators, respectively.

5. Case Studies

In this paper, two experimental models are used to verify the feasibility and efficiency of the proposed GCSA optimization approach, which was coded using MATLAB environment and executed on a 1.99 GHz Intel i7 processor and 8 GB RAM computer. The first case study, which represents a common test example in process planning optimization, considers the prismatic part that was initially proposed by Guo et al. [25]. It contains 14 recognized machining features and 20 selected operations. The significant manufacturing information concerning features, operations, resources as well as precedence constraints is given in Table 2. The 3D solid model with the corresponding operation precedence graph (OPG) are shown in Figure 7.
The second case study considers a complex part taken from Huang et al. [8] that consists of 28 machining features and a total of 46 machining operations. Its main manufacturing information is given in details in Table 3. The solid model of this complex part with the corresponding OPG are represented in Figure 8. The cost indices for both Part 1 and Part 2 are given in Table 4.

5.1. Parameter Settings

In order to achieve the best possible parameter settings for the GCSA approach, we applied the Taguchi design of experiments to optimize the input parameters. The Taguchi design of experiments uses orthogonal arrays to obtain a certain number of experiments that can provide information of all factors that affect the performance of some process as expressed by Dou et al. [4]. Based on the input parameters of the GCSA and appropriate levels of variations, an experimental design matrix was formed using the standard L32 Taguchi orthogonal array with 32 experimental trials. In the mentioned case studies at the input of the experimental design, the following GCSA parameters are varied: maximal number of iterations, flock size, awareness probability, flight length, tournament size and scale factors k c 1 , k c 2 , k m 1 and k m 2 . Accuracy is increased by repeating every experiment 20 times. Therefore, the average result, the minimal result and the maximal result are used as the output parameters.
Since the two cases significantly differ in dimensions, we formed two different experimental designs in terms of levels of variation to optimize the GCSA parameters for both. In that sense, the adopted levels of variation of Part 1 are: maximal number of iterations [400,1000], flock size [60,120], tournament size [2,5], k c 1   [0.6, 0.9], k c 2   [0.3, 0.6], k m 1   [0.3, 0.6] and k m 2   [0.1, 0.3]. In order to reduce the number of experiments, we applied L 32 ( 2 9 ) orthogonal array, where 32 experiments are sufficient to make a conclusion. Full factorial design would require 8192 experiments to identify the effectiveness of parameters.
The adopted levels of variation of Part 2 are these: maximal number of iterations [1000,2000], flock size [80,100], awareness probability [0.2, 0.8], flight length [0.5, 2.5], tournament size [3, 5], kc1 [0.6, 0.9], km1 [0.3, 0.7] and km2 [0.1, 0.3]. In this design, the same L32 (29) orthogonal array with 32 experiments is used. Table 5 shows the optimal GCSA parameter settings for two case studies after the response optimization using Taguchi experimental design and Minitab statistical tool.

5.2. Computational Results and Analysis

To verify the flexibility and feasibility of the GCSA approach, we proposed two case studies with several conditions. The obtained results for each condition are discussed and the feasibility of this algorithm is verified by performing comparisons with traditional and modern algorithms.
For Part 1 proposed by Guo et al. [25], the optimized parameter settings shown in Table 5 is adopted. Using these parameter settings, Part 1 was considered for three different conditions:
(1)
All manufacturing resources are available.
(2)
Tool costs and tool cost changes are excluded.
(3)
Same as the second with machine 2 and tool 8 not available.
The calculation results were obtained for each of the defined conditions and the best process schemes with minimized production cost are shown in Table 6. To present the experimental results more clearly, the comparison with results obtained by traditional and modern approaches from the literature is shown in Table 7 and includes the following comparative algorithms: IWD by Gao et al. [6], CPAGA by Falih and Shammari [5], HBMO by Wen et al. [14] and GA, SA and TS results also adopted from Wen et al. [14]. The GCSA was run 20 times to verify the consistency of the obtained results. For the first condition, the minimal production cost achieved by the GCSA is 2502, which appeared 9 times. The next minimal cost is 2507 which appeared in 7 runs of the GCSA. In terms of the minimal and the average TWPC (2507 and 2516,9), according to comparative results in Table 7, it can be concluded that the GCSA outperforms other approaches, traditional and modern ones. The worst result obtained by the GCSA slightly deviates from several algorithms in this comparison. As far as the second and third conditions are concerned, the GCSA showed similar performances. For the second condition, the minimal, the maximal and the average values of the TWPC are 2020, 2080 and 2047, respectively. In comparison with other approaches, the GCSA proved its superiority regarding all three statistical parameters. For the third condition, the TWPC of 2500 appeared 20 times in 20 runs, making it the most consistent result in this study. Apart from the CPAGA, other approaches did not show similar performances. All the results from Table 7 are graphically depicted in column charts presented in Figure 9. The x-axis shows the minimal, the maximal and the average result obtained by each algorithm in the comparative study, while the y-axis shows the values of the TWPC.
In the second study for Part 2 reported by Huang et al. [8], the optimized parameter settings also given in Table 5 are used. Since this part model has been recently proposed in scientific community, only two relevant approaches tested on this model can be adopted. The comparative results between the GCA with the CPAGA by Falih and Shammari [5] and GA-SA by Huang et al. [8] are shown in Table 7. Part 2 was carried out using two conditions:
(1)
All manufacturing resources are available.
(2)
Machines 3 and 7 and tool 8 are down.
For both conditions, the results are obtained after 20 runs. Under the first condition, the minimal TWPC is 4135, along with 4136 and 4137 which were the closest to the minimum. The average result is 4306.5, while the worst result is 4496. Only twice was the obtained TWPC above 4400, while all the other results were close to the average with four process plans reaching the TWPC below 4200. The GCSA achieved more superior result in terms of the minimal TWPC compared to the CPAGA and the GA-SA, while it showed slightly lower maximal and approximately the same average result compared to the CPAGA approach. The best solution for this condition is presented in Table 8.
Under the second condition, the best, the worst and the average TWPC using the GCSA are 4338, 4924 and 4544.7, respectively. The minimal result appeared three times in 20 runs, with more than half of the obtained TWPC being less than 4600. The best process plan for this condition is given in Table 9. Based on the comparative results in Table 7, a similar conclusion can be made as for the first condition. The GCSA overcome the results of the CPAGA and GA-SA in terms of the minimal TWPC. A smaller and larger deviation was shown in terms of the average and the maximal value, respectively. The graphical representation of the comparison with the two observed approaches is given in Figure 10.

6. Conclusions

This paper proposed a genetic crow search algorithm (GCSA) approach to deal with the operation sequencing problem in computer-aided process planning. The traditional CSA algorithm was improved using genetic components of the GA, such as tournament selection, three-string crossover, shift mutation and resource mutation strategies which were employed to balance exploration and exploitation capabilities of the GCSA. Adaptive crossover and mutation probability coefficients were also added for that purpose. The OPG graphs were introduced to represent precedence relationships among operations within a sequence, and the vector representation was adopted to manipulate the data in Matlab programming environment. The nearest resource mechanism was proposed to apply the round-off procedure after the main CSA steps. In order to assure the feasibility of crow individuals, the repair mechanism was employed after the initialization stage and after the shift mutation. In the experimental stage, two dimensionally different case studies were adopted to test the performances and flexibility of the GCSA. The adopted evaluation criterion of the operation sequencing problem was the total production cost. For several conditions, the GCSA was tested and compared with the performances of other algorithms from the literature. The comparative results are presented in tables and graphs and the GCSA showed good performances for two case studies.
As far as future work is concerned, additional modifications of the proposed GCSA approach can be made to further increase global ability of the GCSA and improve the consistency of the obtained results. Moreover, ways of including relevant information about machining parameters into operation sequencing optimization should be considered. In addition, the focus can also be on further enriching the comparative analysis by taking into consideration various other metaheuristics, hybrid algorithms and optimization methods. Finally, directions toward incorporating CSA with different heuristic mechanisms and metaheuristics other than genetic algorithms will be taken into account.

Author Contributions

Conceptualization, M.D. and M.M.; methodology, M.D., M.M. and R.C.; software D.L., B.P. and A.A.; validation, B.P. and M.D.; writing—original draft preparation, M.D. and M.M.; writing—review and editing, M.M. and D.L.; supervision R.C. and A.A. All authors have read and agreed to the published version of the manuscript.

Funding

This paper is part of a research on the projects: “Application of smart manufacturing methods in Industry 4.0”, No.142-451-3173/2020, supported by Provincial Secretariat for Higher Education and Scientific Research of the Autonomous Province of Vojvodina and “Innovative scientific and artistic research from the FTS domain”, No.451-03-68/2020-14/200156, supported by the Ministry of Education, Science and Technological Development of the Republic of Serbia.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data sharing is not applicable to this article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Xu, X.; Wang, L.; Newman, S.T. Computer-aided process planning—A critical review of recent developments and future trends. Int. J. Comput. Integr. Manuf. 2011, 24, 1–31. [Google Scholar] [CrossRef]
  2. Lukić, D.; Milošević, M.; Erić, M.; Đurđev, M.; Vukman, J.; Antić, A. Improving Manufacturing Process Planning Through the Optimization of Operation Sequencing. Mach. Des. 2017, 9, 123–132. [Google Scholar] [CrossRef]
  3. Denkena, B.; Shpitalni, M.; Kowalski, P.; Molcho, G.; Zipori, Y. Knowledge Management in Process Planning. CIRP Ann. 2007, 56, 175–180. [Google Scholar] [CrossRef]
  4. Dou, J.; Li, J.; Su, C. A discrete particle swarm optimisation for operation sequencing in CAPP. Int. J. Prod. Res. 2018, 56, 3795–3814. [Google Scholar] [CrossRef]
  5. Falih, A.; Shammari, A.Z.M. Hybrid constrained permutation algorithm and genetic algorithm for process planning problem. J. Intell. Manuf. 2020, 31, 1079–1099. [Google Scholar] [CrossRef]
  6. Gao, B.; Hu, X.; Peng, Z.; Song, Y. Application of intelligent water drop algorithm in process planning optimization. Int. J. Adv. Manuf. Technol. 2020, 106, 5199–5211. [Google Scholar] [CrossRef]
  7. Petrović, M.; Mitić, M.; Vuković, N.; Miljković, Z. Chaotic particle swarm optimization algorithm for flexible process planning. Int. J. Adv. Manuf. Technol. 2016, 85, 2535–2555. [Google Scholar] [CrossRef]
  8. Huang, W.; Lin, W.; Xu, S. Application of graph theory and hybrid GA-SA for operation sequencing in a dynamic workshop environment. Comput. Aided Des. Appl. 2017, 14, 148–159. [Google Scholar] [CrossRef]
  9. Milošević, M.; Đurđev, M.; Lukić, D.; Antić, A.; Ungureanu, N. Intelligent Process Planning for Smart Factory and Smart Manufacturing. In Proceedings of the 5th International Conference on the Industry 4.0 Model for Advanced Manufacturing; Springer: Cham, Switzerland, 2020; pp. 205–214. [Google Scholar] [CrossRef]
  10. Wang, Y.F.; Zhang, Y.F.; Fuh, J.Y.H. A hybrid particle swarm based method for process planning optimisation. Int. J. Prod. Res. 2012, 50, 277–292. [Google Scholar] [CrossRef]
  11. Huang, W.; Hu, Y.; Cai, L. An effective hybrid graph and genetic algorithm approach to process planning optimization for prismatic parts. Int. J. Adv. Manuf. Technol. 2012, 62, 1219–1232. [Google Scholar] [CrossRef]
  12. Lian, K.; Zhang, C.; Shao, X.; Gao, L. Optimization of process planning with various flexibilities using an imperialist competitive algorithm. Int. J. Adv. Manuf. Technol. 2012, 59, 815–828. [Google Scholar] [CrossRef]
  13. Liu, X.-j.; Yi, H.; Ni, Z.-h. Application of ant colony optimization algorithm in process planning optimization. J. Intell. Manuf. 2013, 24, 1–13. [Google Scholar] [CrossRef]
  14. Wen, X.-y.; Li, X.-y.; Gao, L.; Sang, H.-y. Honey bees mating optimization algorithm for process planning problem. J. Intell. Manuf. 2014, 25, 459–472. [Google Scholar] [CrossRef]
  15. Wang, J.; Wu, X.; Fan, X. A two-stage ant colony optimization approach based on a directed graph for process planning. Int. J. Adv. Manuf. Technol. 2015, 80, 839–850. [Google Scholar] [CrossRef]
  16. Hu, Q.; Qiao, L.; Peng, G. An ant colony approach to operation sequencing optimization in process planning. Proc. Inst. Mech. Eng. Part B J. Eng. Manuf. 2017, 231, 470–489. [Google Scholar] [CrossRef]
  17. Su, Y.; Chu, X.; Chen, D.; Sun, X. A genetic algorithm for operation sequencing in CAPP using edge selection based encoding strategy. J. Intell. Manuf. 2018, 29, 313–332. [Google Scholar] [CrossRef]
  18. Liu, Q.; Li, X.; Gao, L. Mathematical modeling and a hybrid evolutionary algorithm for process planning. J. Intell. Manuf. 2020. [Google Scholar] [CrossRef]
  19. Jiang, S.; Cao, J.; Wu, H.; Yang, Y. Fairness-based Packing of Industrial IoT Data in Permissioned Blockchains. IEEE Trans. Ind. Inform. 2020, 1. [Google Scholar] [CrossRef]
  20. Li, W.; Ong, S.; Nee, A.Y.C. Integrated and Collaborative Product Development Environment: Technologies and Implementations; World Scientific: Singapore, 2006; Volume 2. [Google Scholar] [CrossRef]
  21. Askarzadeh, A. A novel metaheuristic method for solving constrained engineering optimization problems: Crow search algorithm. Comput. Struct. 2016, 169, 1–12. [Google Scholar] [CrossRef]
  22. Huang, K.-W.; Girsang, A.S.; Wu, Z.-X.; Chuang, Y.-W. A Hybrid Crow Search Algorithm for Solving Permutation Flow Shop Scheduling Problems. Appl. Sci. 2019, 9, 1353. [Google Scholar] [CrossRef] [Green Version]
  23. Laabadi, S.; Naimi, M.; Amri, H.E.; Achchab, B. A Binary Crow Search Algorithm for Solving Two-dimensional Bin Packing Problem with Fixed Orientation. Procedia Comput. Sci. 2020, 167, 809–818. [Google Scholar] [CrossRef]
  24. Shirke, S.; Udayakumar, R. Evaluation of Crow Search Algorithm (CSA) for Optimization in Discrete Applications. In Proceedings of the 2019 3rd International Conference on Trends in Electronics and Informatics (ICOEI), Tirunelveli, India, 23–25 April 2019; pp. 584–589. [Google Scholar] [CrossRef]
  25. Guo, Y.W.; Mileham, A.R.; Owen, G.W.; Li, W.D. Operation sequencing optimization using a particle swarm optimization approach. Proc. Inst. Mech. Eng. Part B J. Eng. Manuf. 2006, 220, 1945–1958. [Google Scholar] [CrossRef]
Figure 1. Representation of an operation sequence.
Figure 1. Representation of an operation sequence.
Applsci 11 01981 g001
Figure 2. Operation precedence graph and precedence matrix.
Figure 2. Operation precedence graph and precedence matrix.
Applsci 11 01981 g002
Figure 3. Flowchart of the genetic crow search algorithm (GCSA) for optimization of operation sequencing.
Figure 3. Flowchart of the genetic crow search algorithm (GCSA) for optimization of operation sequencing.
Applsci 11 01981 g003
Figure 4. 3SX crossover operator.
Figure 4. 3SX crossover operator.
Applsci 11 01981 g004
Figure 5. Shift mutation operator.
Figure 5. Shift mutation operator.
Applsci 11 01981 g005
Figure 6. Resource mutation operator.
Figure 6. Resource mutation operator.
Applsci 11 01981 g006
Figure 7. (a) Solid model and (b) the OPG of Part 1 with 20 operations.
Figure 7. (a) Solid model and (b) the OPG of Part 1 with 20 operations.
Applsci 11 01981 g007
Figure 8. (a) Solid model and (b) the OPG of Part 1 with 46 operations.
Figure 8. (a) Solid model and (b) the OPG of Part 1 with 46 operations.
Applsci 11 01981 g008
Figure 9. Comparison of the results under (a) condition 1, (b) condition 2 and (c) condition 3 for Part 1.
Figure 9. Comparison of the results under (a) condition 1, (b) condition 2 and (c) condition 3 for Part 1.
Applsci 11 01981 g009
Figure 10. Comparison of the results under (a) condition 1 and (b) condition 2 for Part 2.
Figure 10. Comparison of the results under (a) condition 1 and (b) condition 2 for Part 2.
Applsci 11 01981 g010
Table 1. Data types of the operation sequencing variables.
Table 1. Data types of the operation sequencing variables.
Data TypesVariablesDescription
doubleOperation[n]The ID of the operation as a part of an operation sequence
doubleMachines[n]The ID of the machine as a part of a machine vector of n machines for performing n operations
doubleTools[n]The ID of the tool as a part of a tool vector of n tools for performing n operations
doubleTADs[n]The ID of the cutting tool as a part of a TAD vector of n TADs for performing n operations
cellMachines{n}Array of machine candidates list for n cells with each cell containing alternative machines for the n-th operation
cellTADs{n}Array of tool candidates list for n cells where each cell contains alternative tools for the n-th operation
cellTools{n}Array of TAD candidates list for n cells where each cell contains alternative TADs for the n-th operation
Table 2. Features, operations, resource alternatives and predecessors of Part 1.
Table 2. Features, operations, resource alternatives and predecessors of Part 1.
Feature DefinitionOperationsMachines{}Tools{}TADs{}Predecessors
F1—A planar surfaceMilling (o1)m2,m3t6,t7,t8+z
F2—A planar surfaceMilling (o2)m2,m3t6,t7,t8-zo1
F3—Two pockets arranged as a replicated featureMilling (o3)m2,m3t6,t7,t8+xo1
F4—Four holes arranged as a replicated featureDrilling (o4)m1,m2,m3t2+z,-zo1,o5,o18
F5—A stepMilling (o5)m2,m3t6,t7+x,-zo1
F6—A ribMilling (o6)m2,m3t7,t8+y,-zo1
F7—A bossMilling (o7)m2,m3t7,t8-ao1, o5
F8—A compound holeDrilling (o8)m1,m2,m3t2,t3,t4-ao1, o7
Reaming (o9)m1,m2,m3t9o1, o7, o8
Boring (o10)m2,m3t10o1, o7, o8, o9
F9—A ribMilling (o11)m2,m3t7,t8-y,-zo1
F10—A compound holeDrilling (o12)m1,m2,m3t2,t3,t4-zo1, o2, o6, o11
Reaming (o13)m1,m2,m3t9o1, o2, o6, o11, o12
Boring (o14)m3,m4t10o1, o2, o6, o11, o12, o13
F11—Nine holes arranged as a replicated featureDrilling (o15)Tapping (o16)m1,m2,m3t1-zo1, o2, o12, o13, o14
m1,m2,m3t5o1, o2, o12, o13, o14, o15
F12—A pocketMilling (o17)m2,m3t7,t8-xo1, o18
F13—A stepMilling (o18)m2,m3t6, t7-x,-zo1
F14—A compound holeReaming (o19)m1,m2,m3t9+zo1, o12
Boring (o20)m3,m4t10o1, o12, o19
Table 3. Features, operations, resource alternatives and predecessors of Part 2.
Table 3. Features, operations, resource alternatives and predecessors of Part 2.
Feature DefinitionOperationsMachines{}Tools{}TADs{}Predecessors
F1—Flat surfaceRough turning (o1)m1,m2t1,t2,t3+z
Half-finished turning (o2)m2t1,t2,t3+zo1,o22
Finished turning (o3)m2t1,t2,t3+zo1,o22,o2
F2—Bearing holeRough boring (o4)m7, m8t4-y,+yo1,o22,o2,o3,o27
Half-finished boring (o5)m6,m7,m8t5-y,+yo1,o22,o2,o3,o27, o4
Finished boring (o6)m6,m7,m8t5-y,+yo1,o22,o2,o3,o27, o4,o5
F3—Angular surfaceRough milling (o7)m5,m7,m8t7,t8,t9-ao1,o22,o2,o3,o27, o4
Finished milling (o8)m3,m4,m6t7,t8,t9-ao1,o22,o2,o3,o28, o31,o32,o33
F4—Four bossesRough milling (o9)m3,m4,m5t8,t9+zo1,o22
F5—Plane 1Rough milling (o10)m3,m4,m5t8,t9-zo1
F6—Top bossRough milling (o11)m3,m4,m5t8,t9-zo1
Finished milling (o12)m4,m5t8,t9-zo1,o22,o2,o3,o11
F7—Six bossesRough milling (o13)m3,m4,m5t8,t9-zo1
F8—Plane 2Rough milling (o14)m3,m4,m5t8,t9-zo1
F9—Top window surfaceRough milling (o15)m3,m4,m5t7,t8-zo1,o22,o2,o3
Finished milling (o16)m3,m4,m5t7,t8-zo1,o22,o2,o3,o15
F10—Inclined plane 1Rough milling (o17)m3,m4,m6,m7t7,t8-bo1,o22,o2,o3
Finished milling (o18)m3,m4,m6,m7t7,t8-bo1,o22,o2,o3,o17
F11—Inclined plane 2Rough milling (o19)m3,m4,m6,m7t7,t8-bo1,o22,o2,o3
Finished milling (o20)m3,m4,m6,m7t7,t8-bo1,o22,o2,o3,o19
F12—The top holesDrilling (o21)m9,m10t10-z,+zo1,o22,o2,o3,o12, o9
F13—Top planeRough milling (o22)m4,m5t7,t8,t9-zo1
F14—Counterbore holeSpot facing (o23)m9,m10t20-zo1,o22,o2,o3,o27
F15—∅18H7 holeDrilling (o24)m9,m10t11+zo1,o22,o2,o3
Reaming (o25)m9,m10t22+zo1,o22,o2,o3,o34
F16—2-∅12.5 holeDrilling (o26)m9,m10t12+zo1,o22,o2,o3
F17—12-∅21 holeDrilling (o27)m9,m10t13+zo1,o22,o2,o3
F18—18-∅17 holeDrilling (o28)m9,m10t14+zo1,o22,o2,o3
F19—Side holeRough boring (o29)m7,m8t6-yo1,o22,o2,o3
Finish boring (o30)m6,m7,m8t6-yo1,o22,o2,o3,o29
F20—5-∅20 holeDrilling (o31)m7,m8, m9,m10t15-ao1,o22,o2,o3,o7, o28
F21—24-∅8 holeDrilling (o32)m7,m8,m9,m10t16-ao1,o22,o2,o3,o7,o28
Tapping (o33) m7,m8,m9,m10t23-ao1,o22,o2,o3,o7, o28,o32
F22—Oil passage hole 1Reaming (o34)m6,m7,m8t28-co1,o22
Tapping (o35)m6,m7,m8t24-co1,o22,o34
F23—Oil passage hole 2Drilling (o36)m6,m7,m8t17-co1,o22
Tapping (o37)m6,m7,m8t25-co1,o22,o36
F24—∅23 Counterbore holeSpot facing (o38)m3,m4,m9,m10t21-zo1,o22,o2,o3,o24,o25
F25—Holes in inclined plane 1Drilling (o39)m9,m10t18-bo1,o22,o2,o3,o17, o18,o27,o4
Tapping (o40)m9,m10t26-bo1,o22,o2,o3,o17, o18,o27,o4,o39
F26—Holes in inclined plane 2Drilling (o41)m9,m10t18-bo1,o22,o2,o3,o29, o19,o20
Tapping (o42)m9,m10t26-bo1,o22,o2,o3,o29, o19,o20,o41
F27—Top holesDrilling (o43)m3,m4,m9,m10t18-zo1,o22,o2,o3,o15, o16
Tapping (o44)m3,m4,m9,m10t26-zo1,o22,o2,o3,o15,o16,o43
F28—Oil passage hole 3Drilling (o45)m6,m7,m8t19-xo1,o22,o2,o3,o28
Tapping (o46)m6,m7,m8t27-xo1,o22,o2,o3,o28, o45
Table 4. The cost indices of Part 1 and Part 2.
Table 4. The cost indices of Part 1 and Part 2.
Part 1Part 2
Cost per use
MMCTTCMMCTTCTTC
m110t17m125t15t154
m240t25m245t26t163
m3100t33m350t37t174
m460t48m455t412t182
t57m520t513t192
t610m680t69t204
t715m745t78t213
t830m848t89t225
t915m916t910t233
t1020m1018t104t244
t114t254
t123t263
t134t274
t143t283
Cost per change
MCCI = 160
SCCI = 100
TCCI = 20
MCCI = 120
SCCI = 90
TCCI = 15
Table 5. The optimal parameter settings of the GCSA approach.
Table 5. The optimal parameter settings of the GCSA approach.
Case StudyMaxIterFlockSizeAPflTourSizekc1kc2km1km2
Part 110001000.80.750.80.60.30.3
Part 22000800.80.550.860.20.30.3
Table 6. The best process plans for Part 1 under three different conditions.
Table 6. The best process plans for Part 1 under three different conditions.
Condition 1
Operation1531821161741213197891020141516
Machine22222222222222244411
Tool66666777229974910101015
TAD+z+x+x-z-z-z-z-z-z-z-z+z-a-a-a-a+z-z-z-z
TMC = 800, TMCC = 320, NMC = 2, TTC = 247, TTCC = 180, NTC = 9, TSC = 900, NSC = 9, TWPC = 2447
TMCC—Total machine change cost; NMC—Number of machine changes; TTCC—Total tool change cost; NTC—Number of tool changes; NSC—Number of setup changes
Condition 2
Operation1618175211124137893192010141516
Machine22222222222222244411
Tool77776884298496910101015
TAD+z-z-z-z-z-z-z-z-z-z-a-a-a+x+z+z-a-z-z-z
TMC = 800, TMCC = 320, NMC = 2, TSC = 900, NSC = 9, TWPC = 2020
Condition 3
Operation1357891026111812171314151641920
Machine33333333333333333333
Tool66674910677647910152910
TAD+z+x+x-a-a-a-a-z-z-z-z-z-z-z-z-z-z-z+z+z
TMC = 2000, TMCC = 0, NMC = 0, TCTC = 250, TCTCC = 3200, NCTC = 16, TSC = 500, NSC = 5, TWPC = 2500
Table 7. The results of the GCSA compared to other algorithms for two case studies.
Table 7. The results of the GCSA compared to other algorithms for two case studies.
Part 1Condition 1Condition 2Condition 3
MinMaxAvgMinMaxAvgMinMaxAvg
GCSA*250227002516,9202020802047250025002500
IWD, Gao et al. [6] 252725542553,5209023802123259027402615,3
CPAGA, Falih and Shammari [5]253025352530,5209020902090250025002500
HBMO, Wen et al. [14]252525572543,5209021202098259026002592,4
GA, Wen et al. [14]266728852796222025802370260028402705
SA, Wen et al. [14]253528292668,5212023802287259027402630
TS, Wen et al. [14]252726902609,6212023902208258027402630
Part 2Condition 1Condition 2
MinMaxAvgMinMaxAvg
GCSA*413544964306,5433849244544,7
CPAGA, Falih and Shammari [5]429943154302450345034503
GA-SA, Huang et al. [8]4368--4450--
Table 8. The best process plans for Part 2 (Condition 1).
Table 8. The best process plans for Part 2 (Condition 1).
Indices12345678910111213141516
Operation1222310111516121413171819209
Machine1522555555555555
Tool1711888888888888
TAD+z-z+z+z-z-z-z-z-z-z-z-b-b-b-b+z
Indices17181920212223242526272829303132
Operation272428262545463637343573233314
Machine9999977777777777
Tool131114122219271725282481623154
TAD+z+z+z+z+z-x-x-c-c-c-c-a-a-a-a-y
Indices3334353637383940414243444546
Operation5629308413940422338434421
Machine77773999999999
Tool55668181826262021182610
TAD-y-y-y-y-a-b-b-b-b-z-z-z-z-z
TMC = 1319, TMCC = 840, NMC = 7, TTC = 281, TTCC = 435, NTC = 29, TSC = 1260, NSC = 14, TWPC = 4135
Table 9. The best process plans for Part 2 (Condition 2).
Table 9. The best process plans for Part 2 (Condition 2).
Indices12345678910111213141516
Operation1222315161114131012924282725
Machine1522555555559999
Tool17117799999911141322
TAD+z-z+z+z-z-z-z-z-z-z-z+z+z+z+z+z
Indices17181920212223242526272829303132
Operation2673132334562930454634353637
Machine9888888888888888
Tool12715162345566192728241725
TAD+z-a-a-a-a-y-y-y-y-y-x-x-c-c-c-c
Indices3334353637383940414243444546
Operation171819208413942404323214438
Machine44444999999999
Tool77777181826261820102621
TAD-b-b-b-b-a-b-b-b-b-z-z-z-z-z
TMC = 1509, TMCC = 840, NMC = 7, TTC = 279, TTCC = 450, NTC = 30, TSC = 1260, NSC = 14, TWPC = 4338
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Djurdjev, M.; Cep, R.; Lukic, D.; Antic, A.; Popovic, B.; Milosevic, M. A Genetic Crow Search Algorithm for Optimization of Operation Sequencing in Process Planning. Appl. Sci. 2021, 11, 1981. https://doi.org/10.3390/app11051981

AMA Style

Djurdjev M, Cep R, Lukic D, Antic A, Popovic B, Milosevic M. A Genetic Crow Search Algorithm for Optimization of Operation Sequencing in Process Planning. Applied Sciences. 2021; 11(5):1981. https://doi.org/10.3390/app11051981

Chicago/Turabian Style

Djurdjev, Mica, Robert Cep, Dejan Lukic, Aco Antic, Branislav Popovic, and Mijodrag Milosevic. 2021. "A Genetic Crow Search Algorithm for Optimization of Operation Sequencing in Process Planning" Applied Sciences 11, no. 5: 1981. https://doi.org/10.3390/app11051981

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