Method for determining manufacturing task allocation scheme, computing device and storage medium

By identifying service providers and calculating preparation plans for each link in the manufacturing task, combined with genetic algorithms to select the optimal solution, the problem of non-optimized resource allocation under ship navigation constraints is solved, and the cost of manufacturing tasks is reduced and production is improved. efficiency.

CN114254858BActive Publication Date: 2024-10-22GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111338327.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-12
Publication Date
2024-10-22
Estimated Expiration
2041-11-12

AI Technical Summary

Technical Problem

The existing technology fails to effectively consider ship navigation constraints in manufacturing tasks, resulting in resource allocation that is not optimized and increases costs.

Method used

By determining the service providers for each link of the manufacturing task, the service costs and duration of the preparation solutions for each link are calculated, and the genetic algorithm is used to select the solution with the minimum total cost, and resource allocation is performed taking into account ship navigation constraints.

Benefits of technology

It realizes the optimal allocation of resources for manufacturing tasks while considering ship navigation constraints, reduces costs and improves production efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114254858B_ABST
    Figure CN114254858B_ABST
Patent Text Reader

Abstract

The present invention provides a method for determining a manufacturing task allocation scheme, a computing device and a storage medium. The method comprises: determining at least one service provider for executing the manufacturing task of each link according to the task type to which each link of the manufacturing task belongs; in each link, determining multiple preparatory schemes of the service provider that can complete the task volume of the link, and determining the service fee and time spent for executing each preparatory scheme; performing different combinations of the multiple preparatory schemes of each link to obtain multiple candidate schemes that can complete the manufacturing task, and correspondingly determining the total service fee and total time spent for each candidate scheme, and determining the total cost of completing the manufacturing task according to the total service fee and total time spent; screening out candidate schemes that meet preset constraints from the multiple candidate schemes, and using the candidate scheme with the smallest total cost as the allocation scheme for the manufacturing task. The optimal allocation of resources is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of resource allocation, and in particular to a method for determining a manufacturing task allocation scheme, a computing device and a storage medium. Background Art

[0002] After accepting foreign orders, manufacturing companies need to process materials through procurement, production and other services when performing manufacturing tasks, and deliver finished products to foreign customers. This process includes procurement, production, warehousing, transportation, and customs entry and exit. However, the resource optimization allocation in related technologies mainly focuses on manufacturing service platforms or production workshops, without considering the ship navigation constraints involved in the inland waterway navigation process. Therefore, a new resource allocation solution is urgently needed, taking into account ship navigation constraints. Summary of the invention

[0003] The main purpose of the present invention is to provide a method for determining a manufacturing task allocation plan, a computing device and a storage medium to achieve optimal allocation of resources and maximize cost reduction for manufacturing tasks while taking into account ship navigation constraints.

[0004] In a first aspect, the present invention provides a method for determining a manufacturing task allocation plan, comprising: determining at least one service provider that executes the manufacturing task of each link according to the task type of each link of the manufacturing task, wherein the various links of the manufacturing task include procurement, production, warehousing and transportation; in each link, determining multiple backup plans of service providers that can complete the task volume of the link according to the task volume of the link and the capacity data of each service provider that executes the manufacturing task of the link, and determining the service fee and time spent on executing each backup plan, wherein the backup plan is a single service provider or multiple service providers that can complete the task volume of the link. The method comprises the following steps: selecting a combination of service providers; combining the multiple preliminary plans of each link in different ways to obtain multiple candidate plans that can complete the manufacturing task, and determining the total service fee and total time spent for each candidate plan according to the service fee and time spent on executing each preliminary plan, and determining the total cost of completing the manufacturing task according to the total service fee and total time spent; screening out candidate plans that meet preset constraints from the multiple candidate plans, and using a genetic algorithm to determine the candidate plan with the minimum total cost from the candidate plans that meet the preset constraints, and using the candidate plan with the minimum total cost as the allocation plan for the manufacturing task.

[0005] In one embodiment, in the procurement process, the service provider includes a material supplier; determining the service fee and time required to execute each preparatory plan includes: determining the service fee for executing each preparatory plan using the following formula:

[0006]

[0007] Among them, C P represents the service cost of executing each preliminary plan in the procurement process, P P (h) represents the price per unit of material of the h-th material supplier, N P (h) represents the quantity of materials purchased from the hth material supplier, x h represents the decision variable for the h-th material supplier, x h Taking 1 means selecting the hth material supplier, x h Taking 0 means not to select the hth material supplier, through x h Different values ​​of can be used to form different preliminary plans in the procurement process;

[0008] Use the following formula to determine how long it will take to execute each alternative:

[0009]

[0010] Among them, T P Indicates the time it takes to execute each preliminary plan in the procurement process, t pe (h) represents the arrival time of the h-th material supplier, t pb (h) represents the starting time of purchasing from the hth material supplier, x h represents the decision variable for the h-th material supplier, x h Taking 1 means selecting the hth material supplier, x h A value of 0 means not selecting the hth material supplier.

[0011] In one embodiment, in the production link, the service provider includes a production base; determining the service fee and time required to execute each preparatory plan includes: determining the service fee for executing each preparatory plan using the following formula:

[0012]

