a multi-dimensional tabu search algorithm for the optimization of process planning

9
SCIENCE CHINA Technological Sciences © Science China Press and Springer-Verlag Berlin Heidelberg 2011 tech.scichina.com www.springerlink.com *Corresponding author (email: [email protected]) December 2011 Vol.54 No.12: 3211–3219 doi: 10.1007/s11431-011-4594-7 A multi-dimensional tabu search algorithm for the optimization of process planning LIAN KunLei, ZHANG ChaoYong * , SHAO XinYu & ZENG YaoHui State Key Laboratory of Digital Manufacturing Equipment and Technology, Huazhong University of Science and Technology, Wuhan 430074, China Received August 24, 2011; accepted September 21, 2011; published online November 5, 2011 Computer-aided process planning (CAPP) is an essential component of computer integrated manufacturing (CIM) system. A good process plan can be obtained by optimizing two elements, namely, operation sequence and the machining parameters of machine, tool and tool access direction (TAD) for each operation. This paper proposes a novel optimization strategy for proc- ess planning that considers different dimensions of the problem in parallel. A multi-dimensional tabu search (MDTS) algo- rithm based on this strategy is developed to optimize the four dimensions of a process plan, namely, operation sequence (Op- erSeq), machine sequence (MacSeq), tool sequence (ToolSeq) and tool approach direction sequence (TADSeq), sequentially and iteratively. In order to improve its efficiency and stability, tabu search, which is incorporated into the proposed MDTS al- gorithm, is used to optimize each component of a process plan, and some neighbourhood strategies for different components are presented for this tabu search algorithm. The proposed MDTS algorithm is employed to test four parts with different num- bers of operations taken from the literature and compared with the existing algorithms like genetic algorithm (GA), simulated annealing (SA), tabu search (TS) and particle swarm optimization (PSO). Experimental results show that the developed algo- rithm outperforms these algorithms in terms of solution quality and efficiency. process planning, cooperative tabu search, genetic algorithm, simulated annealing, particle swarm optimization Citation: Lian K L, Zhang C Y, Shao X Y, et al. A multi-dimensional tabu search algorithm for the optimization of process planning. Sci China Tech Sci, 2011, 54: 32113219, doi: 10.1007/s11431-011-4594-7 1 Introduction Computer-aided process planning (CAPP) is an essential component of computer integrated manufacturing (CIM) system [1]. It links Computer Aided Design (CAD) and Computer Aided Manufacturing (CAM) by transforming a product design into a set of instructions (machines, tool, setups, etc.) [2]. During the past three decades, CAPP has received much attention from researchers and numerous CAPP systems have been reported. These developed sys- tems can be generally classified into two categories: variant system and generative system. The variant system utilizes group technology to store a standard part for each part fam- ily that is characterized by similarities in manufacturing methods. Process plans for a new part are created by recall- ing, identifying and retrieving an existing plan developed for a similar part stored in the system and then making nec- essary modifications. In contrast, generation of process plans in a generative system is based on decision logics, formulae, heuristic reasoning and the newly emerged artifi- cial intelligence (AI) technologies. The generative system is attractive for companies with multi-varieties and small- batch products because process plan for a new part can be generated from scratch consistently and automatically. Al- though variant systems are more mature and widely adopted

Upload: kunlei-lian

Post on 14-Jul-2016

214 views

Category:

Documents


1 download

TRANSCRIPT

SCIENCE CHINA Technological Sciences

© Science China Press and Springer-Verlag Berlin Heidelberg 2011 tech.scichina.com www.springerlink.com

*Corresponding author (email: [email protected])

• RESEARCH PAPER • December 2011 Vol.54 No.12: 3211–3219

doi: 10.1007/s11431-011-4594-7

A multi-dimensional tabu search algorithm for the optimization of process planning

LIAN KunLei, ZHANG ChaoYong*, SHAO XinYu & ZENG YaoHui

State Key Laboratory of Digital Manufacturing Equipment and Technology, Huazhong University of Science and Technology, Wuhan 430074, China

Received August 24, 2011; accepted September 21, 2011; published online November 5, 2011

Computer-aided process planning (CAPP) is an essential component of computer integrated manufacturing (CIM) system. A good process plan can be obtained by optimizing two elements, namely, operation sequence and the machining parameters of machine, tool and tool access direction (TAD) for each operation. This paper proposes a novel optimization strategy for proc-ess planning that considers different dimensions of the problem in parallel. A multi-dimensional tabu search (MDTS) algo-rithm based on this strategy is developed to optimize the four dimensions of a process plan, namely, operation sequence (Op-erSeq), machine sequence (MacSeq), tool sequence (ToolSeq) and tool approach direction sequence (TADSeq), sequentially and iteratively. In order to improve its efficiency and stability, tabu search, which is incorporated into the proposed MDTS al-gorithm, is used to optimize each component of a process plan, and some neighbourhood strategies for different components are presented for this tabu search algorithm. The proposed MDTS algorithm is employed to test four parts with different num-bers of operations taken from the literature and compared with the existing algorithms like genetic algorithm (GA), simulated annealing (SA), tabu search (TS) and particle swarm optimization (PSO). Experimental results show that the developed algo-rithm outperforms these algorithms in terms of solution quality and efficiency.

