With the development of Industry 4.0, discrete manufacturing systems are accelerating their transformation toward flexibility and intelligence to meet the market demand for various products and small-batch production. The flexible flow shop (FFS) paradigm enhances production flexibility, but existing studies often address FFS scheduling and automated guided vehicle (AGV) path planning separately, resulting in resource competition conflicts, such as equipment idle time and AGV congestion, which prolong the manufacturing cycle time and reduce system energy efficiency. To solve this problem, this study proposes an integrated production–transportation scheduling framework (FFSP-AGV). By using the adjacent sequence modeling idea, a mixed-integer linear programming (MILP) model is established, which takes into account the constraints of the production process and AGV transportation task conflicts with the aim of minimizing the makespan and improving overall operational efficiency. Systematic evaluations are carried out on multiple test instances of different scales using the CPLEX solver. The results show that, for small-scale instances (job count ≤10), the MILP model can generate optimal scheduling solutions within a practical computation time (several minutes). Moreover, it is found that there is a significant marginal diminishing effect between AGV quantity and makespan reduction. Once the number of AGVs exceeds 60% of the parallel equipment capacity, their incremental contribution to cycle time reduction becomes much smaller. However, the computational complexity of the model increases exponentially with the number of jobs, making it slightly impractical for large-scale problems (job count > 20). This research highlights the importance of integrated production–transportation scheduling for reducing manufacturing cycle time and reveals a threshold effect in AGV resource allocation, providing a theoretical basis for collaborative optimization in smart factories.
The hybrid flow shop scheduling problem (HFSP) with unrelated parallel machines (UPMs), sequence-dependent setup times (SDSTs), and inter-stage transportation times has recently emerged as a prominent research topic. To address this scheduling problem with the objective of minimizing the maximum completion time (makespan), this paper first formulates a mixed-integer linear programming (MILP) model based on the machine-position modeling idea. Exact solution analyses on small-scale instances reveal that the strong coupling effect of these triple constraints concentrates the computational bottleneck on the time-consuming proof of optimality, thereby underscoring the strongly NP-hard nature of the investigated HFSP-SDST-T problem. To efficiently solve large-scale instances, a novel adaptive co-evolutionary memetic algorithm (ACMA) is proposed. ACMA adopts a dual-population co-evolutionary framework, where a customized genetic algorithm (GA) is designed for global exploration and a Lévy flight-enhanced particle swarm optimization (PSO) improves local search capability. To dynamically balance exploration and exploitation, a Dynamic Role Allocation (DRA) mechanism is developed to adaptively reassign individuals between the two populations according to their evolutionary states. Moreover, a progressive two-stage memetic enhancement strategy is proposed to overcome premature convergence by sequentially activating deep variable neighborhood search (VNS) and a catastrophe-based diversification strategy, enabling adaptive responses to different stagnation levels. Extensive experiments, including ablation studies, comparisons with benchmark algorithms, and computational complexity analysis, are conducted on small- and large-scale instances. The results show that ACMA consistently obtains the exact optimal solutions obtained from the MILP model for small-scale instances and achieves competitive performance on large-scale complex instances. Furthermore, Wilcoxon signed-rank tests confirm the statistical significance of the performance differences, supporting the reliability of the experimental results.