[0013] Among them, C M represents the service cost of executing each preparatory plan in the production link, P M (i) represents the price of producing a unit of finished product using materials at the i-th production base, N M (i) represents the number of finished products produced by the i-th production base using materials, x i represents the decision variable for the i-th production base, x i Taking 1 means selecting the i-th production base, x i Taking 0 means not to select the i-th production base, and x i Different values ​​of form different preparation plans in the production process;

[0014] Use the following formula to determine how long it will take to execute each alternative:

[0015]

[0016] Among them, T M Indicates the time it takes to execute each preparatory plan in the production process, T W (i) represents the parking time of the material in the i-th production base, T S (i) represents the processing time of the material at the i-th production base, x i represents the decision variable for the i-th production base, x i Taking 1 means selecting the i-th production base, x i Taking 0 means not selecting the i-th production base.

[0017] In one embodiment, in the warehousing link, the service provider includes a warehousing base; determining the service fee and time required to execute each preparatory plan includes: determining the service fee for executing each preparatory plan using the following formula:

[0018]

[0019] Among them, C S represents the service cost of executing each preparation plan in the warehousing link, P SM (j) represents the price of the material per unit storage space in the jth storage base, S SM (j) represents the size of the storage space occupied by the material in the jth storage base, T SM (j) represents the storage time of the material in the jth storage base, P SP (j) represents the price of the finished product per unit of storage space in the jth storage base, S SP (j) represents the size of the storage space occupied by the finished product in the jth storage base, T SP (j) represents the storage time of the finished product in the jth storage base, x j represents the decision variable for the j-th storage base, x j Taking 1 means selecting the jth storage base, x j Taking 0 means not to select the jth storage base, through x j Different values ​​of form different preparation plans in the warehousing link;

[0020] Use the following formula to determine how long it will take to execute each alternative:

[0021]

[0022] Among them, T SIt represents the time taken to execute each preparation plan in the warehousing link, T SM (j) represents the storage time of the material in the jth storage base, t mb (j) represents the end time of storage of materials in the jth storage base, t pe (j) represents the starting time of storage of materials in the jth storage base, T SP (j) represents the storage time of the finished product in the jth storage base, t vb (j) represents the end time of storage of finished products in the jth storage base, t me (j) represents the starting time of storage of finished products in the jth storage location, x j represents the decision variable for the j-th storage base, x j Taking 1 means selecting the jth storage base, x j Taking 0 means not selecting the jth storage base.

[0023] In one embodiment, in the transportation link, the service provider includes cargo ship services of various routes; determining the service fee and time required to execute each preparation plan includes:

[0024] Determine the cost of performing the services for each alternative using the following formula:

[0025]

[0026] Among them, C B represents the service cost of executing each preparatory plan in the transportation link, P VE (l) represents the cost per unit time of each cargo ship in the lth route, N VE (l) represents the number of cargo ships sailing on the lth route, T VE (l) represents the sailing time of each cargo ship in the lth route, P VB (l) represents the cost per unit time of each cargo ship stopping at the port in the lth route, N VB (l) represents the number of cargo ships that stop at the port in the lth route, T VB (l) represents the duration of each cargo ship’s stop at the port in the lth route, x l represents the decision variable for the cargo ship service on the lth route, x l Taking 1 means choosing the cargo ship service of route l, x l Taking 0 means not to select the cargo ship service of route l, through x l Different values ​​of form different preparation plans in the transportation link;

[0027] Use the following formula to determine how long it will take to execute each alternative:

[0028]

[0029] Among them, T B It represents the time taken to execute each preparatory plan in the transportation link, T VE (l) represents the sailing time of each cargo ship in the lth route, t vs (l) represents the end time of the voyage of the cargo ship in the lth route, t se (l) represents the start time of the voyage of the cargo ship in the lth route, T VB (l) represents the duration of each cargo ship's stop at the port in the lth route, t ve (l) represents the end time of the cargo ship’s stop in route l, t vb (l) represents the starting time of the cargo ship’s stop in the lth route, x l represents the decision variable for the cargo ship service in the lth time period, x l Taking 1 means selecting the cargo ship service in the lth time period, x l Taking 0 means not selecting the cargo ship service in the lth time period.

[0030] In one embodiment, according to the service fee and time spent on executing each preliminary solution, the total service fee and total time spent on each candidate solution are determined accordingly, and the total cost of completing the manufacturing task is determined according to the total service fee and total time spent, including:

[0031] Determine the total service cost for each candidate using the following formula:

[0032] T=T P +T M +T S +T B

[0033] Among them, T represents the total time spent, T P It represents the time taken to execute each preliminary plan in the procurement process, T M Indicates the time it takes to execute each preparatory plan in the production process, T S It represents the time taken to execute each preparation plan in the warehousing link, T B Indicates the time it takes to execute each preparatory plan in the transportation process;

[0034] Use the following formula to determine the total time required for each candidate:

[0035] C=C P +C M +C S +C B

[0036] Among them, C represents the total service cost, C P represents the service cost of executing each preliminary plan in the procurement process, C M represents the service cost of executing each preparatory plan in the production link, C S represents the service cost of executing each preparation plan in the warehousing link, C B Indicates the service fee for each preparatory plan in the delivery process;

