Abstract
In order to enhance the machining efficiency, batch-processing is widely used in computer numerical control (CNC) milling machining. Each job in a batch requires a set of different tools to be processed, so tool switching is needed during processing. However, the frequent tool switching not only affects the machining efficiency, but also affects the life of the machine spindle. In order to solve this problem, a hybrid immune genetic algorithm with tabu search (HIGATS) integrated is proposed to minimize the tool switch times. In HIGATS, a well-designed encoding/decoding scheme is developed to represent the solution and evaluate the fitness; a novel constructive heuristic is used for initializing population; in order to balance the intensification and diversification, tabu search is integrated into genetic algorithm, and also, a problem-specific greedy immune operator is applied to intensify the searching ability. Simulation experiments are conducted to verify the performance of HIGATS by comparing it with other five algorithms. The results and analyses demonstrate that HIGATS outperforms the other five algorithms in minimizing the tool switch times.










Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Data availability
The datasets used or analyzed in this study are available from the corresponding author on reasonable request.
Code availability
Not applicable.
Abbreviations
- F :
-
Fitness value
- t s :
-
Time required to switch a tool
- C :
-
The capacity of tool magazine
- B :
-
The batch size
- N :
-
Total number of jobs in a batch
- T j,i :
-
The ith tool of job j
- S j,i :
-
The start processing time of Tj,i
- E j,i :
-
The end processing time of Tj,i
- NT j :
-
Number of tools of job j
- M :
-
Maximum number of tools of all jobs require, \(M = \mathop {\max }\limits_{{1 \le j \le N}} \left\{ {NT_{j} } \right\}\)
- T j :
-
M-Dimensional single row matrix of tool sequence for job j
- S :
-
M × N Tool-status matrix, the element in the matrix is specified by xj,i
- x j,i :
-
Tool switching status, where xj,i = 1 if tool i of job j need switch, and 0 otherwise
- T :
-
Total tool switch times of all jobs
- PopSize :
-
Population size
- l :
-
Length of chromosome
- I max :
-
Maximum number of iterations
- I best :
-
Iterations of best fitness
- T Non-OPT :
-
Total tool switch times of non-optimization method
- Pc :
-
Crossover probability
- Pm :
-
Mutation probability
- m :
-
Integer random variable
- r :
-
Real random variable
- R :
-
Number of independent runs
- CNC:
-
Computer numerical control
- GA:
-
Genetic algorithm
- MGA:
-
Modified genetic algorithm
- TS:
-
Tabu search
- MTS:
-
Modified Tabu search
- HGATS:
-
Hybrid genetic algorithm with tabu search
- HIGATS:
-
Hybrid immune genetic algorithm with tabu search
- CAD:
-
Computer-aided design
- CAM:
-
Computer-aided manufacture
- Non-OPT:
-
Non-optimization method
- OPT:
-
Optimization method
- ATC:
-
Automatic tool changer
- RND:
-
Initial population completely randomly
- TFH:
-
Top-First Heuristic
- ARPD:
-
Average Relative Percentage Deviation
- INIT:
-
Initialization method
- SOPR:
-
Selection operator
- COPR:
-
Crossover operator
References
Baykasoğlu A, Ozsoydan FB (2017) Minimizing tool switching and indexing times with tool duplications in automatic machines. Int J Adv Manuf Technol 89:1775–1789. https://doi.org/10.1007/s00170-016-9194-z
Benbouzid-SiTayeb F, Bessedik M, Keddar MR, Kiouche AE (2019) An effective multi-objective hybrid immune algorithm for the frequency assignment problem. Appl Soft Comput 85:105797. https://doi.org/10.1016/j.asoc.2019.105797
Chou X, Gambardella LM, Montemanni R (2021) A tabu search algorithm for the probabilistic orienteering problem. Comput Oper Res 126:105107. https://doi.org/10.1016/j.cor.2020.105107
Crama Y, Kolen AWJ, Oerlemans AG, Spieksma FCR (1994) Minimizing the number of tool switches on a flexible machine. Int J Flex Manuf Syst 6:33–54. https://doi.org/10.1007/BF01324874
Dasgupta D, Yu S, Nino F (2011) Recent advances in artificial immune systems: models and applications. Appl Soft Comput J 11(2):1574–1587. https://doi.org/10.1016/j.asoc.2010.08.024
Dong J, Zhang L, Xiao T (2018) A hybrid PSO/SA algorithm for bi-criteria stochastic line balancing with flexible task times and zoning constraints. J Intell Manuf 29(4):737–751. https://doi.org/10.1007/s10845-015-1126-5
El-Sherbiny MM, Alhamali RM (2013) A hybrid particle swarm algorithm with artificial immune learning for solving the fixed charge transportation problem. Comput Ind Eng 64(2):610–620. https://doi.org/10.1016/j.cie.2012.12.001
Gen M, Lin L, Yun Y, Inoue H (2018) Recent advances in hybrid priority-based genetic algorithms for logistics and SCM network design. Comput Ind Eng 125(11):394–412. https://doi.org/10.1016/j.cie.2018.08.025
Goldberg DE (1989) Genetic algorithms in search, optimization, and machine learning. https://doi.org/10.5860/choice.27-0936
González MA, Vela CR, González-Rodríguez I, Varela R (2013) Lateness minimization with tabu search for job shop scheduling problem with sequence dependent setup times. J Intell Manuf 24(4):741–754. https://doi.org/10.1007/s10845-011-0622-5
Hassen HB, Tounsi J, Bachouch RB (2019) An artificial immune algorithm for HHC planning based on multi-agent system. Procedia Comput Sci 164:251–256. https://doi.org/10.1016/j.procs.2019.12.180
He L, de Weerdt M, Yorke-Smith N (2020) Time/sequence-dependent scheduling: the design and evaluation of a general purpose tabu-based adaptive large neighbourhood search algorithm. J Intell Manuf 31(4):1051–1078. https://doi.org/10.1007/s10845-019-01518-4
Holland J (1975) Adaption in natural and artificial systems: an introductory analysis with applications to biology, control and AI
Karakatic S (2021) Optimizing nonlinear charging times of electric vehicle routing with genetic algorithm. Expert Syst Appl 164:114039. https://doi.org/10.1016/j.eswa.2020.114039
Keung KW, Ip WH, Lee TC (2001) The solution of a multi-objective tool selection model using the GA approach. Int J Adv Manuf Technol 18:771–777. https://doi.org/10.1007/s001700170001
Koohestani B (2020) A crossover operator for improving the efficiency of permutation-based genetic algorithms. Expert Syst Appl 151:113381. https://doi.org/10.1016/j.eswa.2020.113381
Lenin K, Ravindhranath Reddy B, Suryakalavathi M (2016) Hybrid Tabu search-simulated annealing method to solve optimal reactive power problem. Int J Elec Power 82:87–91. https://doi.org/10.1016/j.ijepes.2016.03.007
Li G, Li N, Sambandam N, Sethi SP, Zhang F (2018) Flow shop scheduling with jobs arriving at different times. Int J Prod Econ 206:250–260. https://doi.org/10.1016/j.ijpe.2018.10.010
Li X, Gao L, Wang W, Wang C, Wen L (2019) Particle swarm optimization hybridized with genetic algorithm for uncertain integrated process planning and scheduling with interval processing time. Comput Ind Eng 135:1036–1046. https://doi.org/10.1016/j.cie.2019.04.028
Li Z (2018) Research on Tool Dynamic Configuration Optimization in Machining Center Magazine. PhD thesis, Guangdong University of Technology
Lin G, Guan J, Li Z, Feng H (2019) A hybrid binary particle swarm optimization with tabu search for the set-union knapsack problem. Expert Syst Appl 135:201–211. https://doi.org/10.1016/j.eswa.2019.06.007
Lin HY, Lin CJ, Huang ML (2016) Optimization of printed circuit board component placement using an efficient hybrid genetic algorithm. Appl Intell 45:622–637. https://doi.org/10.1007/s10489-016-0775-1
Lou G, Cai Z (2019) Improved hybrid immune clonal selection genetic algorithm and its application in hybrid shop scheduling. Clust Comput 22(s2):3419–3429. https://doi.org/10.1007/s10586-018-2189-9
Luo X, Qian Q, Fu YF (2020) Improved genetic algorithm for solving flexible job shop scheduling problem. Procedia Comput Sci 166:480–485. https://doi.org/10.1016/j.procs.2020.02.061
Meeran S, Morshed MS (2012) A hybrid genetic tabu search algorithm for solving job shop scheduling problems: a case study. J Intell Manuf 23(4):1063–1078. https://doi.org/10.1007/s10845-011-0520-x
Naderi B, Mousakhani M, Khalili M (2013) Scheduling multi-objective open shop scheduling using a hybrid immune algorithm. Int J Adv Manuf Technol 66(5–8):895–905. https://doi.org/10.1007/s00170-012-4375-x
Piroozfard H, Wong KY, Wong WP (2018) Minimizing total carbon footprint and total late work criterion in flexible job shop scheduling by using an improved multi-objective genetic algorithm. Resour Conserv Recy 128:267–283. https://doi.org/10.1016/j.resconrec.2016.12.001
Raghavan AV, Yoon SW, Srihari K (2018) A modified genetic algorithm approach to minimize total weighted tardiness with stochastic rework and reprocessing times. Comput Ind Eng 123:42–53. https://doi.org/10.1016/j.cie.2018.06.002
Schermer D, Moeini M, Wendt O (2019) A hybrid vns/tabu search algorithm for solving the vehicle routing problem with drones and en route operations. Comput Oper Res 109(9):134–158. https://doi.org/10.1016/j.cor.2019.04.021
Song CY, Hwang H (2002) Optimal tooling policy for a tool switching problem of a flexible machine with automatic tool transporter. Int J Prod Res 40(4):873–883. https://doi.org/10.1080/00207540110098850
Song YY, Wang FL, Chen XX (2019) An improved genetic algorithm for numerical function optimization. Appl Intell 49:1880–1902. https://doi.org/10.1007/s10489-018-1370-4
Su B, Xie N, Yang Y (2021) Hybrid genetic algorithm based on bin packing strategy for the unrelated parallel workgroup scheduling problem. J Intell Manuf 32:957–969. https://doi.org/10.1007/s10845-020-01597-8
Sukker DW, Wuttipornpun T (2016) Hybrid genetic algorithm and tabu search for finite capacity material requirement planning system in flexible flow shop with assembly operations. Comput Ind Eng 97:157–169. https://doi.org/10.1016/j.cie.2016.05.006
Swarnkar R, Tiwari MK (2004) Modeling machine loading problem of FMSs and its solution methodology using a hybrid tabu search and simulated annealing-based heuristic approach. Robot Cim-Int Manuf 20(3):199–209. https://doi.org/10.1016/j.rcim.2003.09.001
Syed FH, Tahir MA, Rafi M, Shahab MD (2021) Feature selection for semi-supervised multi-target regression using genetic algorithm. Appl Intell. https://doi.org/10.1007/s10489-021-02291-9
Tang CS, Denardo EV (1988) Models arising from a flexible manufacturing machine, part I: minimization of the number of tool switches. Oper Res 36(5):767–777. https://doi.org/10.1287/opre.36.5.767
Vela CR, Afsar S, Palacios JJ, González-Rodríguez I, Puente J (2020) Evolutionary tabu search for flexible due-date satisfaction in fuzzy job shop scheduling. Comput Oper Res 119:104931. https://doi.org/10.1016/j.cor.2020.104931
Wei W, Chen S, Lin Q, Ji J, Chen J (2020) A multi-objective immune algorithm for intrusion feature selection. Appl Soft Comput Journal 95:106522. https://doi.org/10.1016/j.asoc.2020.106522
Xu XW, He Q (2004) Striving for a total integration of CAD, CAPP, CAM and CNC. Robot Cim-Int Manuf 20:101–109. https://doi.org/10.1016/j.rcim.2003.08.003
Yang Z, Ding Y, Hao K, Cai X (2019) An adaptive immune algorithm for service-oriented agricultural Internet of Things. Neurocomputing 344:3–12. https://doi.org/10.1016/j.neucom.2018.06.094
Zhang C, Dong X, Wang X, Li X, Liu Q (2010) Improved NSGA-II for the multi-objective flexible job-shop scheduling problem. Chin J Mech Eng 46(11):156–164. https://doi.org/10.3901/JME.2010.11.156
Zhang G, Gao L, Li P, Zhang C (2009) Improved genetic algorithm for the flexible job-shop scheduling problem. Chin J Mech Eng 45(7):145–151. https://doi.org/10.3901/JME.2009.07.145
Zhao X, Xia X, Wang L, Cao J (2019) A fuzzy multi-objective immune genetic algorithm for the strategic location planning problem. Clust Comput 22(s2):3621–3641. https://doi.org/10.1007/s10586-018-2212-1
Žulj I, Kramer S, Schneider M (2017) A hybrid of adaptive large neighborhood search and tabu search for the order-batching problem. Eur J Oper Res. https://doi.org/10.1016/j.ejor.2017.06.056
Acknowledgements
This research work was supported by the National Natural Science Foundation of China under Grant No. 51875422.
Funding
This research work was supported by the National Natural Science Foundation of China under Grant No. 51875422.
Author information
Authors and Affiliations
Contributions
All authors contributed to the study conception and design. Data collection, code implementation and result analysis were performed by HX and SS. The first draft of the manuscript was written by SS and all authors commented on previous versions of the manuscript. All authors read and approved the final manuscript.
Corresponding author
Ethics declarations
Conflict of interest
Not applicable.
Ethical approval
Not applicable.
Consent to participate
Not applicable.
Consent to publication
Not applicable.
Additional information
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Shi, S., Xiong, H. A hybrid immune genetic algorithm with tabu search for minimizing the tool switch times in CNC milling batch-processing. Appl Intell 52, 7793–7807 (2022). https://doi.org/10.1007/s10489-021-02869-3
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10489-021-02869-3