process planning, cooperative tabu search, genetic algorithm, simulated annealing, particle swarm optimization

Citation: Lian K L, Zhang C Y, Shao X Y, et al. A multi-dimensional tabu search algorithm for the optimization of process planning. Sci China Tech Sci, 2011, 54: 32113219, doi: 10.1007/s11431-011-4594-7

1 Introduction

Computer-aided process planning (CAPP) is an essential component of computer integrated manufacturing (CIM) system [1]. It links Computer Aided Design (CAD) and Computer Aided Manufacturing (CAM) by transforming a product design into a set of instructions (machines, tool, setups, etc.) [2]. During the past three decades, CAPP has received much attention from researchers and numerous CAPP systems have been reported. These developed sys-tems can be generally classified into two categories: variant

system and generative system. The variant system utilizes group technology to store a standard part for each part fam-ily that is characterized by similarities in manufacturing methods. Process plans for a new part are created by recall-ing, identifying and retrieving an existing plan developed for a similar part stored in the system and then making nec-essary modifications. In contrast, generation of process plans in a generative system is based on decision logics, formulae, heuristic reasoning and the newly emerged artifi-cial intelligence (AI) technologies. The generative system is attractive for companies with multi-varieties and small-

batch products because process plan for a new part can be generated from scratch consistently and automatically. Al-though variant systems are more mature and widely adopted

3212 Lian K L, et al. Sci China Tech Sci December (2011) Vol.54 No.12

in industry, they suffer the deficiency in generating process plans of new product with many new features or structures, and labor under the disadvantage that the knowledge back-ground of a process planner greatly influences the quality of process plans [3–9]. In the last few decades, a significant number of generative systems have been developed to overcome these deficiencies, and this paper deals with the process planning problem in generative systems.

Process planning in a generative system is concerned with conducting two major activities, namely, operation selection and operation sequencing, simultaneously. Opera-tion selection is the act of determining necessary operations for each extracted feature of a given part to be machined and selecting suitable machine, cutting tool and tool access direction (TAD) for each operation based on the available manufacturing resources. Operation sequencing refers to the determination of optimal operation sequence under prede-fined precedence constraints among operations. Optimiza-tion of process planning requires solving these two sub-problems simultaneously. Liu et al. [10] modeled process planning as a constraint-based traveling salesman problem, which indicates that optimization of process planning is combinatorially intractable and efficient optimization strat-egy as well as search algorithm is necessary. The existing literature witnessed emerging applications of optimization algorithms to process planning problems in recent years. However, little efforts were made on the improvement of optimization strategy for process planning problem. In this paper, a novel optimization strategy is proposed to address the process planning problem and tabu search (TS) is util-ized as the search algorithm to obtain optimal or near- optimal solutions in reasonable computational time.

The arrangement of this paper is as follows. Section 2 reviews the existing researches on process planning prob-lem. Section 3 formulates the process planning problem and differentiates the optimization strategy proposed in this pa-per from the existing approaches. The multi-dimensional tabu search algorithm is explained in detail in Section 4 and experiments are presented in Section 5. Conclusions are drawn in Section 6.

2 Related work

The process planning problem has been extensively studied in recent years and numerous approaches, including heuris-tic and metaheuristic algorithms, have been proposed to obtain optimal or near-optimal solutions. Lee et al. [11] suggested optimal and heuristic branch and fathoming algo-rithms that could give optimal and near-optimal solutions respectively. Lee et al. [12] presented three iterative algo-rithms to solve the operation selection and operation se-quencing iteratively until optimal and near-optimal solu-tions were obtained. In recent years, many metaheuristic algorithms have been applied to process planning problem

due to their superiority in solving combinatorial optimiza-tion problems. These algorithms can be categorized as ge-netic algorithm (GA) [13–21], simulated annealing (SA) [22, 2, 23], tabu search (TS) [24, 25], particle swarm optimi- zation (PSO) [26] and ant colony optimization (ACO) [10].

Zhang et al. [13] studied the process planning problem in job shop manufacturing environment and presented a CAPP model that considers various decision making activities si-multaneously. GA was selected to obtain near-optimal process plans through specially designed genetic operators. Qiao et al. [14] used GA to optimize the operation sequence for prismatic parts and four types of process planning rules were considered, namely, precedence rules, clustering rules, adjacent order rules and optimization rules. Alam et al. [16] reported a GA application in a real CAPP system named IMOLD_CAPP for the manufacture of injection moulds. Ding et al. [17] provided an optimization strategy for proc-ess planning based on multiple objectives and GA was in-corporated with neural network and analytical hierarchical process to facilitate the definition of a globally optimized fitness function. Li et al. [18] studied the process planning problem in distributed manufacturing environments and GA was applied to generate optimal or near-optimal process plans. Hua et al. [20] proposed a GA-based synthesis ap-proach for machining scheme selection and operation se-quencing optimization. Salehi and Tavakkoli-Moghaddam [21] divided the process planning into preliminary planning and secondary and detailed planning. The aim of prelimi-nary planning was to generate several feasible operation sequences using GA. Then in the detailed planning stage, the optimized operation sequence and the optimized selec-tion of the machine, tool, and TAD for each operation were obtained using GA again.

