[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN115564358B - Cabinet arrangement method and system for conveying raw materials on production line based on heuristic algorithm - Google Patents

Cabinet arrangement method and system for conveying raw materials on production line based on heuristic algorithm Download PDF

Info

Publication number
CN115564358B
CN115564358B CN202211438923.6A CN202211438923A CN115564358B CN 115564358 B CN115564358 B CN 115564358B CN 202211438923 A CN202211438923 A CN 202211438923A CN 115564358 B CN115564358 B CN 115564358B
Authority
CN
China
Prior art keywords
scheme
score
containers
list
container
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211438923.6A
Other languages
Chinese (zh)
Other versions
CN115564358A (en
Inventor
吕婧翾
黄进
李磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Techbloom Beijing Information Technology Co ltd
Original Assignee
Techbloom Beijing Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Techbloom Beijing Information Technology Co ltd filed Critical Techbloom Beijing Information Technology Co ltd
Priority to CN202211438923.6A priority Critical patent/CN115564358B/en
Publication of CN115564358A publication Critical patent/CN115564358A/en
Application granted granted Critical
Publication of CN115564358B publication Critical patent/CN115564358B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Quality & Reliability (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Factory Administration (AREA)

Abstract

The invention provides a method and a system for arranging cabinets for conveying raw materials on a production line based on a heuristic algorithm, and belongs to the field of logistics transportation. The method for arranging the containers comprises the steps of firstly obtaining the daily upper limit of transport capacity, material requirements and currently-drawable containers; calculating the required coverage rate of each container according to the material requirement list, and arranging the containers in the order of the required coverage rate from large to small to generate a container list to be pulled; creating a corresponding number of transportation capacity vacant positions according to the daily transportation capacity upper limit, generating an initial container arrangement scheme according to the number of vehicles waiting for the containers to be distributed, the initial state of which is vacant, and calculating the fraction of the initial container arrangement scheme according to a preset container arrangement rule; and then changing the scheme from the two aspects of material matching and transportation capacity saving, and comparing the schemes to finally obtain the optimal cabinet arrangement scheme. The invention reduces the number of the pull cabinets to the maximum extent while matching the bill of materials, saves the cost of the pull cabinets and simultaneously arranges the conveying of the raw materials of the production line more reasonably.

Description

Cabinet arrangement method and system for conveying raw materials in production line based on heuristic algorithm
Technical Field
The invention belongs to the field of logistics transportation, and particularly relates to a cabinet arranging method and system for conveying raw materials in a production line based on a heuristic algorithm.
Background
In production and manufacturing enterprises, production raw materials need to be conveyed to a production line in a fixed time and fixed quantity every day, but far more than one production raw material is involved, a plurality of containers in a plurality of warehouses can be involved, and the problem of arranging the containers is involved in how to finish the container pulling plan with the minimum transportation cost on the premise of meeting the production requirements of the production line. The problem of arranging the containers is that a person arranging the containers obtains a pull-able container list, the materials in the containers are detailed, and the containers are selectively pulled from a plurality of warehouses to a production line.
In the prior art, the cabinet arrangement problem solving method comprises two modes of manual work and modeling. The manual cabinet arrangement is to manually match the cabinets one by one according to a material demand list provided by a production line until all demands are met, and a multi-day cabinet pulling plan is completed, so that the mode is low in efficiency, long in time consumption, incapable of reasonably utilizing daily transport capacity and causing waste of transport resources; the traditional modeling mode is to solve the optimal arrangement of the row cabinets by building a model, but along with the increase of data volume, the time consumption of solution is continuously increased, and the solution cannot be terminated in advance.
Disclosure of Invention
In view of the above-mentioned drawbacks and deficiencies of the prior art, the present invention is directed to a method and system for arranging cabinets for transporting materials in a production line based on heuristic algorithms, wherein the solving process is time-consuming. When matching the bill of materials, furthest's reduction is drawn cabinet quantity, saves and draws the cabinet cost, considers the priority of material simultaneously, arranges production raw materials more rationally and carries, satisfies the production demand.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, an embodiment of the present invention provides a method for arranging cabinets for conveying raw materials in a production line based on a heuristic algorithm, including the following steps:
step S1, acquiring an upper limit of daily transport capacity;
s2, acquiring all material demands in the time period of arranging the cabinets, and generating a material demand list;
s3, acquiring all containers which can be pulled currently, including the positions of the containers and the details of materials contained in the containers;
s4, calculating the required coverage rate of each container in all the containers capable of being pulled according to the material requirement list, and arranging the containers in the sequence from large to small of the required coverage rate to generate a container list to be pulled;
s5, creating a corresponding number of transport capacity vacancies according to the daily transport capacity upper limit, and generating a transport capacity list according to a time sequence; the capacity vacancy is the number of vehicles waiting for the containers to be distributed, and the initial state is set to be vacant;
s6, generating an initial cabinet arrangement scheme according to the number of the waiting containers in the initial state which are empty, and calculating the fraction of the initial cabinet arrangement scheme according to a preset cabinet arrangement rule;
s7, taking out the containers with the first arrangement position from the container list to be pulled according to the coverage rate order, randomly selecting an empty train number different from the last selection from the transport capacity list, arranging the containers to the train number, and generating a new scheme;
s8, calculating the score of the current scheme according to a preset cabinet arrangement rule, and comparing the score with the score of the previous scheme; if the current scheme score is larger than the previous scheme score, sequentially generating a pulled container list by the pulled containers, deleting the current container from the to-be-pulled container list, and entering the step S9; if the score of the current scheme is less than or equal to the score of the previous scheme, abandoning the current scheme and turning to the step S7;
s9, judging whether all the material requirements are met; if yes, entering step S10; if not, the step S7 is executed;
s10, randomly selecting a container from the pulled container list, removing the selected container from the list, and generating a new scheme; or randomly selecting two containers from the pulled container list, exchanging the train numbers of the two containers and generating a new scheme;
s11, calculating the score of the current scheme according to a preset cabinet arrangement rule, and comparing the score with the score of the previous scheme; if the current scheme score is larger than the previous scheme score, the step S12 is carried out; if the score of the current scheme is smaller than or equal to the score of the previous scheme, judging whether the current scheme is larger than the historical optimal scheme score before the step n, and if so, entering the step S12; if not, the step S10 is carried out;
step S12, storing the current scheme into a historical optimal scheme list, and judging whether the current scheme reaches a termination condition; if not, the step S10 is carried out; if yes, go to step S13;
and S13, taking the scheme with the highest score in the historical optimal scheme list as a final cabinet arrangement scheme.
As a preferred embodiment of the present invention, the material requirement list includes material priority, material name, quantity and requirement date.
As a preferred embodiment of the invention, the required coverage of each container is calculated in step S4, according to the formula (1):
Figure 100002_DEST_PATH_IMAGE001
(1)
in the formula (1), the acid-base catalyst,N r representing the number of types of required parts in the container,Nrepresenting the total number of types of parts contained in the container.
As a preferred embodiment of the invention, the preset row cabinet rule sequentially comprises the following components according to the importance degree:
(1) The material requirements of the production line need to be met;
(2) The smaller the number of the containers pulled, the better;
(3) Containers in a designated warehouse need to be preferentially pulled;
(4) The material requirements of the specified types need to be met preferentially;
and the number of the first and second groups is,
the rules are divided into three levels, and the three variables correspond to the scheme scores and comprise a first-level score, a second-level score and a third-level score; wherein, the step (1) is divided into primary rules corresponding to primary scores; dividing the step (2) into two-level rules corresponding to two-level scores; and (4) dividing the (3) and the (4) into three levels of rules, and corresponding to three levels of scores.
As a preferred embodiment of the present invention, the score of each level is calculated as follows:
the first grade of the score: all containers pulled currently are obtained, missing materials and the number of the containers are screened out, corresponding negative scores are accumulated according to the number, and if no materials are missing, the score is 0;
secondary fraction: all containers pulled currently are obtained, the number is counted, and corresponding negative scores are accumulated according to the number;
and (3) third-level fraction: all containers pulled currently are obtained, the containers from an appointed warehouse are screened out, the number is counted, and corresponding positive scores are accumulated according to the number; all containers pulled currently are obtained, the pulling dates of the containers where the specified materials are located are screened out, the number of days between the pulling dates and the material demand expiration dates is calculated, and corresponding positive scores are accumulated according to the number of days.
As a preferred embodiment of the present invention, in step S9, whether the material matching is completed is determined by checking the current scheme score; if the primary score is 0, it indicates completion.
As a preferred embodiment of the present invention, the termination condition includes: the current optimal scheme is not updated within a certain time; or, the solution timing is terminated; or, artificially terminate.
In a second aspect, an embodiment of the present invention further provides a system for arranging cabinets for conveying raw materials in a production line based on a heuristic algorithm, where the system includes a capacity acquisition module, a material demand acquisition module, a cabinet data acquisition module, a to-be-pulled cabinet list generation module, a capacity list generation module, an initial plan generation module, a first plan score calculation and comparison module, a material demand judgment module, a second plan generation module, a second plan score calculation and comparison module, a termination condition judgment module, and a plan output module; wherein,
the transport capacity acquisition module is used for acquiring the upper limit of the transport capacity per day;
the material demand acquisition module is used for acquiring all material demands in the time period of the cabinet arrangement and generating a material demand list;
the container data acquisition module is used for acquiring all containers which can be pulled currently, including container positions and material details contained in the containers;
the to-be-pulled container list generating module is used for calculating the required coverage rate of each container in all the containers capable of being pulled according to the material requirement list, and arranging the containers in the sequence from large to small according to the required coverage rate to generate a to-be-pulled container list;
the transport capacity list generating module is used for creating transport capacity vacancies of corresponding quantity according to the upper limit of the transport capacity per day and generating a transport capacity list according to the time sequence; the capacity vacancy is the number of cars waiting for the allocated container and is set to be empty in an initial state;
the initial scheme generation module is used for generating an initial cabinet arrangement scheme according to the number of the waiting containers in the initial state which are empty, and calculating the fraction of the initial cabinet arrangement scheme according to a preset cabinet arrangement rule;
the first scheme generation module is used for taking out the containers arranged at the first position from the container list to be pulled according to the coverage rate sequence, randomly selecting an empty train number different from the last selection from the transport capacity list, arranging the containers in the train number and generating a new scheme;
the first scheme score calculating and comparing module is used for calculating the score of the current scheme according to a preset cabinet arrangement rule and comparing the score with the score of the previous scheme; if the current scheme score is larger than the previous scheme score, sequentially generating a pulled container list by the pulled containers, deleting the current container in the container list to be pulled, and sending the current scheme to the material requirement judging module; if the score of the current scheme is less than or equal to the score of the previous scheme, abandoning the current scheme and starting a first scheme generation module;
the material requirement judging module is used for judging whether all material requirements are met; if yes, starting a second scheme generation module; if not, starting a first scheme generation module;
the second scheme generation module is used for randomly selecting a container from the pulled container list, removing the selected container from the list and generating a new scheme; or randomly selecting two containers from the pulled container list, exchanging the train numbers of the two containers and generating a new scheme;
the second scheme score calculating and comparing module is used for calculating the score of the current scheme according to a preset cabinet arrangement rule and comparing the score with the score of the previous scheme; if the score of the current scheme is larger than that of the previous scheme, the current scheme is stored in a historical optimal scheme list, and the current scheme is sent to the termination condition judgment module; if the score of the current scheme is less than or equal to the score of the previous scheme, judging whether the current scheme is greater than the score of the historical optimal scheme before the step n, if so, storing the current scheme into a historical optimal scheme list, and sending the current scheme to the termination condition judging module; if not, starting a second scheme generation module;
the termination condition judging module is used for judging whether the current scheme design reaches the termination condition; if not, starting a second scheme generation module; if yes, sending the historical optimal scheme list to a scheme output module;
and the scheme output module is used for taking the scheme with the highest score in the historical optimal scheme list as the final cabinet arrangement scheme.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
the invention provides a cabinet arranging method for conveying raw materials on a production line based on a heuristic algorithm, which is divided into two stages, namely a first stage for matching a bill of materials; and after the matching of the bill of materials is finished, entering a second stage, and reducing the number of the pull cabinets. If the calculated number of the cabinet pulling is unchanged for a long time, the algorithm is terminated, and a cabinet arrangement result is output. The method has the advantages that the solution time consumption is short, the number of the pull cabinets is reduced to the maximum extent while the bill of materials is matched, so that the cost of the pull cabinets is saved, the priority of the materials is considered, and the conveying of the raw materials of the production line is more reasonably arranged.
Of course, not all of the advantages described above need to be achieved at the same time in the practice of any one product or method of the invention.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flowchart of the method for arranging raw materials in a production line based on a heuristic algorithm according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a first stage of a method for arranging cabinets according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of a second stage of the method for arranging cabinets according to the embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a classification of preset bin arrangement rules according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the described embodiments are merely a few embodiments of the invention, and not all embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. It should be noted that the embodiments and features of the embodiments of the present invention may be combined with each other without conflict.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. In the description of the present invention, the terms "first", "second", "third", "fourth", and the like are used only for distinguishing the description, and are not intended to indicate or imply relative importance.
The invention provides a cabinet arranging method for conveying raw materials on a production line based on a heuristic algorithm, which is divided into two stages, namely a first stage for matching a bill of materials; and after the matching of the bill of materials is finished, entering a second stage, and reducing the number of the pull cabinets. If the calculated number of the cabinet pulling is unchanged for a long time, the algorithm is terminated, and a cabinet arrangement result is output. The method has the advantages that the solution time consumption is short, the number of the pull cabinets is reduced to the maximum extent while the bill of materials is matched, so that the cost of the pull cabinets is saved, the priority of the materials is considered, and the conveying of the raw materials of the production line is more reasonably arranged.
Referring to fig. 1, the method for arranging the production line conveying raw materials based on the heuristic algorithm comprises the following steps:
s1, acquiring the upper limit of the daily transport capacity, namely the maximum number of containers which can be pulled every day.
In this step, the upper limit of the transport capacity can be obtained by manual filling or random generation, and the obtaining mode is not limited.
S2, acquiring all material demands in the time period of arranging the cabinets, and generating a material demand list, wherein the material demand list comprises material priorities, material names, quantity and demand dates.
In this step, the material requirements can be divided into multiple categories, such as special, emergency and normal requirements, according to the allocation problem of the material priority. In addition, the requirement provides the name, quantity and required date of the materials.
And S3, acquiring all containers which can be pulled currently, including the positions of the containers and the details of materials contained in the containers.
In this step, the containers are all warehouses for pull-able containers. Since the number of warehouses is not limited to one, the container location representation includes the name of the warehouse in which it is located. The details of the materials contained in the container show the name and the quantity of the materials loaded in the container.
And S4, calculating the required coverage rate of each container in all the containers capable of being pulled according to the material requirement list, and arranging the containers in the sequence from large to small of the required coverage rate to generate a container list to be pulled.
In this step, the required coverage rate of each container is calculated according to the formula (1):
Figure 589443DEST_PATH_IMAGE001
(1)
in the formula (1), the acid-base catalyst,N r representing the number of types of required parts in the container,Nrepresenting the total number of types of parts contained in the container.
S5, creating a corresponding number of transport capacity vacancies according to the daily transport capacity upper limit, and generating a transport capacity list according to the time sequence; the capacity vacancy is the number of cars waiting for the container to be allocated and the initial state is set to be empty, i.e. the container is not pulled.
And S6, generating an initial cabinet arrangement scheme according to the number of the waiting containers to be distributed with the empty initial state, and calculating the initial cabinet arrangement scheme fraction according to a preset cabinet arrangement rule.
In this step, the row of cabinet rules of predetermineeing includes according to the importance degree in proper order:
(1) The material requirements of the production line need to be met;
(2) The smaller the number of the containers pulled, the better;
(3) Containers in a designated warehouse need to be preferentially pulled;
(4) The material requirements of the specified kind need to be met preferentially.
As shown in fig. 4, the above rules may be divided into three levels, and the three variables corresponding to the scheme scores are sorted according to importance, and the latter is considered only when the former remains the same, and if the scheme scores are described as [ first-level score/second-level score/third-level score ], the three variables include first-level score, second-level score and third-level score. The material requirement is a task which must be completed by arranging the cabinet, so that the (1) is divided into a first-level rule corresponding to a first-level score, and the importance is highest. In the case of meeting the requirements, the capacity saving is considered, so that the step (2) is divided into two-level rules corresponding to two-level scores. After the transport capacity is determined, the pulling sequence of the containers can be sequenced, so that the (3) and (4) are divided into three levels of rules, the importance is lowest, and the three levels of rules correspond to three levels of scores. The three levels have different score grades and are respectively calculated and displayed.
Subsequent scenarios involve a score comparison of the two scenarios. When score comparisons for different schemes are performed, the scores are compared in three levels in sequence. For example, when two scores [ 100/20/50 ] and [ 100/50/20 ] are compared, since the primary score is the same and further the secondary scores are compared, 20-straw 50, it is still higher although the tertiary score of [ 100/50/20 ] is lower. Each comparison gives priority to the first stage, and when the first stage has not changed, the second stage will continue to be compared.
The score for each level is calculated as follows:
the first grade of the score: all containers pulled currently are obtained, missing materials and the number of the containers are screened out, corresponding negative scores are accumulated according to the number, and if no materials are missing, the score is 0;
secondary fraction: all containers pulled currently are obtained, the number is counted, and corresponding negative scores are accumulated according to the number;
and (3) third-level fraction: all containers pulled currently are obtained, the containers from an appointed warehouse are screened out, the number is counted, and corresponding positive scores are accumulated according to the number; all containers pulled currently are obtained, the pulling dates of the containers where the specified materials are located are screened out, the number of days between the pulling dates and the material demand expiration dates is calculated, and corresponding positive scores are accumulated according to the number of days.
And S7, taking out the containers with the first arrangement position from the container list to be pulled according to the coverage rate order, randomly selecting an empty train number different from the last selection from the transport capacity list, arranging the containers to the train number, and generating a new scheme.
In this step, if the preference of the train number exists, probability selection can be performed according to the preference of the train number.
S8, calculating the score of the current scheme according to a preset cabinet arrangement rule, and comparing the score with the score of the previous scheme; if the current scheme score is larger than the previous scheme score, sequentially generating a pulled container list by the pulled containers, deleting the current container from the to-be-pulled container list, and entering the step S9; and if the score of the current scheme is less than or equal to the score of the previous scheme, abandoning the current scheme and turning to the step S7.
S9, judging whether all material requirements are met; if yes, entering step S10; if not, the process proceeds to step S7.
In the step, whether the material matching is finished or not can be judged by checking the current optimal scheme score. If the primary score is 0, it may indicate completion.
As shown in fig. 2 and 3, up to this point, steps S1-S9 are taken as the first stage of the racking method, and the subsequent steps are taken as the second stage of the racking method.
Step S10, randomly selecting a container from the pulled container list, removing the selected container from the list, and generating a new scheme; or randomly selecting two containers from the pulled container list, exchanging the train numbers of the two containers and generating a new scheme.
Step S11, calculating the score of the current scheme according to a preset cabinet arrangement rule, and comparing the score with the score of the previous scheme; if the current scheme score is larger than the previous scheme score, the step S12 is carried out; if the score of the current scheme is smaller than or equal to the score of the previous scheme, judging whether the current scheme is larger than the historical optimal scheme score before the step n, and if so, entering the step S12; if not, the process proceeds to step S10.
Preferably, in this step, the value of n is determined according to specific situations, and is not limited to a specific value. For example, taking n as 20, by performing score comparison with the historical optimal solution before 20 steps, the local optimal solution is avoided.
Step S12, storing the current scheme into a historical optimal scheme list, and judging whether the current scheme reaches a termination condition; if not, the step S10 is carried out; if yes, go to step S13;
in this step, the termination condition includes: the current optimal scheme is not updated within a certain time; or, solving for timing expiration; or, artificially terminate. The above termination conditions are only a few of the listed items, and other termination conditions can be added according to actual situations, and the list of the conditions does not limit the invention.
And S13, taking the scheme with the highest score in the historical optimal scheme list as a final cabinet arrangement scheme.
Based on the same idea, the embodiment of the invention also provides a container arrangement system for conveying raw materials in a production line based on a heuristic algorithm, wherein the system comprises a capacity acquisition module, a material demand acquisition module, a container data acquisition module, a container list generation module to be pulled, a capacity list generation module, an initial scheme generation module, a first scheme score calculation and comparison module, a material demand judgment module, a second scheme generation module, a second scheme score calculation and comparison module, a termination condition judgment module and a scheme output module; wherein,
the transport capacity acquisition module is used for acquiring a daily transport capacity upper limit;
the material demand acquisition module is used for acquiring all material demands in the time period of the cabinet arrangement and generating a material demand list;
the container data acquisition module is used for acquiring all containers which can be pulled currently, including the positions of the containers and the details of materials contained in the containers;
the to-be-pulled container list generating module is used for calculating the required coverage rate of each container in all the containers capable of being pulled according to the material requirement list, and arranging the containers in the sequence from large to small according to the required coverage rate to generate a to-be-pulled container list;
the transport capacity list generating module is used for creating transport capacity vacancies of corresponding quantity according to the upper limit of the transport capacity per day and generating a transport capacity list according to the time sequence; the capacity vacancy is the number of cars waiting for the allocated container and is set to be empty in an initial state;
the initial scheme generation module is used for generating an initial cabinet arrangement scheme according to the number of the vehicles waiting for the allocated containers in the initial state, and calculating the initial cabinet arrangement scheme fraction according to a preset cabinet arrangement rule;
the first scheme generation module is used for taking out the containers arranged at the first position from the container list to be pulled according to the coverage rate sequence, randomly selecting an empty train number different from the last selection from the transport capacity list, arranging the containers in the train number and generating a new scheme;
the first scheme score calculating and comparing module is used for calculating the score of the current scheme according to a preset cabinet arrangement rule and comparing the score with the score of the previous scheme; if the current scheme score is larger than the previous scheme score, sequentially generating a pulled container list by the pulled containers, deleting the current container in the container list to be pulled, and sending the current scheme to the material requirement judging module; if the score of the current scheme is less than or equal to the score of the previous scheme, abandoning the current scheme and starting a first scheme generation module;
the material requirement judging module is used for judging whether all material requirements are met; if yes, starting a second scheme generation module; if not, starting a first scheme generation module;
the second scheme generation module is used for randomly selecting a container from the pulled container list, removing the selected container from the list and generating a new scheme; or randomly selecting two containers from the pulled container list, exchanging the train numbers of the two containers and generating a new scheme;
the second scheme score calculating and comparing module is used for calculating the score of the current scheme according to a preset cabinet arrangement rule and comparing the score with the score of the previous scheme; if the score of the current scheme is larger than that of the previous scheme, the current scheme is stored in a historical optimal scheme list, and the current scheme is sent to the termination condition judgment module; if the score of the current scheme is less than or equal to the score of the previous scheme, judging whether the current scheme is greater than the score of the historical optimal scheme before n steps, if so, storing the current scheme into a historical optimal scheme list, and sending the current scheme to the termination condition judging module; if not, starting a second scheme generation module;
the termination condition judging module is used for judging whether the current scheme design reaches the termination condition; if not, starting a second scheme generation module; if yes, sending the historical optimal scheme list to a scheme output module;
and the scheme output module is used for taking the scheme with the highest score in the historical optimal scheme list as a final cabinet arrangement scheme.
It should be noted that, the cabinet arrangement system for conveying raw materials in a production line based on a heuristic algorithm in this embodiment corresponds to the cabinet arrangement method for conveying raw materials in a production line based on a heuristic algorithm, and the description and the limitation of the method are also applicable to the system, and are not described herein again.
The above description is only a preferred embodiment of the invention and an illustration of the applied technical principle and is not intended to limit the scope of the claimed invention but only to represent a preferred embodiment of the invention. It will be appreciated by those skilled in the art that the scope of the invention is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.

Claims (8)

1. A cabinet arranging method for conveying raw materials on a production line based on a heuristic algorithm is characterized by comprising the following steps:
step S1, acquiring an upper limit of daily transport capacity;
s2, acquiring all material demands in the time period of arranging the cabinets, and generating a material demand list;
s3, acquiring all containers which can be pulled currently, including container positions and material details contained in the containers;
s4, calculating the required coverage rate of each container in all the containers capable of being pulled according to the material requirement list, and arranging the containers in the sequence from large to small of the required coverage rate to generate a container list to be pulled;
s5, creating a corresponding number of transport capacity vacancies according to the daily transport capacity upper limit, and generating a transport capacity list according to a time sequence; the capacity vacancy is the number of vehicles waiting for the containers to be distributed, and the initial state is set to be vacant;
s6, generating an initial cabinet arrangement scheme according to the number of the waiting containers in the initial state which are empty, and calculating the fraction of the initial cabinet arrangement scheme according to a preset cabinet arrangement rule;
s7, taking out the containers with the first arrangement position from the container list to be pulled according to the coverage rate sequence required, randomly selecting an empty train number different from the last selection from the transport capacity list, arranging the containers to the train number, and generating a new scheme;
s8, calculating the score of the current scheme according to a preset cabinet arrangement rule, and comparing the score with the score of the previous scheme; if the current scheme score is larger than the previous scheme score, sequentially generating a pulled container list by the pulled containers, deleting the current container from the to-be-pulled container list, and entering the step S9; if the score of the current scheme is less than or equal to the score of the previous scheme, abandoning the current scheme, and turning to the step S7;
s9, judging whether all the material requirements are met; if yes, entering step S10; if not, the step S7 is executed;
step S10, randomly selecting a container from the pulled container list, removing the selected container from the list, and generating a new scheme; or randomly selecting two containers from the pulled container list, exchanging the train numbers of the two containers and generating a new scheme;
s11, calculating the score of the current scheme according to a preset cabinet arrangement rule, and comparing the score with the score of the previous scheme; if the current scheme score is larger than the previous scheme score, the step S12 is carried out; if the score of the current scheme is less than or equal to the score of the previous scheme, judging whether the current scheme is greater than the historical optimal scheme score before the step n, if so, entering the step S12; if not, the step S10 is carried out;
step S12, storing the current scheme into a historical optimal scheme list, and judging whether the current scheme reaches a termination condition; if not, the step S10 is carried out; if yes, go to step S13;
and S13, taking the scheme with the highest score in the historical optimal scheme list as a final cabinet arrangement scheme.
2. The bin ordering method for the production line conveying raw materials based on the heuristic algorithm of claim 1, wherein the list of material demands comprises material priority, material name, quantity and demand date.
3. The method for discharging material on a production line based on heuristic algorithm of claim 1, wherein the required coverage of each container is calculated in step S4 according to equation (1):
Figure DEST_PATH_IMAGE001
(1)
in the formula (1), the acid-base catalyst,N r representing the number of types of required parts in the container,Nrepresenting the total number of types of parts contained in the container.
4. The method for cabinet arrangement for conveying raw materials in a production line based on the heuristic algorithm of claim 1, wherein the preset cabinet arrangement rules sequentially comprise, according to the importance degree:
(1) The material requirements of the production line need to be met;
(2) The smaller the number of the containers pulled, the better;
(3) Containers of a designated warehouse need to be preferentially pulled;
(4) The material requirements of the specified kind need to be met preferentially;
and the number of the first and second groups is,
the rules are divided into three levels, and the three variables correspond to the scheme scores and comprise a first-level score, a second-level score and a third-level score; wherein, the step (1) is divided into primary rules corresponding to primary scores; dividing the step (2) into two-level rules corresponding to two-level scores; and (4) dividing the (3) and the (4) into three levels of rules, and corresponding to three levels of scores.
5. A bin ordering method for a production line conveying raw material based on a heuristic algorithm as in claim 4, characterized in that the score of each level is calculated as follows:
first-order fraction: all containers pulled currently are obtained, missing materials and the number of the containers are screened out, corresponding negative scores are accumulated according to the number, and if no materials are missing, the score is 0;
secondary fraction: all containers pulled currently are obtained, the number is counted, and corresponding negative scores are accumulated according to the number;
and (3) third-level fraction: all containers pulled currently are obtained, the containers from the specified warehouse are screened out, the number is counted, and corresponding positive scores are accumulated according to the number; all containers pulled currently are obtained, the pulling dates of the containers where the specified materials are located are screened out, the number of days between the pulling dates and the material demand expiration dates is calculated, and corresponding positive scores are accumulated according to the number of days.
6. The cabinet arranging method for the production line conveying raw materials based on the heuristic algorithm of claim 5, wherein in the step S9, whether the material matching is completed is judged by checking the score of the current scheme; if the primary score is 0, it indicates completion.
7. The bin packing method for a production line conveying raw materials based on the heuristic algorithm of claim 1, wherein the termination condition comprises: the current optimal scheme is not updated within a certain time; or, the solution timing is terminated; or, artificially terminate.
8. A counter arrangement system based on heuristic algorithm and used for conveying raw materials in a production line is characterized by comprising a transport capacity acquisition module, a material demand acquisition module, a container data acquisition module, a to-be-pulled container list generation module, a transport capacity list generation module, an initial scheme generation module, a first scheme score calculation and comparison module, a material demand judgment module, a second scheme generation module, a second scheme score calculation and comparison module, a termination condition judgment module and a scheme output module; wherein,
the transport capacity acquisition module is used for acquiring the upper limit of the transport capacity per day;
the material demand acquisition module is used for acquiring all material demands in the time period of arranging the cabinets and generating a material demand list;
the container data acquisition module is used for acquiring all containers which can be pulled currently, including container positions and material details contained in the containers;
the to-be-pulled container list generating module is used for calculating the required coverage rate of each container in all the containers capable of being pulled according to the material requirement list, and arranging the containers in the sequence from large to small according to the required coverage rate to generate a to-be-pulled container list;
the capacity list generating module is used for creating a corresponding number of capacity vacancies according to the daily capacity upper limit and generating a capacity list according to the time sequence; the capacity vacancy is the number of cars waiting for the allocated container and is set to be empty in an initial state;
the initial scheme generation module is used for generating an initial cabinet arrangement scheme according to the number of the vehicles waiting for the allocated containers in the initial state, and calculating the initial cabinet arrangement scheme fraction according to a preset cabinet arrangement rule;
the first scheme generation module is used for taking out the containers arranged at the first position from the container list to be pulled according to the coverage rate sequence, randomly selecting an empty train number different from the last selection from the transport capacity list, arranging the containers in the train number and generating a new scheme;
the first scheme score calculating and comparing module is used for calculating the score of the current scheme according to a preset cabinet arrangement rule and comparing the score with the score of the previous scheme; if the current scheme score is larger than the previous scheme score, the pulled containers are sequentially generated into a pulled container list, meanwhile, the current container is deleted from the container list to be pulled, and the current scheme is sent to the material requirement judgment module; if the score of the current scheme is less than or equal to the score of the previous scheme, abandoning the current scheme and starting a first scheme generation module;
the material requirement judging module is used for judging whether all material requirements are met; if yes, starting a second scheme generation module; if not, starting a first scheme generation module;
the second scheme generation module is used for randomly selecting a container from the pulled container list, removing the selected container from the list and generating a new scheme; or randomly selecting two containers from the pulled container list, exchanging the train numbers of the two containers and generating a new scheme;
the second scheme score calculating and comparing module is used for calculating the score of the current scheme according to a preset cabinet arrangement rule and comparing the score with the score of the previous scheme; if the score of the current scheme is larger than that of the previous scheme, the current scheme is stored in a historical optimal scheme list, and the current scheme is sent to the termination condition judgment module; if the score of the current scheme is less than or equal to the score of the previous scheme, judging whether the current scheme is greater than the score of the historical optimal scheme before n steps, if so, storing the current scheme into a historical optimal scheme list, and sending the current scheme to the termination condition judging module; if not, starting a second scheme generation module;
the termination condition judging module is used for judging whether the current scheme design reaches the termination condition; if not, starting a second scheme generation module; if yes, sending the historical optimal scheme list to a scheme output module;
and the scheme output module is used for taking the scheme with the highest score in the historical optimal scheme list as the final cabinet arrangement scheme.
CN202211438923.6A 2022-11-17 2022-11-17 Cabinet arrangement method and system for conveying raw materials on production line based on heuristic algorithm Active CN115564358B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211438923.6A CN115564358B (en) 2022-11-17 2022-11-17 Cabinet arrangement method and system for conveying raw materials on production line based on heuristic algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211438923.6A CN115564358B (en) 2022-11-17 2022-11-17 Cabinet arrangement method and system for conveying raw materials on production line based on heuristic algorithm

Publications (2)

Publication Number Publication Date
CN115564358A CN115564358A (en) 2023-01-03
CN115564358B true CN115564358B (en) 2023-03-31

Family

ID=84769711

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211438923.6A Active CN115564358B (en) 2022-11-17 2022-11-17 Cabinet arrangement method and system for conveying raw materials on production line based on heuristic algorithm

Country Status (1)

Country Link
CN (1) CN115564358B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116205472B (en) * 2023-05-06 2023-08-04 华清科盛(北京)信息技术有限公司 Raw material container transportation scheme making method and system based on production task

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897852A (en) * 2017-01-27 2017-06-27 华南理工大学 For the Order Sorting optimization method of logistics
CN110796051A (en) * 2019-10-19 2020-02-14 北京工业大学 Real-time access behavior detection method and system based on container scene
WO2022068268A1 (en) * 2020-09-29 2022-04-07 上海有个机器人有限公司 Automatic pick-up and drop-off method and system for mobile robot
CN114662997A (en) * 2022-05-20 2022-06-24 成都运荔枝科技有限公司 Cold chain transport capacity demand prediction method and cold chain transport capacity distribution method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897852A (en) * 2017-01-27 2017-06-27 华南理工大学 For the Order Sorting optimization method of logistics
CN110796051A (en) * 2019-10-19 2020-02-14 北京工业大学 Real-time access behavior detection method and system based on container scene
WO2022068268A1 (en) * 2020-09-29 2022-04-07 上海有个机器人有限公司 Automatic pick-up and drop-off method and system for mobile robot
CN114662997A (en) * 2022-05-20 2022-06-24 成都运荔枝科技有限公司 Cold chain transport capacity demand prediction method and cold chain transport capacity distribution method

Also Published As

Publication number Publication date
CN115564358A (en) 2023-01-03

Similar Documents

Publication Publication Date Title
Satoglu et al. Design of a just-in-time periodic material supply system for the assembly lines and an application in electronics industry
Adelzadeh et al. A mathematical model and a solving procedure for multi-depot vehicle routing problem with fuzzy time window and heterogeneous vehicle
US7801640B1 (en) Continuous item picking in a distribution center using coordinated item picking periods
CN115564358B (en) Cabinet arrangement method and system for conveying raw materials on production line based on heuristic algorithm
CN109919541A (en) A kind of model solution method of multistage positioning inventory routing problem
CN113762886A (en) Oil product secondary logistics distribution optimization method and system based on variable neighborhood search algorithm
CN110674968A (en) Vehicle path optimization method for dynamic change of customer demands in express delivery process
CN111768052A (en) Automatic planning method for whole-vehicle factory approach logistics route based on algorithm model
CN115049342A (en) Goods delivery control method and device and computer readable storage medium
CN114202266A (en) Tobacco storage scheduling method and device
CN112418550A (en) Vehicle and goods matching method under various driver working states in logistics industry
CN111667103A (en) Method, device, equipment and storage medium for logistics scheduling based on destination
CN112801336B (en) Freight regulation and control method for combined collage
CN114418486B (en) Wave number planning method for parallel relay picking
CN110482095B (en) Goods picking and shelving method and device beneficial to reducing total sorting distance
CN112633576A (en) Two-stage scheduling optimization method and system applied to production scheduling of cigarette factory
CN112418552B (en) Work method for optimally scheduling manifest and carrier vehicle based on scheduling requirements
CN116205472B (en) Raw material container transportation scheme making method and system based on production task
CN116187733A (en) Method and system for designing work flow of cigarette warehouse
CN116187878A (en) Intelligent logistics management system and management method
CN115471257A (en) Supplier evaluation method based on data warehouse
CN112506966A (en) Intelligent automatic vehicle selection system and method based on flexible parameter setting
CN118378862B (en) Multi-ground empty box allocation method based on various uncertain factors
CN109993375B (en) Intelligent box selecting and packing packaging line conveyor belt length design method
CN117314316B (en) Warehouse-in and warehouse-out scheduling method of customized furniture plate automatic sorting system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant