Factory production scheduling method, device, electronic device and computer readable storage medium
By building a production scheduling decision-making model, the target production distribution data of each factory is calculated, which solves the problem of low efficiency in the existing technology, achieves more efficient production scheduling and minimizes transportation costs, and ensures factories with production needs and equipment lifespan. Production scheduling methods.
Patent Information
- Application Number
- CN202010623715.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-30
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2040-06-30
AI Technical Summary
Existing factory production scheduling methods rely on manual experience, resulting in low efficiency and inability to effectively determine optimized production distribution and transportation costs.
By obtaining production planning data, build a production scheduling decision model, calculate the target production distribution data of each factory to minimize transportation costs and balance production volume, consider factory location, production capacity and warehouse location, and set constraint functions to ensure production needs and Equipment life.
It achieves more efficient production line scheduling, reduces production costs, ensures that production distribution meets specific needs, and extends the life of production line equipment.
Smart Images

Figure CN111754136B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of factory production allocation technology, and in particular to a factory production scheduling method, device, electronic equipment and computer-readable storage medium. Background Art
[0002] At present, the production scheduling of each factory is generally based on manual experience, and the production is scheduled according to the business constraints and business rules obtained by manual experience. This method relies on manual experience and trial and error adjustment, which may lead to inefficient scheduling when scheduling factory production. Summary of the invention
[0003] The object of the present invention is to provide a factory production scheduling method, device, electronic device and computer-readable storage medium, which can quickly determine an effective factory production scheduling method.
[0004] In a first aspect, an embodiment of the present invention provides a factory production scheduling method, comprising:
[0005] Acquire production planning data, the production planning data including: product demand data, factory data, and product time limit;
[0006] Determine the target demand output according to the product demand data;
[0007] Calculate the target production distribution data of each factory according to the target demand output and the factory data;
[0008] The production lead time is calculated based on the production distribution data and the product time limit.
[0009] In an optional embodiment, the factory data includes: factory location, factory production capacity and warehouse location; the target production distribution data of each factory is obtained by calculating according to the target demand output and the factory data, including:
[0010] Constructing a production scheduling decision model according to the factory location, factory production capacity and warehouse location;
[0011] Calculation is performed according to the production scheduling decision model to obtain target production distribution data of each factory corresponding to the minimum transportation cost.
[0012] According to the factory scheduling method in the above embodiment, the production distribution data of each factory is determined in a manner that minimizes the transportation cost, so that the determined production distribution data can correspond to less production cost.
[0013] In an optional implementation, the calculation is performed according to the production scheduling decision model to obtain target production distribution data of each factory corresponding to the minimum transportation cost, including:
[0014] Calculating the production scheduling decision model to obtain the initial production data distribution of each factory corresponding to minimizing the transportation cost;
[0015] According to the initial production data distribution, the distribution data of each factory is adjusted so that the difference in production volume of each designated factory is within a first set range, so as to obtain the target production data distribution of each factory.
[0016] According to the factory production scheduling method in the above embodiment, by setting the difference in production data of each factory to be within the first set range, each factory can be made to work more evenly.
[0017] In an optional implementation, the calculation is performed according to the production scheduling decision model to obtain target production distribution data of each factory corresponding to the minimum transportation cost, including:
[0018] Under the condition that the difference in production volume of each factory is within the second set range, the target production distribution data of each factory is calculated according to the production scheduling decision model when the transportation cost is minimized.
[0019] According to the factory production scheduling method in the above embodiment, by setting the difference in production data of each factory to be within the second set range, each factory can be made to work more evenly.
[0020] In an optional implementation, the production scheduling decision model is constructed according to the factory location, factory production capacity and warehouse location by the following formula:
[0021]
[0022] Among them, x i,j,k represents the production volume of the i-th smallest unit product in the j-th production line in time period k, i∈I,j∈J,k∈K; r i,j It represents the time required to produce one unit of the i-th smallest unit product on the j-th production line; I i,k represents the minimum inventory required for the i-th smallest unit product at the end of time period k; I i,o represents the initial inventory of the i-th smallest unit product; d i,k represents the product demand of the i-th smallest unit product in time period k; w j,krepresents the recommended working time of the jth production line in time period k; w represents the target weight in the production scheduling decision model; I represents the set of products to be produced; J represents the total set of production lines; K represents the total set of production time periods, each factory includes one or more production lines, and k' is one of the time periods.
[0023] According to the factory scheduling method in the above-mentioned embodiment, the corresponding production distribution data can be determined with the above-mentioned calculation formula when the transportation cost is minimized, so that the determined target production distribution data can be more in line with production needs.
[0024] In an optional implementation, the production scheduling decision model further includes a first constraint function:
[0025]
[0026] The first constraint function is used to constrain the cumulative production volume in each time period to be no less than the demand volume.
[0027] According to the factory production scheduling method in the above-mentioned implementation mode, by setting constraint conditions for the production scheduling decision model, the determined target production distribution data can be better adapted to different needs.
[0028] In an optional implementation, the production scheduling decision model further includes a second constraint function:
[0029]
[0030] Among them, h j,k represents the limited working time of the jth production line in time period k;
[0031] The second constraint function is used to constrain the production time of each production line to be no greater than the limited working time of the corresponding production line.
[0032] According to the factory scheduling method in the above embodiment, by limiting the working time of the production line, the accelerated consumption of production line equipment caused by the production line being in operation for a long time can be reduced, thereby increasing the life of the production line equipment.
[0033] In a second aspect, an embodiment of the present invention provides a factory production scheduling device, including:
[0034] An acquisition module, used to acquire production planning data, wherein the production planning data includes: product demand data, factory data, and product time limit;
[0035] A determination module, used to determine a target demand output according to the product demand data;
[0036] A first calculation module, configured to calculate according to the target demand output and the factory data to obtain target production distribution data of each factory;
[0037] The second calculation module is used to calculate the production lead time according to the production distribution data and the product time limit.
[0038] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: a processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the machine-readable instructions are executed by the processor to perform the steps of the method described in any of the aforementioned embodiments.
[0039] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method described in any of the aforementioned embodiments are executed.
[0040] The factory production scheduling method, device, electronic device and computer-readable storage medium of the embodiment of the present application have the beneficial effect that by calculating the target production distribution data of each factory according to the production planning data, more efficient production line scheduling can be achieved compared with manual scheduling. Furthermore, multiple practical factors are also considered in determining the target production distribution data, such as product demand data, factory data, and product time limit, so that the determined target production distribution data can meet the needs of specific defined scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0042] Figure 1 A block diagram of an electronic device provided in an embodiment of the present application.
[0043] Figure 2 A flowchart of a factory production scheduling method provided in an embodiment of the present application.
[0044] Figure 3 A detailed flowchart of step 203 of the factory production scheduling method provided in an embodiment of the present application.
[0045] Figure 4 A schematic diagram of the functional modules of a factory production scheduling device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0046] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings in the embodiments of the present application.
[0047] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0048] Embodiment 1
[0049] To facilitate understanding of this embodiment, first, an electronic device for executing the factory production scheduling method disclosed in the embodiment of the present application is introduced in detail.
[0050] like Figure 1 , which is a block diagram of an electronic device. The electronic device 100 may include a memory 111, a storage controller 112, a processor 113, a peripheral interface 114, an input and output unit 115, and a display unit 116. A person skilled in the art may understand that Figure 1 The structure shown is only for illustration and does not limit the structure of the electronic device 100. For example, the electronic device 100 may further include Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0051] The memory 111, storage controller 112, processor 113, peripheral interface 114, input / output unit 115 and display unit 116 are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, these components can be electrically connected to each other via one or more communication buses or signal lines. The processor 113 is used to execute the executable module stored in the memory.
[0052] The memory 111 may be, but not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc. The memory 111 is used to store programs, and the processor 113 executes the program after receiving the execution instruction. The method executed by the electronic device 100 defined by the process disclosed in any embodiment of the present application can be applied to the processor 113, or implemented by the processor 113.
[0053] The processor 113 may be an integrated circuit chip with signal processing capability. The processor 113 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0054] The peripheral interface 114 couples various input / output devices to the processor 113 and the memory 111. In some embodiments, the peripheral interface 114, the processor 113 and the memory controller 112 can be implemented in a single chip. In other embodiments, they can be implemented by separate chips.
[0055] The input and output unit 115 is used to provide input data to the user. The input and output unit 115 can be, but is not limited to, a mouse and a keyboard.
[0056] The display unit 116 provides an interactive interface (e.g., a user operation interface) between the electronic device 100 and the user or is used to display image data for the user's reference. In this embodiment, the display unit may be a liquid crystal display or a touch display. If it is a touch display, it may be a capacitive touch screen or a resistive touch screen that supports single-point and multi-point touch operations. Supporting single-point and multi-point touch operations means that the touch display can sense touch operations generated simultaneously from one or more positions on the touch display, and the sensed touch operations are handed over to the processor for calculation and processing.
[0057] Exemplarily, the display unit 116 can be used to display the target production distribution data of each factory determined by the factory production scheduling method. For example, the output of the target product that each factory needs to undertake can be displayed in the form of a plan view. For another example, the output of the target product that each factory needs to undertake can also be displayed in the form of a bar chart.
[0058] The electronic device 100 in this embodiment can be used to execute each step in each method provided in the embodiments of the present application. The implementation process of the factory production scheduling method is described in detail below through several embodiments.
[0059] Embodiment 2
[0060] See also Figure 2 , is a flow chart of the factory production scheduling method provided in the embodiment of the present application. Figure 2 The specific process shown is described in detail.
[0061] Step 201, obtaining production planning data.
[0062] Optionally, the above production planning data can be used to define the values required to be defined in each link of the production process. Exemplarily, the production planning data includes: product demand data, factory data, and product time limit.
[0063] Exemplarily, the above-mentioned product demand data may include the quantity of products that need to be exported, the quantity of products that need to be reserved in the warehouse, and the initial inventory of the warehouse, etc.
[0064] Exemplarily, the above-mentioned factory data may include the number of factories, the location of each factory, the number of production lines owned by each factory, the recommended working hours of each production line of each factory in each time period, the limited working hours of each production line per unit time, the minimum production volume of each production line per unit time, the location of the warehouse, the distance between the warehouse and each factory, etc.
[0065] Optionally, the above-mentioned unit time may be a unit time length of one day, one week, ten days, etc.
[0066] Exemplarily, the above-mentioned product time limit may be the time required for delivery, the required delivery time, etc. Optionally, the required delivery time may represent the time between the order placement time and the delivery time.
[0067] Exemplarily, the production planning data may also include the initial inventory of each product in each warehouse, the target inventory of each product in each warehouse, and the like.
[0068] Optionally, the above-mentioned production planning data can be received as data input by the user through the input and output unit or the display unit of the electronic device.
[0069] Optionally, the above production planning data can also be obtained by scanning a target file and acquiring information in the target file. For example, the above target file can be a contract file, a factory distribution introduction file, and the like.
[0070] Optionally, the above-mentioned production planning data can be obtained through a target database. Exemplarily, the target database can be a database for storing factory distribution data.
[0071] Step 202: Determine the target demand output according to the product demand data.
[0072] Optionally, the above-mentioned target demand output may include the quantity of products that need to be output, the quantity of products that need to be reserved in the warehouse, and the current quantity of products in the warehouse.
[0073] For example, the target demand output can be equal to the sum of the number of products that need to be reserved in the warehouse and the number of products that need to be exported, minus the current number of products in the warehouse.
[0074] Step 203, performing calculations based on the target demand output and the factory data to obtain target production distribution data for each factory.
[0075] Optionally, the factory data includes: factory location, factory production capacity, and warehouse location.
[0076] like Figure 3 As shown, step 203 may include the following steps.
[0077] Step 2031, constructing a production scheduling decision model based on the factory location, factory production capacity and warehouse location.
[0078] Optionally, the product demand data may also include the time required to produce one unit of the product.
[0079] For example, the quantity of products that need to be output may include the demand for products in various time periods.
[0080] For example, the quantity of products that need to be reserved in the warehouse may include the minimum inventory required at the end of each time period.
[0081] In one embodiment, the production scheduling decision model can be implemented as follows:
[0082]
[0083] Among them, x i,j,k represents the production volume of the i-th smallest unit product in the j-th production line in time period k, i∈I,j∈J,k∈K; r i,j It represents the time required to produce one unit of the i-th smallest unit product on the j-th production line; I i,k represents the minimum inventory required for the i-th smallest unit product at the end of time period k; I i,o represents the initial inventory of the i-th smallest unit product; d i,k represents the product demand of the i-th smallest unit product in time period k; w j,k represents the recommended working time of the jth production line in time period k; w represents the target weight in the production scheduling decision model; I represents the set of products to be produced; J represents the total set of production lines; K represents the total set of production time periods, each factory includes one or more production lines, and k' is one of the time periods.
[0084] For example, the minimum unit product mentioned above may be a product. The minimum unit product may also represent a minimum storage unit, for example, a box of products. The minimum unit product may also represent a product produced by a production line in one cycle.
[0085] In order to avoid the mismatch between the output of the production line and the production line consumption, the minimum production volume of the production line in each time period can also be limited. The above production line consumption can include the loss of production equipment, the human resources required for the production line startup, and the energy consumption required by the production equipment.
[0086] Optionally, the production scheduling decision model may also be provided with a function for limiting the production line output. Exemplarily, the production scheduling decision model further includes a first constraint function:
[0087]
[0088] The first constraint function in this embodiment is used to constrain the cumulative production volume in each time period to be no less than the demand volume.
[0089] Since overworking each production line may lead to reduced production efficiency or increased equipment wear, the working hours of each production line can be further limited.
[0090] Optionally, the production scheduling decision model may also be provided with a function for limiting the working time of the production line. Exemplarily, the production scheduling decision model also includes a second constraint function:
[0091]
[0092] Among them, h j,k Represents the limited working time of the j-th production line in time period k.
[0093] For example, the above-mentioned limited working time can represent the maximum working time of the production line in the set time period. For example, the working time of the jth production line in the time period k cannot exceed h j,k .
[0094] The second constraint function in this embodiment is used to constrain the production time of each production line to be no greater than the limited working time of the corresponding production line.
[0095] In this embodiment, the production volume of each production line in each time period is calculated by the above-mentioned multiple functions to determine the target production distribution data of each factory.
[0096] In another embodiment, the unit transportation cost from each factory to the warehouse can be constructed based on the factory location and the warehouse location, and then a production scheduling decision model can be constructed based on the unit transportation cost and the production volume of each production line in each time period.
[0097] Exemplarily, the production volume of each production line in each time period in the above-mentioned production scheduling decision model is an unknown quantity, and the unknown quantity is solved to determine the target production distribution data of each factory.
[0098] Optionally, if there are multiple factories that can produce to meet the demand at the same time, constraints can be set so that the difference in production volume of the multiple factories that produce to meet the demand at the same time is within a set range, so that each factory can evenly share the production task.
[0099] Step 2032, performing calculations based on the production scheduling decision model to obtain target production distribution data for each factory corresponding to when the transportation cost is minimized.
[0100] Optionally, a linear programming model solution method may be used for the solution. Exemplarily, the linear programming model solution method may be: simplex method, interior point method, etc.
[0101] In one embodiment, the production scheduling decision model is calculated to obtain the initial production data distribution of each factory corresponding to the minimized transportation cost; based on the initial production data distribution, the distribution data of each factory is adjusted so that the difference in production volume of each designated factory is within a first set range to obtain the target production data distribution of each factory.
[0102] For example, the designated factories may be factories with similar production capacity and whose distances from the warehouse are within a designated interval. For example, the designated interval may be a numerical interval within one kilometer, five kilometers, or ten kilometers.
[0103] For example, the above-mentioned production capacity may represent the number of products that all production lines in a factory can produce per unit time.
[0104] Exemplarily, close production capacity may mean that the difference in the number of products that can be produced per unit time is a small value. For example, if two factories can produce the same number of products per unit time, it means that the production capacity is close. For another example, if the number of products that Factory A can produce per unit time is sometimes higher than the number of products that Factory B can produce per unit time, and the number of products that Factory A can produce per unit time is sometimes lower than the number of products that Factory B can produce per unit time, it means that the production capacity of Factory A and Factory B is close.
[0105] Optionally, if there are multiple target factories that are close to the warehouse and have similar production capacities, the production volumes of the multiple target factories may be adjusted to be similar in value, so that the difference in production volume undertaken by the multiple target factories is within the first set range.
[0106] Optionally, the first setting range may be a numerical interval centered at 0. The values of the endpoints of the numerical interval may be set as required, and the embodiment of the present application is not limited to the values of the numerical interval.
[0107] In order to prevent some factories from continuously taking on large amounts of production tasks, the production volume gap between each factory can be limited.
[0108] In another embodiment, the target production distribution data of each factory is calculated according to the production scheduling decision model when the transportation cost is minimized, with the difference in the production volume of each factory being within the second set range as a condition.
[0109] Exemplarily, by taking the difference in the production volume of each factory as a condition that it is within the second set range, the difference between the production volumes of all deployable factories is limited.
[0110] Step 204, calculating the production lead time according to the production distribution data and the product time limit.
[0111] For example, the production time required for the planned production product may be determined based on the determined target production distribution data.
[0112] Furthermore, the production lead time is determined based on the product time limit and the production time required for the product.
[0113] The factory production scheduling method of the embodiment of the present application can achieve more efficient production line scheduling by calculating the target production distribution data of each factory based on the production planning data, compared with manual scheduling. Furthermore, multiple practical factors are also considered in determining the target production distribution data, such as product demand data, factory data, and product time limit, so that the determined target production distribution data can meet the needs of specific limited scenarios.
[0114] Embodiment 3
[0115] Based on the same application concept, a factory scheduling device corresponding to the factory scheduling method is also provided in the embodiment of the present application. Since the principle of solving the problem by the device in the embodiment of the present application is similar to that in the aforementioned factory scheduling method embodiment, the implementation of the device in this embodiment can refer to the description in the embodiment of the above method, and the repeated parts will not be repeated.
[0116] See also Figure 4 , is a functional module diagram of a factory production scheduling device provided in an embodiment of the present application. Each module in the factory production scheduling device in this embodiment is used to execute each step in the above method embodiment. The factory production scheduling device includes: an acquisition module 301, a determination module 302, a first calculation module 303 and a second calculation module 304; wherein,
[0117] The acquisition module 301 is used to acquire production planning data, wherein the production planning data includes: product demand data, factory data, and product time limit;
[0118] A determination module 302 is used to determine a target demand output according to the product demand data;
[0119] A first calculation module 303 is used to calculate according to the target demand output and the factory data to obtain target production distribution data of each factory;
[0120] The second calculation module 304 is used to calculate the production lead time according to the production distribution data and the product time limit.
[0121] In a possible implementation, the factory data includes: factory location, factory production capacity and warehouse location; the first calculation module 303 includes: a construction unit and a calculation unit;
[0122] A construction unit, used to construct a production scheduling decision model according to the factory location, factory production capacity and warehouse location;
[0123] The calculation unit is used to perform calculations according to the production scheduling decision model to obtain the target production distribution data of each factory corresponding to the minimum transportation cost.
[0124] In a possible implementation manner, the computing unit is configured to:
[0125] Calculating the production scheduling decision model to obtain the initial production data distribution of each factory corresponding to minimizing the transportation cost;
[0126] According to the initial production data distribution, the distribution data of each factory is adjusted so that the difference in production volume of each designated factory is within a first set range, so as to obtain the target production data distribution of each factory.
[0127] In a possible implementation manner, the computing unit is configured to:
[0128] Under the condition that the difference in production volume of each factory is within the second set range, the target production distribution data of each factory is calculated according to the production scheduling decision model when the transportation cost is minimized.
[0129] In a possible implementation, the production scheduling decision model is implemented by the following formula:
[0130]
[0131] Among them, x i,j,k represents the production volume of the i-th smallest unit product in the j-th production line in time period k, i∈I,j∈J,k∈K; r i,j It represents the time required to produce one unit of the i-th smallest unit product on the j-th production line; I i,k I represents the minimum inventory required for the i-th smallest unit product at the end of time period k; i,o represents the initial inventory of the i-th smallest unit product; d i,k represents the product demand of the i-th smallest unit product in time period k; w j,k represents the recommended working time of the jth production line in time period k; w represents the target weight in the production scheduling decision model; I represents the set of products to be produced; J represents the total set of production lines; K represents the total set of production time periods, each factory includes one or more production lines, and k' is one of the time periods.
[0132] In a possible implementation manner, the production scheduling decision model further includes a first constraint function:
[0133]
[0134] The first constraint function is used to constrain the cumulative production volume in each time period to be no less than the demand volume.
[0135] In a possible implementation manner, the production scheduling decision model further includes a second constraint function:
[0136]
[0137] Among them, h j,k represents the limited working time of the jth production line in time period k;
[0138] The second constraint function is used to constrain the production time of each production line to be no greater than the limited working time of the corresponding production line.
[0139] In addition, an embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the factory scheduling method described in the above method embodiment are executed.
[0140] The computer program product of the factory production scheduling method provided in the embodiment of the present application includes a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the steps of the factory production scheduling method described in the above method embodiment. Please refer to the above method embodiment for details, which will not be repeated here.
[0141] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0142] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0143] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk. It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variation thereof are intended to cover non-exclusive inclusion, so that a process, method, article or apparatus that includes a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or apparatus. In the absence of more restrictions, the elements defined by the sentence "includes..." do not exclude the presence of other identical elements in the process, method, article or apparatus that includes the elements.
[0144] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application. It should be noted that similar numbers and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.
[0145] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A factory production scheduling method, characterized in that: include: Acquire production planning data, the production planning data including: product demand data, factory data, and product time limit; Determine the target demand output according to the product demand data; Calculation is performed based on the target demand output and the factory data to obtain target production distribution data of each factory, including: constructing a production scheduling decision model: Among them, x i,j,k represents the production volume of the i-th smallest unit product in the j-th production line in time period k, i∈I,j∈J,k∈K; r i,j It represents the time required to produce one unit of the i-th smallest unit product on the j-th production line; I i,k represents the minimum inventory required for the i-th smallest unit product at the end of time period k; I i,o represents the initial inventory of the i-th smallest unit product; d i,k represents the product demand of the i-th smallest unit product in time period k; w j,k represents the recommended working time of the jth production line in time period k; w represents the target weight in the production scheduling decision model; I represents the set of products to be produced; J represents the total production line set; K represents the total production time period set, each factory includes one or more production lines, and k' is one of the time periods; according to the production scheduling decision model, calculation is performed to obtain the target production distribution data of each factory corresponding to the minimum transportation cost, wherein the cumulative production volume in each time period is not less than the demand volume, and each production line is set with a limited working time; The production scheduling decision model also includes a first constraint function: The first constraint function is used to constrain the cumulative production volume in each time period to be no less than the demand volume; The production scheduling decision model also includes a second constraint function: Among them, h j,k represents the limited working time of the jth production line in time period k; The second constraint function is used to constrain the production time of each production line to be no greater than the limited working time of the corresponding production line; The calculation according to the production scheduling decision model to obtain the target production distribution data of each factory corresponding to the minimum transportation cost includes: calculating the production scheduling decision model to obtain the initial production data distribution of each factory corresponding to the minimized transportation cost; adjusting the distribution data of each factory according to the initial production data distribution so that the difference in the production volume of each designated factory is within a first set range to obtain the target production data distribution of each factory, wherein the designated factories are factories with similar production capacity and whose distance difference from the warehouse is within a specified interval; The production lead time is calculated based on the production distribution data and the product time limit.
2. The method according to claim 1, characterized in that: The calculation is performed according to the production scheduling decision model to obtain the target production distribution data of each factory corresponding to the minimum transportation cost, including: Under the condition that the difference in production volume of each factory is within the second set range, the target production distribution data of each factory is calculated according to the production scheduling decision model when the transportation cost is minimized.
3. A factory production scheduling device, characterized in that: include: An acquisition module, used to acquire production planning data, wherein the production planning data includes: product demand data, factory data, and product time limit; A determination module, used to determine a target demand output according to the product demand data; A first calculation module, configured to calculate according to the target demand output and the factory data to obtain target production distribution data of each factory; A second calculation module, used for calculating the production lead time according to the production distribution data and the product time limit; The first calculation module is used to construct a production scheduling decision model, and to perform calculations according to the production scheduling decision model to obtain target production distribution data of each factory corresponding to the minimum transportation cost; Among them, the production scheduling decision model is constructed as follows: Among them, x i,j,k represents the production volume of the i-th smallest unit product in the j-th production line in time period k, i∈I,j∈J,k∈K; r i,j It represents the time required to produce one unit of the i-th smallest unit product on the j-th production line; I i,k represents the minimum inventory required for the i-th smallest unit product at the end of time period k; I i,o represents the initial inventory of the i-th smallest unit product; d i,k represents the product demand of the i-th smallest unit product in time period k; w j,k represents the recommended working time of the jth production line in time period k; w represents the target weight in the production scheduling decision model; I represents the set of products to be produced; J represents the total set of production lines; K represents the total set of production time periods, each factory includes one or more production lines, and k' is one of the time periods; The production scheduling decision model also includes a first constraint function: The first constraint function is used to constrain the cumulative production volume in each time period to be no less than the demand volume; The production scheduling decision model also includes a second constraint function: Among them, h j,k represents the limited working time of the jth production line in time period k; The second constraint function is used to constrain the production time of each production line to be no greater than the limited working time of the corresponding production line; Among them, the first calculation module is also used to calculate the production scheduling decision model to obtain the initial production data distribution of each factory corresponding to the minimized transportation cost; according to the initial production data distribution, the distribution data of each factory is adjusted so that the difference in production volume of each designated factory is within a first set range to obtain the target production data distribution of each factory, and the designated factories are factories with similar production capacity and whose distance difference from the warehouse is within a specified interval, wherein the cumulative production volume in each time period is not less than the demand, and each production line is set with a limited working time.
4. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the machine-readable instructions are executed by the processor to perform the steps of any one of the methods described in claims 1 to 2.
5. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 2 are executed.
Citation Information
Patent Citations
Mixed firefly algorithm-based whole process production scheduling and optimization method
CN108665092A
Production cooperation method and device and intelligent terminal
CN109919576A
Method and device for scheduling unmanned vehicle and computer readable storage medium
CN110119861A
Production line monitoring method and device, electronic equipment and readable storage medium
CN110321352A
Self-contained decision logic
US20170308822A1