Ma et al. [2] described an approach that modeled the constraints of process planning problems in a concurrent manner and SA was developed to search for the optimal solution. Li et al. [22] developed a hybrid GA and SA ap-proach to solve the process planning problem with con-straints. The GA was carried out in the first stage to gener-ate some good process plans. After that, the SA algorithm was employed to search for alternative optimal or near- op-timal process plans based on a few plans selected from the process plans obtained in the first stage. Ma et al. [23] pre-sented a CAPP system based on GA and SA. The developed system provided flexible optimization criteria that could satisfy the various needs from different job-shops and/or job-batches. Lee et al. [24] proposed 6 local search heuris-tics based on SA and TS to obtain good solutions for prac-tically-sized process planning problems within a reasonable amount of computational time. Li et al. [25] developed and embedded a hybrid constraint-handling method in the TS-based optimization algorithm to conduct the search effi-ciently in a large-size constraint-based space. In their opti-mization model, costs of the utilized machines and cutting tools, machine changes, tool changes, setups and departure

Lian K L, et al. Sci China Tech Sci December (2011) Vol.54 No.12 3213

from good manufacturing practices (penalty function) are the optimization evaluation criteria. Guo et al. [26] imple-mented a PSO approach for optimization of operation se-quencing in process planning. Initial process plans were formed and encoded into particles of the PSO algorithm which ‘flew’ intelligently in the search space to achieve the best solution. New operators were developed to help PSO explore the search space comprehensively and avoid being trapped into local optima. Most recently, Liu et al. [10] proposed an ACO approach for the optimization of process planning. Firstly, the process planning problem is mapped to a weighted graph and is converted to a constraint-based travelling salesman problem. Then, the mathematical model for process planning problem is constructed by considering the machining constraints and goal of optimization. The ACO algorithm was employed to solve the mathematical model.

Results of process planning are feasible process plans that are defined by a sequence of operations and various machining parameters (only machine, tool and TAD are considered in this paper) for each operation. In other words, a process plan has different dimensions. For the process planning problem studied in this paper, process plans have operation dimension and various parameter dimensions (machine dimension, tool dimension and TAD dimension). Operation dimension refers to the operation sequence by which a product is manufactured. And each parameter di-mension refers to the parameter sequence selected for each operation. An examination of the existing literature listed above reveals that the algorithms developed for process planning follow the same optimization strategy: an opera-tion together with its machining parameters (machine, tool and TAD) is treated as the basic element to be manipulated by various algorithms which aim at obtaining optimal op-eration sequence as well as optimal machining parameters for each operation. This optimization strategy is simple and straightforward to encode a process plan to a solution in an algorithm. However, it suffers from the following draw-backs: firstly, since operation and its machining parameters are integrated as a basic unit, algorithms could only search in the solution space of operation dimension. In other words, problem-specific operators must be designed to explore the solution space of machining parameters dimensions of each operation; secondly, there generally exist several machining parameters for each operation, the efficiency of algorithms that are designed for optimizing operation’s machining pa-rameters deteriorates greatly when the number of parame-ters increases. Different form the existing optimization strategy that operates on the operation dimension of a proc- ess plan, this paper proposes a novel strategy that manipu-lates on operation dimension as well as machining par- ameters dimensions. Under this optimization strategy, TS is adopted as an underlying search algorithm that is responsi-ble for search in each dimension of the process planning problem. The optimization strategy is further explained in

Section 3 using an illustrative example and TS is elaborated in Section 4.

3 Process planning problem

3.1 Problem definition and illustration using an exam-ple part

Process planning is concerned with solving two interrelated problems, namely, operation selection and operation se-quencing, simultaneously. Operation selection refers to the determination of necessary operations for each manufactur-ing feature and the selection of machine, tool and TAD for each operation, while operation sequencing is the act of determining an optimal operations sequence subject to pre-defined precedence constraints among machine features. Process planning is NP-hard due to the numerous possibili-ties of operation sequence, alternative machining resources for each operation and the existence of complex precedence constraints among operations.

A prismatic part taken from Zhang et al. [13] is used here to illustrate the process planning problem. This part consists of 5 machining features that could be mapped into 5 opera-tions. The example part is shown in Figure 1 and the avail-able machining resources are given in Table 1.

Table 1 shows that there are 5 operations to be conducted for the prismatic part and there exist alternative machining resources for each operation. For example, operation 5 (milling) has one alternative machine (M1), two alternative tools (T2, T6) and two alternative TADs (+z, +y). In addi-tion, the precedence constraints generally exist among

Figure 1 An example part. xxx, positional tolerance between F2 and F3.

Table 1 Machining resources available for the example part

Feature Operation Machine candidate

Tool candidate

TAD candidate

1 drilling (op1) M1, M2 T1 y

2 milling (op2) M1 T2 +z

3 milling (op3) M1 T4, T5 +y, z

4 milling (op4) M1, M2 T3 z

5 milling (op5) M1 T2, T6 +z, +y

3214 Lian K L, et al. Sci China Tech Sci December (2011) Vol.54 No.12

