An Improved Fruit Fly Optimization Algorithm for Multi-Objective Scheduling in Hybrid Flow Shops †
Abstract
1. Introduction
2. Description of the Problem
- Each job is allowed to run on any machine that is ready to handle operation k;
- Processing times vary across different machines within the same operation for the same job;
- All jobs follow an identical routing sequence that requires processing through m sequential operations;
- A machine can process only one job at a time, and the task cannot be interrupted once started.
3. Simulated Annealing—Fruit Fly Optimization Algorithm
3.1. Encode Figures
3.2. Initial Solution Generation
- Considering the processing times of each job’s operations across different machines and the job due dates, an initial sequencing is generated. Calculate the sum of minimum processing times for each job across all operations, with the following formulation:where m represents the total number of operations, represents the machine set for the j-th machine at the k-th operation, and indicates the processing time of job on the j-th machine during the k-th operation. Based on these definitions, normalization is performed by incorporating job due dates, followed by a weighted summation of the time-related metrics with due dates to derive priority parameters for each job. Jobs are then sequenced according to these priority parameters to generate an initial job sequence with favorable quality.
- Based on the processing times of jobs across different machines, a roulette wheel selection mechanism is employed to assign machines for each operation. Assume that a job i has alternative machines available for operation k, with its processing times on these machines given by . The fitness value of each machine is then calculated according to the processing timeThe fitness values of machines are normalized into probabilities . These probabilities form a distribution where the sum equals 1, ensuring that machines with shorter processing times are assigned higher probabilities , thereby increasing their likelihood of being selected. Based on this probability distribution, machine selection is performed using the roulette wheel selection mechanism. Consequently, this probabilistic selection strategy effectively enhances the probability of generating superior solutions.
- An improved NEH [9] algorithm optimizes the initial job sequence by ranking jobs in descending order of total processing time and then inserting each job into the position that minimizes the objective function across all candidate positions in the current partial sequence. A neighborhood perturbation mechanism further refines the sequence by randomly removing and globally reinserting preceding/succeeding jobs (or combinations) to escape local optima.
3.3. Olfactory Foraging Phase
3.4. Visual Search Phase
4. Design of Experiments and Analysis of Outcomes
4.1. Design of Experiments
4.2. Experiments and Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Wang, J.J.; Wang, L. A cooperative memetic algorithm with learning-based agent for energy-aware distributed hybrid flow-shop scheduling. IEEE Trans. Evol. Comput. 2021, 26, 461–475. [Google Scholar] [CrossRef]
- Lin, S.W.; Cheng, C.Y.; Pourhejazy, P.; Ying, K.C.; Lee, C.H. A new benchmark algorithm for hybrid flow shop scheduling with identical machines. Expert Syst. Appl. 2021, 183, 115422. [Google Scholar] [CrossRef]
- Guan, Y.; Chen, Y.; Gan, Z.; Zou, Z.; Ding, W.; Zhang, H.; Liu, Y.; Ouyang, C. Hybrid flow-shop scheduling in collaborative manufacturing with a multi-crossover-operator genetic algorithm. J. Ind. Inf. Integr. 2023, 36, 100514. [Google Scholar] [CrossRef]
- Cheng, L.; Tang, Q.; Zhang, L. Mathematical model and adaptive simulated annealing algorithm for mixed-model assembly job-shop scheduling with lot streaming. J. Manuf. Syst. 2023, 70, 484–500. [Google Scholar] [CrossRef]
- Zhong, W.; Shi, Y. Two-stage no-wait hybrid flow shop scheduling with inter-stage flexibility. J. Comb. Optim. 2018, 35, 108–125. [Google Scholar] [CrossRef]
- Gong, G.; Chiong, R.; Deng, Q.; Han, W.; Zhang, L.; Lin, W.; Li, K. Energy-efficient flexible flow shop scheduling with worker flexibility. Expert Syst. Appl. 2020, 141, 112902. [Google Scholar] [CrossRef]
- Zeng, F.; Cui, J. Improved Fruit Fly Algorithm to Solve No-Idle Permutation Flow Shop Scheduling Problem. Processes 2025, 13, 476. [Google Scholar] [CrossRef]
- Graham, R.L.; Lawler, E.L.; Lenstra, J.K.; Kan, A.R. Optimization and approximation in deterministic sequencing and scheduling: A survey. Ann. Discrete Math. 1979, 5, 287–326. [Google Scholar]
- Kalczynski, P.J.; Kamburowski, J. An improved NEH heuristic to minimize makespan in permutation flow shops. Comput. Oper. Res. 2008, 35, 3001–3008. [Google Scholar] [CrossRef]



| Neighborhood Search Scheme | |
|---|---|
| Job sequencing | Select the job with the maximum tardiness time and swap its position with the adjacent preceding job |
| Select a sequence of consecutive delayed jobs and insert them as a block into an earlier processing position | |
| Machine selection | Select the job with the longest completion time in the current schedule and reassign machines for all its operations |
| Select the machine with the highest current load and reallocate the jobs in the processing queue to other machines. |
| Size | SA-FOA | FOA | SPT | EDD | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| IGD | NR | C(A,*) | IGD | NR | C(A,*) | IGD | NR | C(A,*) | IGD | NR | C(A,*) | |
| n = 20 | 10.62 | 0.75 | 0.64 | 63.96 | 0.25 | 0.53 | 466.48 | 0 | 0.10 | 366.86 | 0 | 0.16 |
| n = 50 | 55.6 | 0.82 | 0.7 | 291.56 | 0.18 | 0.41 | 5191.12 | 0 | 0.07 | 3323.19 | 0 | 0.12 |
| n = 100 | 3.8 | 0.89 | 0.91 | 5164.02 | 0.11 | 0.29 | 16,907.84 | 0 | 0 | 8739.87 | 0 | 0.05 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Shang, Z.; Chen, Y.; Mumtaz, J. An Improved Fruit Fly Optimization Algorithm for Multi-Objective Scheduling in Hybrid Flow Shops. Eng. Proc. 2025, 111, 37. https://doi.org/10.3390/engproc2025111037
Shang Z, Chen Y, Mumtaz J. An Improved Fruit Fly Optimization Algorithm for Multi-Objective Scheduling in Hybrid Flow Shops. Engineering Proceedings. 2025; 111(1):37. https://doi.org/10.3390/engproc2025111037
Chicago/Turabian StyleShang, Ziyi, Yarong Chen, and Jabir Mumtaz. 2025. "An Improved Fruit Fly Optimization Algorithm for Multi-Objective Scheduling in Hybrid Flow Shops" Engineering Proceedings 111, no. 1: 37. https://doi.org/10.3390/engproc2025111037
APA StyleShang, Z., Chen, Y., & Mumtaz, J. (2025). An Improved Fruit Fly Optimization Algorithm for Multi-Objective Scheduling in Hybrid Flow Shops. Engineering Proceedings, 111(1), 37. https://doi.org/10.3390/engproc2025111037

