Performance analysis of Genetic Algorithm (GA), Particle Swarm Optimization (PSO), and Simulated Annealing (SA) for surface roughness optimization in aluminum alloy milling

Pham, Van Tinh and Tran, Cong Chi and Nguyen, Van Tuu and Tran, Van Tuong and Tran, Van Tung (2026) Performance analysis of Genetic Algorithm (GA), Particle Swarm Optimization (PSO), and Simulated Annealing (SA) for surface roughness optimization in aluminum alloy milling. Journal of Mechanical Engineering (JMechE), 23 (2): 4. pp. 57-74. ISSN 1823-5514 ; 2550-164X

Official URL: https://jmeche.uitm.edu.my/

Identification Number (DOI): 10.24191/jmeche.v23i2.7790

Abstract

Surface roughness (Ra) is one of the most important response indicators used to evaluate machining quality. Although various metaheuristic optimization algorithms have been applied in machining optimization, there remains limited comparative evidence regarding their relative performance under consistent modeling and computational conditions. Therefore, this study aims to evaluate and compare the performance of three widely applied metaheuristic optimization algorithms, namely Genetic Algorithm (GA), Particle Swarm Optimization (PSO), and Simulated Annealing (SA), in minimizing Ra during the milling of aluminum alloys. A predictive model for Ra is first constructed using the Group Method of Data Handling (GMDH). Among the eight functions tested in the GMDH network, the double-variable model provides the highest accuracy with an R² of 0.9990, RMSE of 0.0042, and MAPE of 0.2985 for training, and an R² of 0.9962, RMSE of 0.0083, and MAPE of 0.5724 for validation. This model is subsequently integrated into the optimization stage, where GA, PSO, and SA are implemented under consistent computational conditions to ensure a fair comparison. The optimal Ra values obtained by the algorithms are 0.6448 for GA, 0.6445 for PSO, and 0.6472 for SA. PSO achieves the best overall performance due to its rapid convergence, high stability, and small variance across repeated runs. GA produces competitive results with moderate variability, whereas SA converges more slowly and yields a wider spread of solutions. The findings confirm that PSO is the most effective algorithm among the three for surface roughness optimization in aluminum alloy milling and provide practical guidance for selecting machining parameters.

Metadata

Item Type: Article
Creators:
Creators
Email / ID Num.
Pham, Van Tinh
UNSPECIFIED
Tran, Cong Chi
UNSPECIFIED
Nguyen, Van Tuu
UNSPECIFIED
Tran, Van Tuong
UNSPECIFIED
Tran, Van Tung
UNSPECIFIED
Subjects: T Technology > TJ Mechanical engineering and machinery
T Technology > TJ Mechanical engineering and machinery > Machine shops and machine shop practice
Divisions: Universiti Teknologi MARA, Selangor > Puncak Perdana Campus > Faculty of Information Management
Journal or Publication Title: Journal of Mechanical Engineering (JMechE)
UiTM Journal Collections: UiTM Journals > Journal of Mechanical Engineering (JMechE)
ISSN: 1823-5514 ; 2550-164X
Volume: 23
Number: 2
Page Range: pp. 57-74
Keywords: Genetic algorithm, Particle swarm optimization, Simulated annealing, Surface roughness, Milling
Date: 15 May 2026
URI: https://ir.uitm.edu.my/id/eprint/141718
Edit Item
Edit Item

Download

[thumbnail of 141718.pdf] Text
141718.pdf

Download (932kB)

ID Number

141718

Indexing

Altmetric
PlumX
Dimensions

Statistic

Statistic details