operations of a process plan. They mainly come from geo- metric and manufacturing interactions between features as well as technological requirements to produce every feature with the best possible accuracy [13]. These interactions and technological requirements could be summarized as fixture interactions, tool interactions, datum interactions, thin-wall interactions, feature priorities, material-removal interactions and fixed order of machining operations [22]. The prece- dence constraints for the example part are given as follows: F1 must be drilled before F2, F2 must be machined before F4 and F4 must be drilled before F3. A feasible operation sequence (1, 5, 2, 4, 3) is shown in Table 2. In Table 2, each element in position i of the first row represents the i th op-eration of the final process plan and each element in the same position of the rest three rows indicates the selected machine, tool and TAD for the i th operation respectively.

3.2 The proposed optimization strategy

The process plan shown in Table 2 is used in this section to further describe the proposed optimization strategy. It can be seen from Table 2 that a process plan is determined by different dimensions, namely, operation dimension and pa-rameter dimensions (machine dimension, tool dimension and TAD dimension). In traditional optimization strategy developed for process planning, the three parameter dimen-sions are incorporated into the operation dimension to fa-cilitate optimization of operation dimension. The existing optimization strategy encodes the process plan in Table 2 into a solution in metaheuristic algorithms as [(1, 2, 1, y), (5, 1, 6, +y), (2, 1, 2, +z), (4, 2, 3, z), (3, 1, 4, +y)]. The first element of this encoding scheme represents an opera-tion of the process plan and the rest elements indicate ma-chining parameters of each operation. The existing optimi-zation strategy tries to obtain optimal solutions in the opera-tion dimension, that is, optimal operation sequence. Pa-rameter dimensions are optimized to adapt to operation di-mension. The optimization strategy proposed in this paper treats each dimension equally and optimizes different di-mensions respectively. The encoded solution of the process plan in Table 2 under our new optimization strategy is [(1, 3, 5, 4, 2), (2, 1, 1, 2, 1), (1, 2, 4, 3, 6), (y, +z, +y, z, +y)]. The encoding scheme will be fully explained in the follow-ing sections. It is easy to find the differences between the two encoded solutions using different optimization strate-gies. The optimization strategy considers the four dimen-sions of process planning equally. We name the four di-mensions as operation sequence (OperSeq), machine se-quence (MacSeq), tool sequence (ToolSeq) and TAD se-quence (TADSeq). The optimization strategy proposed in this paper is based on the separate and iterative optimization of these four dimensions. In other words, in each iteration, the four dimensions are optimized to local optima sequen-tially and when one dimension is under optimization, the other three dimensions remain unchanged. These four

Table 2 A feasible process plan of the example part

Operation 1 5 2 4 3

Machine 2 1 1 2 1

Tool 1 6 2 3 4

TAD y +y +z z +y

dimensions construct a complete solution of the process planning problem at hand and each dimension cooperates with other dimensions to evaluate its fitness.

3.3 Optimization objectives

In this paper, the total weighted cost (TWC) is employed to calculate the fitness of a process plan. The TWC consists of machine cost (MC), tool cost (TC), machine change cost (MCC), tool change cost (TCC) and setup change cost (SCC). Definitions of these costs are provided in Li, et al. [22] and therefore omitted here. The fitness function is computed by [22]

1 2 3 4 5 ,TWC w MC w TC w MCC w TCC w SCC

where ( 1, 2, ,5)iw i are the weights for different costs.

3.4 Constraints-handling algorithm

Due to the existence of various precedence constraints among operations, operation sequence that is generated randomly or manipulated by some search operators may be infeasible. This paper adopts the constraints-handling algo-rithm proposed by Tseng [27] to adjust infeasible solutions into feasible ones. This algorithm firstly constructs a bi-nary-tree structure based on the precedence relationships among operations. And the feasible solution is obtained by inorderly traversing the binary tree. Notations used in the algorithm are [27]: P, operation sequence; gh, operation in the hth position of P; r, root node point; l, leaf node point.

Details of the constraints adjusting algorithm are de-scribed as follow:

Step 1. Set h = 2. Step 2. Set gl’s corresponding operation at root node

point R. Step 3. Set gh’s corresponding operation at leaf node

point l, and decide the precedence relationship of r and l. (1) If pr,l = 1, operation l should be machined before op-

eration r. (a) If r’s left child node point is not empty, then set r’s left

node point at the new root node point r and repeat Step 3. (b) If r’s left child node point is empty, then insert l at r’s

left node point. Set h = h +1 and go to Step 4. (2) If pr,l = 0, there is no precedence constraints between

operations r and l. (a) If r’s right node child node point is not empty, then

set r’s right node point at the new root node point r and go to Step 3.

Lian K L, et al. Sci China Tech Sci December (2011) Vol.54 No.12 3215

(b) If r’s right child node point is empty, then insert l at r’s right node point. Set h = h +1, and got to Step 4.

Step 4. If h = m, go to Step 5; otherwise go to Step 2. Step 5. List feasible solutions according to the inorder

traversal rank and stop the algorithm.

4 The proposed multi-dimensional tabu search (MDTS) algorithm

4.1 The rationale