[0037] Normalizing the total time spent according to a first preset method to obtain a normalized total time spent, or normalizing the total service fee according to a second preset method to obtain a normalized total service fee;

[0038] When the total time spent is normalized, the total cost of the manufacturing task is determined using the following formula:

[0039] F=ω1T'+ω2C

[0040] Wherein, F represents the total cost of the manufacturing task, ω1 represents the weight of the total time spent in the total cost, ω2 represents the weight of the total service fee in the total cost, T' represents the total time spent after normalization, and C represents the total service fee;

[0041] When the total service charge is normalized, the total cost of the manufacturing task is determined using the following formula:

[0042] F=ω1T+ω2C'

[0043] Among them, F represents the total cost of the manufacturing task, ω1 represents the weight of the total time spent in the total cost, ω2 represents the weight of the total service fee in the total cost, T represents the total time spent, and C' represents the total service fee after normalization.

[0044] In one embodiment, the preset constraints include: the total service fee does not exceed a preset total fee threshold; and / or the total cost time does not exceed a preset total time threshold; and / or the distance between the procurement site of the procurement link and the production site of the production link does not exceed a preset distance threshold.

[0045] In a second aspect, the present invention provides a device for determining a manufacturing task allocation plan, comprising: a data preparation module, used to determine at least one service provider for executing the manufacturing task of each link according to the task type of each link of the manufacturing task, wherein the various links of the manufacturing task include procurement, production, warehousing and transportation; a plan preset module, used to determine, in each link, according to the task volume of the link and the capacity data of each service provider executing the manufacturing task of the link, multiple preliminary plans of service providers that can complete the task volume of the link, and determine the service fee and time spent on executing each preliminary plan, wherein the preliminary plan is a single service provider or multiple service providers that can complete the task volume of the link. a combination of service providers; a solution providing module, used to make different combinations of the multiple preliminary plans of each link to obtain multiple candidate plans that can complete the manufacturing task, and determine the total service cost and total time spent for each candidate plan according to the service cost and time spent on executing each preliminary plan, and determine the total cost of completing the manufacturing task according to the total service cost and total time spent; a solution determination module, used to screen out candidate plans that meet preset constraints from the multiple candidate plans, and use a genetic algorithm to determine the candidate plan with the minimum total cost from the candidate plans that meet the preset constraints, and use the candidate plan with the minimum total cost as the allocation plan for the manufacturing task.

[0046] In a third aspect, the present invention provides a computing device, comprising a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of the method for determining a manufacturing task allocation scheme as described above are implemented.

[0047] In a fourth aspect, the present invention provides a storage medium storing a computer program, which, when executed by a processor, implements the steps of the method for determining a manufacturing task allocation plan as described above.

[0048] With the manufacturing tasks clearly defined, manufacturing resources are allocated in combination with the capabilities of various service providers, especially taking into account the costs incurred during the transportation of goods and the navigation of the cargo ship. A global consideration of the resources required for the entire order cycle can enable the relevant service resources to be reasonably allocated, reduce idle resources and resource shortages, and help quickly find the optimal task allocation plan, reduce the time and economic costs of manufacturing tasks, minimize total costs, and improve the production efficiency of manufacturing enterprises. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] The drawings constituting a part of the present application are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0050] Figure 1 A schematic diagram of factors to be considered in a method for determining a manufacturing task allocation scheme according to an exemplary embodiment of the present application;

[0051] Figure 2 The present invention is a flowchart of a method for determining a manufacturing task allocation plan according to an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0052] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0053] When a manufacturing company receives an overseas order, it first Figure 1 As shown, overseas orders can be decomposed into four links: procurement, production, warehousing and operation. Each link has its corresponding set of service resources. The objective function is to minimize the weighted sum of total time and total cost. Based on preset constraints, a genetic algorithm is used to optimize the configuration of service resources.

[0054] Among them, the total duration is composed of four durations: procurement, processing, warehousing and transportation, and the total cost is composed of procurement, processing, warehousing and transportation.

[0055] Preset constraints can be divided into geographical coordination and time coordination, for example. Geographic coordination means that the distance between the production base where production and processing are located and the storage base where warehousing is located needs to be within a preset range, for example, they can be in the same city. Time coordination means that the procurement time, production time and transportation time need to maintain a good degree of coordination, for example, the time difference between the procurement arrival time and the start of production time, and the end of production and the start of transportation time should be as small as possible.

[0056] Embodiment 1

[0057] This embodiment provides a method for determining a manufacturing task allocation plan. Figure 2 FIG. 1 is a flow chart of a method for determining a manufacturing task allocation scheme according to an exemplary embodiment of the present application. Figure 2 As shown, the method of this embodiment may include:

[0058] S100: Determine at least one service provider for executing each link of the manufacturing task according to the task type of each link of the manufacturing task, wherein each link of the manufacturing task includes procurement, production, warehousing and transportation.

[0059] S200: In each link, according to the task volume of the link and the capability data of each service provider that performs the manufacturing tasks of the link, multiple backup plans of service providers that can complete the task volume of the link are determined, and the service fee and time required to execute each backup plan are determined, wherein the backup plan is a single service provider or a combination of multiple service providers that can complete the task volume of the link.

[0060] S300: The multiple preliminary plans of each link are combined in different ways to obtain multiple candidate plans that can complete the manufacturing task, and the total service fee and total time spent on each candidate plan are determined according to the service fee and total time spent on executing each preliminary plan, and the total cost of completing the manufacturing task is determined based on the total service fee and total time spent.

[0061] S400: Filter out candidate solutions that meet preset constraints from the multiple candidate solutions, and use a genetic algorithm to determine the candidate solution with the minimum total cost from the candidate solutions that meet the preset constraints, and use the candidate solution with the minimum total cost as the allocation solution for the manufacturing task.

[0062] As the scale of the problem increases, the search space of combinatorial optimization problems also increases dramatically. Sometimes it is difficult to find the optimal solution by enumeration. For such complex problems, people have realized that they should focus on finding satisfactory solutions, and genetic algorithms are one of the best tools for finding such satisfactory solutions. Genetic algorithms are a method that simulates the biological evolution mechanism in nature to perform random global search and optimization of solutions to problems. Each chromosome in the genetic algorithm corresponds to a solution, and the fitness function is used to evaluate the adaptability of the solution to determine the pros and cons of the solution. Genetic algorithms are a process of seeking the optimal solution through continuous search and optimization.

[0063] In the procurement process, the service provider may include a material supplier; determining the service fee and time required to execute each preliminary plan may include: determining the service fee for executing each preliminary plan using the following formula:

[0064]

[0065] Among them, C P represents the service cost of executing each preliminary plan in the procurement process, P P (h) represents the price per unit of material of the h-th material supplier, N P (h) represents the quantity of materials purchased from the hth material supplier, x h represents the decision variable for the h-th material supplier, x h Taking 1 means selecting the hth material supplier, x hTaking 0 means not to select the hth material supplier, through x h Different values ​​of can be used to form different preliminary plans in the procurement process;

[0066] Use the following formula to determine how long it will take to execute each alternative:

[0067]

[0068] Among them, T P Indicates the time it takes to execute each preliminary plan in the procurement process, t pe (h) represents the arrival time of the h-th material supplier, t pb (h) represents the starting time of purchasing from the hth material supplier, x h represents the decision variable for the h-th material supplier, x h Taking 1 means selecting the hth material supplier, x h A value of 0 means not selecting the hth material supplier.

[0069] In the production stage, the service provider may include a production base; determining the service fee and time required to execute each preliminary plan may include: determining the service fee for executing each preliminary plan using the following formula:

[0070]

[0071] Among them, C M represents the service cost of executing each preparatory plan in the production link, P M (i) represents the price of producing a unit of finished product using materials at the i-th production base, N M (i) represents the number of finished products produced by the i-th production base using materials, x i represents the decision variable for the i-th production base, x i Taking 1 means selecting the i-th production base, x i Taking 0 means not to select the i-th production base, and x i Different values ​​of form different preparation plans in the production process;

[0072] Use the following formula to determine how long it will take to execute each alternative:

[0073]

[0074] Among them, T M Indicates the time it takes to execute each preparatory plan in the production process, T W (i) represents the parking time of the material in the i-th production base, T S (i) represents the processing time of the material at the i-th production base, xi represents the decision variable for the i-th production base, x i Taking 1 means selecting the i-th production base, x i Taking 0 means not selecting the i-th production base.

[0075] In the warehousing stage, the service provider may include a warehousing base; determining the service fee and time required to execute each preparatory plan may include: determining the service fee for executing each preparatory plan using the following formula:

[0076]

[0077] Among them, C S represents the service cost of executing each preparation plan in the warehousing link, P SM (j) represents the price of the material per unit storage space in the jth storage base, S SM (j) represents the size of the storage space occupied by the material in the jth storage base, T SM (j) represents the storage time of the material in the jth storage base, P SP (j) represents the price of the finished product per unit of storage space in the jth storage base, S SP (j) represents the size of the storage space occupied by the finished product in the jth storage base, T SP (j) represents the storage time of the finished product in the jth storage base, x j represents the decision variable for the j-th storage base, x j Taking 1 means selecting the jth storage base, x j Taking 0 means not to select the jth storage base, through x j Different values ​​of form different preparation plans in the warehousing link;

[0078] Use the following formula to determine how long it will take to execute each alternative:

[0079]

[0080] Among them, T S It represents the time taken to execute each preparation plan in the warehousing link, T SM (j) represents the storage time of the material in the jth storage base, t mb (j) represents the end time of storage of materials in the jth storage base, t pe (j) represents the starting time of storage of materials in the jth storage base, T SP (j) represents the storage time of the finished product in the jth storage base, t vb (j) represents the end time of storage of finished products in the jth storage base, tme (j) represents the starting time of storage of finished products in the jth storage location, x j represents the decision variable for the j-th storage base, x j Taking 1 means selecting the jth storage base, x j Taking 0 means not selecting the jth storage base.

[0081] In the transportation link, the service provider may include cargo ship services of various routes; determining the service fee and time required to implement each backup plan may include:

[0082] Determine the cost of performing the services for each alternative using the following formula:

[0083]

[0084] Among them, C B represents the service cost of executing each preparatory plan in the transportation link, P VE (l) represents the cost per unit time of each cargo ship in the lth route, N VE (l) represents the number of cargo ships sailing on the lth route, T VE (l) represents the sailing time of each cargo ship in the lth route, P VB (l) represents the cost per unit time of each cargo ship stopping at the port in the lth route, N VB (l) represents the number of cargo ships that stop at the port in the lth route, T VB (l) represents the duration of each cargo ship’s stop at the port in the lth route, x l represents the decision variable for the cargo ship service on the lth route, x l Taking 1 means choosing the cargo ship service of route l, x l Taking 0 means not to select the cargo ship service of route l, through x l Different values ​​of form different preparation plans in the transportation link;

[0085] Use the following formula to determine how long it will take to execute each alternative:

[0086]

[0087] Among them, T B It represents the time taken to execute each preparatory plan in the transportation link, T VE (l) represents the sailing time of each cargo ship in the lth route, t vs (l) represents the end time of the voyage of the cargo ship in the lth route, t se (l) represents the start time of the voyage of the cargo ship in the lth route, T VB(l) represents the duration of each cargo ship's stop at the port in the lth route, t ve (l) represents the end time of the cargo ship’s stop in route l, t vb (l) represents the starting time of the cargo ship’s stop in the lth route, x l represents the decision variable for the cargo ship service in the lth time period, x l Taking 1 means selecting the cargo ship service in the lth time period, x l Taking 0 means not selecting the cargo ship service in the lth time period.

[0088] According to the service fee and time spent on executing each preliminary plan, the total service fee and total time spent on each candidate plan are determined accordingly, and the total cost of completing the manufacturing task is determined according to the total service fee and total time spent, which may include:

[0089] Determine the total service cost for each candidate using the following formula:

[0090] T=T P +T M +T S +T B

[0091] Among them, T represents the total time spent, T P It represents the time taken to execute each preliminary plan in the procurement process, T M Indicates the time it takes to execute each preparatory plan in the production process, T S It represents the time taken to execute each preparation plan in the warehousing link, T B Indicates the time it takes to execute each preparatory plan in the transportation process;

[0092] Use the following formula to determine the total time required for each candidate:

[0093] C=C P +C M +C S +C B

[0094] Among them, C represents the total service cost, C P represents the service cost of executing each preliminary plan in the procurement process, C M represents the service cost of executing each preparatory plan in the production link, C S represents the service cost of executing each preparation plan in the warehousing link, C B Indicates the service fee for each preparatory plan in the delivery process;

[0095] The total time spent is normalized according to a first preset method to obtain the normalized total time spent, or the total service fee is normalized according to a second preset method to obtain the normalized total service fee; wherein, the total time spent is normalized according to the first preset method, for example, the total time spent is normalized by calculating the ratio of the difference between the total time spent and the preset minimum time spent to the difference between the preset maximum time spent and the preset minimum time spent, and the total service fee is normalized according to the second preset method, for example, the total service fee is normalized by calculating the ratio of the difference between the preset minimum fee and the preset maximum fee spent to the difference between the preset minimum fee and the preset maximum fee. The specific normalization method is not specifically defined here, and those skilled in the art can define it as needed, as long as the normalized parameter can be used together with another parameter to calculate the total cost.

[0096] When the total time spent is normalized, the total cost of the manufacturing task is determined using the following formula:

[0097] F=ω1T'+ω2C

[0098] Wherein, F represents the total cost of the manufacturing task, ω1 represents the weight of the total time spent in the total cost, ω2 represents the weight of the total service fee in the total cost, T' represents the total time spent after normalization, and C represents the total service fee;

[0099] When the total service charge is normalized, the total cost of the manufacturing task is determined using the following formula:

[0100] F=ω1T+ω2C'

[0101] Among them, F represents the total cost of the manufacturing task, ω1 represents the weight of the total time spent in the total cost, ω2 represents the weight of the total service fee in the total cost, T represents the total time spent, and C' represents the total service fee after normalization.

[0102] When formulating a task allocation plan, it can be assumed that there is no idle time between the interconnected links. For example, if production starts after the purchased materials arrive, it can be considered that the time when the materials arrive and the time when production starts are the same, and so on.

[0103] Among them, the preset constraints may include: the total service fee does not exceed the preset total fee threshold; and / or the total cost time does not exceed the preset total time threshold; and / or the distance between the procurement site of the procurement link and the production site of the production link does not exceed the preset distance threshold.

[0104] The distance between the procurement site in the procurement phase and the production site in the production phase does not exceed the preset distance threshold, that is, regional coordination, which can be expressed by the following expression:

[0105]

[0106]

[0107] The sum of the storage time of materials at the production base, the storage time of finished products at the storage base, and the difference between the start of loading and the departure time of the cargo ship can be expressed as follows:

[0108] TS=t u

[0109] t u =∑|(t mb -t pe )|+|(t vb -t me )|+|(t ve -t vb )|

[0110] Among them, t mb Indicates the end time of storage of materials in the storage base, t pe Indicates the start time of storage of materials in the storage base, t vb Indicates the end time of storage of finished products in the storage base, t me Indicates the time when the finished product starts to be stored in the warehouse, t ve Indicates the time when the cargo ship leaves the port.

