Flow direction distribution method, device and equipment for batched tobacco lamina and medium
By optimizing the distribution of smoke flow and combining demand and warehouse information, the reduction of tobacco logistics costs and the balance between raw material supply is achieved, the high cost problem of cigarette industry enterprises is solved, and the competitiveness and development potential of enterprises are enhanced.
Patent Information
- Application Number
- CN202411233476.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2024-12-27
AI Technical Summary
The high cost of tobacco leaf logistics in cigarette industry enterprises leads to a large proportion of costs in total costs, and the existing technology is difficult to effectively control costs, affecting the competitiveness and development of enterprises.
By obtaining the data to be allocated at the cigarette production point, the cigarette demand information and warehouse information of the target company are determined, and based on the transportation attributes and cost minimization goals, the flow distribution of cigarettes is optimized to achieve the reasonable distribution of cigarette raw materials and storage links of cigarettes. Cost control.
It improves the efficiency of the transport of finished cigarettes, reduces the production cost of cigarettes, achieves balanced raw material supply and high-quality and efficient development, and provides enterprises with a foundation for improving competitiveness and cost control.
Smart Images

Figure CN119204510A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of tobacco leaf logistics, and in particular to a method, device, equipment and medium for distributing the flow direction of batches of tobacco leaves. Background Art
[0002] At present, for domestic cigarette industrial enterprises, in terms of raw material costs, the tobacco leaf allocation price is uniformly set by the whole country, and the tobacco leaf grades required by industrial enterprises are generally relatively fixed, so it is difficult to make more streamlined raw material procurement costs; in terms of processing costs, since each project of tobacco leaf redrying processing has clear charging standards set by the state, under the condition of relatively stable processing volume, it is difficult to significantly reduce such costs. As a typical tobacco leaf product distribution enterprise, the tobacco leaf logistics costs of cigarette industrial enterprises cover the transportation costs, warehousing costs and management costs of tobacco leaf raw materials and finished products, accounting for a large proportion of the total costs of industrial enterprises, which is far higher than the logistics costs of general production enterprises. Therefore, creating a streamlined, efficient and low-consumption tobacco leaf logistics supply chain can not only effectively reduce related costs, but also greatly enhance the comprehensive competitiveness of domestic cigarette enterprises in the international tobacco leaf market.
[0003] In view of this, cigarette industry enterprises urgently need to carry out business process reengineering from the perspective of the supply chain, and obtain effective entry points for profit improvement in the current fiercely competitive market by strengthening logistics cost control and management. By conducting flow distribution research at the tobacco redrying plant, the source of tobacco leaf production, integrating and optimizing the distribution design of batch tobacco leaf finished products, promoting the reasonable allocation of tobacco leaf raw materials "storage" and "use" in tobacco industry enterprises, and improving the transportation efficiency of tobacco leaf finished products while achieving cost control in the raw material logistics and warehousing links, a transformation and development path for enterprises from external expansion to endogenous growth is opened up. Summary of the invention
[0004] The present invention provides a method, device, equipment and medium for distributing the flow direction of batches of tobacco strips, so as to achieve the technical effect of improving the efficiency of tobacco strip transportation and reducing the cost of cigarette production while meeting the demand for tobacco strips at cigarette production points.
[0005] According to one aspect of the present invention, a method for distributing the flow direction of a batch of tobacco leaves is provided, the method comprising:
[0006] Acquire data of cigarette strips to be distributed at a cigarette strip production site, wherein the data of cigarette strips to be distributed includes cigarette strips to be distributed of at least one type of cigarette strips under at least one cigarette strip production batch;
[0007] For each production batch of tobacco strips, determining tobacco strip demand information of a cigarette production site under a target enterprise for at least one type of tobacco strips in the production batch of tobacco strips; wherein the target enterprise includes at least one tobacco strip warehouse;
[0008] Determine first tobacco sheet allocation information from the tobacco sheet warehouse to the cigarette production site based on the tobacco sheet demand information, the storage information of the tobacco sheet warehouse, and a first transportation attribute of the tobacco sheet warehouse to the cigarette production site;
[0009] Determining second sheet tobacco allocation information from the sheet tobacco production point to the sheet tobacco warehouse based on a second transportation attribute of the sheet tobacco production point to the sheet tobacco warehouse and the first sheet tobacco allocation information;
[0010] Based on the first cigarette distribution information and the second cigarette distribution information, the total transportation cost is determined, and with minimization of the total transportation cost as the goal, the target flow distribution information is determined based on the second cigarette distribution information when the goal is achieved.
[0011] According to another aspect of the present invention, a flow distribution device for batches of tobacco leaves is provided, the device comprising:
[0012] A data acquisition module, used for acquiring data of cigarette strips to be distributed at a cigarette strip production site, wherein the data of cigarette strips to be distributed includes cigarette strips to be distributed of at least one type of cigarette strips under at least one cigarette strip production batch;
[0013] A tobacco sheet demand information determination module is used to determine, for each tobacco sheet production batch, tobacco sheet demand information of a cigarette production site under a target enterprise for at least one type of tobacco sheet in the tobacco sheet production batch; wherein the target enterprise includes at least one tobacco sheet warehouse;
[0014] A first allocation module, for determining first tobacco sheet allocation information from the tobacco sheet warehouse to the cigarette production site based on the tobacco sheet demand information, the storage information of the tobacco sheet warehouse and a first transportation attribute of the tobacco sheet warehouse to the cigarette production site;
[0015] A second allocation module is used to determine the second tobacco leaf allocation information from the tobacco leaf production point to the tobacco leaf warehouse based on the second transportation attribute of the tobacco leaf production point to the tobacco leaf warehouse and the first tobacco leaf allocation information.
[0016] The cost minimization module is used to determine the total transportation cost based on the first cigarette distribution information and the second cigarette distribution information, and determine the target flow distribution information based on the second cigarette distribution information when the target is reached, with the goal of minimizing the total transportation cost.
[0017] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0018] at least one processor; and a memory in communication with the at least one processor; wherein,
[0019] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for distributing the flow direction of batches of tobacco leaves as described in any embodiment of the present invention.
[0020] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions for enabling a processor to implement the method for distributing the flow direction of batches of tobacco leaves as described in any embodiment of the present invention when the computer instructions are executed.
[0021] The technical solution of the embodiment of the present invention determines the tobacco demand information of the cigarette production point under the target enterprise for at least one type of tobacco in the tobacco production batch by acquiring the tobacco production point tobacco data to be distributed; wherein the target enterprise includes at least one tobacco warehouse; based on the tobacco demand information, the storage information of the tobacco warehouse and the first transportation attribute of the tobacco warehouse to the cigarette production point, the first tobacco distribution information from the tobacco warehouse to the cigarette production point is determined; based on the second transportation attribute of the tobacco production point to the tobacco warehouse and the first tobacco distribution information, the second tobacco distribution information from the tobacco production point to the tobacco warehouse is determined; based on the first tobacco distribution information and the second tobacco distribution information, the total transportation cost is determined, and with the goal of minimizing the total transportation cost, the target flow distribution information is determined based on the second tobacco distribution information when the goal is reached. While clarifying the storage status of the tobacco warehouse of the industrial enterprise, the demand of the cigarette production point for the tobacco batch to be shipped is taken into account, effectively improving the accuracy and matching of the flow distribution of the finished tobacco batch to be shipped, and realizing the scientific planning of the flow distribution design. It solves the problem of poor cost control and high logistics costs in the prior art of allocating tobacco leaves to production points based on warehouse inventory, laying an important foundation for industrial enterprises to achieve balanced raw material supply and high-quality and efficient development, and has certain value for promotion and application.
[0022] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0024] Figure 1This is a flow chart of a method for distributing the flow direction of a batch of tobacco leaves provided in accordance with the first embodiment of the present invention;
[0025] Figure 2 Schematic diagram of a flow distribution method for batches of tobacco leaves applicable to Embodiment 1 of the present invention;
[0026] Figure 3 Schematic diagram of a flow distribution method for batches of tobacco leaves applicable to Embodiment 1 of the present invention;
[0027] Figure 4 is a schematic structural diagram of a flow distribution device for batches of tobacco leaves provided in accordance with a second embodiment of the present invention;
[0028] Figure 5 It is a structural schematic diagram of an electronic device for implementing the flow distribution method of batch cigarette sheets according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar enterprises, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] Before introducing the technical solution, an example of the application scenario can be first described. The technical solution can be applied in any scenario where batches of finished tobacco leaves need to be distributed. For example, in the field of tobacco leaf logistics, the produced tobacco leaves need to be pre-distributed to the warehouse for use in cigarette production. When distributing tobacco leaves, the technical solution provided by the embodiment of the present disclosure can be used.
[0032] Embodiment 1
[0033] Figure 1 This is a flow chart of a method for distributing the flow direction of a batch of tobacco leaves provided according to the first embodiment of the present invention. This embodiment is applicable to the case of distributing finished tobacco leaves in a batch. The method can be executed by a device for distributing the flow direction of a batch of tobacco leaves. The device for distributing the flow direction of a batch of tobacco leaves can be implemented in the form of hardware and / or software. The device for distributing the flow direction of a batch of tobacco leaves can be configured in a computing device. Figure 1 As shown, the method includes:
[0034] S110. Obtain data of tobacco strips to be distributed from a tobacco strip production site, wherein the data of tobacco strips to be distributed includes tobacco strips to be distributed of at least one type of tobacco strips under at least one tobacco strip production batch.
[0035] Among them, the tobacco sheet production point may refer to the production end of the tobacco sheet, such as the tobacco sheet production point may be a certain redrying plant. The tobacco sheet production batch may be used to indicate the batch information when producing tobacco sheets, such as the batch information including the production date, production equipment, production process, etc. The tobacco sheets to be distributed may refer to the finished tobacco sheets that need to be distributed. The finished tobacco sheets are the raw materials or semi-finished products for producing cigarettes. The tobacco sheet type may be used to characterize the basic information of the tobacco sheets. For example, the basic information of the tobacco sheets may be time, origin and grade. The tobacco sheets of grade B from origin A may be one type of tobacco sheets; the tobacco sheets of grade A from origin A may be another type of tobacco sheets; and the tobacco sheets of grade A from origin B may be another type of tobacco sheets.
[0036] For example, see Figure 2 , you can collect the relevant information of the batches of tobacco leaves to be shipped from the tobacco leaf production point RW to obtain the tobacco leaf data to be distributed. For example, the tobacco leaf data to be distributed includes the year, origin, grade, etc. of the batch of tobacco leaves, such as all the tobacco leaf data to be distributed from the production batch A, all the tobacco leaf data to be distributed from the production batch B, and all the tobacco leaf data to be distributed from the production batch C. These tobacco leaf data to be distributed are shipped from the tobacco leaf production point to CW due to the production needs of the cigarette industry enterprises' own cigarette brands. a、 CW b , CW c The finished tobacco strips in the tobacco strip warehouses are allocated based on the tobacco strip data to be allocated, and the tobacco strips are allocated to appropriate tobacco strip warehouses to prepare for subsequent cigarette production at cigarette production points such as CF1, CF2, CF3, CF4, and CF5.
[0037] S120. For each tobacco leaf production batch, determine tobacco leaf demand information of a cigarette production site under a target enterprise for at least one type of tobacco leaf in the tobacco leaf production batch; the target enterprise includes at least one tobacco leaf warehouse.
[0038] The target enterprise may refer to an industrial enterprise that produces cigarettes. A cigarette production site may refer to a cigarette factory that produces cigarettes, and different types of cigarettes are needed to produce cigarettes. A cigarette warehouse may be the target enterprise's own cigarette warehouse. The cigarette demand information includes the weight of cigarettes and / or the number of cigarette boxes.
[0039] In this embodiment, the tobacco leaf demand information for at least one type of tobacco leaf in each tobacco leaf production batch from the cigarette production sites under the target enterprise may be received from the upstream system.
[0040] For example, the demand for cigarette sheets of the same origin and grade as the cigarette sheet type by the cigarette production site can be used as the cigarette sheet demand information for the cigarette sheet type. For example, the cigarette sheet demand for 5 cigarettes of brand specification A produced by cigarette production site 1 is: the weight of the cigarette sheets of grade B from origin A is 10kg, and the weight of the cigarette sheets of grade C from origin B is 15kg.
[0041] It should be noted that after the production of tobacco sheets at the tobacco sheet production site, the tobacco sheets cannot be immediately put into the cigarette production stage. The tobacco sheets need to be processed or treated in some way, such as aging treatment for a certain period of time, before the aging tobacco sheets can be used for cigarette production. Based on this, in order to meet the demand for cigarette production, the demand for these tobacco sheets at the cigarette production site after the processing of the tobacco sheets can be determined.
[0042] In this embodiment, the cigarette demand information of the cigarette production points under the target enterprise for at least one type of cigarette in the cigarette production batch is determined, including: for each type of cigarette, after the to-be-allocated cigarettes of the cigarette type in the cigarette production batch have completed aging, the cigarette demand information of the cigarette production points under the target enterprise for the cigarette type.
[0043] In actual applications, the tobacco demand information for a type of tobacco sheet at the cigarette production sites under the target enterprise can be the tobacco demand information for the tobacco sheet type after the tobacco sheets to be distributed have completed aging. In other words, the tobacco sheets to be distributed are prepared for the tobacco sheet demand of the cigarette production sites after the aging of the current batch of tobacco sheets is completed. For example, the aging cycle of the tobacco sheets to be distributed is: it takes at least 24 months to complete the aging, and the tobacco sheets after aging can be used for cigarette product production. Assuming that the production batch of tobacco sheets to be distributed is in 2020, and the year after aging is 2022, then the tobacco sheet demand information of each cigarette production site can be the tobacco sheet demand for different types of tobacco sheets at the cigarette production sites after 2022.
[0044] S130: Determine first tobacco sheet distribution information from the tobacco sheet warehouse to the cigarette production site based on the tobacco sheet demand information, the storage information of the tobacco sheet warehouse, and the first transportation attribute of the tobacco sheet warehouse to the cigarette production site.
[0045] Among them, the storage information may include the usable weight, current available storage capacity, and warehouse location information of the tobacco leaves of the same origin and grade as the tobacco leaves type. The usable weight may refer to the weight of the finished tobacco leaves that have completed aging in each tobacco leaf warehouse under the target enterprise and completed aging during transportation and production when the tobacco leaves of the type to be distributed have completed aging. The current available storage capacity may refer to the weight of tobacco leaves of different types that can be placed in the tobacco leaf warehouse when the tobacco leaves are distributed. The first transportation attribute may include but is not limited to the transportation distance and the transportation unit price of transporting different types of tobacco leaves. It should be noted that when the starting transportation point and the ending flow point are at the same location, the distance between the two can be regarded as 0. The first tobacco leaf distribution information may refer to the information of tobacco leaves that flow from the tobacco leaf warehouse to the cigarette production point during cigarette production to meet the cigarette production needs of the cigarette production point. For example, the first cigarette sheet distribution information includes cigarette sheet distribution information under multiple distribution indicators, and the distribution indicators include at least a starting transportation position indicator (corresponding to a cigarette sheet warehouse), an ending flow position indicator (corresponding to a cigarette production point), a cigarette sheet type indicator, a cigarette sheet weight indicator (or a cigarette sheet box number indicator), a cost indicator, and a distance indicator, etc.
[0046] In this embodiment, based on the tobacco sheet demand information of the cigarette production site, the first transportation attribute between the tobacco sheet warehouse and the cigarette production site, and the storage information of the tobacco sheet warehouse, it can be determined in which tobacco sheet warehouse the tobacco sheet required by the cigarette production site should be stored and how much to store. It is also possible to determine the unit transportation cost based on the transportation distance and unit transportation price of the finished tobacco sheet in the first transportation attribute, and then determine the first tobacco sheet allocation information based on the tobacco sheet demand information, unit transportation cost, and storage information. For example, see Figure 2 , C.W. a To The CW b The unit transportation cost of transporting one kilogram of finished tobacco is 0.25; CW a The unit transportation cost of transporting one kilogram of finished tobacco strips between CF1 and CF2 is 0.57.
[0047] In order to ensure that the tobacco strip warehouse can accommodate the type of tobacco strips allocated to it and meet the demand for tobacco strips at different cigarette production sites when distributing the flow of tobacco strips, the weight of the tobacco strips entering and leaving the tobacco strip warehouse can be constrained when determining the first tobacco strip distribution information.
[0048] In this embodiment, based on the tobacco sheet demand information, the storage information of the tobacco sheet warehouse and the first transportation attribute of the transportation from the tobacco sheet warehouse to the cigarette production point, the first tobacco sheet distribution information from the tobacco sheet warehouse to the cigarette production point is determined, including: according to predetermined constraints, based on the tobacco sheet demand information, the storage information of the tobacco sheet warehouse and the first transportation attribute of the transportation from the tobacco sheet warehouse to the cigarette production point, the first tobacco sheet distribution information from the tobacco sheet warehouse to the cigarette production point is determined.
[0049] Among them, the constraints include at least the start and end point overlap constraint, the start and end point non-overlap constraint and the storage capacity constraint. The storage information includes the current available storage capacity and the available tobacco leaf information of the tobacco leaf type when the tobacco leaf to be allocated has completed aging. The first tobacco leaf allocation information includes the tobacco leaf information of different tobacco leaf types transported from the tobacco leaf warehouse to the cigarette production point. The tobacco leaf information can be the weight of the tobacco leaf or the number of tobacco leaf boxes. The number of tobacco leaf boxes refers to the number of boxes of tobacco leaves with fixed weight specifications.
[0050] In this embodiment, in the process of determining the first cigarette piece distribution information, the first cigarette piece distribution information from the cigarette piece warehouse to the cigarette production point can be constrained according to the predetermined constraint conditions to obtain the first cigarette piece distribution information that satisfies the constraint conditions. Figure 3 The first cigarette distribution information that meets the constraint conditions may include the shipping starting point, arrival ending point, shipping quantity, shipping time, and total transportation mileage, total weight, and total cost of the shipped cigarettes of different types of cigarettes.
[0051] In this embodiment, the constraint condition includes a start-end point coincidence constraint condition. According to the predetermined constraint condition, based on the sheet cigarette demand information, the storage information of the sheet cigarette warehouse and the first transportation attribute of the sheet cigarette warehouse to the cigarette production point, the first sheet cigarette distribution information transported from the sheet cigarette warehouse to the cigarette production point is determined, including: for each sheet cigarette warehouse, when the current sheet cigarette warehouse and the cigarette production point are at the same location, according to the start-end point coincidence constraint condition, the sum of the sheet cigarette information of the current sheet cigarette type transported into the cigarette production point by all the sheet cigarette warehouses and the sum of the available sheet cigarette information of the current sheet cigarette type in the current sheet cigarette warehouse are constrained to be not less than the sum of the sheet cigarette information of the current sheet cigarette type transported out from the current sheet cigarette warehouse to other cigarette production points and the sum of the sheet cigarette demand information of the current sheet cigarette type at the cigarette production point, so that the first sheet cigarette distribution information from the current sheet cigarette warehouse to the cigarette production point satisfies the start-end point coincidence constraint condition; wherein the start-end point coincidence constraint condition is expressed as:
[0052] D Ij +∑ i X ijK ≥M jK +∑ k-1 X Ij(k-1) ;∑() represents the summation function, D Ij represents the available tobacco information of the jth tobacco type in the current tobacco warehouse I, X ijK It indicates that the i-th cigarette warehouse transports the j-th cigarette type of cigarettes to the K-th cigarette production point that coincides with the current cigarette warehouse I. jK represents the demand information of the K-th cigarette production site for the j-th cigarette type, X Ij(k-1)It indicates that the current tobacco strip warehouse I transports the tobacco strip information of the jth tobacco strip type to the k-1th other cigarette production point that does not overlap with its position.
[0053] It should be noted that the tobacco sheet warehouse in the target enterprise may overlap with the cigarette production point, and the transportation distance at this time is 0. In other words, when the current tobacco sheet warehouse I overlaps with the cigarette production point K, the current available storage capacity of the j-th tobacco sheet type in the constraint tobacco sheet warehouse I plus the total amount of the j-th tobacco sheet type transported by all warehouses to the cigarette production point K must be greater than or equal to the demand for the j-th tobacco sheet type at the cigarette production point K plus the total amount of the j-th tobacco sheet type transported by the tobacco sheet warehouse I to other locations.
[0054] In this embodiment, the constraint condition includes a non-overlapping constraint condition of the start and end points. According to the predetermined constraint condition, based on the sheet cigarette demand information, the storage information of the sheet cigarette warehouse and the first transportation attribute of the sheet cigarette warehouse to the cigarette production point, the first sheet cigarette distribution information from the sheet cigarette warehouse to the cigarette production point is determined, including: for each sheet cigarette warehouse, when the locations of the current sheet cigarette warehouse and the cigarette production point are different, according to the non-overlapping constraint condition of the start and end points, the sum of the sheet cigarette information of the current sheet cigarette type transported to the cigarette production point by all the sheet cigarette warehouses is constrained to be greater than or equal to the sheet cigarette demand information of the current sheet cigarette type by the cigarette production point, so that the first sheet cigarette distribution information from the current sheet cigarette warehouse to the cigarette production point satisfies the non-overlapping constraint condition of the start and end points; wherein the non-overlapping constraint condition of the start and end points is expressed as:
[0055] ∑ i X ijK’ ≥M jK’ ;X ijK It indicates that the i-th cigarette warehouse transports the j-th cigarette type of cigarettes to the K'th cigarette production site, M jK’ It represents the demand information of the K'th cigarette production site for the jth cigarette type.
[0056] It should be noted that when the locations of the cigarette warehouses and cigarette production sites in the first cigarette distribution information do not overlap, the total amount of the j-th cigarette type transported by each cigarette warehouse to the cigarette production site K' is constrained to be greater than the demand of the cigarette production site K' for the j-th cigarette type.
[0057] In this embodiment, the constraint condition includes a storage capacity constraint condition. According to the predetermined constraint condition, based on the sheet cigarette demand information, the storage information of the sheet cigarette warehouse and the first transportation attribute of the sheet cigarette warehouse to the cigarette production point, the first sheet cigarette distribution information from the sheet cigarette warehouse to the cigarette production point is determined, including: according to the storage capacity constraint condition, the difference between the sum of the sheet cigarette information of the current sheet cigarette type transported from the sheet cigarette production point to the sheet cigarette warehouse and the sum of the sheet cigarette information of the current sheet cigarette type transported from the sheet cigarette warehouse to all cigarette production points is constrained to be no greater than the current available storage capacity of the sheet cigarette warehouse, so that the first sheet cigarette distribution information from the sheet cigarette warehouse to the cigarette production point satisfies the storage capacity constraint condition; wherein the storage capacity constraint condition is expressed as:
[0058] ∑ i-1 ∑ j X (i-1)j -∑ k ∑ j X ijk ≤W i ;X (i-1)j represents the information of the j-th type of tobacco sheets transported from the tobacco sheet production site to the i-th tobacco sheet warehouse, X ijk W represents the information of the j-th type of cigarettes shipped from the i-th cigarette warehouse to the k-th cigarette production site. i Represents the current available storage capacity of the i-th tobacco warehouse.
[0059] It is understandable that, for the tobacco strip warehouse i, the total amount of finished tobacco strips transported into it minus the total amount of finished tobacco strips transported out of it must be less than or equal to its current available storage capacity. In other words, the weight of finished tobacco strips stored in the tobacco strip warehouse cannot exceed the current available storage capacity of the warehouse. It should be noted that while the first tobacco strip allocation information is constrained by the storage capacity constraint condition, the tobacco strip production point is also constrained by the storage capacity constraint condition to transport the current type of tobacco strips to the tobacco strip warehouse, that is, the second tobacco strip allocation information from the tobacco strip production point to the tobacco strip warehouse is constrained.
[0060] S140: Determine second tobacco sheet allocation information from the tobacco sheet production point to the tobacco sheet warehouse based on the second transportation attribute of the tobacco sheet production point to the tobacco sheet warehouse and the first tobacco sheet allocation information.
[0061] The second transport attribute may include but is not limited to the transport distance and the transport unit price of transporting different types of cigarette sheets. The second cigarette sheet distribution information may refer to the information of cigarette sheets flowing from the cigarette sheet production point to the cigarette sheet warehouse before cigarette production, so as to be temporarily stored in the cigarette sheet warehouse for use when the cigarette production point produces cigarettes.
[0062] In this embodiment, after determining the first sheet distribution information between the sheet tobacco warehouse and the cigarette production site, the second transportation attribute when the sheet tobacco production site transports the sheet tobacco warehouse to the sheet tobacco warehouse and the first sheet tobacco distribution information can be combined to determine which type of sheet tobacco the sheet tobacco production site should transport to the sheet tobacco warehouse, the specific amount of transportation, the transportation cost, etc., to obtain the second sheet tobacco distribution information. For example, the unit transportation cost can be determined based on the transportation distance and the unit transportation price, and the second sheet tobacco distribution information can be determined based on the unit transportation cost and the first sheet tobacco distribution information. For example, see Figure 2 , RW to CW b The unit transportation cost of transporting one kilogram of finished tobacco is 0.58; RW to CW a The unit transportation cost of transporting one kilogram of finished tobacco products is 0.57.
[0063] In this embodiment, based on the second transportation attribute of the transportation from the sheet cigarette production point to the sheet cigarette warehouse, and the first sheet cigarette distribution information, the second sheet cigarette distribution information from the sheet cigarette production point to the sheet cigarette warehouse is determined, including: for each sheet cigarette warehouse, based on the first sheet cigarette distribution information associated with the current sheet cigarette warehouse, determining the sheet cigarette information to be stored corresponding to the current sheet cigarette warehouse; based on the sheet cigarette information to be stored and the second transportation attribute of the transportation from the sheet cigarette production point to the sheet cigarette warehouse, determining the second sheet cigarette distribution information from the sheet cigarette production point to each sheet cigarette warehouse.
[0064] It should be noted that the method for determining the information of the tobacco strips to be stored in each tobacco strip warehouse is the same, and any of the tobacco strip warehouses can be taken as the current tobacco strip warehouse to determine the information of the tobacco strips to be stored in the current tobacco strip warehouse as an example for explanation.
[0065] In practical applications, in the later stage of cigarette production, the current tobacco sheet warehouse may transport tobacco sheets to multiple cigarette production points, so the current tobacco sheet warehouse has the first tobacco sheet distribution information associated with multiple cigarette production points. All the first tobacco sheet distribution information associated with the current tobacco sheet warehouse can be counted, and the total tobacco sheet distribution information can be counted, and the statistical information can be used as the tobacco sheet information to be stored corresponding to the current tobacco sheet warehouse. Furthermore, the second tobacco sheet distribution information from the tobacco sheet production point to each tobacco sheet warehouse can be determined in combination with the tobacco sheet information to be stored and the first transportation attribute between the tobacco sheet warehouse and the tobacco sheet production point. The second tobacco sheet distribution information includes but is not limited to the type of transported tobacco sheets, the starting transportation point (corresponding to the tobacco sheet production point), the ending flow point (corresponding to the tobacco sheet warehouse), the shipping time, the total mileage, the total weight (or the total number of boxes), the total cost and the transportation frequency, etc.
[0066] For example, see Figure 3, a tobacco sheet flow distribution model can be pre-built, and the demand for different types of tobacco sheets at cigarette production sites (i.e., tobacco sheet demand information), information on batches of tobacco sheets to be shipped, total transportation costs determined based on the unit transportation cost of finished tobacco sheets and the transportation distance, and storage information of each warehouse are input into the flow distribution model. The tobacco sheet flow distribution information is constrained by constraints to obtain tobacco sheet flow distribution information that meets the constraints. The tobacco sheet flow distribution information includes first tobacco sheet distribution information and second tobacco sheet distribution information.
[0067] It should be noted that, when there is no demand information for the sheets of cigarettes to be distributed in the sheet cigarette production batch at the cigarette production point, the second sheet cigarette distribution information from the cigarette sheet production point to the cigarette sheet warehouse can be determined based on the second transportation attribute of the cigarette sheet production point to the cigarette sheet warehouse and the data of the cigarette sheets to be distributed, and the total transportation cost can be determined based on the second cigarette sheet distribution information (at this time, the total transportation cost does not include the transportation cost of the first cigarette sheet distribution information, and the method of determining the following total transportation cost is similar to the method of determining the total transportation cost based on the first cigarette sheet distribution information and the second cigarette sheet distribution information, which will not be repeated here), and with the goal of minimizing the total transportation cost, the target flow distribution information is determined based on the second cigarette sheet distribution information when the goal is reached.
[0068] It should also be noted that, in the case where the data of cigarette sheets to be distributed is greater than the cigarette sheet demand information, the cigarette sheets to be distributed that remain after the cigarette sheet demand information is met in the data of cigarette sheets to be distributed can be combined with the second transportation attribute of transporting the cigarette sheet production point to the cigarette sheet warehouse, such as taking the minimum distance as the distribution target, to determine the cigarette sheet distribution information for the remaining cigarette sheets to be distributed from the cigarette sheet production point to the cigarette sheet warehouse, and this cigarette sheet distribution information can also be used as part of the second cigarette sheet distribution information.
[0069] On the basis of the above technical solution, when determining the second sheet cigarette distribution information from the sheet cigarette production point to the sheet cigarette warehouse, it is also possible to constrain the difference between the sum of the sheet cigarette information of the current sheet cigarette type transported from the sheet cigarette production point to the sheet cigarette warehouse and the sum of the sheet cigarette information of the current sheet cigarette type transported from the sheet cigarette warehouse to all cigarette production points to be no greater than the current available storage capacity of the sheet cigarette warehouse, based on the storage capacity constraint condition, so that the second sheet cigarette distribution information from the sheet cigarette production point to the sheet cigarette warehouse satisfies the storage capacity constraint condition. Among them, the storage capacity constraint condition is the same as the storage capacity constraint condition when constraining the first sheet cigarette distribution information, and will not be repeated here.
[0070] S150, determining the total transportation cost based on the first cigarette distribution information and the second cigarette distribution information, and determining the target flow distribution information based on the second cigarette distribution information when the target is reached, with the goal of minimizing the total transportation cost.
[0071] In this embodiment, the allocation cost of the first cigarette allocation information and the allocation cost of the second cigarette allocation information can be counted, and the sum of the two allocation costs is used as the total transportation cost. With the goal of minimizing the total transportation cost, the first cigarette allocation information is continuously adjusted so that the second cigarette allocation information and the total transportation cost change until the total transportation cost reaches the minimum, which is considered to be the goal. The second cigarette allocation information when the goal is reached can be used as the final target flow allocation information.
[0072] In this embodiment, the total transportation cost is determined based on the first cigarette allocation information and the second cigarette allocation information, and the target flow distribution information is determined based on the second cigarette allocation information when the target is reached, including: when the first cigarette allocation information satisfies all constraints, the first cigarette allocation information and the second cigarette allocation information are input into the objective function to obtain the total transportation cost, and determine whether the total transportation cost reaches the minimization target; if the total transportation cost does not reach the minimization target, re-execute the steps of determining the first cigarette allocation information, the second cigarette allocation information, the total transportation cost, and judging whether the target is reached; if the total transportation cost reaches the minimization target, the second cigarette allocation information when the target is reached is used as the target flow distribution information;
[0073] Among them, the objective function is expressed as: min = ∑ i ∑ k ∑ j (X ijk Q ik +X ija Q ia ); min means minimum, X ijk represents the information of the j-th type of cigarettes shipped from the i-th cigarette warehouse to the k-th cigarette production site, Q ik represents the unit transportation cost of transporting tobacco strips from the i-th tobacco strip warehouse to the k-th cigarette production site; X ija represents the information of the j-th type of tobacco from the tobacco production point a to the i-th tobacco warehouse; Q ia It represents the unit transportation cost of transporting tobacco strips from tobacco strip production site a to the i-th tobacco strip warehouse. The unit transportation cost is determined based on the transportation distance and unit transportation price of the tobacco strips.
[0074] In practical applications, the first cigarette allocation information and the second cigarette allocation information that meet all constraints can be used as input parameters of the objective function to obtain the total transportation cost. It is determined whether the total transportation cost is minimized. If it is minimized, it is considered that the target is achieved, and the second cigarette allocation information that reaches the target at this time is used as the target flow allocation information. If it is not minimized, it is considered that the target is not achieved, and the process returns to step S130 to update the first cigarette allocation information, and re-determine the second cigarette allocation information and the total transportation cost based on the updated first cigarette allocation information, and determine whether the total transportation cost is minimized, so as to obtain the target flow allocation information when the total transportation cost is minimized and the first cigarette allocation information meets the constraints.
[0075] That is to say, when the result of the objective function reaches the minimum, the sum of the transportation cost of transporting tobacco sheets from the tobacco sheet production site to the tobacco sheet warehouse and the transportation cost of transporting tobacco sheets from the tobacco sheet warehouse to the cigarette production site is the minimum. When the transportation costs of the two allocation plans (i.e., the two target flow allocation information) are both minimum, the allocation plan corresponding to the shortest transportation distance is used as the final allocation plan.
[0076] The technical solution of this embodiment is to obtain the data of tobacco leaves to be distributed at the tobacco leaves production point, determine the tobacco leaves demand information of the cigarette production point under the target enterprise for at least one type of tobacco leaves in the tobacco leaves production batch; wherein the target enterprise includes at least one tobacco leaves warehouse; based on the tobacco leaves demand information, the storage information of the tobacco leaves warehouse and the first transportation attribute of the transportation from the tobacco leaves warehouse to the cigarette production point, determine the first tobacco leaves distribution information from the tobacco leaves warehouse to the cigarette production point; based on the second transportation attribute of the transportation from the tobacco leaves production point to the tobacco leaves warehouse and the first tobacco leaves distribution information, determine the second tobacco leaves distribution information from the tobacco leaves production point to the tobacco leaves warehouse; based on the first tobacco leaves distribution information and the second tobacco leaves distribution information, determine the total transportation cost, and with the goal of minimizing the total transportation cost, determine the target flow distribution information based on the second tobacco leaves distribution information when the goal is achieved. While clarifying the storage status of the tobacco leaf warehouse of the industrial enterprise, the demand of the cigarette production point for the tobacco leaves of the batch to be shipped is taken into account, effectively improving the accuracy and matching of the flow distribution of the finished tobacco leaves of the batch to be shipped, and realizing the scientific planning of the flow distribution design. It solves the problem of poor cost control and high logistics costs in the prior art of allocating tobacco leaves to production points based on warehouse inventory, laying an important foundation for industrial enterprises to achieve balanced raw material supply and high-quality and efficient development, and has certain value for promotion and application.
[0077] Embodiment 2
[0078] As an optional embodiment of the above embodiment, on the basis of the above embodiment, after determining the target flow distribution information, the first cigarette distribution information and the second cigarette distribution information when the target is reached can also be combined to verify the validity of the flow distribution, so as to ensure the accuracy of the cigarette flow distribution and the efficiency of the cigarette transportation. The specific implementation method can refer to the technical solution of this embodiment. Among them, the technical terms that are the same or corresponding to the above embodiment are not repeated here.
[0079] In this embodiment, historical flow distribution data that was not determined based on the flow distribution method for batch-based sheet cigarettes in the same period of previous years can be obtained. The historical flow distribution data may include the total mileage, total weight, total cost, and transportation frequency of finished sheet cigarettes transported in the same period of previous years. By comparing the historical flow distribution data with the target flow distribution data determined based on the flow distribution method for batch-based sheet cigarettes (the target flow distribution data is determined based on the first sheet cigarette distribution information and the second sheet cigarette distribution information when the target is reached), the effectiveness of flow distribution using the target flow distribution data is verified, that is, the effectiveness of the flow distribution method for batch-based sheet cigarettes is verified. For example, see Table 1 below, which can represent the annual transportation situation before and after the cigarette industry enterprise implements the flow distribution method for batch-based sheet cigarettes.
[0080] Table 1
[0081] year Total transportation mileage Total shipping weight Total shipping cost Transport frequency Before implementation 351796.4 124897800 10660.77 23547 After implementation 331890.6 124336400 10277.23 23318
[0082] By comparing the annual transportation conditions before and after the implementation of the flow distribution method of batch tobacco sheets in Table 1, it can be seen that after the flow distribution method of batch tobacco sheets is used to carry out the flow distribution of finished tobacco sheets, the annual total transportation mileage is reduced by 5.65%, the total transportation cost is reduced by 3.59%, and the transportation frequency is reduced by 0.97%. Overall, the flow distribution method of batch tobacco sheets provided in this embodiment can effectively improve the operating efficiency of raw material finished product distribution and reduce manpower and material costs while considering the annual production needs of cigarette industrial enterprises. By connecting the distribution channels between tobacco warehouses and cigarette production points, the transportation cost of finished tobacco sheets is effectively reduced, the accuracy and matching of the flow distribution of finished tobacco sheets are further improved, and the scientific planning of the flow distribution design is realized, so as to achieve the purpose of comprehensively improving the raw material supply efficiency and promoting the high-quality development of raw material guarantee, and lay an important foundation for industrial enterprises to achieve balanced raw material supply and high-quality and efficient development, and it has certain promotion and application value.
[0083] Embodiment 3
[0084] Figure 4 1 is a schematic diagram of the structure of a flow distribution device for batches of tobacco leaves according to Embodiment 3 of the present invention. Figure 4As shown, the device includes: a data acquisition module 210 , a tobacco sheet demand information determination module 220 , a first allocation module 230 , a second allocation module 240 and a cost minimization module 250 .
[0085] The data acquisition module 210 is used to acquire the data of the to-be-allocated tobacco sheets of the tobacco sheet production site, wherein the to-be-allocated tobacco sheets data include the to-be-allocated tobacco sheets of at least one tobacco sheet type under at least one tobacco sheet production batch; the tobacco sheet demand information determination module 220 is used to determine, for each tobacco sheet production batch, the tobacco sheet demand information of the cigarette production site under the target enterprise for at least one tobacco sheet type in the tobacco sheet production batch; wherein the target enterprise includes at least one tobacco sheet warehouse; the first allocation module 230 is used to allocate the tobacco sheets to the cigarette production site based on the tobacco sheet demand information, the storage information of the tobacco sheet warehouse and the tobacco sheet warehouse. The first transportation attribute of the transportation from the production point is used to determine the first cigarette sheet distribution information from the cigarette sheet warehouse to the cigarette production point; the second distribution module 240 is used to determine the second cigarette sheet distribution information from the cigarette sheet production point to the cigarette sheet warehouse based on the second transportation attribute of the transportation from the cigarette sheet production point to the cigarette sheet warehouse, and the first cigarette sheet distribution information; the cost minimization module 250 is used to determine the total transportation cost based on the first cigarette sheet distribution information and the second cigarette sheet distribution information, and determine the target flow distribution information based on the second cigarette sheet distribution information when the target is reached, with the goal of minimizing the total transportation cost.
[0086] The technical solution of this embodiment is to obtain the data of tobacco leaves to be distributed at the tobacco leaves production point, determine the tobacco leaves demand information of the cigarette production point under the target enterprise for at least one type of tobacco leaves in the tobacco leaves production batch; wherein the target enterprise includes at least one tobacco leaves warehouse; based on the tobacco leaves demand information, the storage information of the tobacco leaves warehouse and the first transportation attribute of the transportation from the tobacco leaves warehouse to the cigarette production point, determine the first tobacco leaves distribution information from the tobacco leaves warehouse to the cigarette production point; based on the second transportation attribute of the transportation from the tobacco leaves production point to the tobacco leaves warehouse and the first tobacco leaves distribution information, determine the second tobacco leaves distribution information from the tobacco leaves production point to the tobacco leaves warehouse; based on the first tobacco leaves distribution information and the second tobacco leaves distribution information, determine the total transportation cost, and with the goal of minimizing the total transportation cost, determine the target flow distribution information based on the second tobacco leaves distribution information when the goal is achieved. While clarifying the storage status of the tobacco leaf warehouse of the industrial enterprise, the demand of the cigarette production point for the tobacco leaves of the batch to be shipped is taken into account, effectively improving the accuracy and matching of the flow distribution of the finished tobacco leaves of the batch to be shipped, and realizing the scientific planning of the flow distribution design. It solves the problem of poor cost control and high logistics costs in the prior art of allocating tobacco leaves to production points based on warehouse inventory, laying an important foundation for industrial enterprises to achieve balanced raw material supply and high-quality and efficient development, and has certain value for promotion and application.
[0087] On the basis of the above-mentioned device, optionally, a tobacco leaf demand information determination module 220 is used to determine, for each type of tobacco leaf, tobacco leaf demand information for the tobacco leaf type at the cigarette production point under the target enterprise after the tobacco leaf types to be distributed under the tobacco leaf production batch have completed aging.
[0088] On the basis of the above-mentioned device, optionally, a first allocation module 230 is used to determine the first tobacco leaf allocation information from the tobacco leaf warehouse to the cigarette production point based on the tobacco leaf demand information, the storage information of the tobacco leaf warehouse and the first transportation attribute of the tobacco leaf warehouse to the cigarette production point according to predetermined constraints; wherein the constraints at least include a start-end point overlap constraint, a start-end point non-overlap constraint and a storage capacity constraint; the storage information includes the current available storage capacity, and the available tobacco leaf information of the tobacco leaf type when the tobacco leaf to be allocated has completed aging; the first tobacco leaf allocation information includes the tobacco leaf information of different types of the tobacco leaf transported from the tobacco leaf warehouse to the cigarette production point; the tobacco leaf information includes the tobacco leaf weight and / or the number of tobacco leaf boxes.
[0089] On the basis of the above device, optionally, the constraint condition includes a start-end point coincidence constraint condition, and the first allocation module 230 is specifically used for constraining, for each of the tobacco sheet warehouses, when the locations of the current tobacco sheet warehouse and the cigarette production point are the same, the sum of the tobacco sheet information of the current tobacco sheet type transported into the cigarette production point from all the tobacco sheet warehouses and the sum of the available tobacco sheet information of the current tobacco sheet type in the current tobacco sheet warehouse to be not less than the sum of the tobacco sheet information of the current tobacco sheet type transported out from the current tobacco sheet warehouse to other cigarette production points and the tobacco sheet demand information of the cigarette production point for the current tobacco sheet type, so that the first tobacco sheet allocation information from the current tobacco sheet warehouse to the cigarette production point satisfies the start-end point coincidence constraint condition; wherein, the start-end point coincidence constraint condition is expressed as:
[0090] D Ij +∑ i X ijK ≥M jK +∑ k-1 X Ij(k-1) ;∑() represents the summation function, D Ij represents the available tobacco information of the jth tobacco type in the current tobacco warehouse I, X ijK It indicates that the i-th cigarette warehouse transports the j-th cigarette type of cigarettes to the K-th cigarette production point that coincides with the current cigarette warehouse I. jK represents the demand information of the K-th cigarette production site for the j-th cigarette type, X Ij(k-1)It indicates that the current tobacco strip warehouse I transports the tobacco strip information of the jth tobacco strip type to the k-1th other cigarette production point that does not overlap with its position.
[0091] On the basis of the above device, optionally, the constraint condition includes a constraint condition that the starting and ending points do not overlap, and the first allocation module 230 is specifically used for, for each of the tobacco sheet warehouses, when the locations of the current tobacco sheet warehouse and the cigarette production point are different, according to the constraint condition that the starting and ending points do not overlap, to constrain all the tobacco sheet warehouses to transport the sum of the tobacco sheet information of the current tobacco sheet type to the cigarette production point to be greater than or equal to the tobacco sheet demand information of the cigarette production point for the current tobacco sheet type, so that the first tobacco sheet allocation information from the current tobacco sheet warehouse to the cigarette production point satisfies the constraint condition that the starting and ending points do not overlap; wherein, the constraint condition that the starting and ending points do not overlap is expressed as:
[0092] ∑ i X ijK’ ≥M jK’ ;X ijK It indicates that the i-th cigarette warehouse transports the j-th cigarette type of cigarettes to the K'th cigarette production site, M jK’ It represents the cigarette demand information of the K'th cigarette production site for the jth cigarette type.
[0093] On the basis of the above device, optionally, the constraint condition includes a storage capacity constraint condition, and the first allocation module 230 is specifically used to constrain the difference between the sum of the sheet cigarette information of the current sheet cigarette type transported from the sheet cigarette production point to the sheet cigarette warehouse and the sum of the sheet cigarette information of the current sheet cigarette type transported from the sheet cigarette warehouse to all cigarette production points to be no greater than the current available storage capacity of the sheet cigarette warehouse, so that the first sheet cigarette allocation information from the sheet cigarette warehouse to the cigarette production point satisfies the storage capacity constraint condition; wherein the storage capacity constraint condition is expressed as:
[0094] ∑ i-1 ∑ j X (i-1)j -∑ k ∑ j X ijk ≤W i ;X (i-1)j Indicates the information of the j-th type of tobacco sheets transported from the tobacco sheet production site to the i-th tobacco sheet warehouse, X ijk W represents the information of the j-th type of cigarettes shipped from the i-th cigarette warehouse to the k-th cigarette production site. i Represents the current available storage capacity of the i-th tobacco warehouse.
[0095] On the basis of the above-mentioned device, optionally, a second allocation module 240 is used to determine, for each of the tobacco sheet warehouses, the tobacco sheet information to be stored corresponding to the current tobacco sheet warehouse based on the first tobacco sheet allocation information associated with the current tobacco sheet warehouse; and determine the second tobacco sheet allocation information from the tobacco sheet production point to each of the tobacco sheet warehouses based on the tobacco sheet information to be stored and the second transportation attribute of the transportation from the tobacco sheet production point to the tobacco sheet warehouse.
[0096] On the basis of the above-mentioned device, optionally, a second allocation module 240 is specifically used to constrain, based on a storage capacity constraint, the difference between the sum of the sheet cigarette information of the current cigarette type transported from the sheet cigarette production point to the sheet cigarette warehouse and the sum of the sheet cigarette information of the current cigarette type transported from the sheet cigarette warehouse to all cigarette production points to be no greater than the current available storage capacity of the sheet cigarette warehouse, so that the second sheet cigarette allocation information from the sheet cigarette production point to the sheet cigarette warehouse satisfies the storage capacity constraint.
[0097] Based on the above device, optionally, the cost minimization module 250 includes:
[0098] a total transportation cost determination unit, configured to input the first cigarette piece allocation information and the second cigarette piece allocation information into an objective function to obtain a total transportation cost, and determine whether the total transportation cost reaches a minimization target, when both the first cigarette piece allocation information and the second cigarette piece allocation information satisfy constraint conditions;
[0099] The cost minimization unit is used for re-executing the steps of determining the first cigarette allocation information, the second cigarette allocation information, the total transportation cost, and judging whether the target is reached if the total transportation cost does not reach the minimization target; if the total transportation cost reaches the minimization target, the second cigarette allocation information when the target is reached is used as the target flow distribution information; wherein the objective function is expressed as:
[0100] min=∑ i ∑ k ∑ j (X ijk Q ik +X ija Q ia ); min means minimum, X ijk represents the information of the j-th type of cigarettes shipped from the i-th cigarette warehouse to the k-th cigarette production site, Q ik represents the unit transportation cost of transporting tobacco strips from the i-th tobacco strip warehouse to the k-th cigarette production site; X ija represents the information of the j-th type of tobacco from the tobacco production point a to the i-th tobacco warehouse; Q ia It represents the unit transportation cost of transporting tobacco strips from tobacco strip production point a to the i-th tobacco strip warehouse.
[0101] The device for distributing the flow direction of batch cigarette sheets provided in the embodiment of the present invention can execute the method for distributing the flow direction of batch cigarette sheets provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0102] Embodiment 4
[0103] Figure 5 It is a structural diagram of an electronic device for implementing the flow distribution method of batch slices of an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are only examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0104] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0105] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0106] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a flow distribution method for batches of tobacco leaves.
[0107] In some embodiments, the flow distribution method of batches of cigarette sheets can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the flow distribution method of batches of cigarette sheets described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the flow distribution method of batches of cigarette sheets by any other appropriate means (for example, by means of firmware).
[0108] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0109] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0110] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer 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 of the foregoing.
[0111] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0112] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0113] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0114] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0115] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for distributing the flow direction of batches of tobacco leaves, characterized in that: include: Acquire data of cigarette strips to be distributed at a cigarette strip production site, wherein the data of cigarette strips to be distributed includes cigarette strips to be distributed of at least one type of cigarette strips under at least one cigarette strip production batch; For each production batch of tobacco strips, determining tobacco strip demand information of a cigarette production site under a target enterprise for at least one type of tobacco strips in the production batch of tobacco strips; wherein the target enterprise includes at least one tobacco strip warehouse; Determine first tobacco sheet allocation information from the tobacco sheet warehouse to the cigarette production site based on the tobacco sheet demand information, the storage information of the tobacco sheet warehouse, and a first transportation attribute of the tobacco sheet warehouse to the cigarette production site; Determining second sheet tobacco allocation information from the sheet tobacco production point to the sheet tobacco warehouse based on a second transportation attribute of the sheet tobacco production point to the sheet tobacco warehouse and the first sheet tobacco allocation information; Based on the first cigarette distribution information and the second cigarette distribution information, the total transportation cost is determined, and with minimization of the total transportation cost as the goal, the target flow distribution information is determined based on the second cigarette distribution information when the goal is achieved.
2. The method according to claim 1, characterized in that: The step of determining the tobacco demand information of the cigarette production sites under the target enterprise for at least one type of tobacco in the tobacco production batch includes: For each type of tobacco leaves, determine the tobacco leaves demand information for the tobacco leaves of the type of tobacco leaves in the tobacco leaves production batch after the tobacco leaves of the type of tobacco leaves to be distributed have completed aging.
3. The method according to claim 1, characterized in that The determining, based on the tobacco sheet demand information, the storage information of the tobacco sheet warehouse, and the first transportation attribute of the tobacco sheet warehouse to the cigarette production site, first tobacco sheet distribution information from the tobacco sheet warehouse to the cigarette production site includes: According to predetermined constraints, based on the tobacco sheet demand information, the storage information of the tobacco sheet warehouse and the first transportation attribute of the tobacco sheet warehouse to the cigarette production point, determine the first tobacco sheet allocation information from the tobacco sheet warehouse to the cigarette production point; Among them, the constraints include at least a start-end point overlap constraint, a start-end point non-overlap constraint and a storage capacity constraint; the storage information includes the current available storage capacity, and the available tobacco leaf information of the tobacco type when the tobacco leaves to be allocated have completed aging; the first tobacco leaf allocation information includes the tobacco leaf information of different types transported from the tobacco leaf warehouse to the cigarette production point; the tobacco leaf information includes the tobacco leaf weight and / or the number of tobacco leaf boxes.
4. The method according to claim 3, characterized in that The constraint condition includes a start-end point coincidence constraint condition. According to the predetermined constraint condition, based on the tobacco sheet demand information, the storage information of the tobacco sheet warehouse, and the first transportation attribute of the tobacco sheet warehouse to the cigarette production point, the first tobacco sheet distribution information transported from the tobacco sheet warehouse to the cigarette production point is determined, including: For each of the tobacco sheet warehouses, when the current tobacco sheet warehouse and the cigarette production point are at the same location, based on the start-end point coincidence constraint condition, the sum of the tobacco sheet information of the current tobacco sheet type transported into the cigarette production point by all of the tobacco sheet warehouses and the sum of the available tobacco sheet information of the current tobacco sheet type in the current tobacco sheet warehouse is constrained to be no less than the sum of the tobacco sheet information of the current tobacco sheet type transported out of the current tobacco sheet warehouse to other cigarette production points and the tobacco sheet demand information of the current tobacco sheet type at the cigarette production point, so that the first tobacco sheet allocation information from the current tobacco sheet warehouse to the cigarette production point satisfies the start-end point coincidence constraint condition; The start and end point coincidence constraint condition is expressed as: D Ij +∑ i X ijK ≥M jK +∑ k-1 X Ij(k-1) ;∑() represents the summation function, D Ij represents the available tobacco information of the jth tobacco type in the current tobacco warehouse I, X ijK It indicates that the i-th cigarette warehouse transports the j-th cigarette type of cigarettes to the K-th cigarette production point that coincides with the current cigarette warehouse I. jK represents the demand information of the K-th cigarette production site for the j-th cigarette type, X Ij(k-1) It indicates that the current tobacco strip warehouse I transports the tobacco strip information of the jth tobacco strip type to the k-1th other cigarette production point that does not overlap with its position.
5. The method according to claim 3, characterized in that: The constraint condition includes a non-overlapping constraint condition of the start and end points. According to the predetermined constraint condition, based on the tobacco sheet demand information, the storage information of the tobacco sheet warehouse, and the first transportation attribute of the tobacco sheet warehouse to the cigarette production point, the first tobacco sheet distribution information from the tobacco sheet warehouse to the cigarette production point is determined, including: For each of the tobacco strip warehouses, when the locations of the current tobacco strip warehouse and the cigarette production point are different, based on the constraint condition that the start and end points do not overlap, the sum of the tobacco strip information of the current tobacco strip type transported from all tobacco strip warehouses to the cigarette production point is constrained to be greater than or equal to the tobacco strip demand information of the cigarette production point for the current tobacco strip type, so that the first tobacco strip allocation information from the current tobacco strip warehouse to the cigarette production point satisfies the constraint condition that the start and end points do not overlap; The constraint condition that the start and end points do not overlap is expressed as: ∑ i X ijK’ ≥M jK’ ;X ijK It indicates that the i-th cigarette warehouse transports the j-th cigarette type of cigarettes to the K'th cigarette production site, M jK’ It represents the cigarette demand information of the K'th cigarette production site for the jth cigarette type.
6. The method according to claim 3, characterized in that: The constraint condition includes a storage capacity constraint condition. According to the predetermined constraint condition, based on the tobacco sheet demand information, the storage information of the tobacco sheet warehouse, and the first transportation attribute of the tobacco sheet warehouse to the cigarette production point, the first tobacco sheet distribution information from the tobacco sheet warehouse to the cigarette production point is determined, including: According to the storage capacity constraint condition, the difference between the sum of the sheet information of the current sheet type transported from the sheet production point to the sheet tobacco warehouse and the sum of the sheet information of the current sheet tobacco type transported from the sheet tobacco warehouse to all cigarette production points is constrained to be no greater than the current available storage capacity of the sheet tobacco warehouse, so that the first sheet tobacco distribution information from the sheet tobacco warehouse to the cigarette production point meets the storage capacity constraint condition; The storage capacity constraint condition is expressed as: ∑ i-1 ∑ j X (i-1)j -∑ k ∑ j X ijk ≤W i ;X (i-1)j Indicates the information of the j-th type of tobacco sheets transported from the tobacco sheet production site to the i-th tobacco sheet warehouse, X ijk W represents the information of the j-th type of cigarettes shipped from the i-th cigarette warehouse to the k-th cigarette production site. i Represents the current available storage capacity of the i-th tobacco warehouse.
7. The method according to claim 1, characterized in that The determining, based on the second transport attribute of the transport from the tobacco sheet production point to the tobacco sheet warehouse and the first tobacco sheet distribution information, second tobacco sheet distribution information from the tobacco sheet production point to the tobacco sheet warehouse comprises: For each of the tobacco strip warehouses, based on the first tobacco strip allocation information associated with the current tobacco strip warehouse, determining the to-be-stored tobacco strip information corresponding to the current tobacco strip warehouse; Based on the to-be-stored tobacco sheet information and a second transport attribute of transporting the tobacco sheet production point to the tobacco sheet warehouse, second tobacco sheet distribution information from the tobacco sheet production point to each of the tobacco sheet warehouses is determined.
8. The method according to claim 1 or 6, characterized in that: When determining the second tobacco sheet allocation information from the tobacco sheet production point to the tobacco sheet warehouse based on the second transportation attribute of the tobacco sheet production point to the tobacco sheet warehouse and the first tobacco sheet allocation information, the method includes: According to the storage capacity constraint, the difference between the sum of the cigarette sheet information of the current cigarette type transported from the cigarette sheet production point to the cigarette sheet warehouse and the sum of the cigarette sheet information of the current cigarette type transported from the cigarette sheet warehouse to all cigarette production points is constrained to be no greater than the current available storage capacity of the cigarette sheet warehouse, so that the second cigarette sheet distribution information from the cigarette sheet production point to the cigarette sheet warehouse satisfies the storage capacity constraint.
9. The method according to claim 1, characterized in that: The method of determining the total transportation cost based on the first cigarette piece distribution information and the second cigarette piece distribution information, and determining the target flow distribution information based on the second cigarette piece distribution information when the target is achieved with the goal of minimizing the total transportation cost, includes: In the case where both the first piece of cigarette allocation information and the second piece of cigarette allocation information satisfy the constraint conditions, the first piece of cigarette allocation information and the second piece of cigarette allocation information are input into the objective function to obtain the total transportation cost, and determine whether the total transportation cost reaches the minimization target; If the total transportation cost does not reach the minimization target, re-execute the steps of determining the first cigarette distribution information, the second cigarette distribution information, the total transportation cost, and judging whether the target is reached; If the total transportation cost reaches the minimization target, the second cigarette allocation information when the target is reached is used as the target flow allocation information; Wherein, the objective function is expressed as: min = ∑ i ∑ k ∑ j (X ijk Q ik +X ija Q ia ); min means minimum, X ijk represents the information of the j-th type of cigarettes shipped from the i-th cigarette warehouse to the k-th cigarette production site, Q ik represents the unit transportation cost of transporting tobacco strips from the i-th tobacco strip warehouse to the k-th cigarette production site; X ija represents the information of the j-th type of tobacco from the tobacco production point a to the i-th tobacco warehouse; Q ia It represents the unit transportation cost of transporting tobacco strips from tobacco strip production point a to the i-th tobacco strip warehouse.
10. A flow distribution device for batches of tobacco leaves, characterized in that: include: A data acquisition module, used for acquiring data of tobacco strips to be distributed at a tobacco strip production site, wherein the data of tobacco strips to be distributed includes tobacco strips to be distributed of at least one tobacco strip type under at least one tobacco strip production batch; A tobacco sheet demand information determination module is used to determine, for each tobacco sheet production batch, tobacco sheet demand information of a cigarette production site under a target enterprise for at least one type of tobacco sheet in the tobacco sheet production batch; wherein the target enterprise includes at least one tobacco sheet warehouse; A first allocation module, for determining first tobacco sheet allocation information from the tobacco sheet warehouse to the cigarette production site based on the tobacco sheet demand information, the storage information of the tobacco sheet warehouse and a first transportation attribute of the tobacco sheet warehouse to the cigarette production site; A second allocation module, configured to determine second tobacco leaf allocation information from the tobacco leaf production point to the tobacco leaf warehouse based on a second transportation attribute of the transportation from the tobacco leaf production point to the tobacco leaf warehouse and the first tobacco leaf allocation information; The cost minimization module is used to determine the total transportation cost based on the first cigarette distribution information and the second cigarette distribution information, and determine the target flow distribution information based on the second cigarette distribution information when the target is reached, with the goal of minimizing the total transportation cost.
