Production and warehousing intelligent linkage decision-making method and service platform based on order batch processing
Through the intelligent linkage decision-making method of production and warehousing based on order batch processing, using improved genetic algorithms and adaptive large-field search algorithms, combined with collaborative optimization algorithms, we solve the problem of batch scheduling and batch production in intermittent production enterprises in the existing technology. Collaborative operations requirements in queuing realize efficient decision-making calculations and collaborative planning.
Patent Information
- Application Number
- CN202410501297.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-25
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-04-25
AI Technical Summary
Existing technology cannot meet the collaborative planning needs of intermittent production enterprises in batch production scheduling and batch warehousing. Existing solutions cannot effectively coordinate the optimization of multiple decision-making units, resulting in low decision-making efficiency and long time consumption.
Adopting an intelligent linkage decision-making method for production and warehousing based on order batch processing, by obtaining production scheduling and warehousing information, using improved genetic algorithms (GA) and adaptive large-area search algorithms (ALNS), combined with collaborative optimization algorithms and dynamic tolerances, Perform time coupling and consistency optimization to achieve distributed solution and consistent convergence of multiple decision-making units.
It significantly improves the decision-making calculation speed, reduces the time-consuming of collaborative optimization, meets the collaborative planning needs of batch production scheduling and batch warehousing of intermittent production enterprises, and improves the collaborative planning efficiency of production and warehousing.
Smart Images