In recent years, metaheuristic algorithms have been exten- sively studied to solve various combinatorial optimization problems. Due to their combinatorial intractability, process planning has attracted researchers to employ metaheuristic algorithms to obtain optimal or near-optimal solutions with reasonable computational cost. As previous section indi- cates, solution to the process planning problem consists of four dimensions, namely, OperSeq, MacSeq, ToolSeq and TADSeq. Traditional optimization strategy mainly operates on the OperSeq and thus lacks efficiency in exploring Mac- Seq, ToolSeq and TADSeq. However, study of Moriarty and Miikkulainen [28] indicates that several parallel searches for different dimensions of the solution are more efficient than a single search for the entire solution. Metaheuristic algorithms designed based on this hypothesis include symbiotic evolutioanry algorithm (SEA) [29] and endo- symbiotic evoluitoanry algorithm (EEA) [30] and have been sucessfully applied to address some scheduling problems including mixed model assembly balancing and sequencing [31], integrated process planning and scheduling [29], process planning [32] and mixed-model U-lines balancing and sequencing [30]. In both SEA and EEA, a separate population is maitained throughout the optimization process for each part of the solution to the problem at hand and additional efforts must be made to design specific cooperations among populations. In addition, maintenance of separate population for each solution component requires more computational time. Based on the above analysis, this paper proposes a multi-dimensional tabu search (MDTS) algorithm to address the process planning problem. The advantage of the proposed MDTS is twofold. First, a single individual is maintained for each dimension of the solution, which could greatly shorten the compuotational time; second, tabu search is utilized to optimize each of the four components, which ensures the efficiency and effectiveness of the proposed MDTS algorithm. Details of the proposed MDTS algorithm are described in the following sections.

4.2 The overall procedure of the MDTS algorithm

In the proposed MDTS algorithm, we use OperSeq, MacSeq, ToolSeq and TADSeq to represent the individual maintained for each component of the solution to the process planning

problem. Initially, each individual is generated randomly and assigned to a fitness value. Note that in the problem considered here, the fitness of each individual equals the TWC that is calculated by combining the four individuals to form an entire solution. The overall procedure of the MDTS algorithm is depicted by Figure 2.

Procedures of the proposed MDTS algorithm could also be depicted using the following pseudo-code:

1) If the termination criterion is not met, repeat the fol-lowing steps:

2) Apply TS to optimize OperSeq and keep MacSeq, ToolSeq and TADSeq unchanged.

3) Apply TS to optimize MacSeq and keep OperSeq, ToolSeq and TADSeq unchanged.

4) Apply TS to optimize ToolSeq and keep OperSeq, MacSeq and TADSeq unchanged.

5) Apply TS to optimize TADSeq and keep OperSeq, MacSeq and ToolSeq unchanged.

Note that Figure 2 describes a single iteration of the MDTS algorithm and each oval in Figure 2 indicates one or more steps of tabu search. To be specific, at each iteration one or more steps of tabu search are executed to move one solution dimension (OperSeq, MacSeq, ToolSeq and TAD-Seq) to its neighborhoods. While one dimension progresses, it cooperates with other dimensions to calculate and update its fitness. For example, when the fitness of OperSeq is to be calculated, MacSeq, ToolSeq and TADSeq are selected to cooperate with OperSeq to construct a complete solution. Note that while one dimension is under optimization, the other three dimensions remain unchanged. This process is carried out sequentially for all the solution components. When all the solution components are updated, a cycle completes. The cycle is repeated until the stopping criterion is satisfied.

The workflow of the proposed MDTS algorithm is given below and shown in Figure 3.

Figure 2 The proposed MDTS algorithm for process planning.

3216 Lian K L, et al. Sci China Tech Sci December (2011) Vol.54 No.12

Figure 3 Workflow of the proposed MDTS algorithm.

Step 1. Initialize a process plan by randomly generating its OperSeq, MacSeq, ToolSeq and TADSeq. Set the maxi-mum iteration number MaxIter = N and the current iteration CurrIter = 0.

Step 2. Initialize a separate tabu list for OperSeq, MacSeq, ToolSeq and TADSeq respectively.

Step 3. Conduct the following steps sequentially: a) OperSeq′ = TabuSearch (OperSeq, NumOper). b) MacSeq′= TabuSearch (MacSeq, NumMac). c) ToolSeq′= TabuSearch (ToolSeq, NumTool). d) TADSeq′ = TabuSearch (TADSeq, NumTAD). e) CurrIter = CurrIter+1. Step 4. If CurrIter>MaxIter, then stop. Otherwise, go to

Step 2. In the procedure described above, the function of

TabuSearch (parameter 1, parameter 2) is the tabu search algorithm that is used to optimize the four dimensions of process planning problem. TabuSearch (abbreviation for tabu search) receives two parameters, namely, parameter 1 for the individual to be optimized and parameter 2 for the number of steps to be conducted and returns the optimized individual. Note that, tabu search could be replaced by other efficient heuristic algorithms to construct new algorithms. Details of tabu search are elaborated in the next subsection.

4.3 The tabu search algorithm

The proposed MDTS algorithm employs tabu search to ex-plore the search space of OperSeq, MacSeq, ToolSeq and TADSeq sequentially and iteratively. The tabu search im-plemented in the proposed MDTS algorithm takes the forms: output=TabuSearch (parameter 1, parameter 2); parameter 1 represents the individual to be optimized; parameter 2 is the number of steps that tabu search is executed.

