Abstract:Aiming at the poor adaptability of existing scheduling methods in partially flexible job shop scheduling problems and the lack of consideration for multi-AGV logistics scheduling, an improved genetic algorithm based on a greedy method is proposed. Considering the partially flexible job shop scheduling problem in a multi-AGV environment, a mathematical model is established with constraints of limited processing machine resources, multi-AGV logistics rules, and the objective of minimizing the maximum completion time. An improved genetic algorithm is proposed, which utilizes a three-stage chromosome encoding strategy to simultaneously address three subproblems: processing sequence of operations, machine selection for operations, and logistics transportation equipment selection for operations. The algorithm introduces random number-optimized mutation and a dual-retention strategy to generate and preserve high-quality individual codes, thereby enhancing search accuracy and convergence speed. A greedy method is incorporated into the decoding process to further reduce the completion time. Taking the layer guard plate and upper U-tube processing workshop of a metal processing enterprise as a case study, the improved algorithm is applied for workshop scheduling optimization. The results demonstrate that this method can accurately obtain effective scheduling solutions in the search space, verifying its feasibility and superiority.