[0111] The storage time of materials and finished products in the warehouse has a great impact on inventory costs. Reducing the retention time of raw materials and finished products in the warehouse can save costs to a great extent. This means that the time for purchasing materials, production time and transportation time need to maintain a high degree of coordination. The time difference between the time of purchase arrival and the time of starting production, and the time between the end of production and the start of transportation is meaningless time. The smaller the meaningless time, the lower the cost of occupying the warehouse.

[0112] With the manufacturing tasks clearly defined, manufacturing resources are allocated in combination with the capabilities of various service providers, and the resources required for the entire order cycle are considered globally, especially the costs incurred during the transportation of goods and the voyage of the cargo ship. This can enable the relevant service resources to be reasonably allocated, reduce idle resources and resource shortages, and help quickly find the optimal task allocation plan, reduce the time and economic costs of manufacturing tasks, minimize total costs, and improve the production efficiency of manufacturing enterprises.

[0113] Embodiment 2

[0114] The present embodiment provides a device for determining a manufacturing task allocation plan, including: a data preparation module, which is used to determine at least one service provider for executing the manufacturing task of each link according to the task type of each link of the manufacturing task, wherein the various links of the manufacturing task include procurement, production, warehousing and transportation; a plan preset module, which is used to determine, in each link, according to the task volume of the link and the capacity data of each service provider executing the manufacturing task of the link, multiple preliminary plans of service providers that can complete the task volume of the link, and determine the service fee and time spent on executing each preliminary plan, wherein the preliminary plan is a single service provider or multiple service providers that can complete the task volume of the link. a combination of service providers; a solution providing module, used to make different combinations of the multiple preliminary plans of each link to obtain multiple candidate plans that can complete the manufacturing task, and determine the total service fee and total time spent for each candidate plan according to the service fee and time spent on executing each preliminary plan, and determine the total cost of completing the manufacturing task according to the total service fee and total time spent; a solution determination module, used to screen out candidate plans that meet preset constraints from the multiple candidate plans, and use a genetic algorithm to determine the candidate plan with the minimum total cost from the candidate plans that meet the preset constraints, and use the candidate plan with the minimum total cost as the allocation plan for the manufacturing task.

[0115] The device for determining the manufacturing task allocation plan of this embodiment may also include a processor and a memory, and the processor is used to execute the following program modules stored in the memory: a data preparation module, a plan preset module, a plan providing module and a plan determining module.

[0116] Embodiment 3

[0117] This embodiment provides a computing device, including a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the steps of the method for determining a manufacturing task allocation scheme as described above are implemented.

[0118] In one embodiment, the computing device may include one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0119] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash memory (FLASH RAM). The memory is an example of a computer-readable medium.

[0120] Embodiment 4

[0121] This embodiment provides a storage medium storing a computer program. When the computer program is executed by a processor, the steps of the method for determining a manufacturing task allocation scheme as described above are implemented.

[0122] The computer program may be implemented in any combination of one or more storage media, which may be readable signal media or readable storage media.

[0123] The readable storage medium may include, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) may include: an electrical connection with one or more conductors, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0124] The readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, wherein a readable computer program is carried. Such propagated data signals may take a variety of forms, for example, may include electromagnetic signals, optical signals, or any suitable combination of the above. The readable signal medium may also be any storage medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0125] The computer program contained on the storage medium may be transmitted using any appropriate medium, including, for example, wireless, wired, optical cable, RF, etc., or any suitable combination of the above.

[0126] The computer program for performing the operation of the present invention may be written in any combination of one or more programming languages. The programming language may include an object-oriented programming language, such as Java, C++, etc., and may also include a conventional procedural programming language, such as "C" language or similar programming languages. The computer program may be executed entirely on the user computing device, partially on the user device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network (e.g., it may include a local area network or a wide area network), or it may be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).

[0127] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. When the terms "include" and / or "include" are used in this specification, they indicate the presence of features, steps, operations, devices, components and / or their combinations.

[0128] It should be noted that the terms "first", "second", etc. in the specification, claims and drawings of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example.

[0129] In addition, although the operating method of the present invention is described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0130] Although the spirit and principle of the present invention have been described with reference to several specific embodiments, it should be understood that the present invention is not limited to the disclosed specific embodiments, and the division of various aspects does not mean that the features in these aspects cannot be combined to benefit, and such division is only for the convenience of expression. The present invention is intended to cover various modifications and equivalent arrangements included in the spirit and scope of the attached claims.

Claims