The word “Output” in Figure 4 represents the optimized individual for parameter 1.

Details of the tabu search algorithm are described as fol-lows and in Figure 4.

Step 1. Assign parameter 1 to the current solution (Curr- Sol). Take parameter 2 as the maximal number of steps (MaxIter) that tabu search will be executed. Let iter = 0.

Step 2. Evaluate current solution’s fitness by combining it with the other three individuals to form an entire process plan. Assign the current solution to elite solution (EliteSol).

Step 3. Generate Ns number of neighborhood solutions of the current solution. Evaluate their corresponding fitness by combining each of them with the other three individuals. Choose the best neighborhood solution as the candidate solution (CandSol).

Step 4. If the candidate solution CandSol is better than the elite solution EliteSol, replace the current CurrSol and elite solution EliteSol with the candidate solution CandSol. Add CandSol into the tabu list. Then go to Step 6; otherwise go to Step 5

Step 5. If the candidate solution CandSol already exists in the current individual’s tabu list, choose the best neighborhood solution that is not in the tabu list as the can-didate solution. Add the candidate solution CandSol to the tabu list and use it to replace the current solution.

Step 6. Let iter = iter + 1. If iter>parameter 2, return the current solution CurrSol as the Output. Otherwise, go to Step 3.

Figure 4 Workflow of tabu search.

Lian K L, et al. Sci China Tech Sci December (2011) Vol.54 No.12 3217

4.4 Encoding scheme

The process plan given in Table 2 is used here to elaborate the encoding scheme. The encoded process plan is shown in Table 3. The first row in Table 3 indicates the operation number of the process plan. Each column represents an op-eration with its corresponding machine, tool and TAD. Note that OperSeq indicates the position of an operation in a process plan. For example, operations 1–5 locate in the 1, 3, 5, 4, 2 of the process plan given in Table 2, so the OperSeq is made up of (1, 3, 5, 4, 2). MacSeq, ToolSeq and TADSeq store the information of the operation that the operation number indicates.

4.5 Neighborhood structures

4.5.1 Neighborhood structure of OperSeq

The neighborhood structure of OperSeq includes Insert and Swap proposed by Li et al. [22]. Insert is to pick one ele-ment in the OperSeq randomly and insert it into another position. Swap means to exchange the position of two ran-domly selected elements of OperSeq. These two neighbor-hood structures are depicted in Figure 5.

4.5.2 Neighborhood structure of MacSeq, ToolSeq and TADSeq

The same neighborhood structure named “single point

Table 3 The encoded process plan of the example part

Operation no. 1 2 3 4 5

OperSeq 1 3 5 4 2

MacSeq 2 1 1 2 1

ToolSeq 1 2 4 3 6

TADSeq -y +z +y -z +y

Figure 5 Neighborhood structure of OperSeq.

mutation” is applied to MacSeq, ToolSeq and TADSeq to obtain neighborhood solutions. It involves selecting a ran-dom element from MacSeq, ToolSeq and TADSeq and re-places it with another candidate value. The neighborhood structure of MacSeq, ToolSeq and TADSeq is shown in Fig-ure 6.

5 Experiments

In this section, the performance and search capability of the proposed MDTS are validated using four parts taken from literature. Parameters of the proposed MDTS algorithm in-clude size of tabu list (Ns), number of steps for OperSeq, MacSeq, ToolSeq and TADSeq (Noper, Nmac, Ntool and NTAD) and maximal number of iteration (MaxIter). Preliminary experiments showed that the following setting provides good results: Ns = 20, Noper = 5, Nmac= Ntool =NTAD = 10 and MaxIter = 200.

5.1 Experiment 1

A prismatic part (Part 1) taken from Li et al. [22] is firstly used to test the proposed algorithm. Part 1 consists of 14 manufacturing features and 20 operations. Computational experiments are conducted under the following two condi-tions to demonstrate the advantages of the proposed MDTS to the existing approaches in literature including GA, SA, TS and PSO.

1) All machines and tools are available, and w1-w5 in the equation given in Section 3.3 are set as 1.

2) All machines and tools are available, and w2=w5=0, w1=w3=w4=1.

Under conditions (1) and (2) described in Table 4, 50

Figure 6 Neighborhood structure of MacSeq, ToolSeq, TADSeq.

Table 4 Computational results of experiment 1 (results marked by 1 and 2 are obtained from Li et al. [25] and Ong et al. [26] respectively)

MDTS TS1 SA1 GA1 PSO2

Condition (1) mean 2527.5 2609.6 2668.5 2796.0 2680.5

maximum 2537.0 2690.0 2829.0 2885.0 -

minimum 2525.0 2527.0 2535.0 2667.0 2535.0

Condition (2) mean 2093.0 2208.0 2287.0 2370.0 -

maximum 2120.0 2390.0 2380.0 2580.0 -

minimum 2090.0 2120.0 2120.0 2220.0 -

3218 Lian K L, et al. Sci China Tech Sci December (2011) Vol.54 No.12

