A multi-objective intelligent optimization APS production scheduling method and system
Through the APS scheduling method of multi-objective intelligent optimization, the combination of heuristics and Bayesian optimization algorithm is used to solve the problems of insufficient complexity processing and poor solution quality in traditional scheduling technology, and achieve more efficient scheduling efficiency and solution. quality.
Patent Information
- Application Number
- CN202410649635.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-05-24
AI Technical Summary
In traditional production scheduling technology, complexity processing is insufficient, constraints are difficult to satisfy, local optimal solutions and changes are difficult to cope with, and solution quality is poor.
Using the multi-objective intelligent optimization APS production scheduling method, by obtaining the details of the production orders to be scheduled and the list of available resources, a multi-objective dynamic production scheduling model is established, and the heuristic algorithm and Bayesian optimization algorithm are used to solve the problem, combining soft constraints and hard constraints. , calculate the score of the production scheduling result to obtain the best production scheduling result.
It improves the quality of scheduling efficiency and solution, designs a scheduling model that conforms to actual production, abstracts complex requirements into mathematical models, and effectively solves the problems of low solution efficiency and poor quality in traditional methods.
Smart Images

Figure CN118229039B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of production scheduling scheme planning, and in particular to a multi-objective intelligent optimization APS production scheduling method and system. Background Art
[0002] Production scheduling refers to the process of allocating production tasks to production resources. Under the premise of considering capacity and equipment, and with a certain amount of materials, the production order of each production task is arranged, the production order is optimized, and the production equipment is optimized to reduce waiting time and balance the production load of each machine and worker.
[0003] As we all know, lean production management has replaced the traditional rough production management method, and the use of information technology has become an important way to achieve lean production management. At present, the widely used information tools in the manufacturing industry include enterprise resource planning system (ERP), manufacturing execution system (MES) and advanced planning and scheduling system (APS), among which APS, as a supplement to ERP, plays a key role in coordinating logistics, solving production resource bottlenecks and ensuring delivery dates.
[0004] APS, or Advanced Planning and Scheduling System, is an advanced planning and scheduling tool for supply chain management and constraint theory. Its core includes a large number of mathematical models, optimization techniques, and simulation techniques. In the production process of an enterprise, the arrangement and execution of tasks involve multiple factors, including human resources, production equipment, raw materials, regulatory compliance, and environmental requirements. In particular, the application of APS is crucial in procurement, inventory management, and resource utilization. Therefore, it can be said that APS has become synonymous with lean production.
[0005] APS has become an indispensable tool for modern manufacturing to achieve lean production management. In order to better meet the needs of enterprises, especially under multi-objective constraints, APS scheduling technology based on multi-objective optimization has become particularly important. Summary of the invention
[0006] The technical problem to be solved by the present invention is to provide a multi-objective intelligent optimization APS production scheduling method and system to solve the problems that may be faced in traditional production scheduling technology, such as insufficient complexity processing, difficulty in meeting constraints, falling into local optimal solutions, difficulty in responding to changes and poor solution quality.
[0007] In order to achieve the above object, the technical solution adopted by the present invention is:
[0008] A multi-objective intelligent optimization APS production scheduling method includes the following steps:
[0009] Obtain the details of the orders to be scheduled and the list of available resources, so as to establish a multi-objective dynamic scheduling model, in which a dynamic multi-objective function and constraints are set;
[0010] The multi-objective dynamic production scheduling model is solved based on the heuristic algorithm and Bayesian optimization algorithm to obtain the production scheduling results that meet the constraints;
[0011] The scores of the production scheduling results are calculated according to the multi-objective constraint score formula to obtain the best production scheduling results.
[0012] Furthermore, the available resource list includes at least a material list, personnel resources, work teams and equipment resources.
[0013] Furthermore, the dynamic multi-objective function is determined based on the objectives of maximizing the delivery rate, maximizing the utilization of equipment, and reducing inventory and labor costs, which is expressed as:
[0014] ;
[0015] Among them, O is the order details, E represents the equipment resources, k represents the time, p represents the worker number, S ip represents the proficiency of order i when it is processed by worker p, C ijkp It is expressed as the cost of processing order i by worker p on device j at time k, Efficiency ijkp It is expressed as the efficiency of order i when it is processed by worker p on device j at time k, Penalty i It is represented as the default penalty for order i, and λ is the weight parameter that balances cost and efficiency.
[0016] Furthermore, the steps of solving the multi-objective dynamic production scheduling model based on the Bayesian optimization algorithm include:
[0017] Define the hyperparameter space and determine the range and possible values of the hyperparameters to be adjusted;
[0018] Select a set of initial hyperparameter samples according to the hyperparameter space and perform calculations according to the heuristic algorithm to obtain the production scheduling results that meet the constraints;
[0019] A Gaussian proxy model and acquisition function are established, and the next hyperparameter that may correspond to the optimal solution is selected and recalculated until the termination condition is met, and all production scheduling results that meet the constraints are obtained.
[0020] Further, the steps of performing calculations according to the heuristic algorithm include:
[0021] A current solution is randomly generated at initialization;
[0022] Construct a neighborhood of the current solution, find the target solution with the best fitness value from the neighborhood, and compare the target solution with the current solution;
[0023] When the target solution is better than the current solution, the current solution is updated with the target solution and used as the current solution for the next round of iteration; when the target solution is not better than the current solution, the next round of iteration is performed directly until the termination condition is met.
[0024] Furthermore, the constraints include soft constraints and hard constraints. Hard constraints are expressed as conditions that the solution results must meet under any circumstances, and soft constraints are expressed as conditions for optimizing the solution results.
[0025] Furthermore, the multi-objective constraint score formula is determined by soft constraints and hard constraints, which is expressed as:
[0026] ;
[0027] Among them, W represents the weight, Hard represents the hard constraint, Soft represents the soft constraint, and x and y represent the number of constraints.
[0028] The present invention also provides an APS production scheduling system with multi-objective intelligent optimization, comprising at least one processor and at least one memory, wherein the memory stores a computer program, and when the program is executed by the processor, the processor is able to execute the above-mentioned APS production scheduling method with multi-objective intelligent optimization.
[0029] Compared with the prior art, the present invention has at least the following beneficial effects:
[0030] (1) The present invention designs a production scheduling model that conforms to actual production, establishes multi-objective dynamic constraints, and efficiently and flexibly abstracts complex scheduling requirements into a mathematical model;
[0031] (2) Compared with the problems of low solution efficiency and poor solution quality involved in traditional scheduling methods, the present invention proposes an algorithm that combines heuristics and Bayesian optimization, which effectively improves scheduling efficiency and solution quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0033] Figure 1 is a flowchart of the steps of the APS production scheduling method provided by an embodiment of the present invention;
[0034] Figure 2 It is a flowchart of steps for solving a multi-objective dynamic production scheduling model based on a Bayesian optimization algorithm provided by an embodiment of the present invention;
[0035] Figure 3 is a flowchart of the steps of the tabu search algorithm provided by an embodiment of the present invention;
[0036] Figure 4 It is a schematic diagram of the solution result of the APS production scheduling method provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0037] It should be noted that in the present invention, descriptions such as "first", "second", "one", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0038] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0039] The following are specific embodiments of the present invention, and the technical solutions of the present invention are further described in conjunction with the accompanying drawings, but the present invention is not limited to these embodiments.
[0040] In this embodiment, if Figure 1 As shown, a multi-objective intelligent optimization APS production scheduling method is provided, including the following steps:
[0041] S1. Obtain the details of the orders to be scheduled and the list of available resources, so as to establish a multi-objective dynamic scheduling model, wherein the multi-objective dynamic scheduling model is provided with a dynamic multi-objective function and constraint conditions;
[0042] S2. Solving the multi-objective dynamic production scheduling model based on a heuristic algorithm and a Bayesian optimization algorithm to obtain a production scheduling result that satisfies the constraint conditions;
[0043] S3. Calculate the score of the production scheduling result according to the multi-objective constraint score formula to obtain the best production scheduling result.
[0044] Among them, the available resource list includes at least the material list M, personnel resources P, work teams T and equipment resources E.
[0045] Then, a dynamic multi-objective function is constructed, which is based on the objectives of maximizing the delivery rate, maximizing the utilization of equipment, and reducing inventory and labor costs, and is specifically expressed as:
[0046] ;
[0047] Among them, O is the order details, E represents the equipment resources, k represents the time, p represents the worker number, S ip represents the proficiency of order i when it is processed by worker p, C ijkp It is expressed as the cost of processing order i by worker p on device j at time k, Efficiency ijkp It is expressed as the efficiency of order i when it is processed by worker p on device j at time k, Penalty i It is represented as the default penalty for order i, and λ is the weight parameter that balances cost and efficiency.
[0048] The constraints include hard constraints and soft constraints. Hard constraints are those that cannot be violated. If they are violated, unreasonable situations will occur. In model solving, if hard constraints are violated, the solution cannot be obtained.
[0049] Soft constraints are in contrast to hard constraints. They are violable and are expressed as conditions for optimizing the solution. That is to say, on the premise that the hard constraints are met, the soft constraints are judged. It is best if the soft constraints can be avoided. If they must be violated, the fewer violations, the better the expected results. For example, cost is a soft constraint. Costs will definitely be incurred in production operations. On the premise that the hard constraints are met, if the cost is lower, the solution will definitely be better.
[0050] Therefore, the constraints in the multi-objective dynamic production scheduling model proposed in this embodiment include the following:
[0051] (1) Delivery guarantee:
[0052] ;
[0053] Among them, DueDate i Represents the delivery time of order i, End ijk It is represented as the end time of order i on device j at time k;
[0054] (2) Resource utilization:
[0055] ;
[0056] Among them, U ijk It is represented as the utilization rate of order i on device j at time k;
[0057] (3) Material requirements:
[0058] ;
[0059] Among them, D il It is expressed as the demand for material l in order i, R ijk It is represented as the resource consumption of order i on device j at time k;
[0060] (4) Feasibility constraints:
[0061] ;
[0062] Among them, X ijk It is expressed as the production of order i on equipment j at time k, Capacity ijk It is represented by the capacity of equipment j at time k for order i;
[0063] (5) Timing constraints:
[0064] ;
[0065] Among them, Start ijk Represented as the start time of order i on device j at time k, Setup ijk It is represented by the preparation time of order i at device j, Wait ij It is represented as the waiting time of order i at device j, Travel ij It is represented as the transfer time of order i at device j;
[0066] (6) Overlap constraint:
[0067] ;
[0068] Among them, Start i'jk' It is represented as the start time of a new order i' on device j at a new time k'.
[0069] In this embodiment, a production scheduling model that conforms to actual production is designed. By constructing dynamic multi-objective functions and constraints, complex scheduling requirements are abstracted into a mathematical model efficiently and flexibly.
[0070] After determining the model to be solved, such as Figure 2 As shown, the solution steps based on the Bayesian optimization algorithm provided in this embodiment specifically include:
[0071] S21. Define the hyperparameter space and determine the range and possible values of the hyperparameters to be adjusted;
[0072] S22. Select a set of initial hyperparameter samples D according to the hyperparameter space0 Perform calculations based on the heuristic algorithm to obtain the production scheduling results that meet the constraints;
[0073] S23. Establish a Gaussian proxy model and acquisition function, select the next hyperparameter that may correspond to the optimal solution and recalculate until the termination condition is met, and obtain all production scheduling results that meet the constraints.
[0074] The Bayesian optimization algorithm can be generally divided into two parts: the probability proxy model and the acquisition function. The probability proxy model used in this embodiment is the Gaussian proxy model, which can be regarded as a function whose input is x. t , the output of the function is the current input x t The mean and variance of the predicted value under Gaussian distribution. The role of the acquisition function is to select the next evaluation point based on the probabilistic proxy model. The principles for selecting points are: on the one hand, to explore the unknown space (unevaluated parameter combinations) as much as possible, so that the probabilistic proxy model can be closer to the real unknown function; on the other hand, to sample near the existing results.
[0075] In the calculation process, this embodiment adopts a heuristic algorithm to perform calculations, and the heuristic algorithm includes but is not limited to simulated annealing, taboo search and genetic algorithm.
[0076] This embodiment uses the taboo search algorithm as an example to illustrate the process of calculating and obtaining the production scheduling result. Figure 3 As shown, the specific steps include:
[0077] A1. Randomly generate a current solution at initialization;
[0078] A2. construct a neighborhood of the current solution, find a target solution with the best fitness value from the neighborhood, and compare the target solution with the current solution;
[0079] A3. When the target solution is better than the current solution, the current solution is updated with the target solution and used as the current solution for the next round of iteration; when the target solution is not better than the current solution, the next round of iteration is performed directly until the termination condition is met.
[0080] Compared with the problems of low solution efficiency and poor solution quality involved in previous traditional scheduling methods, this embodiment proposes an algorithm that combines heuristic and Bayesian optimization. Specifically, it adds hyperparameter optimization preprocessing on the basis of traditional heuristic algorithms, thereby effectively improving scheduling efficiency and solution quality.
[0081] After obtaining the solved production scheduling result, it is necessary to calculate the score of the production scheduling result according to the multi-objective constraint score formula to obtain the optimal solution.
[0082] Specifically, in the constraints, if there are x hard constraints and y soft constraints, they are recorded as Hard x and Soft y , the weight corresponding to each constraint is W.
[0083] Therefore, the score calculation formula is:
[0084] ;
[0085] In most scenarios, there are only negative constraints, so the final score is basically negative, and the score in the most ideal state is zero.
[0086] Therefore, if Figure 4 As shown, the yellow line represents the solution curve of the traditional algorithm (single heuristic algorithm), and the blue line represents the solution curve of the algorithm provided in this embodiment. The horizontal axis represents the solution score, and the larger the score, the better the solution; the vertical axis represents the solution time, and the shorter the time, the faster the solution speed.
[0087] The algorithm provided in this embodiment shortens the calculation time by 58% compared with the traditional algorithm for the same production scheduling target, and the production scheduling plan is better, and the equipment load is greatly improved.
[0088] This embodiment also provides an APS production scheduling system with multi-objective intelligent optimization, including at least one processor and at least one memory, wherein the memory stores a computer program. When the program is executed by the processor, the processor is able to execute the above-mentioned production scheduling method based on the heuristic algorithm.
[0089] Compared with the problems of low solution efficiency and poor solution quality involved in previous traditional scheduling methods, the production scheduling system provided in this embodiment effectively improves the production scheduling efficiency and solution quality.
[0090] The specific embodiments described herein are merely examples of the spirit of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in similar ways, but they will not deviate from the spirit of the present invention or exceed the scope defined by the appended claims.
Claims
1. A multi-objective intelligent optimization APS production scheduling method, characterized in that: Includes steps: Obtaining the details of the orders to be scheduled and the list of available resources, thereby establishing a multi-objective dynamic scheduling model, wherein the multi-objective dynamic scheduling model is provided with a dynamic multi-objective function and constraint conditions; Solving the multi-objective dynamic production scheduling model based on a heuristic algorithm and a Bayesian optimization algorithm to obtain a production scheduling result that satisfies the constraint conditions; Calculating the score of the production scheduling result according to the multi-objective constraint score formula, so as to obtain the best production scheduling result; The dynamic multi-objective function is determined based on the objectives of maximizing the delivery rate, maximizing the equipment utilization rate, and reducing inventory and labor costs, and is expressed as: ; Among them, O is the order details, E represents the equipment resources, k represents the time, p represents the worker number, S ip The proficiency of order i when processed by worker p, C ijkp It is expressed as the cost of processing order i by worker p on device j at time k, Efficiency ijkp It is expressed as the efficiency of order i when it is processed by worker p on device j at time k, Penalty i It is represented as the default penalty for order i, and λ is the weight parameter that balances cost and efficiency; The multi-objective constraint score formula is determined by soft constraints and hard constraints, which is expressed as: ; Among them, W represents the weight, Hard represents the hard constraint, Soft represents the soft constraint, and x and y represent the number of constraints.
2. The multi-objective intelligent optimization APS production scheduling method according to claim 1 is characterized in that: The available resource list includes at least a material list, personnel resources, work teams and equipment resources.
3. The multi-objective intelligent optimization APS production scheduling method according to claim 1 is characterized in that: The steps of solving the multi-objective dynamic production scheduling model based on the Bayesian optimization algorithm include: Define the hyperparameter space and determine the range and possible values of the hyperparameters to be adjusted; Select a set of initial hyperparameter samples according to the hyperparameter space and perform operations according to the preset algorithm to obtain the production scheduling results that meet the constraints; A Gaussian proxy model and acquisition function are established, and the next hyperparameter that may correspond to the optimal solution is selected and recalculated until the termination condition is met, and all production scheduling results that meet the constraints are obtained.
4. The multi-objective intelligent optimization APS production scheduling method according to claim 3 is characterized in that: The steps of performing calculations according to the preset algorithm include: A current solution is randomly generated at initialization; Constructing a neighborhood of the current solution, finding a target solution with the best fitness value from the neighborhood, and comparing the target solution with the current solution; When the target solution is better than the current solution, the current solution is updated with the target solution and used as the current solution for the next round of iteration; when the target solution is not better than the current solution, the next round of iteration is performed directly until the termination condition is met.
5. The multi-objective intelligent optimization APS production scheduling method according to claim 1 is characterized in that: The constraint conditions include soft constraints and hard constraints. The hard constraints are expressed as conditions that the solution results must satisfy under any circumstances, and the soft constraints are expressed as conditions for optimizing the solution results.
6. A multi-objective intelligent optimization APS production scheduling system, comprising at least one processor and at least one memory, characterized in that: The memory stores a computer program, and when the program is executed by the processor, the processor is enabled to execute the multi-objective intelligent optimization APS production scheduling method described in any one of claims 1-5.