1. A method for determining a manufacturing task allocation scheme, characterized in that: include: Determine at least one service provider for executing each link of the manufacturing task according to the task type of each link of the manufacturing task, wherein each link of the manufacturing task includes procurement, production, warehousing and transportation; In each link, according to the task volume of the link and the capability data of each service provider that performs the manufacturing task of the link, multiple backup plans of service providers that can complete the task volume of the link are determined, and the service fee and time spent on executing each backup plan are determined, wherein the backup plan is a single service provider or a combination of multiple service providers that can complete the task volume of the link; The multiple preliminary plans of each link are matched in different ways to obtain multiple candidate plans that can complete the manufacturing task, and the total service fee and total time spent on each candidate plan are determined according to the service fee and time spent on executing each preliminary plan, and the total cost of completing the manufacturing task is determined according to the total service fee and total time spent; Selecting a candidate solution that satisfies preset constraints from the multiple candidate solutions, and using a genetic algorithm to determine the candidate solution with the minimum total cost from the candidate solutions that satisfy the preset constraints, and using the candidate solution with the minimum total cost as the allocation solution for the manufacturing task; In the transportation link, the service providers include cargo ship services on various routes; Determine the cost of services to perform each preliminary plan, including: Determine the cost of performing the services for each alternative using the following formula: Among them, C B represents the service cost of executing each preparatory plan in the transportation link, P VE (l) represents the cost per unit time of each cargo ship in the lth route, N VE (l) represents the number of cargo ships sailing on the lth route, T VE (l) represents the sailing time of each cargo ship in the lth route, P VB (l) represents the cost per unit time of each cargo ship stopping at the port in the lth route, N VB (l) represents the number of cargo ships that stop at the port in the lth route, T VB (l) represents the duration of each cargo ship’s stop at the port in the lth route, x l represents the decision variable for the cargo ship service on the lth route, x l Taking 1 means choosing the cargo ship service of route l, x l Taking 0 means not to select the cargo ship service of route l, through x l Different values ​​of are used to form different preparation plans in the transportation link.

2. The method for determining a manufacturing task allocation scheme according to claim 1, characterized in that: In the procurement process, the service providers include material suppliers; Determine the cost and time required to perform each of the preparatory services, including: Determine the cost of performing the services for each alternative using the following formula: Among them, C P represents the service cost of executing each preliminary plan in the procurement process, P P (h) represents the price per unit of material of the h-th material supplier, N P (h) represents the quantity of materials purchased from the hth material supplier, x h represents the decision variable for the h-th material supplier, x h Taking 1 means selecting the hth material supplier, x h Taking 0 means not to select the hth material supplier, through x h Different values ​​of can be used to form different preliminary plans in the procurement process; Use the following formula to determine how long it will take to execute each alternative: Among them, T P Indicates the time it takes to execute each preliminary plan in the procurement process, t pe (h) represents the arrival time of the h-th material supplier, t pb (h) represents the starting time of purchasing from the hth material supplier, x h represents the decision variable for the h-th material supplier, x h Taking 1 means selecting the hth material supplier, x h A value of 0 means not selecting the hth material supplier.

3. The method for determining a manufacturing task allocation scheme according to claim 1, characterized in that: In the production stage, the service providers include production bases; Determine the cost and time required to perform each of the preparatory services, including: Determine the cost of performing the services for each alternative using the following formula: Among them, C M represents the service cost of executing each preparatory plan in the production link, P M (i) represents the price of producing a unit of finished product using materials at the i-th production base, N M (i) represents the number of finished products produced by the i-th production base using materials, x i represents the decision variable for the i-th production base, x i Taking 1 means selecting the i-th production base, x i Taking 0 means not to select the i-th production base, and x i Different values ​​of form different preparation plans in the production process; Use the following formula to determine how long it will take to execute each alternative: Among them, T M Indicates the time it takes to execute each preparatory plan in the production process, T W (i) represents the parking time of the material in the i-th production base, T S (i) represents the processing time of the material at the i-th production base, x i represents the decision variable for the i-th production base, x i Taking 1 means selecting the i-th production base, x i Taking 0 means not selecting the i-th production base.

4. The method for determining a manufacturing task allocation scheme according to claim 1, characterized in that: In the warehousing stage, the service providers include warehousing bases; Determine the cost and time required to perform each of the preparatory services, including: Determine the cost of performing the services for each alternative using the following formula: Among them, C S represents the service cost of executing each preparation plan in the warehousing link, P SM (j) represents the price of the material per unit storage space in the jth storage base, S SM (j) represents the size of the storage space occupied by the material in the jth storage base, T SM (j) represents the storage time of the material in the jth storage base, P SP (j) represents the price of the finished product per unit of storage space in the jth storage base, S SP (j) represents the size of the storage space occupied by the finished product in the jth storage base, T SP (j) represents the storage time of the finished product in the jth storage base, x j represents the decision variable for the j-th storage base, x j Taking 1 means selecting the jth storage base, x j Taking 0 means not to select the jth storage base, through x j Different values ​​of form different preparation plans in the warehousing link; Use the following formula to determine how long it will take to execute each alternative: Among them, T S It represents the time taken to execute each preparation plan in the warehousing link, T SM (j) represents the storage time of the material in the jth storage base, t mb (j) represents the end time of storage of materials in the jth storage base, t pe (j) represents the storage start time of the material in the jth storage base, T SP (j) represents the storage time of the finished product in the jth storage base, t vb (j) represents the end time of storage of finished products in the jth storage base, t me (j) represents the starting time of storage of finished products in the jth storage location, x j represents the decision variable for the j-th storage base, x j Taking 1 means selecting the jth storage base, x j Taking 0 means not selecting the jth storage base.