independent trials were conducted to evaluate the proposed MDTS algorithm’s performance for Part 1. Table 4 lists the computational results of MDTS, GA, SA, TS on Part 1 un-der two different conditions. Comparison of MDTS with PSO under condition (1) is also presented. For each algo-rithm under each condition, 50 trials were conducted to ob-tain the mean objective value, maximum objective value and minimum objective value. From the observations of Table 4 under conditions (1) and (2), our proposed algo-rithm has obtained lower mean, maximum and minimum costs. Figure 7 illustrates the optimization process of the proposed MDTS and GA, SA, TS. It can be seen from the figure that GA is prone to local optima in the early stage, SA performs better than GA and TS is superior to both GA and SA. The proposed MDTS outperformed GA, SA and TS both in computational time and efficiency.

5.2 Experiment 2

The second part used by Li et al. [25] consists of 14 features and 14 operations. Two conditions are considered for stud-ies on this part.

1) All machines and tools are available, and w1w5 in the equation given in Section 3.3 are set as 1.

2) All machines and tools are available, and w2=w5=0, w1=w3=w4=1.

Table 5 lists the computational results in terms of mean objective value, maximum objective value and minimum objective value of 50 runs. The results of MDTS are based on 50 independent runs with randomly generated initial plan. Results of GA, SA and TS are obtained from Li et al. [25]. It can be seen from Table 5 that results obtained by the proposed MDTS with that obtained previously by Li et al. [25] for the lowest machining cost under conditions (1) and (2) are the same; but the mean and maximum machining costs under both conditions obtained by our proposed MDTS outperform GA, SA and TS.

Figure 7 Comparison of MDTS with GA, SA and TS.

5.3 Experiment 3

The third part presented by Ma et al. [2] consists of 9 fea-tures and 13 operations. The following two conditions are considered for studies on Part 3.

1) All machines and tools are available; 2) M2 is down. Computational results of MDTS and SA under the two

conditions are listed in Table 6. Table 6 shows that the pro-posed MDTS algorithm can find better solutions in both conditions.

5.4 Experiment 4

The fourth part is presented by Guo et al. [26] to test the computational efficiency of PSO and comparison experi-ments of PSO with GA and SA are also conducted. This part consists of 11 features and 14 operations. Only the condition that all machining resources are available is con-sidered. Table 7 shows the comparison studies of MDTS with PSO, SA and GA on this part. From the observation of Table 7, it can be seen that our proposed MDTS outper-forms GA, SA and PSO in both mean and minimum ma-chining costs.

6 Conclusions

In this paper, a multi-dimensional tabu search algorithm is proposed to address the process planning problem. The

Table 5 Computational results of experiment 2

MDTS TS SA GA

Condition (1) mean 1328.0 1342.0 1373.5 1611.0

maximum 1328.0 1378.0 1518.0 1778.0

minimum 1328.0 1328.0 1328.0 1478.0

Condition (2) mean 1170.0 1194.0 1217.0 1482.0

maximum 1170.0 1290.0 1345.0 1650.0

minimum 1170.0 1170.0 1170.0 1410.0

Table 6 Computational results of experiment 3

MDTS SA

Condition (1) minimum 743.0 833.0

Condition (2) minimum 1198.0 1288.0

Table 7 Computational results of experiment 4

MDTS PSO SA GA

Mean 1364.1 1430.0 1447.4 1459.4

Minimum 1357.0 1361.0 1421.0 1381.0

Lian K L, et al. Sci China Tech Sci December (2011) Vol.54 No.12 3219

proposed MDTS algorithm tries to optimize the four dimen-sions of a process plan, namely, OperSeq, MacSeq, ToolSeq and TADSeq, sequentially and iteratively. Performance of the proposed algorithm is validated through four experi-ments using parts taken from literature. Computational comparison of MDTS with GA, SA, TS and PSO showed that our proposed MDTS is superior in solving the process planning problem.

The contributions of this paper can be summarized as follows:

1) The proposed MDTS algorithm provides a novel way to optimize the process planning problem. This optimization strategy can also be applied to other combinatorial optimi-zation problems with similar solution structure.

2) Tabu search is employed to explore the solution space of four dimensions of the process planning problem due to its efficiency and simplicity in implement. In future, other efficient search algorithms could be considered to replace tabu search to achieve better overall performance.

This work was supported by the State Key Program of National Natural Science Foundation of China (Grant No. 51035001) and National Natural Science Foundation of China (Grant Nos. 50825503, 50875101).

1 Cay F, Chassapis C. An IT view on perspectives of computer aided process planning research. Comp Indus, 1997, 34: 307–337

2 Ma G H, Zhang Y F, Nee A Y C. A simulated annealing-based optimization algorithm for process planning. Int J Prod Res, 2000, 38: 2671–2687

3 Zhu L M, Ding H, Xiong Y L. Third-order point contact approach for five-axis sculptured surface machining using non-ball-end tools (II): Tool positioning strategy. Sci China Tech Sci, 2010, 53: 2190–2197

4 Leo A, Hongchao Z. Computer Aided Process Planning: the state-of-the-art survey. Int J Prod Res, 1989, 27: 553–585

5 Ding H, Zhu L M. Global optimization of tool path for five-axis flank milling with a cylindrical cutter. Sci China Ser E-Tech Sci, 2009, 52: 2449–2459