Figure CN118428851B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart manufacturing technology, and in particular to a production and warehousing intelligent linkage decision-making method and service platform based on order batch processing. Background Art
[0002] In related technologies, with the continuous development of information technologies such as the Internet of Things and RFID, decision-making units such as workshops and warehouses within an enterprise can realize real-time data collection and transmission between each other. However, at the moment when the industrial operation environment has been interconnected, there is a lack of collaborative optimization algorithms for decision-making units such as workshops and warehouses with coupled relationships, which makes it impossible to solve the global optimal solution for system operation; at the same time, as the degree of personalization of customer needs continues to deepen, customer orders show the characteristics of multiple categories and small quantities, which has a great impact on intermittent production companies such as coatings, pharmaceuticals and petrochemicals. For example: for batch processing of customer orders under large-scale production goals and batch optimization of operation processes, due to the differences in delivery time, quantity and type of orders from multiple customers, merging customer orders and batch production will cause subsequent warehouse scheduling planning to be hindered, and the difficulty of searching for the global optimal decision-making plan for the entire system will increase.
[0003] In the related technologies, the schemes for batch production and cargo space planning using heuristic optimization algorithms can only perform operations planning for a single dimension or a single model. When multiple decision-making units are involved, it is impossible to coordinate and optimize the optimal operations planning scheme. For example, if only production scheduling or cargo planning is considered, it is impossible to adapt to the production scheduling of multiple customer orders that are split and reorganized and the cargo space planning of production orders that are split and reorganized from multiple customer sources, resulting in poor production scheduling and warehousing effects corresponding to the generated decision schemes. At the same time, most of the existing relevant schemes for collaborative operations decision-making on production scheduling and cargo space planning adopt an integrated solution method, and the iteration time of the decision is lengthy. The production scheduling scheme and warehousing scheme of the decision cannot meet the collaborative operations needs of intermittent production enterprises for batch production scheduling and batch warehousing.
[0004] At present, the solutions for batch production and cargo space planning in related technologies cannot meet the collaborative operations needs of batch production and batch warehousing of intermittent production enterprises, and no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present application provide a production and warehousing intelligent linkage decision-making method and service platform based on order batch processing, so as to at least solve the problem that the solutions of related technologies for batch production and cargo space planning cannot meet the collaborative operation needs of intermittent production enterprises for batch production scheduling and batch warehousing.
[0006] In the first aspect, an embodiment of the present application provides a method for intelligent linkage decision-making between production and warehousing based on order batch processing, including: respectively obtaining the current pre-planned production scheduling information and the current pre-planned warehousing information, wherein the production scheduling information is generated by the production unit based on the current order batch processing information and the current production coupling variable expected value, using the improved genetic GA algorithm for batch production planning, and associating the corresponding total production cost and production offline time series; the warehousing information is generated by the warehousing unit based on the current incoming order information and the current expected value of the warehousing scheduling coupling variable, using the adaptive large area search ALNS algorithm for location planning, and associating the corresponding total warehousing cost and warehousing scheduling time series, the production unit and the warehousing unit are time-coupled through the corresponding production offline time series and the corresponding warehousing scheduling time series; the total production cost, the production offline time series, and the total warehousing cost and the inventory scheduling time series, and use the improved collaborative optimization algorithm and dynamic tolerance for collaborative optimization to update the current production coupling variable expected value and the current inventory scheduling coupling variable expected value, wherein the improved collaborative optimization algorithm uses a dynamic relaxation factor to update the dynamic tolerance; determine whether the candidate production scheduling information and the candidate warehousing information of the current iteration meet the preset consistency constraints, and when it is determined that the preset consistency constraints are met, use the corresponding candidate production scheduling information and the corresponding candidate warehousing information as collaborative planning results, wherein the candidate production scheduling information is generated by the production unit based on the updated new production coupling variable expected value and the GA algorithm, and the candidate warehousing information is generated by the warehousing unit based on the updated new inventory scheduling coupling variable expected value and the ALNS algorithm, and the warehousing information is generated by the warehousing unit based on the updated new inventory scheduling coupling variable expected value and the ALNS algorithm.
[0007] In a second aspect, an embodiment of the present application provides a service platform, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the production and warehousing intelligent linkage decision-making method based on order batch processing as described in the first aspect are implemented.
[0008] Compared with the related art, the production and warehousing intelligent linkage decision-making method and service platform based on order batch processing provided in the embodiment of the present application adopts the method of respectively obtaining the current pre-planned production scheduling information and the current pre-planned warehousing information, wherein the production scheduling information is associated with the corresponding total production cost and the production offline time series, and the warehousing information is associated with the corresponding total warehousing cost and the warehousing time series; the total production cost, the production offline time series, the total warehousing cost and the warehousing time series are collaboratively optimized using an improved collaborative optimization algorithm and dynamic tolerance to update the current production coupling variable expected value and the current warehousing coupling variable expected value; the production corresponding to the candidate production scheduling information of the current iteration is determined. Whether the offline time series and the inventory scheduling time series corresponding to the candidate warehousing information meet the preset consistency constraints, and when it is judged that the preset consistency constraints are met, the corresponding candidate production scheduling information and the corresponding candidate warehousing information are used as collaborative planning results, and the multi-decision unit problem is solved in a distributed manner by adopting a collaborative optimization algorithm, and a coupling function is used for consistency convergence, so that the decision calculation speed is greatly improved, and then by adopting a dynamically updated relaxation factor, the time consumption of collaborative optimization is reduced, and the decision-making efficiency is improved. The problem that the solutions for batch production and cargo space planning by related technologies cannot meet the collaborative operation needs of batch scheduling and batch warehousing of intermittent production enterprises is solved.
[0009] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0011] Figure 1 It is a hardware structure block diagram of a terminal of the production and warehousing intelligent linkage decision method based on order batch processing in an embodiment of the present application;
[0012] Figure 2 is a flow chart of a production and warehousing intelligent linkage decision-making method based on order batch processing according to an embodiment of the present application;
[0013] Figure 3 is a schematic diagram of a dual-coded individual provided in an embodiment of the present application;
[0014] Figure 4 is a schematic diagram of a coding parameter table of an embodiment of the present application;
[0015] Figure 5 is a schematic diagram of an embodiment of the present application using a genetic algorithm to perform genetic crossover, mutation and correction operations;
[0016] Figure 6 It is a schematic diagram of a product code individual corresponding to an embodiment of the present application undergoing a mutation operation;
[0017] Figure 7 It is a schematic diagram of the batch reorganization operation of individual product codes in the embodiment of the present application;
[0018] Figure 8 It is a schematic diagram of the destruction operation of the storage location priority code in the embodiment of the present application;
[0019] Fig. 9 It is a schematic diagram of the repair operation of the storage location priority code in the embodiment of the present application;
[0020] Fig.10 It is a schematic diagram of the embodiment of the present application performing a disturbance operation on the queue priority code;
[0021] Fig.11 A structural block diagram of a production and warehousing intelligent linkage decision-making device based on order batch processing according to an embodiment of the present application. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application. In addition, it can also be understood that although the efforts made in this development process may be complex and lengthy, for ordinary technicians in the field related to the contents disclosed in the present application, some changes such as design, manufacturing or production based on the technical contents disclosed in the present application are only conventional technical means, and should not be understood as insufficient contents disclosed in the present application.
[0023] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0024] Unless otherwise defined, the technical terms or scientific terms involved in this application should be understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the" and the like involved in this application do not indicate a quantitative limitation, and may represent the singular or plural. The terms "include", "comprise", "have" and any of their variations involved in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units inherent to these processes, methods, products or devices. The "multiple links" involved in this application refer to links greater than or equal to two. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" may represent: A exists alone, A and B exist at the same time, and B exists alone. The terms "first", "second", "third" and the like involved in this application are only used to distinguish similar objects, and do not represent a specific ordering of objects.
[0025] The method embodiment provided in this embodiment can be executed in a terminal, a computer or a similar computing device. Taking running on a terminal as an example, Figure 1 1 is a hardware structure block diagram of a terminal for the intelligent linkage decision method for production and warehousing based on order batch processing in an embodiment of the present application. Figure 1 As shown, the terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is for illustration only and does not limit the structure of the above terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0026] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the production and warehousing intelligent linkage decision method based on order batch processing in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0027] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by the communication provider of the terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0028] This embodiment provides a production and warehousing intelligent linkage decision method based on order batch processing running on the above terminal, Figure 2 is a flowchart of a method for intelligent linkage decision-making between production and warehousing based on order batch processing according to an embodiment of the present application, such as Figure 2 As shown, the process includes the following steps:
[0029] Step S201, respectively obtain the current pre-planned production scheduling information and the current pre-planned warehousing information, wherein the production scheduling information is generated by the production unit based on the current order batch processing information and the current production coupling variable expected value, using the improved genetic GA algorithm for batch production planning, and is associated with the corresponding total production cost and production offline time series; the warehousing information is generated by the warehousing unit based on the current incoming order information and the current expected value of the warehousing coupling variable, using the adaptive large area search ALNS algorithm for location planning, and is associated with the corresponding total warehousing cost and warehousing time series; the production unit and the warehousing unit are time-coupled through the corresponding production offline time series and the corresponding warehousing time series.
[0030] In this embodiment, according to the characteristics of production and warehousing of intermittent production enterprises, a collaborative optimization production subsystem layer (corresponding to the production unit) is established to make production scheduling decisions for batch production, and a collaborative optimization warehousing subsystem layer (corresponding to the warehousing unit) is established to carry out storage location planning for batch storage. The collaborative planning system layer integrates the two subsystem layers into the framework of the collaborative optimization algorithm according to specific rules, so as to execute collaborative planning based on the currently pre-planned production scheduling information and the currently pre-planned warehousing information obtained, and generate corresponding collaborative planning results.
[0031] In this embodiment, the corresponding production scheduling information will map the total production cost and the production offline time series corresponding to the corresponding production scheduling arrangement, and the corresponding warehousing information will map back the total warehousing cost composed of the storage cost and picking cost generated by the corresponding batch warehousing and the warehousing time series. The production offline time series and the warehousing time series both include multiple corresponding time values. It can be understood that the time value corresponding to the production offline time series corresponds one-to-one with the time value of the warehousing time series. It can be understood that the time value of a production offline time series can be equivalent to the time value of a warehousing time series, or it can be equal to the time value of a warehousing time series after adding a preset time interval to the time value of a production offline time series. In this way, it can be made clear that through the production offline time series and the warehousing time series, the consistency of the production subsystem layer and the warehousing subsystem layer can be coordinated and optimized.
[0032] In this embodiment, when the collaborative optimization production subsystem layer (production unit) executes production scheduling and generates production scheduling information, it will use genetic algorithms to perform local optimization solutions based on the expected values of coupling variables issued by the collaborative planning system layer (corresponding expected values of production coupling variables), and execute production scheduling for splitting and reorganizing multiple customer orders. The solution obtained is the optimal solution with the smallest possible deviation from the corresponding expected values of coupling variables. At the same time, when the collaborative optimization warehousing subsystem layer (warehousing unit) executes storage location planning and generates warehousing information, it will use improved adaptive large neighborhood search (ALNS) algorithm to perform local solutions based on the expected values of coupling variables issued by the collaborative planning system layer (corresponding expected values of scheduling coupling variables), and execute storage location planning for splitting and reorganizing production orders from multiple customer sources. The solution obtained is the optimal solution with the smallest possible deviation from the corresponding expected values of coupling variables (corresponding to a type of warehousing information for storage location planning).
[0033] Step S202, the total production cost, the production offline time series, the total storage cost and the inventory scheduling time series are collaboratively optimized using an improved collaborative optimization algorithm and dynamic tolerance to update the current production coupling variable expected value and the current inventory scheduling coupling variable expected value, wherein the improved collaborative optimization algorithm uses a dynamic relaxation factor to update the dynamic tolerance.
[0034] In this embodiment, after the collaborative optimization production subsystem layer and the collaborative optimization warehousing subsystem layer respectively feed back the local optimization solutions (corresponding to the current pre-planned production scheduling information and the current pre-planned warehousing information, respectively) to the collaborative planning system layer, the collaborative planning system layer performs dynamic tolerance updates according to a preset formula, and performs system-level optimization based on the updated dynamic tolerance to generate new production coupling variable expected values and new warehousing scheduling coupling variable expected values.
[0035] Step S203, determine whether the candidate production scheduling information and candidate warehousing information of the current iteration meet the preset consistency constraints, and when it is determined that the preset consistency constraints are met, use the corresponding candidate production scheduling information and the corresponding candidate warehousing information as the collaborative planning results, wherein the candidate production scheduling information is generated by the production unit based on the updated expected values of the new production coupling variables and the GA algorithm, and the production scheduling information is corrected and updated; the candidate warehousing information is generated by the warehousing unit based on the updated expected values of the new warehouse scheduling coupling variables and the ALNS algorithm, and the warehousing information is corrected and updated.
[0036] In this embodiment, after executing multiple collaborative optimizations, the collaborative planning system layer will judge whether the production scheduling information and warehousing information respectively fed back by the collaborative optimization production subsystem layer and the collaborative optimization warehousing subsystem layer meet the system layer consistency constraints. If they meet the system layer consistency constraints, the fed back production scheduling information and warehousing information will be output as the collaborative optimization result. If not, the collaborative optimization will continue to be executed, the corresponding expected values of the coupling variables will be updated, and it will be judged whether the production scheduling information and warehousing information respectively fed back by the collaborative optimization production subsystem layer and the collaborative optimization warehousing subsystem layer meet the system layer consistency constraints until the consistency constraints are met. At this time, the algorithm converges. In this embodiment, after executing the judgment of the current iteration and performing a collaborative optimization, the collaborative planning system layer will pass down the corresponding expected values of the coupling variables after executing a collaborative optimization to the collaborative optimization production subsystem layer and the collaborative optimization warehousing subsystem layer, so that they can perform corresponding local solutions.
[0037] In this embodiment, the system-level consistency constraint refers to the deviation between the result of the current collaborative optimization and the result of the previous collaborative optimization being less than the set required tolerance; in some optional implementations, the following formula is used to determine whether the system-level consistency constraint is met: ff′<δ 0, where f represents the result of the current collaborative optimization, f′ represents the result of the previous collaborative optimization, and δ represents the total value of the consistency constraint, judging whether it is less than the required tolerance δ 0 =10 -4 .
[0038] Through the above steps S201 to S203, the current pre-planned production scheduling information and the current pre-planned warehousing information are respectively obtained, the production scheduling information is associated with the corresponding total production cost and production offline time series, and the warehousing information is associated with the corresponding total warehousing cost and warehousing time series; the total production cost, the production offline time series, the total warehousing cost and the warehousing time series are collaboratively optimized using the improved collaborative optimization algorithm and dynamic tolerance to update the current production coupling variable expected value and the current warehousing coupling variable expected value; determine the production offline time series corresponding to the candidate production scheduling information of the current iteration and the candidate warehousing information corresponding to the Whether the inventory scheduling time series meets the preset consistency constraints, and when it is judged that the preset consistency constraints are met, the corresponding candidate scheduling information and the corresponding candidate warehousing information are used as the collaborative planning results. The multi-decision unit problem is solved in a distributed manner by adopting a collaborative optimization algorithm, and a coupling function is used for consistency convergence, which greatly improves the decision calculation speed. By adopting a dynamically updated relaxation factor, the time consumption of collaborative optimization is reduced, and the decision-making efficiency is improved. The problem that the solutions for batch production and cargo space planning by related technologies cannot meet the collaborative operation needs of batch scheduling and batch warehousing for intermittent production enterprises.
[0039] It should be noted that the collaborative optimization algorithm adopted in the embodiment of the present application solves multi-unit / discipline problems in a distributed manner, allows each sub-unit to operate independently, and performs consistency convergence through coupling functions, thereby greatly improving the calculation speed; the embodiment of the present application has carried out multiple optimizations on the collaborative optimization of the system layer. First, it optimizes the relaxation factor, dynamically updates the relaxation factor, and performs system-level optimization based on the new relaxation factor to obtain a new expected value, and by gradually reducing the relaxation factor, it can not only reduce the number of expected value changes, that is, the number of algorithm iterations, but also make the relaxation factor small enough or even better than the consistency constraint requirement when the iteration reaches a certain level; second, the initial expected value is tuned and the coupling variables are carefully selected so that the collaborative optimization algorithm can converge stably and take less time.
[0040] In some embodiments, when it is determined that the preset consistency constraint is not satisfied, the following steps are further implemented:
[0041] Step 21, determine the total production cost and production off-line time series corresponding to the candidate production scheduling information, obtain the new total production cost and new production off-line time series, and determine the total warehousing cost and inventory scheduling time series corresponding to the candidate warehousing information, obtain the new total warehousing cost and new inventory scheduling time series.
[0042] Step 22, using the improved collaborative optimization algorithm and the updated new dynamic tolerance, collaboratively optimize the new production total cost, the new production offline time series, the new warehousing total cost and the new inventory scheduling time series to update the expected value of the new production coupling variable and the expected value of the new inventory scheduling coupling variable.
[0043] In this embodiment, when the collaborative planning system layer determines that the result of the current collaborative optimization does not satisfy the preset consistency constraint, the collaborative planning system layer needs to perform the next collaborative optimization, so as to achieve the corresponding collaborative optimization result satisfying the preset consistency constraint by repeating the iterative collaborative optimization. Therefore, the collaborative planning system layer obtains the total production cost return value and the production offline time series return value fed back by the collaborative optimization production subsystem layer, and obtains the total storage cost return value and the warehouse scheduling time series return value fed back by the collaborative optimization warehousing subsystem layer, and then obtains the total production cost return value (corresponding to the new product) according to the obtained The total production cost), the return value of the production offline time series (corresponding to the new production offline time series), the return value of the total warehousing cost (corresponding to the new total warehousing cost), the return value of the inventory scheduling time series (new inventory scheduling time series), and the updated new dynamic tolerance are collaboratively optimized, and the system-level collaborative optimization is carried out with the goal of minimizing the total cost of the sum of the corresponding total production cost and the total warehousing cost, and the expected value of the new production coupling variable (corresponding to the expected value of the production coupling variable corresponding to the generated candidate production scheduling information) and the expected value of the new inventory scheduling coupling variable (corresponding to the expected value of the inventory scheduling coupling variable corresponding to the generated candidate warehousing information) are updated.
[0044] In some optional implementations, a mathematical model corresponding to the collaborative planning system layer is formed according to the rules of the collaborative optimization algorithm, that is, the objective functions corresponding to the collaborative optimization production subsystem layer and the collaborative optimization warehousing subsystem layer are respectively added to the collaborative planning system layer according to a weight ratio of 1:1, and the collaborative planning system layer is handed over to obtain the overall optimal solution, and the collaborative planning system layer is responsible for eliminating the inconsistency of the coupling between the collaborative optimization production subsystem layer and the collaborative optimization warehousing subsystem layer. It specifically includes the following steps: the collaborative planning system layer integrates the objective functions of the collaborative optimization production subsystem layer and the collaborative optimization warehousing subsystem layer to form a total cost that adds the total production cost and the total warehousing cost: minf=F1+F2, and sets the following constraints to eliminate the inconsistency of the coupling of each subsystem layer and pass the corresponding return value to the collaborative planning system layer: in, represents the consistency constraint, ε 1,1, ε 1,2 , ε 2,1 , ε 2,2 is the relaxation factor, and the objective function of the collaborative optimization production subsystem layer is: The objective function of the collaborative optimization warehousing subsystem layer is: F1 represents the expected value of total production cost, F2 represents the expected value of total storage cost, T1 represents the expected value of production off-line time series, T2 represents the expected value of warehousing time series, and f pc Indicates the total production cost return value, T pt Indicates the return value of the production offline time series, f sc Indicates the total storage cost return value, T st Indicates the return value of the queue time series. are the corresponding difference weight indices respectively.
[0045] By determining the total production cost and production offline time series corresponding to the candidate production scheduling information in the above steps, the new total production cost and the new production offline time series are obtained, and the total warehousing cost and the inventory scheduling time series corresponding to the candidate warehousing information are determined to obtain the new total warehousing cost and the new inventory scheduling time series; using the improved collaborative optimization algorithm and the updated new dynamic tolerance, the new total production cost, the new production offline time series, the new total warehousing cost and the new inventory scheduling time series are collaboratively optimized to update the expected values of the new production coupling variables and the expected values of the new inventory scheduling coupling variables, thereby realizing repeated iterations of collaborative optimization.
[0046] In some embodiments, collaborative optimization is performed using an improved collaborative optimization algorithm and a corresponding dynamic tolerance, including the following steps:
[0047] Step 31, after obtaining the target production and inventory variable group currently being processed, determine the dynamic relaxation factor group currently being collaboratively optimized, wherein each dynamic relaxation factor of the dynamic relaxation factor group corresponds to a target production and inventory variable in the target production and inventory variable group, and the target production and inventory variable group includes a variable group consisting of total production cost, production offline time series, total warehousing cost and inventory scheduling time series, and one of the variable groups consisting of new production total cost, new production offline time series, new total warehousing cost and new inventory scheduling time series.
[0048] In this embodiment, the target production and inventory variables represent the relevant variables of the cost dimension and the time dimension in the two stages of batch production and batch storage; in this embodiment, when performing collaborative optimization, the return value fed back by the collaborative optimization production subsystem layer includes the total production cost return value and the production offline time series return value corresponding to the current pre-planned production scheduling information and the candidate production scheduling information, and the return value fed back by the collaborative optimization warehousing subsystem layer includes the total warehousing cost return value and the warehousing time series return value corresponding to the current pre-planned warehousing information and the candidate warehousing information. The corresponding target production and inventory variable groups are also divided into two types. In this embodiment, The target production and inventory variable group refers to one of them; at the same time, in the collaborative optimization process, each target production and inventory variable has a different corresponding dynamic tolerance in the collaborative optimization. Therefore, each dynamic relaxation factor of the dynamic relaxation factor group corresponds to a target production and inventory variable in the target production and inventory variable group. It should be understood that in different collaborative optimization processes, the dynamic relaxation factor groups are different, but a group of dynamic relaxation factor groups are updated before the start of collaborative optimization and remain unchanged in the current collaborative optimization process. Only in the repeated iterative collaborative optimization process, the dynamic relaxation factor and the corresponding dynamic tolerance will change.
[0049] Step 32, determine the dynamic tolerance corresponding to each target production and inventory variable according to the dynamic relaxation factor, and modify the expected value of the coupling variable corresponding to the target production and inventory variable according to the corresponding dynamic tolerance and the corresponding target production and inventory variable, so as to obtain the corresponding expected value of the production coupling variable and the corresponding expected value of the warehousing coupling variable, wherein the expected value of the coupling variable corresponding to the target production and inventory variable includes the expected value of the total cost of generation, the expected value of the production offline time series, the expected value of the total storage cost, and the expected value of the warehousing time series, and the deviation between the target production and inventory variable and the corresponding expected value of the coupling variable is constrained to be no greater than the corresponding dynamic tolerance.
[0050] In this embodiment, after determining the corresponding dynamic tolerance, since the value of the target production and inventory variable (corresponding to a return value) is known, the corresponding coupling variable expected value can be corrected according to the value of the target production and inventory variable, the dynamic tolerance and the corresponding constraints. For example: the current target production and inventory variable value is a, the coupling variable expected value before correction is b, the dynamic tolerance before update is c, and the dynamic tolerance after update is d, then the minimum correction value of the corresponding coupling variable expected value is dc.
[0051] Through step 31 to step 32, collaborative optimization is performed based on the return value corresponding to the corresponding production scheduling information and the return value of the corresponding warehousing information and the corresponding dynamic tolerance, thereby achieving rapid convergence of collaborative optimization.
[0052] In some embodiments, determining whether candidate production scheduling information and candidate warehousing information of the current iteration satisfy preset consistency constraints includes the following steps:
[0053] Step 41, determining the first expected value of total production cost and the first expected value of production offline time series corresponding to the expected value of the new production coupling variable, and determining the first expected value of total storage cost and the first expected value of storage time series corresponding to the expected value of the new storage coupling variable.
[0054] Step 42, calculate the deviation values corresponding to the new production total cost and the expected value of the first production total cost, the new production offline time series and the expected value of the first production offline time series, the new warehousing total cost and the expected value of the first warehousing total cost, and the new inventory time series and the expected value of the first inventory time series, and after normalizing the calculated first deviation value, second deviation value, third deviation value and fourth deviation value, weight all normalized deviation values to obtain the first total production and storage efficiency value.
[0055] In this embodiment, the first deviation value is the deviation value of the new production total cost and the expected value of the first production total cost, the second deviation value is the deviation value of the new production offline time series and the expected value of the first production offline time series, the third deviation value is the deviation value of the new warehousing total cost and the expected value of the first warehousing total cost, and the fourth deviation value is the deviation value of the new inventory time series and the expected value of the first inventory time series; in this embodiment, in order to eliminate the dimensional and order of magnitude differences between different deviation values, each deviation value is standardized. It can be understood that the standardization processing in the embodiment of the present application can be any standardization processing method in the prior art, but is not limited to the normalization processing adopted in the embodiment of the present application; in this embodiment, after the four deviation values are standardized, the four standardized parameters are weighted to obtain a quantitative optimization result with the candidate production scheduling information and the candidate warehousing information as the collaborative planning result.
[0056] Step 43, calculate the second total production-inventory efficiency value corresponding to the production scheduling information and the warehousing information based on the production scheduling information, the warehousing information, the expected value of the current production coupling variable and the expected value of the current warehousing coupling variable, and determine whether the difference between the first total production-inventory efficiency value and the second total production-inventory efficiency value is less than the total consistency constraint efficiency value; when it is determined that the difference between the first total production-inventory efficiency value and the second total production-inventory efficiency value is less than the total consistency constraint efficiency value, determine that the candidate production scheduling information and the candidate warehousing information of the current iteration meet the preset consistency constraints.
[0057] In this embodiment, the deviation value of the total production cost corresponding to the production scheduling information and the expected value of the total production cost corresponding to the current expected value of the production coupling variable, the deviation value of the production offline time series corresponding to the production scheduling information and the expected value of the production offline time series corresponding to the current expected value of the production coupling variable, the deviation value of the total warehousing cost corresponding to the warehousing information and the expected value of the total warehousing cost corresponding to the current expected value of the inventory coupling variable, and the deviation value of the inventory time series corresponding to the warehousing information and the expected value of the inventory time series corresponding to the current expected value of the inventory coupling variable are calculated, and each deviation value is normalized and weighted to obtain the second total production-inventory efficiency value.
[0058] In this embodiment, the following formula is used to determine the consistency constraint: ff′<δ, where f represents the first total production and storage efficiency value, f′ represents the second total production and storage efficiency value, and δ represents the total consistency constraint efficiency value. In this embodiment, the value of δ is set to δ 0 =10 -4 .
[0059] Through the above steps 41 to 43, it is possible to determine whether the collaborative optimization results meet the consistency constraints of the collaborative optimization system layer based on the current pre-planned production scheduling information and warehousing information, as well as the candidate production scheduling information and candidate warehousing information, quantify the optimization results in terms of cost and time, and determine the collaborative optimization results of the current time by comparing them with the set consistency constraints.
[0060] In some embodiments, the production unit performs production scheduling planning based on the corresponding production coupling variable expected value and GA algorithm, including the following steps:
[0061] Step 51, the production unit obtains the first double-coded population to be processed, wherein the first double-coded population includes multiple first double-coded individuals, and the first double-coded individuals include one of the following: a double-coded individual encoded according to the initial batch production information, a double-coded individual corresponding to the production scheduling information generated by a collaborative planning before the current one, each first double-coded individual includes a product code individual with multiple product codes and a batch code individual with multiple batch codes, one product code is associated with one batch code, the product code is used to characterize the order and product category to which the corresponding product belongs, and the batch code is used to characterize the batch production batch of the product corresponding to the corresponding product code.
[0062] In this embodiment, the production unit performs a solution based on the GA algorithm according to the expected value of the production coupling variable issued by the collaborative planning system layer and the batch production information required for each local optimization. In this embodiment, the first dual-coded individual is the dual-coded individual corresponding to the local solution at that time; in this embodiment, before performing the solution based on the GA algorithm, the parameters are initialized first, for example: setting the population size P, the number of generations G, the crossover probability Pc, the mutation probability Pm; customer order-related data, such as: product type, demand, delivery period; equipment-related data, such as: equipment number, size, unit cost; in this embodiment, the scheduling code of the combined production of customer orders is adopted as the chromosome corresponding to the dual-coded individual, reference Figure 3 , split the customer order into multiple products and order groups, and generate product chromosomes, for example: [P 11 , P 12 , P 21 , P 31 , P 32 , P 42 , P 13 , P 23 , P 34 ], where P 12 The "1" in the formula represents the order 1, and the "2" represents the product category 2. Then, the same products are combined heuristically to form batch B. For example, batch B1 (P 11 , P 21 ), the two products from customer order 1 and customer order 2 belong to the same product category "1", are combined into a batch, and form a corresponding batch chromosome, for example: [B1, B1, B2, B2, B2, B3, B3, B4]; it can be understood that for a batch B1 in the batch chromosome, it has products from two customer orders, namely P 11 and P 21 , and another batch B2, which has products from three customer orders, namely P 12 , P 32 , P 42 , since the two product chromosomes and the batch chromosomes are in one-to-one correspondence, the batch chromosomes can be used to determine the batch belonging of the product chromosomes, for example: P 13 and P 14 They have the same batch number B3, indicating that they belong to the same batch.
[0063] Step 52, after the production unit selects a set number of first double-coded individuals based on the individual fitness corresponding to the first double-coded individuals, it reproduces the individuals according to the selected first double-coded individuals, and uses the selected first double-coded individuals and the double-coded individuals generated by reproduction as the corresponding second double-coded individuals to obtain a second double-coded population, wherein the individual fitness is used to characterize the degree of deviation between the total production cost corresponding to the corresponding double-coded individuals and the expected value of the total generation cost;
[0064] In this embodiment, each double-coded individual is evaluated individually, and the double-coded individuals are divided into Figure 4 The encoding parameter table shown is used to perform decoding operations and calculate the fitness of each double-encoded individual in the population in a simulated production manner.
[0065] Step 53, after the production unit performs the genetic evolution operation on the product codes of all the product code individuals corresponding to the second double-coded individuals, it performs the reorganization batch operation on the newly generated product code individuals to generate multiple candidate batch code individuals, and selects multiple alternative batch code individuals according to the individual fitness of the double-coded individuals corresponding to the candidate batch code individuals, wherein the number of the alternative batch code individuals is the same as the number of the second double-coded individuals, and the genetic evolution operation includes a crossover operation, a mutation operation and a correction operation.
[0066] In this embodiment, crossover, mutation and correction operations are performed on the product code individuals (product chromosomes), referring to Figure 5 and Figure 6 , set a certain crossover probability P c , mutation probability P m , when the random probability p1 <P c 、p2 <P m When the product code individuals are crossover and mutation operations are performed, refer to Figure 7 , the newly produced product code individuals are reorganized and batched to form new batch chromosomes; in this embodiment, when producing new batch chromosomes, a global search method is adopted to calculate the individual fitness of all double-coded individuals composed of a certain product code individual and its corresponding batch codes of all possible batch groups, and the batch code division corresponding to the optimal fitness is selected as the batch grouping method of the product code individual, that is, the candidate batch code individuals corresponding to the product code individual are obtained.
[0067] Step 54, after the production unit performs a neighborhood search operation on the batch codes of multiple candidate batch code individuals to generate multiple target batch code individuals, the production unit updates the newly generated product code individuals based on the product codes corresponding to the batch codes of the target batch code individuals to generate target product code individuals corresponding to the target batch code individuals, wherein the neighborhood search operation includes a random selection operation and a greedy insertion operation, and the production scheduling information corresponding to the planning result is generated by the production unit by decoding the target dual-coded individuals consisting of the target batch code individuals and the target product code individuals.
[0068] In this embodiment, a field search operation is performed on the batch codes of the candidate batch code individuals (batch chromosomes), and a new batch code individual is formed and also changed to a new product code individual; in this embodiment, when a neighborhood search operation is performed, a batch code is randomly selected from the batch codes of the batch code individuals, for example: B2 is randomly selected from the batch code individuals [B1, B2, B3, B4], and then greedily inserted into the batch code individuals, for example: after the insertion, a new batch code individual [B1, B3, B4, B2] is generated, and at the same time, because the batch code individual and the product code individual have a one-to-one correspondence, the product code at the corresponding position of the product code individual is replaced according to the generation of the new batch code individual; in this embodiment, the individual fitness of the dual-coded individual composed of the batch code individual and the corresponding product code individual is calculated to determine the optimal batch code individual searched out by the neighborhood search operation until the target batch code individual and the corresponding target product code individual are generated.
[0069] Through the above steps 51 to 54, an improved genetic algorithm is adopted, and a double coding chromosome is adopted, in conjunction with the reorganization batch operation, to realize the batch production scheduling planning under the condition of uncertain batches, and to generate the production scheduling information with the lowest total production cost by heuristically obtaining the batch quantity in the iterative process.
[0070] In some embodiments, the production unit performs a batch reorganization operation on the newly generated product code individuals to generate multiple candidate batch code individuals, and selects multiple candidate batch code individuals according to the individual fitness of the dual code individuals corresponding to the candidate batch code individuals, including the following steps:
[0071] Step 61, the production unit obtains the product code corresponding to each newly generated product code individual, and determines the batch code corresponding to each product code.
[0072] In this embodiment, a product code corresponds to a batch code one by one. For example, product code P 11 Corresponding batch code B1, product code P 12 Corresponding batch code B1.
[0073] Step 62: The production unit searches for multiple intended batch codes corresponding to the corresponding batch code according to the number N of product codes corresponding to the same batch code, wherein the number of intended batch codes corresponding to the batch code is M, M=2. N-1 An intended batch code is used to represent a batch production arrangement for product codes corresponding to the same batch code.
[0074] In this embodiment, for a product code individual, a global search method is used to perform a batch reorganization operation, searching for all intended batch codes corresponding to the product code individual, referring to Figure 7 , for the product code P corresponding to the original batch code B1 11 , P 21 Since the products are of the same category, they can be combined into the same batch, such as B1, or they can be treated as two batches, such as B1 and B1′. By searching in this way, multiple intended batch codes corresponding to one product code individual can be determined.
[0075] Step 63, the production unit generates multiple candidate batch code individuals corresponding to each newly generated product code individual according to the product code and the intended batch code, and after encoding each candidate batch code individual and the newly generated product code individual as an intended dual-coded individual, selects the intended dual-coded individual with the smallest individual fitness from the multiple intended dual-coded individuals.
[0076] In this embodiment, one product code corresponds to one intended batch code, for example: product code P 11 Corresponding batch code B1, product code P 21 Corresponding to the batch code B1′, a candidate batch code individual corresponding to the product code individual is generated, for example: product code individual [P 11 , P 21 , P 23 , P 12 , P 42 , P 32 , P 34 , P 13 ] corresponds to a candidate batch coding individual [B1, B1′, B2, B3, B3′, B3″, B4, B5]; then, by calculating the individual fitness of the intended dual coding individual composed of a product coding individual and a candidate batch coding individual, that is, calculating the corresponding production cost, the candidate batch coding individual corresponding to the intended dual coding individual with the lowest production cost is selected as the optimal batch coding individual of the corresponding product coding individual.
[0077] In step 64, the production unit uses the candidate batch code individual corresponding to the selected intended dual-code individual as the candidate batch code individual corresponding to the newly generated product code individual.
[0078] In this embodiment, the selected intended dual-coding individual is the candidate batch coding individual with the smallest individual fitness.
[0079] Through the above steps 61 to 64, the newly generated product code individuals are reorganized into batches to obtain corresponding batch code individuals.
[0080] In some of the embodiments, the production unit determines the individual fitness of the corresponding dual-coded individual, including:
[0081] Step 71, the production unit obtains the current dual-coded individual whose individual fitness is to be calculated, and obtains a coding parameter table, wherein the current dual-coded individual includes one of the following: the first dual-coded individual, the dual-coded individual corresponding to the candidate batch-coded individual, and the intended dual-coded individual, and the coding parameter table includes the product code, batch code, batch production information, and the corresponding relationship information among the three.
[0082] In this embodiment, the corresponding encoding parameter table refers to Figure 4 The calling order shown in , where P ij Indicates product code, B i Indicates batch code, Volume1 and Time1 indicate batch production information.
[0083] Step 72, the production unit searches the coding parameter table for the batch production information to be put into production corresponding to each current double-coded individual according to the product code and batch code corresponding to the current double-coded individual, wherein each batch production information includes the completion time (corresponding to Time) and the total product demand (corresponding to Vloume) of the products corresponding to all product codes assigned to the same batch code.
[0084] Step 73, after measuring the single batch production cost according to the total product demand corresponding to each batch production information, the production unit uses all the completion times corresponding to the corresponding batch production information as the offline time subsequence corresponding to the batch production information, and after traversing and calculating the single batch production costs and offline time subsequences corresponding to all batch production information, accumulates all single batch production costs and the equipment setup costs corresponding to each batch production information to obtain the total production cost corresponding to the current double-coded individual, and records all offline time subsequences to obtain the production offline time sequence corresponding to the current double-coded individual.
[0085] In this embodiment, the fitness of each individual in the group is calculated in a simulated production manner. Specifically, the assembled batches [B1, B2, B3, B4, ...] are put into machines [M1, M2, M3, M4, ...] for production. i(i=1, 2, 3, ... n) contains one or more processes, the process sequence is predetermined, each process can be processed on multiple different processing machines, and the processing time of each process varies with the processing machine M. k (k=1, 2, 3, ...n), according to the characteristics of intermittent manufacturing enterprises, the scheduling takes the minimum total production cost as the goal, so that the performance indicators of the collaborative optimization production subsystem layer corresponding to the production unit are optimized, that is, the individual fitness of the corresponding double-coded individual is calculated; in this embodiment, the transportation time and material loss of the product between different processes and different equipment are ignored, and the individual fitness of the corresponding double-coded individual is calculated according to the objective function corresponding to the collaborative optimization production subsystem layer, wherein the corresponding objective function takes the production cost (for example: manufacturing cost) and the equipment adjustment cost (for example: equipment cleaning cost) as parameter items, and forms the following objective function according to the 1:1 weight: minf pc =C m +C c , where C m represents the manufacturing cost, C c Represents the equipment cleaning cost; In some optional implementations, the following steps are used to calculate the fitness of each individual in the population in a simulated production manner:
[0086] Step 1: Starting from the first current dual-coded individual in the corresponding dual-coded individual population, set the current time t=0, and then execute step 2;
[0087] Step 2: For the currently selected dual-coded individual, which has multiple batches that need to be put into production, determine whether there are batches that have not been put into production. If so, proceed to step 3. If all batches have been put into production, proceed to step 6. After that, execute step 3.
[0088] Step 3: Determine whether the next process of the next batch can be scheduled. If yes, go to step 4; if no, go to step 5.
[0089] Step 4: Schedule the batch to the selected machine for production, calculate the equipment setup cost once, and return to step 2.
[0090] Step 5: Time t passes until one machine is finished and becomes idle. Calculate the time t that has passed and add it up, and calculate the production cost once. If this is the last process of the batch, record the time when the batch is offline, and return to step 3.
[0091] Step 6: Move the time forward until all processes of all batches are completed, record the production off-line time of all remaining batches to obtain the production off-line time series return value, calculate the production cost once, sum it up, and add up all costs to obtain the return value of the total production cost.
[0092] Step 74, the production unit calculates the deviation value between the total production cost corresponding to the current dual-coded individual and the current expected value of the total production cost, and the production offline time series corresponding to the current dual-coded individual and the current expected value of the production offline time series, and after normalizing the calculated fifth deviation value and sixth deviation value, weights the normalized deviation values to obtain the individual fitness of the corresponding dual-coded individual.
[0093] In this embodiment, the expected values obtained and transmitted downward from the collaborative planning system layer include the expected value of the total production cost F1 and the expected value of the production offline time series. Finally, the individual fitness is obtained according to the objective function: F1 represents the expected value of total production cost, T1 represents the expected value of production off-line time series, and f pc Indicates the return value of the production offline time series, T pc A return value representing the total cost of production.
[0094] Through steps 71 to 74, the calculation of the individual fitness of the dual-coded individuals is realized.
[0095] In some embodiments, the storage unit plans the corresponding storage information, including the following steps:
[0096] Step 81, the storage unit obtains the current storage double code to be processed, wherein the storage double code includes one of the following: a storage double code encoded according to the incoming order information corresponding to the production order to be stored, and a storage double code corresponding to the storage information generated by a collaborative planning before the current one, the storage double code includes a storage location priority code with multiple storage location priority codes and a scheduling priority code with multiple scheduling priority codes, the storage location priority code is used to represent the sorting of storage locations that can store at least one product, and the scheduling priority code is used to represent the operation sequence of arranging storage locations for the same product in different incoming order information.
[0097] In this embodiment, after the warehousing unit obtains the expected value of the warehousing coupling variable passed downward from the collaborative planning system layer, it performs initial parameter setting, and encodes the storage location priority coder corresponding to the customer order in a preset encoding method by inputting the number of customer orders to be stored; at the same time, based on the expected value of the inventory time series in the transmitted expected value of the warehousing coupling variable, and processing the same products from different incoming orders going offline at the same time, the inventory priority coder corresponding to the customer order is also encoded (used to determine which order's products should be prioritized for warehousing), and finally the corresponding warehousing dual coder is formed.
[0098] In this embodiment, the initial parameters are set, including the expected value of the total storage cost F2 issued by the collaborative planning system layer, the expected value of the warehouse queuing time T2, the ST storage location table, the operator weight (the increase score Sigma of the operator improvement solution) i , recalculate the coefficient Rho of the operator weight and the weight critical value W min / W max ).
[0099] In this embodiment, the location priority code Scurr is as follows: Among them, it corresponds to a column in the storage location priority code sub-e.g.: the second column is
[2143] , which means that a product to be planned for storage location is planned in the order of storage locations 2-1-4-3. If storage location 2 can store the item, it is stored in storage location 2. If not, it is determined whether storage location 1 can store the item. If storage location 1 can store the item, it is stored in storage location 1. If not, it is determined whether storage location 4 can store the item, and so on.
[0100] In this embodiment, the encoded queue priority code Ccurr is as follows:
[0101] Among them, assuming that at a certain moment, a certain same product from customer order 2, customer order 3, and customer order 3 is taken offline at the same time, based on the queue priority code Ccurr, it is allocated in the order of customer orders 1, 3, 2, 4, and 5. That is, in the actual process, customer orders 2, 1, and 3 generated at a certain moment should be allocated in the order of customer orders 1, 3, and 2 for the next step of shelf planning. 。
[0102] In step 82, the storage unit uses a roulette algorithm to select a target destruction operation and a target repair operation from a variety of destruction operations and a variety of repair operations corresponding to the ALNS algorithm, and uses the target destruction operation and the target repair operation to sequentially destroy and repair the storage location priority codes corresponding to all storage location priority codes to generate multiple candidate storage location priority codes, wherein the destruction operation includes one of the following: random removal, worst removal, similar removal, first removal, adjacent removal, and discontinuous removal; the repair operation includes one of the following: random insertion, greedy insertion, first and last insertion, and aggregate insertion.
[0103] In this embodiment, after the target destruction operation is adaptively selected using the roulette algorithm, the destruction operation is performed using the target destruction operation (refer to Figure 8As shown in the figure, the complete solution of the storage location priority encoding sub is destroyed to generate an intermediate solution. Specifically, the Adaptive Large Neighborhood Search (ALNS) algorithm assigns a weight to each "destruction" to control each "destruction". During the search process, ALNS dynamically adjusts the weights of various "destruction" operators to obtain a better neighborhood and solution. For example, the roulette wheel method is used for operation selection: the selection probability is calculated based on the weight of the operation: Calculate the cumulative probability of each operation: Generate a uniformly distributed pseudo-random number r in the interval [0, 1]. If r < q[1], then select operation 1; otherwise, select operation k such that q[k - 1] < r ≤ q[k] holds. In this embodiment, six destruction operations are set, namely random removal, worst removal, similar removal, first position removal, adjacent removal, and discontinuous removal. At the same time, the roulette wheel algorithm is also used to adaptively select the target repair operation and perform the repair operation using the target repair operation (refer to Fig. 9 As shown in the figure), the damaged intermediate solution is repaired into the complete solution of the storage location priority encoding sub (corresponding to a new solution). In this embodiment, the following repair operations are designed: random insertion, greedy insertion, head and tail insertion, and aggregation insertion.
[0104] Step 83: The storage unit uses the roulette wheel algorithm to select a target perturbation operation from various perturbation operations corresponding to the ALNS algorithm, and uses the target perturbation operation to perturb the storage location priority encoding sub corresponding to all storage location priority encoding bodies, generating multiple candidate storage location priority encoding bodies. The perturbation operations include one of the following: head and tail alternation, random alternation, folding alternation, rotation alternation, and greedy alternation.
[0105] In this embodiment, the roulette wheel algorithm is used to adaptively select the target perturbation operation to perform the perturbation operation on the storage location priority encoding sub (refer to Fig.10 As shown in the figure), to obtain a new solution. In this embodiment, the perturbation operation includes one of head and tail alternation, random alternation, folding alternation, rotation alternation, and greedy alternation.
[0106] Step 84: The storage unit performs deduced storage location allocation based on the storage location priority encoding sub corresponding to the candidate storage location priority encoding body and the storage location priority encoding sub corresponding to the candidate storage location priority encoding body, generating the current storage location planning information, where the current storage location planning information is used to represent the storage location planning for storing the products of the production orders to be stored.
[0107] In this embodiment, the storage location allocation is performed by simulating storage location allocation (deducing storage location allocation) to generate the current storage location planning information. Specifically, according to the expected value T2 of the warehouse sorting time issued by the collaborative planning layer, starting from the first location that needs to be sorted, the storage location allocation is sequentially deduced with reference to the first line of the storage location priority coder. The second location that needs to be sorted is sequentially deduced according to the second line of the storage location priority coder, and so on until all storage is completed, thereby generating the current storage location planning information.
[0108] Step 85, the storage unit calculates the individual fitness corresponding to the candidate storage dual code body composed of the candidate storage priority code body and the candidate storage location priority code body based on the current storage location planning information, and iterates the storage location planning for all candidate storage dual code bodies according to the corresponding individual fitness until the target storage dual code body is generated, wherein the storage information corresponding to the storage location planning result includes the storage location planning information generated by deducing the storage location allocation based on the target storage dual code body.
[0109] In the process of deducing the warehouse allocation, it is necessary to calculate the time deduction, sum up all costs to get the return value of the total storage cost f Sc In this embodiment, the expected value T2 of the warehouse queuing time series is equal to the returned value T sc equal, so there is no need to perform time deduction calculation. In this embodiment, according to the objective function Obtain the individual fitness corresponding to the candidate storage dual coder; in this embodiment, after calculating the individual fitness of the candidate storage dual coder, determine whether the candidate storage dual coder is better than the current storage dual coder to be processed. If it is better, retain the candidate storage dual coder as the current solution. If it is not better, use the Monte Carlo method to determine whether to accept the candidate storage dual coder as the current solution. In this embodiment, the following formula is used to implement the Monte Carlo method to determine whether to accept the candidate storage dual coder as the current solution:
[0110] Through the above steps 81 to 85, the embedded improved ALNS algorithm is adopted, and the dual coder design of the storage location priority coder and the queue priority coder is adopted, so that the corresponding warehousing dual coder can perform the re-batching operation of the production order, and then by designing a variety of destruction, repair, and disturbance operators, the iteration speed of the collaborative optimization warehousing subsystem layer to solve the corresponding warehousing information is greatly improved, thereby improving the efficiency of collaborative optimization planning decisions.
[0111] In some embodiments, the current storage location planning information includes a first storage product to be stored and a corresponding first storage location. The storage unit calculates the individual fitness corresponding to the candidate storage double encoding body composed of the candidate storage priority encoding body and the candidate storage location priority encoding body based on the current storage location planning information, including the following steps:
[0112] Step 91, the storage unit obtains a storage cost parameter table, wherein the storage cost parameter table includes the second storage product, the second storage location, the single product storage cost, and the corresponding relationship information between the three;
[0113] Step 92, the storage unit searches the storage cost parameter table for the corresponding single product storage cost based on the first storage product and the corresponding first storage location obtained in the current storage location planning information, and sums up all the single product storage costs to obtain the total storage cost corresponding to each candidate storage dual code body.
[0114] Step 93, the storage unit obtains the individual fitness corresponding to the candidate storage dual-code body according to the deviation value between the total storage cost corresponding to the candidate storage dual-code body and the expected value of the current corresponding total storage cost.
[0115] In this embodiment, the expected value T2 of the warehouse queuing time series is equal to the returned value T sc are equal, so according to the objective function Obtain the individual fitness corresponding to the candidate storage dual coder.
[0116] The storage cost parameter table is obtained through the storage unit in the above steps, and the storage cost parameter table includes the second storage product, the second storage location, the single product storage cost and the corresponding relationship information among the three; according to the first storage product and the corresponding first storage location obtained in the current location planning information, the corresponding single product storage cost is queried in the storage cost parameter table, and all the single product storage costs are summed up to obtain the total storage cost corresponding to each candidate storage dual-code body; according to the deviation value of the total storage cost corresponding to the candidate storage dual-code body and the current corresponding total storage cost expected value, the individual fitness corresponding to the candidate storage dual-code body is obtained, and the calculation of the individual fitness corresponding to the storage dual-code body is realized.
[0117] This embodiment also provides a production and warehousing intelligent linkage decision-making device based on order batch processing, which is used to implement the above embodiments and preferred implementation modes, and will not be repeated hereafter. As used below, the terms "module", "unit", "subunit", etc. can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0118] Fig.11is a structural block diagram of a production and warehousing intelligent linkage decision-making device based on order batch processing according to an embodiment of the present application, such as Fig.11 As shown, the device includes an acquisition module 111, an update module 112 and a processing module 113, wherein:
[0119] The acquisition module 111 acquires the current pre-planned production scheduling information and the current pre-planned storage information respectively, wherein the production scheduling information is generated by the production unit based on the current order batch processing information and the current production coupling variable expected value, using the improved genetic GA algorithm for batch production planning, and is associated with the corresponding total production cost and production offline time series; the storage information is generated by the storage unit based on the current incoming order information and the current expected value of the storage scheduling coupling variable, using the adaptive large area search ALNS algorithm for storage location planning, and is associated with the corresponding total storage cost and storage scheduling time series; the production unit and the storage unit are time-coupled through the corresponding production offline time series and the corresponding storage scheduling time series;
[0120] The updating module 112 is coupled to the acquiring module 111, and performs collaborative optimization on the total production cost, the production offline time series, the total storage cost and the warehouse scheduling time series by using the improved collaborative optimization algorithm and the dynamic tolerance, so as to update the current production coupling variable expected value and the current warehouse scheduling coupling variable expected value, wherein the improved collaborative optimization algorithm uses a dynamic relaxation factor to update the dynamic tolerance;
[0121] The processing module 113 is coupled to the update module 112, and is used to determine whether the candidate production scheduling information and candidate warehousing information completed in the current iteration meet the preset consistency constraints, and when it is determined that the preset consistency constraints are met, the corresponding candidate production scheduling information and the corresponding candidate warehousing information are used as collaborative planning results, wherein the candidate production scheduling information is generated by the production unit based on the expected value of the new production coupling variable generated by the update and the GA algorithm, and the candidate warehousing information is generated by the warehousing unit based on the expected value of the new warehouse scheduling coupling variable generated by the update and the ALNS algorithm, and the warehousing information is generated by the warehousing unit based on the expected value of the new warehouse scheduling coupling variable generated by the update and the ALNS algorithm, and the warehousing information is generated by the warehousing unit.
[0122] In some of the embodiments, when it is determined that the preset consistency constraints are not met, the processing module 113 is also used to determine the total production cost and the production offline time series corresponding to the candidate production scheduling information, and obtain the new total production cost and the new production offline time series, and determine the total warehousing cost and the inventory scheduling time series corresponding to the candidate warehousing information, and obtain the new total warehousing cost and the new inventory scheduling time series; using the improved collaborative optimization algorithm and the updated new dynamic tolerance, the new total production cost, the new production offline time series, the new total warehousing cost and the new inventory scheduling time series are collaboratively optimized to update the expected values of the new production coupling variables and the new inventory scheduling coupling variables.
[0123] In some of the embodiments, the collaborative planning device is also used to determine the dynamic relaxation factor group currently being collaboratively optimized after obtaining the target production and inventory variable group currently being processed, wherein each dynamic relaxation factor of the dynamic relaxation factor group corresponds to a target production and inventory variable in the target production and inventory variable group, and the target production and inventory variable group includes a variable group consisting of total production cost, production offline time series, total warehousing cost and inventory scheduling time series and one of the variable groups consisting of new production total cost, new production offline time series, new total warehousing cost and new inventory scheduling time series; determine the dynamic tolerance corresponding to each target production and inventory variable according to the dynamic relaxation factor, and correct the expected value of the coupling variable corresponding to the target production and inventory variable according to the corresponding dynamic tolerance and the corresponding target production and inventory variable to obtain the corresponding production coupling variable expected value and the corresponding inventory scheduling coupling variable expected value, wherein the coupling variable expected value corresponding to the target production and inventory variable includes the expected value of the total cost of generation, the expected value of the production offline time series, the expected value of the total warehousing cost and the expected value of the inventory scheduling time series, and the deviation between the target production and inventory variable and the corresponding coupling variable expected value is constrained to be no greater than the corresponding dynamic tolerance.
[0124] In some embodiments, the processing module 113 further includes:
[0125] A determination unit, used to determine a first expected value of total production cost and a first expected value of production offline time series corresponding to the expected value of the new production coupling variable, and to determine a first expected value of total storage cost and a first expected value of storage time series corresponding to the expected value of the new storage coupling variable;
[0126] A calculation unit is coupled to the determination unit and is used to calculate the deviation values corresponding to the new total production cost and the first expected total production cost, the new production offline time series and the first expected production offline time series, the new total storage cost and the first expected total storage cost, and the new inventory arrangement time series and the first expected inventory arrangement time series, and after normalizing the calculated first deviation value, second deviation value, third deviation value and fourth deviation value, all normalized deviation values are weighted to obtain a first total production and storage efficiency value;
[0127] The processing unit is coupled to the calculation unit and is used to calculate the second total production-inventory efficiency value corresponding to the production scheduling information and the warehousing information according to the production scheduling information, the warehousing information, the expected value of the current production coupling variable and the expected value of the current warehousing coupling variable, and to determine whether the difference between the first total production-inventory efficiency value and the second total production-inventory efficiency value is less than the total consistency constraint efficiency value; when it is determined that the difference between the first total production-inventory efficiency value and the second total production-inventory efficiency value is less than the total consistency constraint efficiency value, it is determined that the candidate production scheduling information and the candidate warehousing information of the current iteration meet the preset consistency constraints.
[0128] In some of the embodiments, the production unit is further used to obtain a first double-coded population to be processed, wherein the first double-coded population includes multiple first double-coded individuals, and the first double-coded individuals include one of the following: double-coded individuals encoded according to initial batch production information, double-coded individuals corresponding to production scheduling information generated by a collaborative planning before the current one, each first double-coded individual includes a product coding individual with multiple product codes and a batch coding individual with multiple batch codes, one product code is associated with one batch code, the product code is used to characterize the order and product category to which the corresponding product belongs, and the batch code is used to characterize the batch production batch of the product corresponding to the corresponding product code; after selecting a set number of first double-coded individuals based on the individual fitness corresponding to the first double-coded individuals, individuals are reproduced according to the selected first double-coded individuals, and the selected first double-coded individuals and the double-coded individuals generated by reproduction are used as corresponding second double-coded individuals to obtain a second double-coded population, wherein the individual fitness is used to characterize the total production cost corresponding to the corresponding double-coded individual. the degree of deviation from the expected value of the total cost of generation; after performing genetic evolution operations on the product codes of all product code individuals corresponding to the second double-coded individuals, performing a reorganization batch operation on the newly generated product code individuals to generate multiple candidate batch code individuals, and selecting multiple candidate batch code individuals according to the individual fitness of the double-coded individuals corresponding to the candidate batch code individuals, wherein the number of candidate batch code individuals is the same as the number of second double-coded individuals, and the genetic evolution operation includes a crossover operation, a mutation operation, and a correction operation; after performing a neighborhood search operation on the batch codes of multiple candidate batch code individuals to generate multiple target batch code individuals, the newly generated product code individuals are updated based on the product codes corresponding to the batch codes of the target batch code individuals to generate target product code individuals corresponding to the target batch code individuals, wherein the neighborhood search operation includes a random selection operation and a greedy insertion operation, and the production scheduling information corresponding to the planning result is generated by the production unit by decoding the target double-coded individuals composed of the target batch code individuals and the target product code individuals.
[0129] In some of the embodiments, the production unit is further used to obtain the product code corresponding to each newly generated product code individual, and determine the batch code corresponding to each product code; according to the number N of product codes corresponding to the same batch code, search for multiple intended batch codes corresponding to the corresponding batch code, wherein the number of intended batch codes corresponding to the batch code is M, M=2 N-1, an intended batch code is used to represent a batch production arrangement for product codes corresponding to the same batch code; according to the product code and the intended batch code, multiple candidate batch code individuals corresponding to each newly generated product code individual are generated, and after each candidate batch code individual and the newly generated product code individual are encoded as intended double-coded individuals, the intended double-coded individual with the smallest individual fitness is selected from the multiple intended double-coded individuals; the candidate batch code individual corresponding to the selected intended double-coded individual is used as the candidate batch code individual corresponding to the newly generated product code individual.
[0130] In some of the embodiments, the production unit is further used to obtain the current dual-coded individual whose individual fitness is to be calculated, and to obtain a coding parameter table, wherein the current dual-coded individual includes one of the following: the first dual-coded individual, the dual-coded individual corresponding to the candidate batch-coded individual, and the intended dual-coded individual, and the coding parameter table includes the product code, the batch code, the batch production information, and the correspondence information among the three; according to the product code and the batch code corresponding to the current dual-coded individual, the batch production information to be put into production corresponding to each current dual-coded individual is queried in the coding parameter table, wherein each batch production information includes the completion time and the total product demand of the products corresponding to all product codes assigned to the same batch code; after measuring the single batch production cost according to the total product demand corresponding to each batch production information, the corresponding batch production information is All corresponding completion times are used as the offline time subsequence corresponding to the batch production information, and after traversing and calculating the single batch production costs and offline time subsequences corresponding to all batch production information, all single batch production costs and the equipment setup costs corresponding to each batch production information are accumulated to obtain the total production cost corresponding to the current dual-coded individual, and all offline time subsequences are recorded to obtain the production offline time sequence corresponding to the current dual-coded individual; calculate the deviation value corresponding to the total production cost corresponding to the current dual-coded individual and the current corresponding total production cost expected value, the production offline time sequence corresponding to the current dual-coded individual and the current corresponding production offline time sequence expected value, and after normalizing the calculated fifth deviation value and sixth deviation value, weight the normalized deviation value to obtain the individual fitness of the corresponding dual-coded individual.
[0131] In some of the embodiments, the storage unit is also used to obtain the current storage double code to be processed, wherein the storage double code body includes one of the following: a storage double code body encoded according to the incoming order information corresponding to the production order to be stored, and a storage double code body corresponding to the storage information generated by a collaborative planning before the current one, the storage double code body includes a storage location priority code body with multiple storage location priority coders and a storage arrangement priority code body with multiple storage arrangement priority coders, the storage location priority coder is used to represent the storage location sorting that can store at least one product, and the storage arrangement priority coder is used to represent the operation sequence of storage location arrangement for the same product in different incoming order information; using a roulette algorithm, a target destruction operation and a target repair operation are selected from a variety of destruction operations and a variety of repair operations corresponding to the ALNS algorithm, and the target destruction operation and the target repair operation are used to destroy and repair the storage location priority codes corresponding to all storage location priority code bodies in turn to generate multiple candidate storage location priority code bodies, wherein the destruction operation includes one of the following: random removal, worst removal, similar removal, first removal, adjacent removal, and intermittent removal, and the repair operation includes the following One of them: random insertion, greedy insertion, head-to-tail insertion, aggregate insertion; using the roulette algorithm, select the target disturbance operation from the multiple disturbance operations corresponding to the ALNS algorithm, and use the target disturbance operation to disturb the queue priority code corresponding to the queue priority code body to generate a candidate queue priority code body, wherein the disturbance operation includes one of the following: head-to-tail alternation, random alternation, folding alternation, rotation alternation, greedy alternation; according to the queue priority code corresponding to the candidate queue priority code body and the storage location priority code corresponding to the candidate storage location priority code body, the library is deduced. The method comprises the following steps: performing location allocation, generating current location planning information, wherein the current location planning information is used to represent the storage location planning for the products to be stored in the production order; based on the current location planning information, calculating the individual fitness corresponding to the candidate storage dual encoding body composed of the candidate storage priority encoding body and the candidate location priority encoding body, and iterating the location planning of the candidate storage dual encoding body according to the corresponding individual fitness, until the target storage dual encoding body is generated, wherein the storage information corresponding to the location planning result includes the location planning information generated by deducing the location allocation based on the target storage dual encoding body.
[0132] In some of the embodiments, the current storage location planning information includes a first storage product to be stored and a corresponding first storage location, and the storage unit is further used to obtain a storage cost parameter table, wherein the storage cost parameter table includes a second storage product, a second storage location, a single product storage cost, and the correspondence information therebetween; according to the first storage product and the corresponding first storage location obtained in the current storage location planning information, the corresponding single product storage cost is queried in the storage cost parameter table, and all single product storage costs are summed up to obtain the total storage cost corresponding to the candidate storage dual-code body; according to the deviation value between the total storage cost corresponding to the candidate storage dual-code body and the current corresponding total storage cost expected value, the individual fitness corresponding to the candidate storage dual-code body is obtained.
[0133] This embodiment further provides a service platform, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0134] Optionally, the service platform may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0135] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0136] S1, respectively obtain the current pre-planned production scheduling information and the current pre-planned warehousing information, wherein the production scheduling information is generated by the production unit based on the current order batch processing information and the current production coupling variable expected value, using the improved genetic GA algorithm for batch production planning, and is associated with the corresponding total production cost and production offline time series; the warehousing information is generated by the warehousing unit based on the current incoming order information and the current expected value of the warehousing scheduling coupling variable, using the adaptive large area search ALNS algorithm for location planning, and is associated with the corresponding total warehousing cost and warehousing scheduling time series; the production unit and the warehousing unit are temporally coupled through the corresponding production offline time series and the corresponding warehousing scheduling time series.
[0137] S2, the total production cost, production offline time series, total storage cost and inventory scheduling time series are collaboratively optimized using the improved collaborative optimization algorithm and dynamic tolerance to update the current production coupling variable expected value and the current inventory scheduling coupling variable expected value. The improved collaborative optimization algorithm uses a dynamic relaxation factor to update the dynamic tolerance.
[0138] S3, judge whether the production offline time series corresponding to the candidate production scheduling information of the current iteration and the inventory scheduling time series corresponding to the candidate warehousing information meet the preset consistency constraints, and when it is judged that the preset consistency constraints are met, the corresponding candidate production scheduling information and the corresponding candidate warehousing information are used as the collaborative planning results. The candidate production scheduling information is generated by the production unit based on the updated expected value of the new production coupling variable and the GA algorithm, and the production scheduling information is corrected and updated. The candidate warehousing information is generated by the warehousing unit based on the updated expected value of the new inventory scheduling coupling variable and the ALNS algorithm, and the warehousing information is corrected and updated.
[0139] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0140] In addition, in combination with the production and warehousing intelligent linkage decision method based on order batch processing in the above embodiment, the embodiment of the present application can provide a storage medium for implementation. The storage medium stores a computer program; when the computer program is executed by the processor, any one of the production and warehousing intelligent linkage decision methods based on order batch processing in the above embodiment is implemented.
[0141] Those skilled in the art should understand that the technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0142] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A production and warehousing intelligent linkage decision-making method based on order batch processing, characterized in that: include: The current pre-planned production scheduling information and the current pre-planned warehousing information are respectively obtained, wherein the production scheduling information is generated by the production unit based on the current order batch processing information and the current production coupling variable expected value, using the improved genetic GA algorithm for batch production planning, and is associated with the corresponding total production cost and production offline time series; the warehousing information is generated by the warehousing unit based on the current incoming order information and the current warehousing coupling variable expected value, using the adaptive large area search ALNS algorithm for warehouse location planning, and is associated with the corresponding total warehousing cost and warehousing time series; the production unit and the warehousing unit are temporally coupled through the corresponding production offline time series and the corresponding warehousing time series; The total production cost, the production offline time series, the total storage cost and the warehouse scheduling time series are collaboratively optimized using an improved collaborative optimization algorithm and a dynamic tolerance to update the current production coupling variable expected value and the current warehouse scheduling coupling variable expected value, wherein the improved collaborative optimization algorithm uses a dynamic relaxation factor to update the dynamic tolerance; It is determined whether the candidate production scheduling information and candidate warehousing information of the current iteration meet the preset consistency constraints, and when it is determined that the preset consistency constraints are met, the corresponding candidate production scheduling information and the corresponding candidate warehousing information are used as collaborative planning results, wherein the candidate production scheduling information is generated by the production unit based on the updated expected value of the new production coupling variable and the improved genetic GA algorithm, and the candidate warehousing information is generated by the warehousing unit based on the updated expected value of the new scheduling-warehouse coupling variable and the ALNS algorithm, and the warehousing information is generated by the warehousing unit based on the updated expected value of the new scheduling-warehouse coupling variable and the ALNS algorithm, Wherein, when it is determined that the preset consistency constraint is not satisfied, the method further includes: Determine the total production cost and the production offline time series corresponding to the candidate production scheduling information to obtain a new total production cost and a new production offline time series, and determine the total storage cost and the warehousing time series corresponding to the candidate warehousing information to obtain a new total storage cost and a new warehousing time series; The improved collaborative optimization algorithm and the updated new dynamic tolerance are used to collaboratively optimize the new total production cost, the new production offline time series, the new total storage cost and the new warehouse scheduling time series to update the new production coupling variable expected value and the new warehouse scheduling coupling variable expected value. Among them, the collaborative optimization is performed using an improved collaborative optimization algorithm and corresponding dynamic tolerance, including: After obtaining the target production and inventory variable group currently being processed, determine the dynamic relaxation factor group currently being collaboratively optimized, wherein each dynamic relaxation factor of the dynamic relaxation factor group corresponds to a target production and inventory variable in the target production and inventory variable group, and the target production and inventory variable group includes one of a variable group consisting of the total production cost, the production offline time series, the total storage cost, and the warehouse discharge time series, and a variable group consisting of the new total production cost, the new production offline time series, the new total storage cost, and the new warehouse discharge time series; The dynamic tolerance corresponding to each target production and inventory variable is determined according to the dynamic relaxation factor, and the expected value of the coupling variable corresponding to the target production and inventory variable is corrected according to the corresponding dynamic tolerance and the corresponding target production and inventory variable to obtain the corresponding production coupling variable expected value and the corresponding warehousing coupling variable expected value, wherein the coupling variable expected value corresponding to the target production and inventory variable includes the expected value of total cost of generation, the expected value of production offline time series, the expected value of total storage cost, and the expected value of warehousing time series, and the deviation between the target production and inventory variable and the corresponding coupling variable expected value is constrained to be no greater than the corresponding dynamic tolerance. The process of judging whether the candidate production scheduling information and candidate warehousing information of the current iteration meet the preset consistency constraints includes: Determine the first expected value of the total production cost and the first expected value of the production offline time series corresponding to the expected value of the new production coupling variable, and determine the first expected value of the total storage cost and the first expected value of the storage time series corresponding to the expected value of the new storage coupling variable; Calculate the deviation values corresponding to the new total production cost and the first expected total production cost, the new production offline time series and the first expected production offline time series, the new total storage cost and the first expected total storage cost, and the new inventory arrangement time series and the first expected inventory arrangement time series, and after normalizing the calculated first deviation value, second deviation value, third deviation value, and fourth deviation value, weight all the normalized deviation values to obtain a first total production-storage efficiency value; According to the production scheduling information, the warehousing information, the expected value of the current production coupling variable and the expected value of the current warehousing coupling variable, calculate the second total production-inventory efficiency value corresponding to the production scheduling information and the warehousing information, and judge whether the difference between the first total production-inventory efficiency value and the second total production-inventory efficiency value is less than the total consistency constraint efficiency value; when it is judged that the difference between the first total production-inventory efficiency value and the second total production-inventory efficiency value is less than the total consistency constraint efficiency value, determine whether the candidate production scheduling information and the candidate warehousing information of the current iteration meet the preset consistency constraint, The production scheduling information corresponding to the production unit planning includes: The production unit obtains a first double-coded population to be processed, wherein the first double-coded population includes a plurality of first double-coded individuals, and the first double-coded individuals include one of the following: a double-coded individual encoded according to initial batch production information, and a double-coded individual corresponding to production scheduling information generated by a collaborative planning completed before the current one, each of the first double-coded individuals includes a product code individual with a plurality of product codes and a batch code individual with a plurality of batch codes, one product code is associated with one batch code, the product code is used to characterize the order and product category to which the corresponding product belongs, and the batch code is used to characterize the batch production batch of the product corresponding to the corresponding product code; The production unit selects a set number of the first double-coded individuals based on the individual fitness corresponding to the first double-coded individuals, reproduces the individuals according to the selected first double-coded individuals, and uses the selected first double-coded individuals and the double-coded individuals generated by reproduction as the corresponding second double-coded individuals to obtain a second double-coded population, wherein the individual fitness is used to characterize the degree of deviation between the total production cost corresponding to the corresponding double-coded individual and the expected value of the total generation cost; After the production unit performs a genetic evolution operation on the product codes of the product code individuals corresponding to all the second double-coded individuals, the production unit performs a reorganization batch operation on the newly generated product code individuals to generate a plurality of candidate batch code individuals, and selects a plurality of candidate batch code individuals according to the individual fitness of the double-coded individuals corresponding to the candidate batch code individuals, wherein the number of the candidate batch code individuals is the same as the number of the second double-coded individuals, and the genetic evolution operation includes a crossover operation, a mutation operation and a correction operation; After the production unit performs a neighborhood search operation on the batch codes of the multiple candidate batch code individuals to generate multiple target batch code individuals, the production unit updates the newly generated product code individuals based on the product codes corresponding to the batch codes of the target batch code individuals to generate target product code individuals corresponding to the target batch code individuals, wherein the neighborhood search operation includes a random selection operation and a greedy insertion operation, and the production scheduling information corresponding to the planning result is generated by the production unit by decoding the target dual-code individual consisting of the target batch code individual and the target product code individual.
2. The method according to claim 1, characterized in that The production unit performs a batch reorganization operation on the newly generated product code individuals to generate a plurality of candidate batch code individuals, and selects a plurality of candidate batch code individuals according to the individual fitness of the dual code individuals corresponding to the candidate batch code individuals, including: The production unit obtains the product code corresponding to each newly generated product code individual, and determines the batch code corresponding to each product code; The production unit searches for multiple intended batch codes corresponding to the corresponding batch code according to the number N of the product codes corresponding to the same batch code, wherein the number of intended batch codes corresponding to the batch code is M, M=2 N-1 , an intended batch code is used to represent a batch production arrangement for the product code corresponding to the same batch code; The production unit generates a plurality of candidate batch code individuals corresponding to each newly generated product code individual according to the product code and the intended batch code, and after encoding each candidate batch code individual and the newly generated product code individual as an intended double-coded individual, selects the intended double-coded individual with the smallest individual fitness from the plurality of intended double-coded individuals; The production unit uses the candidate batch code individual corresponding to the selected intended dual-code individual as the candidate batch code individual corresponding to the newly generated product code individual.
3. The method according to claim 2, characterized in that The production unit determines the individual fitness of the corresponding dual-coded individual, including: The production unit obtains a current double-coded individual whose individual fitness is to be calculated, and obtains a coding parameter table, wherein the current double-coded individual includes one of the following: the first double-coded individual, the double-coded individual corresponding to the candidate batch coded individual, and the intended double-coded individual, and the coding parameter table includes a product code, a batch code, batch production information, and corresponding relationship information between the three; The production unit searches the coding parameter table for the batch production information to be put into production corresponding to each current double-coded individual according to the product code and batch code corresponding to the current double-coded individual, wherein each batch production information includes the completion time and the total product demand of the products corresponding to all product codes assigned to the same batch code; After measuring the single batch production cost according to the total product demand corresponding to each batch production information, the production unit uses all the completion times corresponding to the corresponding batch production information as the offline time subsequence corresponding to the batch production information, and after traversing and calculating all the single batch production costs and the offline time subsequences corresponding to the batch production information, accumulates all the single batch production costs and the equipment setting costs corresponding to each batch production information to obtain the total production cost corresponding to the current double-coded individual, and records all the offline time subsequences to obtain the production offline time sequence corresponding to the current double-coded individual; The production unit calculates the deviation value between the total production cost corresponding to the current dual-coded individual and the current expected value of the total production cost, and between the production offline time series corresponding to the current dual-coded individual and the current expected value of the production offline time series, and after normalizing the calculated fifth deviation value and sixth deviation value, weights the normalized deviation values to obtain the individual fitness of the corresponding dual-coded individual.
4. The method according to claim 1, characterized in that The storage information corresponding to the storage unit planning includes: The storage unit obtains the current storage double code body to be processed, wherein the storage double code body includes one of the following: a storage double code body encoded according to the incoming order information corresponding to the production order to be stored, and a storage double code body corresponding to the storage information generated by a collaborative planning before the current one, wherein the storage double code body includes a storage location priority code body having a plurality of storage location priority coders and a queue priority code body having a plurality of queue priority coders, wherein the storage location priority coder is used to represent the sorting of storage locations that can store at least one product, and the queue priority coder is used to represent the operation sequence of arranging storage locations for the same product in different incoming order information; The storage unit uses a roulette algorithm to select a target destruction operation and a target repair operation from a plurality of destruction operations and a plurality of repair operations corresponding to the ALNS algorithm, and uses the target destruction operation and the target repair operation to sequentially destroy and repair the storage location priority codes corresponding to all the storage location priority code bodies to generate a plurality of candidate storage location priority code bodies, wherein the destruction operation includes one of the following: random removal, worst removal, similar removal, first removal, adjacent removal, and discontinuous removal, and the repair operation includes one of the following: random insertion, greedy insertion, head and tail insertion, and aggregate insertion; The storage unit uses a roulette algorithm to select a target disturbance operation from a plurality of disturbance operations corresponding to the ALNS algorithm, and uses the target disturbance operation to disturb the queue priority code corresponding to the queue priority code body to generate a candidate queue priority code body, wherein the disturbance operation includes one of the following: head-to-tail alternation, random alternation, folding alternation, rotation alternation, and greedy alternation; The storage unit deduces the storage location allocation according to the storage priority code corresponding to the candidate storage priority code body and the storage location priority code corresponding to the candidate storage location priority code body, and generates current storage location planning information, wherein the current storage location planning information is used to represent the storage location planning for the products to be stored in the production order; Based on the current storage location planning information, the storage unit calculates the individual fitness corresponding to the candidate storage dual code body composed of the candidate storage priority code body and the candidate storage location priority code body, and performs storage location planning iterations on the candidate storage dual code body according to the corresponding individual fitness until a target storage dual code body is generated, wherein the storage information corresponding to the storage location planning result includes the storage location planning information generated by deducing storage location allocation based on the target storage dual code body.
5. The method according to claim 4, characterized in that The current storage location planning information includes a first storage product to be stored and a corresponding first storage location. The storage unit calculates the individual fitness corresponding to the candidate storage double encoding body composed of the candidate storage priority encoding body and the candidate storage location priority encoding body based on the current storage location planning information, including: The storage unit obtains a storage cost parameter table, wherein the storage cost parameter table includes the second storage product, the second storage location, the single product storage cost, and the corresponding relationship information among the three; The storage unit searches the storage cost parameter table for the corresponding single product storage cost according to the first storage product and the corresponding first storage location obtained from the current storage location planning information, and sums up all the single product storage costs to obtain the total storage cost corresponding to the candidate storage dual code body; The storage unit obtains the individual fitness corresponding to the candidate storage dual-code body according to the deviation value between the total storage cost corresponding to the candidate storage dual-code body and the current expected value of the total storage cost.
6. A service platform, comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps of the production and warehousing intelligent linkage decision-making method based on order batch processing according to any one of claims 1 to 5.
