A flexible job-shop scheduling method considering personnel preference
By constructing a ternary coupling matching relationship between processes, machines, and employees, and using a hybrid non-dominated sorting genetic algorithm, the scheduling of flexible workshops is optimized, solving the problem that employee skill matching preferences were not considered, and achieving optimization of production efficiency and resource allocation.
Patent Information
- Application Number
- CN202611469768.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-21
- Publication Date
- 2026-11-27
AI Technical Summary
Existing flexible workshop scheduling methods fail to effectively consider employee skill matching and operational preferences, resulting in poor production efficiency and resource allocation.
A hybrid integer programming scheduling model is constructed to explicitly characterize the ternary coupling matching relationship between processes, machines, and employees. The model introduces the comprehensive employee preference-skill matching coefficient and the basic processing time of the machine, and uses a hybrid non-dominated sorting genetic algorithm to solve the problem. The model combines two-layer chromosome encoding and neighborhood search strategy to optimize the matching relationship between processes, machines, and employees.
It achieves a comprehensive balance between production efficiency, labor costs, and delay costs, generating a scheduling scheme that is more in line with actual production characteristics, and improving production efficiency and the rationality of resource allocation.
Smart Images

Figure CN123180636A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent manufacturing and production scheduling technology, specifically to a flexible workshop scheduling method that takes into account personnel preferences. Background Technology
[0002] The manufacturing industry is undergoing a paradigm shift from technology-driven to "human-centered" approaches, requiring modern manufacturing systems to comprehensively consider the operational, intelligent, and social attributes of participants, making human well-being the core objective of manufacturing. Production scheduling, as a crucial link in the optimized operation of the system, urgently needs to deeply integrate the multiple characteristics of people into the decision-making framework. A key characteristic of the Flexible Job Shop Scheduling (FJSP) problem is that it breaks through the traditional scheduling limitation of a single processing path; the same process can be performed on multiple machines with processing capabilities, making "machine selection" the core decision-making link determining the overall workshop production efficiency and resource allocation. In actual manufacturing systems, machine operation is highly dependent on human operation and intervention. Humans' machine selection preferences are a comprehensive reflection of their skill adaptability, operational proficiency, and physiological and psychological states for specific production tasks. Existing research generally treats personnel as passive, static resources, focusing more on the matching relationship between processes and machines, while insufficiently considering the impact of employee ability differences and job preferences on processing efficiency and resource allocation results. In actual production, whether a process can be completed efficiently depends not only on whether the selected machine has processing capabilities but also on the skill level, operational proficiency, and task matching degree of the performing employee. Therefore, there is an urgent need for a flexible job shop scheduling method that takes into account personnel preferences to solve the above problems. Summary of the Invention
[0003] The purpose of this invention is to provide a flexible workshop scheduling method that takes into account personnel preferences in order to solve the problems mentioned in the background art.
[0004] To solve the above-mentioned technical problems, the present invention adopts the following technical solution: a flexible workshop scheduling method that considers personnel preferences, comprising the following steps:
[0005] A mixed integer programming scheduling model is constructed, and the ternary coupling matching relationship between the process, machine and employee is explicitly characterized in the mixed integer programming scheduling model. The actual dynamic processing time of the process is defined by coupling the comprehensive preference of the employee for the process—the skill matching coefficient and the basic processing time of the machine.
[0006] The mixed-integer programming scheduling model is trained with the objective functions of minimizing the total delay penalty cost, minimizing the maximum completion time determined based on the actual dynamic processing time, and minimizing the total labor cost.
[0007] A hybrid non-dominated sorting genetic algorithm is introduced to solve the optimized hybrid integer programming scheduling model. The hybrid non-dominated sorting genetic algorithm adopts a two-layer chromosome encoding structure, with the outer layer encoding the process sequence and the inner layer encoding the machine-employee combination. The initial population is generated by a hybrid strategy of heuristic construction and random generation. During the solution process, feasible decoding, objective function calculation, elite selection strategy based on non-dominated sorting and crowding distance, crossover and mutation operations are performed sequentially, and a neighborhood search strategy is introduced. After iterative evolution, a non-dominated scheduling solution set is obtained.
[0008] The Pareto front is constructed based on the non-dominated scheduling solution set, and a compromise scheduling scheme is selected based on the normalized comprehensive distance. The machine-employee allocation results, start time, completion time, maximum completion time, total labor cost, total delay penalty cost, and workshop production scheduling Gantt chart for each process are output, and the compromise scheduling scheme is issued for execution.
[0009] Preferably, the actual dynamic processing time satisfy:
[0010] ;
[0011] in, The overall preference of employees for work processes—skill matching coefficient. This refers to the basic processing time of the machine.
[0012] Preferably, the following constraints are established in the mixed-integer programming scheduling model:
[0013] Each process must be completed by one machine and one employee, and the process can only be assigned to a machine with processing capabilities.
[0014] Calculate the process completion time based on the selected machine-employee combination, and ensure that subsequent processes for the same workpiece are not completed before the preceding processes.
[0015] At most one process can be completed on the same machine at any given time, and at most one employee can operate one machine at any given time.
[0016] A process can only be assigned to an employee if employee h is enabled.
[0017] Preferably, the set of machine-employee combinations selected for each process is as follows:
[0018] ;
[0019] in, Indicates a machine that can be processed. Indicates available employees; This indicates the machine availability parameter.
[0020] Preferably, the double-layer chromosome coding structure includes:
[0021] The first layer of process sequence coding has a length equal to the total number of processes for all workpieces. The same workpiece number appears repeatedly according to the number of processes for that workpiece. The 0th occurrence of the workpiece number indicates the 0th process for that workpiece. The order of the workpiece numbers indicates the order in which each process enters the scheduling system.
[0022] The second layer is the resource selection code, which has the same length as the process sequence code. Each code position corresponds to an actual process and stores the machine-employee combination selected from the feasible machine-employee combination set for that process.
[0023] The process sequence encoding keeps the number of processes for each workpiece constant, and the resource selection encoding uses machine selection and employee allocation as a joint decision-making unit so that each chromosome simultaneously expresses the process processing sequence, machine allocation result, and employee allocation result.
[0024] Preferably, the feasible decoding includes:
[0025] According to the arrangement order of each gene site in the process sequence code, starting from the first gene site, each gene is read in ascending order of gene site number; for the currently read gene, the actual process corresponding to the current gene is determined according to the cumulative number of occurrences of the workpiece number represented by the gene up to the current gene site, and the machine and employee corresponding to the same gene site in the resource selection code are read simultaneously.
[0026] The current available time of the workpiece, the current available time of the machine, and the current available time of the employee are obtained respectively. The maximum value of the three current available times is taken as the earliest feasible start time, and the completion time is obtained by weighting the earliest feasible start time with the actual dynamic processing time.
[0027] After decoding the current process, update the available time for the corresponding workpiece, machine, and employee, and continue reading the next gene in ascending order of gene locus number until all processes are decoded.
[0028] Preferably, the elite selection strategy based on non-dominated ranking and crowding distance is as follows: a binary tournament selection is adopted, giving priority to individuals with lower non-dominated rankings, and when two individuals have the same non-dominated ranking, giving priority to individuals with larger crowding distances.
[0029] Preferably, the crossover and mutation operations include:
[0030] For process sequence coding, a partial sequential crossover based on the workpiece set is adopted. After retaining the relative position of the selected workpiece in one parent generation, the remaining positions are filled according to the workpiece order of another parent generation. For resource selection coding, a uniform crossover is adopted, so that the offspring randomly inherits the machine-employee combination of the parent generation at different process positions.
[0031] For process sequence coding, the positions of workpieces are perturbed by exchange mutation, insertion mutation, or multi-point exchange mutation. For resource selection coding, machine-employee combinations of some processes are reselected from the fastest processing combination, the lowest labor cost combination, the comprehensive balanced combination, and the random feasible combination. Resource conflicts are eliminated through feasible decoding and repair operations after crossover and mutation.
[0032] Preferably, the neighborhood search strategy includes:
[0033] Identify overdue workpieces whose completion time exceeds the delivery date, and without changing the internal process sequence of the workpiece, move the relevant processes of the overdue workpiece forward in the process sequence coding to improve its processing priority.
[0034] Identify the critical processes that have the greatest impact on completion time, total labor cost, or total delay penalty cost, and perform resource reallocation in the feasible machine-employee combination set of the corresponding critical processes. The resource reallocation includes at least selecting combinations with shorter actual dynamic processing time, combinations with lower labor costs, or a comprehensive balance combination that takes into account both processing efficiency and labor cost.
[0035] Preferably, when the values of the new individual generated by the neighborhood search for the three objectives—maximum completion time, total labor cost, and total delay penalty cost—are all no greater than the corresponding objective values of the original individual, and at least one objective value is less than the corresponding objective value of the original individual, the new individual is determined to dominate the original individual and is accepted; the new individual is also accepted when its normalized comprehensive evaluation value is less than the normalized comprehensive evaluation value of the original individual; otherwise, the original individual is retained. The parent and offspring populations are merged and re-sorted for non-domination, and individuals are selected sequentially according to non-domination level and crowding distance to form the next generation population while retaining the obtained non-dominated solutions.
[0036] Beneficial Effects: The method of this invention introduces an employee comprehensive preference-skill matching coefficient to construct a three-element coupled matching relationship of "process-machine-employee". With the optimization objectives of minimizing the maximum completion time, total labor cost, and total delay penalty cost, a mixed integer programming model is established to obtain a feasible scheduling scheme and achieve a comprehensive balance between production efficiency, labor cost, and delay cost. It can better describe the scheduling problem under the joint constraints of machine resources and employee resources in actual production. Compared with the traditional flexible job shop scheduling model that only considers "process-machine" matching, this invention further considers the resource occupation, efficiency differences, and cost differences generated by employees participating in the processing process, making the model more consistent with the production characteristics of "limited machine processing capacity, limited employee operation ability, and the need for human-machine synchronous collaboration in process processing" in actual manufacturing systems.
[0037] This invention employs the HybridNSGA-II algorithm for solving the problem. It represents the scheduling scheme through a joint encoding method of process ordering, machine allocation, and employee allocation. During the decoding process, it simultaneously considers process sequence constraints, machine mutual exclusion constraints, and employee mutual exclusion constraints to ensure the feasibility of the generated scheme. Furthermore, it combines non-dominated sorting, crowding distance calculation, crossover and mutation operations, and neighborhood search mechanisms to improve local search capabilities while maintaining population diversity. Attached Figure Description
[0038] Figure 1 The diagram illustrates the problem as described in the embodiments of the present invention.
[0039] Figure 2 The diagram shows the design of the scheduling optimization algorithm provided in the embodiments of the present invention.
[0040] Figure 3 The flowchart illustrates the flexible workshop scheduling method that takes into account personnel preferences, as described in this invention.
[0041] Figure 4 The process sequence coding and machine-employee combination coding diagram provided for embodiments of the present invention.
[0042] Figure 5 Gantt chart of the scheduling scheme for chromosome (213213123) decoding provided in an embodiment of the present invention.
[0043] Figure 6 A selection strategy diagram provided for embodiments of the present invention.
[0044] Figure 7 Crossover variation diagram provided for embodiments of the present invention.
[0045] Figure 8 The neighborhood search graph provided in the embodiments of the present invention.
[0046] Figure 9A small-scale HybridNSGA-II Gantt chart provided for embodiments of the present invention.
[0047] Figure 10 A medium-scale HybridNSGA-II Gantt chart provided for embodiments of the present invention.
[0048] Figure 11 A large-scale HybridNSGA-II Gantt chart provided for embodiments of the present invention.
[0049] Figure 12 A comparison chart of convergence curves for small-scale algorithms provided in embodiments of the present invention.
[0050] Figure 13 A comparison chart of convergence curves for medium-scale algorithms provided in embodiments of the present invention.
[0051] Figure 14 A comparison chart of convergence curves for large-scale algorithms provided in embodiments of the present invention. Detailed Implementation
[0052] To make the objectives and advantages of this invention clearer, the invention will be specifically described below with reference to embodiments. It should be understood that the following text is merely used to describe one or more specific embodiments of the invention and does not strictly limit the scope of protection specifically claimed by the invention.
[0053] Example: A flexible job shop scheduling method that considers personnel preferences. For example... Figure 1 As shown, this invention addresses the flexible workshop scheduling problem that considers personnel preferences. Under the conditions of satisfying constraints on the sequence of workpiece processes, machine processing capacity, and employee operation capabilities, it selects appropriate machine-employee combinations for each process and determines the start and finish times of each process, with the optimization objective being to minimize the maximum finish time, total labor cost, and total delay penalty cost.
[0054] like Figure 2 As shown, this invention uses Hybrid NSGA-II to solve the constructed scheduling model, and achieves collaborative scheduling between processes, machines, and employees through joint optimization of process sequence, machine allocation, and employee allocation.
[0055] The overall process of the flexible workshop scheduling method that considers personnel preferences described in this invention is as follows: Figure 3 As shown, the process includes production data acquisition, scheduling model construction, two-layer chromosome encoding, feasible decoding, selection, crossover and mutation, neighborhood search, and scheduling scheme output, specifically including the following steps:
[0056] Step 1: Obtain production data, including: workpiece set Machine assembly Employee gathering and workpieces process set Acquisition process In the machine Standard basic processing time Machine availability parameters ,staff For the process Overall Preference - Skill Matching Coefficient Employee fixed start-up costs Unit time operation wage cost coefficient Target delivery date of the workpiece Unit delay penalty cost coefficient as well as constant .
[0057] Step 2: Construct a mixed integer programming scheduling model, and explicitly characterize the ternary coupling matching relationship between the process, machine and employee in the mixed integer programming scheduling model, and introduce the coupling between the employee's comprehensive preference for the process—skill matching coefficient and the machine's basic processing time to define the actual dynamic processing time of the process;
[0058] For any process It is necessary to select a processing machine at the same time. and an employee Completed together; when At that time, the process Allowed to be assigned to machine Upstream processing; employees For the process Operational ability and subjective preference are determined by the comprehensive preference-skill matching coefficient. This indicates that the larger the coefficient, the higher the employee's adaptability, proficiency, or willingness to perform the corresponding work process; through decision variables... Indicate process Is it by machine? and employees To complete it together.
[0059] Under this ternary coupling relationship, the actual dynamic processing time of the process is determined by the machine's basic processing time. Overall employee preferences - skill match coefficient Jointly decided, to satisfy:
[0060] ;
[0061] Step 3: The basic assumptions of the mixed-integer programming model include: at any given time, a machine can process at most one operation; at any given time, an employee can operate at most one machine; once an operation begins, it cannot be interrupted; there are no preset priority differences between different workpieces, and all workpieces can be scheduled to begin at time 0; each operation must be completed by one and only one available machine and one available employee; the employee's skill and preference levels remain stable during the scheduling cycle, and are determined by… The parameters, such as machines, employees, processing time, labor costs, delivery time, and late payment penalty coefficient, are known before scheduling begins.
[0062] The decision variables in a mixed-integer programming model include: For 0-1 variables, if the process Assigned to machine And by employees The value is 1 if executed, and 0 otherwise. For 0-1 variables, if the employee If the task is enabled to participate in this scheduling task, the value is 1; otherwise, it is 0. For 0-1 variables, if the process and All in the machine Upward processing, and Ranked The value is 1 if it is not present, and 0 otherwise. For 0-1 variables, if the process and All by employees Operation, and Ranked The value is 1 if it is not present, and 0 otherwise. For process The actual start time of construction; For process The actual completion time; For workpiece The final completion time; For workpiece The time of default and delay.
[0063] The mixed-integer programming scheduling model is trained with the objective functions of minimizing the total delay penalty cost, minimizing the maximum completion time determined based on the actual dynamic processing time, and minimizing the total labor cost; the specific objective function is as follows:
[0064]
[0065] in, To achieve the goal of maximum completion time, The maximum completion time among all workpieces. Let be the final completion time of workpiece j; For the total labor cost target, The fixed activation cost for employee h, Enable state variables for employees. Let h be the unit time work-related cost coefficient for employee. For process A 0-1 variable assigned to machine m and executed by employee h; The total penalty cost target for delays, Let J be the unit delay penalty cost coefficient for workpiece j. Let be the delay time for workpiece j.
[0066] The following constraints are established in the mixed-integer programming scheduling model:
[0067] Work process assignment uniqueness and availability constraints are applied to ensure that each work process must be assigned to one and only one available machine and one available employee, satisfying the following:
[0068] ;
[0069] ;
[0070] Time and process logic constraints are used to characterize the time relationships within a single process and the sequence of processes within the same workpiece, satisfying the following:
[0071] ;
[0072] ;
[0073] in, and Each is a process The start and completion times;
[0074] Machine mutual exclusion constraints are used to ensure that at most one operation can be performed on the same machine at any given time, avoiding time overlap, and satisfying the following:
[0075] ;
[0076] ;
[0077] in, For process With process The processing sequence variable when evenly distributed to machine m, where L is a sufficiently large positive real number;
[0078] The mutual exclusion constraint for employees ensures that at any given time, an employee can operate at most one machine, satisfying the following:
[0079] ;
[0080] ;
[0081] in, For process With process All variables are determined by the order of operations performed by employee h.
[0082] Employee state linkage constraints are used to ensure that once an employee is assigned any processing task, its corresponding activation decision state variable must be activated, satisfying the following:
[0083] ;
[0084] The completion date, delay time definitions, and variable boundary constraints satisfy:
[0085] ;
[0086] ;
[0087] ;
[0088] ;
[0089] ;
[0090] in, Let J be the delivery date for workpiece j;
[0091] Step 4: As Figure 4As shown, the hybrid non-dominated sorting genetic algorithm employs a two-layer chromosome coding structure consisting of process sequence coding (OS) and resource selection coding (RS). Process sequence coding represents the order in which each process enters the scheduling system, while resource selection coding represents the machine-employee combination corresponding to each process. Together, they describe the process processing sequence, machine allocation, and employee allocation. A hybrid non-dominated sorting genetic algorithm is introduced to solve the optimized hybrid integer programming scheduling model. This algorithm employs a two-layer chromosome encoding structure. The first layer is the process sequence encoding, whose length is equal to the total number of processes for all jobs. The same job number is repeated according to the number of processes for that job. The 0th occurrence of a job number represents the 0th process for that job, and the order of the job numbers indicates the order in which processes enter the scheduling system. The second layer is the resource selection encoding, whose length is the same as the process sequence encoding. Each encoding position corresponds to an actual process and stores the machine-employee combination selected from the feasible machine-employee combination set for that process. The process sequence encoding maintains the number of processes for each job unchanged. The resource selection encoding uses machine selection and employee allocation as a joint decision-making unit, so that each chromosome simultaneously expresses the process processing order, machine allocation result, and employee allocation result. The initial population is generated by a hybrid strategy of heuristic construction and random generation. For each process... Its feasible resource combination set is defined as:
[0092] ;
[0093] in, Indicates a machine that can be processed. Indicates assignable employees; elements in resource coding Indicates from set Select a machine-employee combination; each element in the feasible machine-employee combination set simultaneously satisfies machine manufacturability and employee allocability; comprehensive preference—skill matching coefficient. The larger the value, the greater the relationship between employee h and process. The higher the degree of matching, the more it simultaneously affects machine occupancy time, employee occupancy time, labor costs, and workpiece delay time by shortening the corresponding actual dynamic processing time.
[0094] The solution process sequentially executes feasible decoding, objective function calculation, elite selection strategy based on non-dominated sorting and crowding distance, crossover and mutation operations, and introduces a neighborhood search strategy. After iterative evolution, a non-dominated scheduling solution set is obtained.
[0095] Step 5: Perform feasible decoding. For example... Figure 5As shown, taking the process sequence code OS=[2,1,3,2,1,3,1,2,3] as an example, according to the arrangement order of each gene locus in the process sequence code, starting from the first gene locus, each gene is read sequentially in ascending order of gene locus number. For the currently read gene, the actual process corresponding to it is determined based on the cumulative number of occurrences of the workpiece number represented by the gene up to the current gene locus, and the machine and employee corresponding to the same gene locus in the resource selection code RS are read simultaneously.
[0096] Obtain the current available time for workpiece j. Current available time of machine m And the current available time for employee h and the current process The earliest feasible start and completion dates are determined as follows:
[0097]
[0098] After completing this process, update the available time for the corresponding workpiece, machine, and employee, and continue decoding subsequent genes; after all processes are decoded, the final completion time of each workpiece can be obtained. Maximum completion time Labor costs and the cost of penalties for delays This decoding method can ensure that workpiece process sequence constraints, machine mutual exclusion constraints, and employee mutual exclusion constraints are all satisfied.
[0099] Step 6: The elite selection strategy based on non-dominated ranking and crowding distance is as follows: For any two individuals A and B in the population, if individual A is not inferior to individual B in all optimization objectives, and is superior to individual B in at least one objective, then the following condition is met. And there exists a target r such that If so, then individual A is considered to dominate individual B.
[0100] like Figure 6 As shown, individuals in the population are sorted by non-dominated order, and crowding distance is calculated based on their distribution in the target space. In the parent selection phase, a binary tournament selection method is used. In the environmental selection phase, the parent population is merged with the offspring populations generated through crossover, mutation, and local search, and the non-dominated order is re-sorted. Individuals are selected into the next generation population in descending order of non-dominated level. When not all individuals in a certain layer can enter the next generation, they are selected based on crowding distance from largest to smallest until a preset population size is reached. This prioritizes individuals with lower non-dominated levels. When two individuals have the same non-dominated level, the individual with the larger crowding distance is prioritized.
[0101] Step 7: Perform crossover and mutation operations. For example... Figure 7As shown, corresponding crossover and mutation operations are designed for both process sequence coding and machine-employee combination coding to generate new offspring individuals while maintaining the feasibility of process quantity and resource combination. During the crossover and mutation process, considering the ternary coupling decision characteristics of "process-machine-employee," crossover and mutation operations are designed for both process sequence coding and machine-employee combination coding; including:
[0102] For process sequence coding, a partial sequential crossover based on the workpiece set is adopted. After retaining the relative position of the selected workpiece in one parent generation, the remaining positions are filled according to the workpiece order of another parent generation. For resource selection coding, a uniform crossover is adopted, so that the offspring randomly inherits the machine-employee combination of the parent generation at different process positions.
[0103] For process sequence coding, the positions of workpieces are perturbed using exchange mutation, insertion mutation, or multi-point exchange mutation. For resource selection coding, machine-employee combinations for some processes are reselected from the fastest processing combination, the lowest labor cost combination, the comprehensive balanced combination, and the random feasible combination. Resource conflicts are eliminated through feasible decoding and repair operations after crossover and mutation.
[0104] After crossover and mutation, the offspring recalculate the earliest feasible start time for each process through the decoding process, and combine the repair mechanism to appropriately advance the workpiece or reallocate resources.
[0105] Step 8: Introduce a neighborhood search strategy; such as Figure 8 As shown, the neighborhood search includes the process sequence neighborhood and the resource allocation neighborhood. For the process sequence neighborhood, workpieces that cause delays are identified first, and their related processes are appropriately moved forward in the chromosome sequence to improve the processing priority of such workpieces, thereby reducing the workpiece completion time. Delivery period The discrepancy between them; for the resource allocation neighborhood, for some key processes, re-search for feasible machine-employee combinations, in the set of feasible combinations Reselect This allows the resource reallocation process to simultaneously consider machine processing capacity, employee overall preferences—skills matching levels, and differences in labor costs.
[0106] During the neighborhood search process, if a new individual dominates the original individual in a multi-objective sense, or its overall evaluation result is improved, then the neighborhood solution is accepted; otherwise, the original individual is retained. Through this local search mechanism, HybridNSGA-II can further explore high-quality neighborhood solutions based on global evolutionary search, improving the convergence quality and solution set stability of the Pareto front while maintaining the feasibility of scheduling solutions.
[0107] Step 9: Construct the Pareto front based on the non-dominated scheduling solution set, select a compromise scheduling scheme based on the normalized comprehensive distance, output the machine-employee allocation results, start time, completion time, maximum completion time, total labor cost, total delay penalty cost, and workshop production scheduling Gantt chart for each process, and issue the compromise scheduling scheme for execution.
[0108] This application also provides a specific embodiment that comprehensively analyzes the effectiveness and superiority of the method provided above; the following settings are made:
[0109] To address the flexible job shop scheduling problem that considers personnel preferences, a system is constructed that includes a set of workpieces J, a set of machines M, a set of employees H, and a set of processes. The simulation examples show that each workpiece consists of three processes with a strict sequence, each of which can be completed by a combination of different machines and employees.
[0110] In this embodiment, small-scale tests are used to verify the correctness of the mathematical model and the rationality of the precise solution results; medium-scale tests are used to examine the scheduling performance of different algorithms under general production scales; and large-scale tests are used to further verify the scalability and stability of the algorithms under complex production scenarios. All three types of tests maintain consistency in problem structure, constraints, and optimization objectives.
[0111] Small-scale simulations consist of 10 workpieces, 5 machines, 30 processes, and 6 employees; medium-scale simulations consist of 50 workpieces, 15 machines, 150 processes, and 18 employees; large-scale simulations consist of 100 workpieces, 25 machines, 300 processes, and 30 employees.
[0112] In the algorithm parameter settings, the population size for small-scale cases is 80, the number of iterations is 100, the crossover probability is 0.9, the mutation probability of the process sequence is 0.25, the mutation probability of the resource combination is 0.35, the local search probability is 0.35, and the number of local search steps is 5; the population size for medium-scale cases is 120, the number of iterations is 200, the crossover probability is 0.9, the mutation probability of the process sequence is 0.25, the mutation probability of the resource combination is 0.35, the local search probability is 0.30, and the number of local search steps is 6; the population size for large-scale cases is 150, the number of iterations is 200, the crossover probability is 0.9, the mutation probability of the process sequence is 0.25, the mutation probability of the resource combination is 0.35, the local search probability is 0.30, and the number of local search steps is 8.
[0113] Using chromosome OS=[2,1,3,2,1,3,1,2,3] as a decoding example, the gene order only determines the order in which processes enter the scheduling system. The actual start time of each process is also affected by machine occupancy, employee occupancy, and the completion time of the preceding process. For example, although process 1 (process 3) is read in step 3, it can only start processing from time 10 because employee 2 is occupied in the preceding process until time 10. Ultimately, the maximum completion time of this scheme is... .
[0114] like Figure 9 The figure shows a Gantt chart of the scheduling scheme obtained using Hybrid NSGA-II for a small-scale example. Each process is arranged according to a defined machine-employee combination and start and finish times, which is used to illustrate that the generated scheduling scheme satisfies the process sequence relationship and resource mutual exclusion constraints.
[0115] like Figure 10 The figure shows a Gantt chart of the scheduling scheme obtained using Hybrid NSGA-II for a medium-scale example, illustrating the processing arrangement of each process on different machines as the number of workpieces, machines, and employees increases.
[0116] like Figure 11 The figure shows a Gantt chart of the scheduling scheme obtained using Hybrid NSGA-II for a large-scale example, demonstrating the process scheduling and resource allocation results obtained under large-scale production task conditions.
[0117] like Figure 12 As shown, this is a comparison of the convergence curves of different algorithms in a small-scale example; Figure 13 As shown, this is a comparison of the convergence curves of different algorithms under medium-scale examples; Figure 14 The figure shows a comparison of the convergence curves of different algorithms under large-scale computational examples. By comparing the convergence processes at different scales, the search speed, iterative stability, and solution performance of each algorithm under different problem sizes can be analyzed.
[0118] Through calculation examples of different scales and comparative experiments, the method of the present invention can obtain a better feasible scheduling scheme and achieve a good comprehensive balance between production efficiency, labor cost and delay cost. It can provide methodological support for enterprises to comprehensively consider factors such as employee ability, job preference, labor cost and production efficiency in production scheduling decisions.
[0119] The embodiments of the present invention have been described in detail above with reference to the examples. However, the present invention is not limited to the above embodiments. For those skilled in the art, after learning the contents described in the present invention, several equivalent changes and substitutions can be made without departing from the principle of the present invention. These equivalent changes and substitutions should also be considered to fall within the protection scope of the present invention.
Claims
1. A flexible job shop scheduling method that considers personnel preferences, characterized in that: Includes the following steps: A mixed integer programming scheduling model is constructed, and the ternary coupling matching relationship between the process, machine and employee is explicitly characterized in the mixed integer programming scheduling model. The actual dynamic processing time of the process is defined by coupling the comprehensive preference of the employee for the process—the skill matching coefficient and the basic processing time of the machine. The mixed-integer programming scheduling model is trained with the objective functions of minimizing the total delay penalty cost, minimizing the maximum completion time determined based on the actual dynamic processing time, and minimizing the total labor cost. A hybrid non-dominated sorting genetic algorithm is introduced to solve the optimized hybrid integer programming scheduling model. The hybrid non-dominated sorting genetic algorithm adopts a two-layer chromosome encoding structure, with the outer layer encoding the process sequence and the inner layer encoding the machine-employee combination. The initial population is generated by a hybrid strategy of heuristic construction and random generation. During the solution process, feasible decoding, objective function calculation, elite selection strategy based on non-dominated sorting and crowding distance, crossover and mutation operations are performed sequentially, and a neighborhood search strategy is introduced. After iterative evolution, a non-dominated scheduling solution set is obtained. The Pareto front is constructed based on the non-dominated scheduling solution set, and a compromise scheduling scheme is selected based on the normalized comprehensive distance. The machine-employee allocation results, start time, completion time, maximum completion time, total labor cost, total delay penalty cost, and workshop production scheduling Gantt chart for each process are output, and the compromise scheduling scheme is issued for execution.
2. The flexible workshop scheduling method considering personnel preferences according to claim 1, characterized in that: The actual dynamic processing time satisfy: ; in, The overall preference of employees for work processes—skill matching coefficient. This refers to the basic processing time of the machine.
3. The flexible workshop scheduling method considering personnel preferences according to claim 2, characterized in that: The following constraints are established in the mixed-integer programming scheduling model: Each process must be completed by one machine and one employee, and the process can only be assigned to a machine with processing capabilities. Calculate the process completion time based on the selected machine-employee combination, and ensure that subsequent processes for the same workpiece are not completed before the preceding processes. At most one process can be completed on the same machine at any given time, and at most one employee can operate one machine at any given time. A process can only be assigned to an employee if employee h is enabled.
4. A flexible workshop scheduling method considering personnel preferences according to claim 2, characterized in that: The set of machine-employee combinations selected for each process is as follows: ; in, Indicates a machine that can be processed. Indicates available employees; This indicates the machine availability parameter.
5. A flexible workshop scheduling method considering personnel preferences according to claim 4, characterized in that: The double-layer chromosome coding structure includes: The first layer of process sequence coding has a length equal to the total number of processes for all workpieces. The same workpiece number appears repeatedly according to the number of processes for that workpiece. The 0th occurrence of the workpiece number indicates the 0th process for that workpiece. The order of the workpiece numbers indicates the order in which each process enters the scheduling system. The second layer is the resource selection code, which has the same length as the process sequence code. Each code position corresponds to an actual process and stores the machine-employee combination selected from the feasible machine-employee combination set for that process. The process sequence encoding keeps the number of processes for each workpiece constant, and the resource selection encoding uses machine selection and employee allocation as a joint decision-making unit so that each chromosome simultaneously expresses the process processing sequence, machine allocation result, and employee allocation result.
6. A flexible workshop scheduling method considering personnel preferences according to claim 5, characterized in that: The feasible decoding includes: According to the arrangement order of each gene site in the process sequence code, starting from the first gene site, each gene is read in ascending order of gene site number; for the currently read gene, the actual process corresponding to the gene is determined according to the cumulative number of occurrences of the workpiece number represented by the gene up to the current gene site, and the machine and employee corresponding to the same gene site in the resource selection code are read simultaneously. The current available time of the workpiece, the current available time of the machine, and the current available time of the employee are obtained respectively. The maximum value of the three current available times is taken as the earliest feasible start time, and the completion time is obtained by weighting the earliest feasible start time with the actual dynamic processing time. After the current process is decoded, the available time for the corresponding workpiece, machine and employee is updated, and the next gene is read in ascending order of the gene locus number until all processes are decoded.
7. A flexible workshop scheduling method considering personnel preferences according to claim 4, characterized in that: The elite selection strategy based on non-dominated ranking and crowding distance is as follows: a binary tournament selection is adopted, prioritizing individuals with lower non-dominated rankings, and when two individuals have the same non-dominated ranking, prioritizing individuals with larger crowding distances.
8. A flexible workshop scheduling method considering personnel preferences according to claim 7, characterized in that: The crossover and mutation operations include: For process sequence coding, a partial sequential crossover based on the workpiece set is adopted. After retaining the relative position of the selected workpiece in one parent generation, the remaining positions are filled according to the workpiece order of another parent generation. For resource selection coding, a uniform crossover is adopted, so that the offspring randomly inherits the machine-employee combination of the parent generation at different process positions. For process sequence coding, the positions of workpieces are perturbed by exchange mutation, insertion mutation, or multi-point exchange mutation. For resource selection coding, machine-employee combinations of some processes are reselected from the fastest processing combination, the lowest labor cost combination, the comprehensive balanced combination, and the random feasible combination. Resource conflicts are eliminated through feasible decoding and repair operations after crossover and mutation.
9. A flexible workshop scheduling method considering personnel preferences according to claim 4, characterized in that: The neighborhood search strategy includes: Identify overdue workpieces whose completion time exceeds the delivery date, and without changing the internal process sequence of the workpiece, move the relevant processes of the overdue workpiece forward in the process sequence coding to improve its processing priority. Identify the critical processes that have the greatest impact on completion time, total labor cost, or total delay penalty cost, and perform resource reallocation in the feasible machine-employee combination set of the corresponding critical processes. The resource reallocation includes at least selecting combinations with shorter actual dynamic processing time, combinations with lower labor costs, or a comprehensive balance combination that takes into account both processing efficiency and labor cost.
10. A flexible workshop scheduling method considering personnel preferences according to claim 1, characterized in that: For a new individual generated by the neighborhood search, the new individual is accepted if the values of the new individual in the three objectives of maximum completion time, total labor cost and total delay penalty cost are all no greater than the corresponding objective values of the original individual, and at least one objective value is less than the corresponding objective value of the original individual. When the new individual does not dominate the original individual, if the normalized comprehensive evaluation value of the new individual is less than that of the original individual, the new individual is accepted; otherwise, the original individual is retained. The parent and offspring populations are merged and re-sorted for non-domination, and individuals are selected in sequence according to non-domination level and crowding distance to form the next generation population, so as to retain the obtained non-dominated solutions.