6 Bi Q Z, Wang Y H, Zhu L M, et al. Wholly smoothing cutter orientations for five-axis NC machining based on cutter contact point mesh. Sci China Tech Sci, 2010, 53: 1294–1303

7 Guo Q, Sun Y W, Guo D M. Analytical modeling of geometric errors induced by cutter runout and tool path optimization for five axis flank machining. Sci China Tech Sci, 2011, 54: 3180–3190

8 Mao X Y, Liu H Q, Li B. Time-frequency analysis and detecting method research on milling force token signal in spindle current signal. Sci China Ser E-Tech Sci, 2009, 52: 2810–2813

9 Zhu L M, Ding H, Xiong Y L. Third-order point contact approach for five-axis sculptured surface machining using non-ball-end tools (I): Third-order approximation of tool envelope surface. Sci China Tech Sci, 2010, 53: 1904–1912

10 Liu X J J, Yi H, Ni Z H. Application of ant colony optimization algorithm in process planning optimization. J Intel Manuf, 2010, 21: 1–13

11 Lee D-H, Kiritsis D, Xirouchakis P. Branch and fathoming algorithms for operation sequencing in process planning. Int J Prod

Res, 2001, 39: 1649–1669 12 Lee D-H, Kiritsis D, Xirouchakis P. Iterative approach to operation

selection and sequencing in process planning. Int J Prod Res, 2004, 42: 4745–4766

13 Zhang F, Zhang Y F, Nee A Y C. Using genetic algorithms in process planning for job shop machining. IEEE Trans Evoln Comp, 1997, 1: 278–289

14 Qiao L, Wang X-Y, Wang S-C. A GA-based approach to machining operation sequencing for prismatic parts. Int J Prod Res, 2000, 38: 3283–3303

15 Moon C, Lee M, Seo Y, et al. Integrated machine tool selection and operation sequencing with capacity and precedence constraints using genetic algorithm. Comp & Indus Eng, 2002, 43: 605–621

16 Alam M R, Lee K S, Rahman M, et al. Process planning optimization for the manufacture of injection moulds using a genetic algorithm. Int J Comp Int Manuf, 2003, 16: 181–191

17 Ding L, Yue Y, Ahmet K, et al. Global optimization of a feature- based process sequence using GA and ANN techniques. Int J Prod Res, 2005, 43: 3247–3272

18 Li L, Fuh J Y H, Zhang Y F, et al. Application of genetic algorithm to computer-aided process planning in distributed manufacturing environments. Rob Comp-Int Manuf, 2005, 21: 568–578

19 Singh D K J, Jebaraj C. Feature-based design for process planning of machining processes with optimization using genetic algorithms. Int J Prod Res, 2005, 43: 3855–3887

20 Hua G R, Zhou X H, Ruan X Y. GA-based synthesis approach for machining scheme selection and operation sequencing optimization for prismatic parts. Int J Adv Manuf Technol, 2007, 33: 594–603

21 Salehi M, Tavakkoli-Moghaddam R. Application of genetic algorithm to computer-aided process planning in preliminary and detailed planning. Eng Appl Artif Intel, 2009, 22: 1179–1187

22 Li W D, Ong S K, Nee A Y C. Hybrid genetic algorithm and simulated annealing approach for the optimization of process plans for prismatic parts. Int J Prod Res, 2002, 40: 1899–1922

23 Ma G H, Zhang F, Zhang Y F, et al. An Automated Process Planning System Based on Genetic Algorithm and Simulated Annealing. ASME Conference Proceedings, 2002. 57–63

24 Lee D H, Kiritsis D, Xirouchakis P. Search heuristics for operation sequencing in process planning. Int J Prod Res, 2001, 39: 3771–3788

25 Li W D, Ong S K, Nee A Y C. Optimization of process plans using a constraint-based tabu search approach. Int J Prod Res, 2004, 42: 1955–1985

26 Guo Y, Mileham A, Owen G, et al. Operation sequencing opti- mization using a particle swarm optimization approach. Proceedings of the Institution of Mechanical Engineers, Part B: J Eng Manuf, 2006, 220: 1945–1958

27 Tseng H E. Guided genetic algorithms for solving a larger constraint assembly problem. Int J Prod Res, 2006, 44: 601–625

28 Moriarty D E, Miikkulainen R. Forming neural networks through efficient and adaptive coevolution. Evoln Comp, 1997, 5: 373–399

29 Kim Y K, Park K, Ko J. A symbiotic evolutionary algorithm for the integration of process planning and job shop scheduling. Comp & Oper Res, 2003, 30: 1151–1171

30 Kim Y K, Kim J Y, Kim Y. An endosymbiotic evolutionary algorithm for the integration of balancing and sequencing in mixed-model U-lines. Eur J Oper Res, 2006, 168: 838–852

31 Kim Y K, Kim S J, Kim J Y. Balancing and sequencing mixed-model U-lines with a co-evolutionary algorithm. Prod Plan & Contl: Manag Oper, 2000, 11: 754–764

32 Seok Shin K, Park J-O, Keun Kim Y. Multi-objective FMS process planning with various flexibilities using a symbiotic evolutionary algorithm. Comp & Oper Res, 2011, 38: 702–712