5. The method for determining a manufacturing task allocation scheme according to claim 1, characterized in that: Also includes: In the delivery phase, use the following formula to determine how long it takes to execute each alternative plan: Among them, T B It represents the time taken to execute each preparatory plan in the transportation link, T VE (l) represents the sailing time of each cargo ship in the lth route, t vs (l) represents the end time of the voyage of the cargo ship in the lth route, t se (l) represents the start time of the voyage of the cargo ship in the lth route, T VB (l) represents the duration of each cargo ship's stop at the port in the lth route, t ve (l) represents the end time of the cargo ship’s stop in route l, t vb (l) represents the start time of the cargo ship’s stop in the lth route, xl represents the decision variable of the cargo ship service for the lth time period, x l Taking 1 means selecting the cargo ship service in the lth time period, x l Taking 0 means not selecting the cargo ship service in the lth time period.

6. The method for determining a manufacturing task allocation scheme according to claim 1, characterized in that: According to the service fee and time spent on executing each preliminary plan, the total service fee and total time spent on each candidate plan are determined accordingly, and the total cost of completing the manufacturing task is determined according to the total service fee and total time spent, including: Determine the total service cost for each candidate using the following formula: T=T P +T M +T S +T B Among them, T represents the total time spent, T P It represents the time taken to execute each preliminary plan in the procurement process, T M Indicates the time it takes to execute each preparatory plan in the production process, T S It represents the time taken to execute each preparation plan in the warehousing link, T B Indicates the time it takes to execute each preparatory plan in the transportation process; Use the following formula to determine the total time required for each candidate: C=C P +C M +C S +C B Among them, C represents the total service cost, C P represents the service cost of executing each preliminary plan in the procurement process, C M represents the service cost of executing each preparatory plan in the production link, C S represents the service cost of executing each preparation plan in the warehousing link, C B Indicates the service fee for each preparatory plan in the delivery process; Normalizing the total time spent according to a first preset method to obtain a normalized total time spent, or normalizing the total service fee according to a second preset method to obtain a normalized total service fee; When the total time spent is normalized, the total cost of the manufacturing task is determined using the following formula: F=ω1T'+ω2C Wherein, F represents the total cost of the manufacturing task, ω1 represents the weight of the total time spent in the total cost, ω2 represents the weight of the total service fee in the total cost, T' represents the total time spent after normalization, and C represents the total service fee; When the total service charge is normalized, the total cost of the manufacturing task is determined using the following formula: F=ω1T+ω2C' Among them, F represents the total cost of the manufacturing task, ω1 represents the weight of the total time spent in the total cost, ω2 represents the weight of the total service fee in the total cost, T represents the total time spent, and C' represents the total service fee after normalization.

7. The method for determining a manufacturing task allocation scheme according to claim 1, characterized in that: The preset constraints include: The total service fee does not exceed a preset total fee threshold; and / or The total time spent does not exceed a preset total time threshold; and / or The distance between the procurement site of the procurement link and the production site of the production link does not exceed a preset distance threshold.

8. A device for determining a manufacturing task allocation plan, characterized in that: include: A data preparation module, used to determine at least one service provider for executing each link of the manufacturing task according to the task type of each link of the manufacturing task, wherein each link of the manufacturing task includes procurement, production, warehousing and transportation; A scheme preset module is used to determine, in each link, multiple preparatory schemes of service providers that can complete the task volume of the link according to the task volume of the link and the capability data of each service provider that performs the manufacturing task of the link, and determine the service fee and time spent on executing each preparatory scheme, wherein the preparatory scheme is a single service provider or a combination of multiple service providers that can complete the task volume of the link; A solution providing module is used to combine the multiple preliminary solutions of each link in different ways to obtain multiple candidate solutions that can complete the manufacturing task, and determine the total service fee and total time spent for each candidate solution according to the service fee and time spent on executing each preliminary solution, and determine the total cost of completing the manufacturing task according to the total service fee and total time spent; a scheme determination module, used to select a candidate scheme that satisfies preset constraints from the multiple candidate schemes, and use a genetic algorithm to determine the candidate scheme with the minimum total cost from the candidate schemes that satisfy the preset constraints, and use the candidate scheme with the minimum total cost as the allocation scheme for the manufacturing task; In the transportation link, the service providers include cargo ship services on various routes; Determine the cost of services to perform each preliminary plan, including: Determine the cost of performing the services for each alternative using the following formula: Among them, C B represents the service cost of executing each preparatory plan in the transportation link, P VE (l) represents the cost per unit time of each cargo ship in the lth route, N VE (l) represents the number of cargo ships sailing on the lth route, T VE (l) represents the sailing time of each cargo ship in the lth route, P VB (l) represents the cost per unit time of each cargo ship stopping at the port in the lth route, N VB (l) represents the number of cargo ships that stop at the port in the lth route, T VB (l) represents the duration of each cargo ship’s stop at the port in the lth route, x l represents the decision variable for the cargo ship service on the lth route, x l Taking 1 means choosing the cargo ship service of route l, x l Taking 0 means not to select the cargo ship service of route l, through x l Different values ​​of are used to form different preparation plans in the transportation link.

9. A computing device, characterized in that The method comprises a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the steps of the method for determining a manufacturing task allocation scheme as described in any one of claims 1 to 7 are implemented.

10. A storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the steps of the method for determining a manufacturing task allocation plan according to any one of claims 1 to 7 are implemented.