CN114265380A - High-end equipment manufacturing robustness scheduling method and device based on VNS - Google Patents
High-end equipment manufacturing robustness scheduling method and device based on VNS Download PDFInfo
- Publication number
- CN114265380A CN114265380A CN202210195558.4A CN202210195558A CN114265380A CN 114265380 A CN114265380 A CN 114265380A CN 202210195558 A CN202210195558 A CN 202210195558A CN 114265380 A CN114265380 A CN 114265380A
- Authority
- CN
- China
- Prior art keywords
- workpieces
- workpiece
- batch
- processing
- workshop
- 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.)
- Granted
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- General Factory Administration (AREA)
Abstract
The invention provides a VNS-based high-end equipment manufacturing robustness scheduling method and device, and relates to the technical field of high-end equipment manufacturing. The invention designs an intelligent optimization algorithm for improving variable neighborhood search aiming at the problem of dual-target hierarchical scheduling of complex products related to deterioration effect and uncertain processing time in the manufacture of high-end equipment.
Description
Technical Field
The invention relates to the technical field of high-end equipment manufacturing, in particular to a VNS-based high-end equipment manufacturing robustness scheduling method and device.
Background
In a high-end device manufacturing process, a large number of intermediate products are produced at a certain stage, and it is difficult for one factory to meet these requirements, so that there are a plurality of factories to produce the desired intermediate products. Meanwhile, a manufacturer often considers a plurality of targets in the production process of a product, and then needs to design a production distribution plan to ensure that each factory can complete the plan within a specified time and each target is as optimal as possible.
The Variable Neighborhood Search algorithm (VNS) is a widely used meta-heuristic algorithm for solving such problems, and was first proposed by Mladenovi ć, n., & Hansen, P. (1997), which diversifies the Search direction by changing the Neighborhood structure, thereby enhancing the Search capability and optimizing the computational performance. The basic idea of the variable neighborhood search algorithm is a process of systematically changing a neighborhood structure set to expand a search range in a search process to obtain a local optimal solution, and then systematically changing the neighborhood structure set to expand the search range to find another local optimal solution based on the local optimal solution.
However, conventional VNS can only solve the single-target optimization problem, and the conventional VNS neighborhood structure is mainly random switching. Therefore, the search efficiency of the conventional VNS is relatively low, and an effective solution cannot be quickly provided for the considered multi-objective optimization problem.
Disclosure of Invention
Technical problem to be solved
Aiming at the defects of the prior art, the invention provides a VNS-based high-end equipment manufacturing robustness scheduling method and device, and solves the problem that the existing scheduling method is poor in effect in practical application.
(II) technical scheme
In order to achieve the purpose, the invention is realized by the following technical scheme:
in a first aspect, a VNS-based high-end equipment manufacturing robustness scheduling method is provided, where the method includes:
s1, acquiring workpiece information, workshop information, algorithm parameters and a neighborhood structure;
s2, randomly generating an initial distribution result containing the distribution relation between each workpiece and each workshop;
s3, determining the processing sequence and the batch of the workpieces of each workshop in the initial distribution result through a processing sequence and batch generation algorithm to obtain an initial dispatching scheme; wherein, the scheduling scheme comprises: the order and lot of work pieces for each plant;
s4, updating the initial scheduling scheme by a variable neighborhood search algorithm with the maximum and minimum completion probability as a target to obtain the current optimal scheduling scheme;
and S5, optimizing the current optimal dispatching scheme by using the processing sequence and batch improvement algorithm with the aim of minimizing the sum of the inventory costs of all workshops to obtain the optimal dispatching scheme.
Further, the workpiece information includes: number of workpieces, completion due time, basic machining time for each workpiece;
the workshop information includes: number of plants, batch capacity, degradation factor of processing, degradation factor of loading.
Further, the steps of the process sequence and lot generation algorithm include:
s31, distributing the data to the workshopThe workpieces are arranged in a non-decreasing sequence according to the average value of the basic processing time to obtain the processing sequence of the workpieces;
s32, if the distribution is to the workshopNumber of workpiecesLess than batch capacitycThen all workpieces are placed in a first batch; otherwise, it willPlacing a workpiece in a first batch, and placing the remaining workpieces in a batch sizecSequentially distributing the raw materials in a plurality of batches to obtain a workshopThe order and batch of processing of the workpieces;
and S33, repeatedly executing S31-S32 until the processing sequence and the batches corresponding to all workshops are obtained.
Further, the obtaining formula of the minimum completion probability of the scheduling scheme is as follows:
wherein the content of the first and second substances,
indicating the result of the dispensing of the workpiece, whereinjResult of distribution of individual workpiecesv j The value of (d) indicates the assigned plant;
andrespectively representing workshops during processing of workpieces in non-decreasing sequence of mean values of basic processing timesMean and variance of completion times;
presentation to plantTo (1) arAn average value of basic processing times of the respective processed workpieces, which are subject to normal distribution;
cindicating the batch capacity.
Further, the variable neighborhood searching algorithm includes:
s41, making the current iteration numbert=0, current neighborhood structurek=1;
S42, ordert=t+1, and initializing the current number of searchestime=0;
S43, ordertime=time+1 in the second placekSearching a new scheduling scheme by the variable neighborhood, and acquiring the minimum completion probability of the new scheduling scheme;
s44, if the minimum completion probability of the new scheduling scheme is smaller than the initial scheduling scheme, executing S45; otherwise, it ordersk=1, and the new scheduling scheme is taken as an initial scheduling scheme, and S46 is performed;
s46, iftimeIf the number of times of searching is larger than that of each iteration, S47 is executed; otherwise, go to S43;
s47, iftIf the number of iterations is larger than the maximum number of iterations, taking the initial scheduling scheme as the current optimal scheduling scheme, and acquiring the minimum completion probability of the initial scheduling scheme; otherwise, S42 is executed.
Further, the neighborhood structure includes:
the first neighborhood structure: randomly selecting a workpiece from the workshops with the lowest completion probability and randomly distributing the workpiece to other workshops;
the second neighborhood structure: exchanging a workpiece randomly selected from the workshop with the lowest finishing probability with a workpiece with a smaller average basic processing time randomly selected from other workshops;
the third neighborhood structure: randomly reverses a portion of the scheme encoding now.
Further, the processing order and batch improvement algorithm comprises:
s51, obtaining the maximum improved searching timesitimesInter-vehicle in current optimal scheduling schemeIs completed with probability of completionAnd inventory costMake the current number of improved searchesitime=0, acquisition plantThe difference between the average values of the basic processing times of the respective adjacent workpieces in the processing order of (1) is obtained as a setD(ii) a Order tox=2,y=1, placing the first workpiece in the first virtual group;
wherein the content of the first and second substances,presentation to plantTo (1) arAn average value of basic processing times of the respective processed workpieces, which are subject to normal distribution;
s52, ifThen will bexA workpiece is put inyA virtual group; otherwise, it will bexA workpiece is put iny+1 virtual groups, ordery=y+1;
Wherein:
andrespectively representing workshops during processing of workpieces in non-decreasing sequence of mean values of basic processing timesMean and variance of completion times;
s53, ifxSmaller than the workshopNumber of workpiecesThen, thenx=x+1 and return to S52; otherwise, jumping to S54;
s54, ifySmaller than the workshopNumber of workpiecesRandomly reversing the partial machining pass of the workpiece in each virtual setThen forming a new workshop workpiece processing sequence according to the sequence of the virtual groups,itime=itime+1, go to S55; otherwise, jumping to S58;
s55, if the distribution is to the workshopNumber of workpiecesLess than batch capacitycThen all workpieces are placed in a first batch; otherwise, it willPlacing a workpiece in a first batch, and placing the remaining workpieces in a batch sizecSequentially distributing the raw materials in a plurality of batches to obtain an updated workshopThe order and batch of processing of the workpieces;
s56 plant based on updatingThe processing order and the batch of the workpieces are obtained and updatedIs/are as follows、Completion probabilityAnd inventory cost;
S57, ifAnd isThen the updated workshopThe processing sequence and the batch of the workpieces are used as the current optimal scheduling scheme; otherwise, jumping to S58;
s58, ifitime<itimesThen return to S54; otherwise, outputting the current optimal scheduling scheme.
wherein the content of the first and second substances,
indicating that the work is being machined in non-decreasing order of mean value of basic machining timeAn average of completion times;
=1 denotes the secondiA workshopgA processed workpiece andg+1 workpieces not in the same batch, otherwise=0。
Further, the randomly reversing the partial processing order of the workpieces in each virtual group comprises:
step 1: initializationq=1;
Step 2: if it is firstqIf the number of the workpieces of each virtual group is 1, jumping to the step 4; otherwise, jumping to the step 3;
and step 3: randomly selecting a plurality of workpieces which are continuously machined from the virtual group, and reversing the machining sequence of the workpieces;
and 4, step 4: output the firstqOrder of processing of each virtual groupq=q+1;
And 5: and repeating the step 2 to the step 5 until all the virtual groups are traversed.
In a second aspect, a VNS-based high-end equipment manufacturing robustness scheduling apparatus is provided, the apparatus comprising:
the parameter acquisition module is used for acquiring workpiece information, workshop information, algorithm parameters and a neighborhood structure;
the initial distribution result generation module is used for randomly generating an initial distribution result containing the distribution relation between each workpiece and the workshop;
the initial dispatching scheme generation module is used for determining the processing sequence and the batch of the workpieces of each workshop in the initial distribution result through a processing sequence and batch generation algorithm to obtain an initial dispatching scheme; wherein, the scheduling scheme comprises: the order and lot of work pieces for each plant;
the current optimal scheduling scheme generating module is used for updating the initial scheduling scheme by using the maximized minimum completion probability as a target through a variable neighborhood search algorithm to obtain a current optimal scheduling scheme;
and the processing sequence and batch improvement module is used for optimizing the current optimal dispatching scheme by using a processing sequence and batch improvement algorithm with the aim of minimizing the sum of the inventory costs of all workshops as a target to obtain the optimal dispatching scheme.
In a third aspect, a computer readable storage medium storing a computer program for high-end equipment manufacturing scheduling, wherein the computer program causes a computer to perform the VNS-based high-end equipment manufacturing robust scheduling method described above.
In a fourth aspect, an electronic device is provided, comprising:
one or more processors;
a memory; and
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the programs comprising instructions for performing the VNS-based high-end equipment manufacturing robustness scheduling method described above.
(III) advantageous effects
The invention provides a VNS-based high-end equipment manufacturing robustness scheduling method and device. Compared with the prior art, the method has the following beneficial effects:
1) the invention designs an intelligent optimization algorithm for improving variable neighborhood search aiming at the problem of dual-target hierarchical scheduling of complex products related to deterioration effect and uncertain processing time in the manufacture of high-end equipment.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of an embodiment of the present invention;
FIG. 2 is a schematic illustration of the allocation of workpieces and workshops, and workpiece processing sequencing and lot determination in accordance with an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention are clearly and completely described, and it is obvious that the described embodiments are a part of the embodiments of the present invention, but not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the application solves the problem that the existing scheduling method is poor in effect in practical application by providing the VNS-based high-end equipment manufacturing robustness scheduling method and device.
In order to solve the technical problems, the general idea of the embodiment of the application is as follows:
in the high-end equipment manufacturing process, since uncertainty is an inevitable factor in the actual high-end equipment production planning scheduling environment: the pre-established production plan may face multiple disturbances during the implementation process, and the system parameters may change in real time, so that an accurate value of the job processing time may not be obtained, and the job processing time may be randomly distributed within an interval. There is also a deteriorating effect in the manufacturing process, and the actual machining time of the workpiece is prolonged due to aging or temperature rise of machine parts.
In terms of research problems, the traditional scheduling algorithm is based on a specific production situation, and the existence of deterioration effect in production and processing is not always considered; meanwhile, due to the limitation and restriction of various conditions, in actual production, the processing time of the operation cannot obtain a determined value, but obeys a certain probability distribution, so that the completion time of the production plan is also an uncertain value, and for a supply chain manager, the probability of completing production within a certain period is considered to be more practical than the probability of considering the completion time in the traditional scheduling algorithm; in actual production, some decisions of an enterprise are often not determined by one factor, and a traditional scheduling algorithm only considering a single target has large limitation, and a scheme which is not practical is likely to be generated in practical application. Meanwhile, in the actual manufacturing process of high-end equipment, the worsening effect of processing, uncertainty of processing time and comprehensive decision of a plurality of targets are often involved, and a traditional production scheduling method based on a certain situation may not be suitable or a scheme deviating from the actual requirement may be obtained because proper parameter values cannot be obtained.
In research methods, the NP-hard problem is generally solved by adopting a heuristic algorithm, wherein the variable neighborhood search algorithm is a meta-heuristic algorithm which is widely applied to solving the production scheduling problem. The variable neighborhood search is characterized in that a neighborhood structure formed by different actions is used for alternative search, and the concentration and the dispersion are well balanced. Meanwhile, the performance of the variable neighborhood search algorithm is also influenced by neighborhood definition and search strategies, more factors can be considered in a complex production situation, the neighborhood definition or the search strategies in the previous research are not applicable, or the algorithm needs to consume more time and cannot obtain a satisfactory solution in a limited time. Therefore, for the production scheduling of complex products, it is necessary to design a good neighborhood definition and search strategy.
Therefore, the invention aims to consider the problem of dual-target hierarchical scheduling of complex products of deterioration effect (the deterioration effect considered here is based on the starting time of a job, namely the actual processing time of the job is a function related to the starting time of the job) and uncertain processing time, and provides an intelligent algorithm combining a variable neighborhood search algorithm and a heuristic algorithm according to the mode characteristics of the production and processing of high-end equipment, so that a proper neighborhood is defined and three neighborhood structures are designed in a targeted manner, the algorithm can make a reasonable and satisfactory scheduling decision for each manufacturer in a short time or provide decision support for decision makers of enterprises, thereby improving the production efficiency of high-end equipment manufacturing systems, reducing the inventory cost and further improving the market competitive advantage.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
One use scenario of the embodiment of the present invention is as follows:
in a product manufacturing process, is finishedHas an expiration time ofNeed forNA different workpiece havingMA parallel workshop, in which each workpiece can be produced in one workshop in a continuous batch mode and the capacity of each batch isc(i.e., the maximum number of workpieces that can be processed in a batch), a loading time is required before beginning processing of each batch of workpieces, which results in a reduction in the number of workpieces that can be processed in a batchNThe processing time of each workpiece is uncertain (following a normal distribution).
In this embodiment:
Mindicating the number of plants;
representing workpiecesA base machining time (referring to an actual machining time of the workpiece without considering other factors);
presentation to plantTo (1) arThe mean value of the basic machining time of each machined workpiece,
andrespectively representing workshops during processing of workpieces in non-decreasing sequence of mean values of basic processing timesMean and variance of completion time.
=1 denotes the secondiA workshopgA processed workpiece andg+1 workpieces not in the same batch, otherwise=0;
Example 1:
as shown in fig. 1, the present invention provides a VNS-based high-end equipment manufacturing robustness scheduling method, which is executed by a computer, and includes:
s1, acquiring workpiece information, workshop information, algorithm parameters and a neighborhood structure;
s2, randomly generating an initial distribution result containing the distribution relation between each workpiece and each workshop;
s3, determining the processing sequence and the batch of the workpieces of each workshop in the initial distribution result through a processing sequence and batch generation algorithm to obtain an initial dispatching scheme; wherein, the scheduling scheme comprises: the order and lot of work pieces for each plant;
s4, updating the initial scheduling scheme by a variable neighborhood search algorithm with the maximum and minimum completion probability as a target to obtain the current optimal scheduling scheme;
and S5, optimizing the current optimal dispatching scheme by using the processing sequence and batch improvement algorithm with the aim of minimizing the sum of the inventory costs of all workshops to obtain the optimal dispatching scheme.
The beneficial effect of this embodiment does:
1) the embodiment of the invention considers the deterioration effect of workpiece production and processing, uncertainty of workpiece processing time, double-target decision and other factors based on the actual production condition, can be suitable for the proposed complex scheduling problem, and has more practical significance and wider application range. Particularly in the case of manufacturing large-scale complex products, the scheme obtained by the invention has strong robustness, and can provide a reliable decision scheme for a decision maker in a short time.
The following describes the implementation process of the embodiment of the present invention in detail:
and S1, acquiring preset parameters such as workpiece information, workshop information, algorithm parameters and neighborhood structures.
In particular, the method comprises the following steps of,
the acquired workpiece information includes: number of workpiecesNTime to completionThe base machining time (following a normal distribution) for each workpiece is recorded;
The acquired workshop information comprises: number of plantsMCapacity of each batchcCoefficient of deterioration in workingCoefficient of deterioration of loading;
The algorithm parameters include: relevant parameters of the variable neighborhood searching algorithm, such as maximum iteration times, neighborhood structure number and maximum searching times of each iteration; and parameters associated with the process sequence and lot improvement algorithm, e.g. maximum improvement search times。
And S2, randomly generating an initial distribution result containing the distribution relation between each workpiece and the workshop.
Specifically, all workpieces are numbered, all workpieces are distributed to corresponding workshops in a coding mode, and an initial distribution result is randomly generated.
As shown in FIG. 2, assuming that the embodiment has 10 workpieces in total, the initial allocation result can be recorded asHere, theN=10, anda value of (1) ~MRandom integer of (1) representsjThe respective work pieces are distributed to the corresponding workshops.
Thus, the workshop allocated to each workpiece can be obtained.
S3, determining the processing sequence and the batch of the workpieces of each workshop in the initial distribution result through a processing sequence and batch generation algorithm to obtain an initial dispatching scheme; wherein, the scheduling scheme comprises: the order and lot of work pieces for each plant.
Optionally, the processing order and batch generation algorithm of this embodiment may adopt the following steps:
s31, distributing the data to the workshopAccording to the average value of basic processing timeReducing the sequence and arranging to obtain the processing sequence of the workpieces;
s32, if the distribution is to the workshopNumber of workpiecesLess than batch capacitycThen all the workpieces are put in the first batch, namely the workshop has only one batch at the moment; otherwise, the workpiece needs to be further divided into batches, and therefore, the workpiece needs to be divided into batchesPlacing a workpiece in a first batch, and placing the remaining workpieces in a batch sizecSequentially distributing the raw materials in a plurality of batches to obtain a workshopThe order and batch of processing of the workpieces;
and S33, repeatedly executing S31-S32 until the processing sequence and the batches corresponding to all workshops are obtained.
As shown in fig. 2, in a workshopAnd batch capacitycFor example, =3, the workpieces assigned to the workshop are No. 3, 5, 6, and 10, and 4 workpieces in total are 6, 3, 5, and 10 after being arranged in non-decreasing order according to the average value of the basic processing time, so that No. 6 workpieces need to be placed in the first lot, and No. 3, 5, and 10 workpieces need to be placed in the second lot, and thus the workshop is configured to have No. 6 workpieces placed thereinThe number of lots of workpieces of (1) is 2, and the processing is performed in the order of generating the lots, and the processing order of the workpieces in each lot is processed in descending order of the average value of the basic processing time, that is, in No. 6, 3, 5, 10.
Compared with other processing sequences and batch generation algorithms, the steps have the advantages that: the average value of the workshop completion time processed according to the scheme is the smallest of all the sequencing and batch sequencing, so that the workshop processed according to the processing scheme can maximize the completion probability after determining that the workpiece is distributed to the workshop before the completion due date.
S4, updating the initial scheduling scheme by a variable neighborhood search algorithm with the maximum and minimum completion probability as a target to obtain the current optimal scheduling scheme.
Optionally, the variable neighborhood search algorithm of this embodiment may adopt the following steps:
s41, making the current iteration numbert=0, current neighborhood structurek=1;
S42, ordert=t+1, and initializing the current number of searchestime=0;
S43, ordertime=time+1 in the second placekSearching a new scheduling scheme by the variable neighborhood, and acquiring the minimum completion probability of the new scheduling scheme;
s44, if the minimum completion probability of the new scheduling scheme is smaller than the initial scheduling scheme, executing S45; otherwise, it ordersk=1, and the new scheduling scheme is taken as an initial scheduling scheme, and S46 is performed;
s46, iftimeIf the number of times of searching is larger than that of each iteration, S47 is executed; otherwise, go to S43;
s47, iftIf the number of iterations is larger than the maximum number of iterations, taking the initial scheduling scheme as the current optimal scheduling scheme, and acquiring the minimum completion probability of the initial scheduling scheme; otherwise, S42 is executed.
Optionally, the number of the neighborhood structures designed in this embodiment is three, specifically as follows:
the first neighborhood structure: randomly selecting a workpiece from the workshops with the lowest completion probability and randomly distributing the workpiece to other workshops;
the second neighborhood structure: exchanging a workpiece randomly selected from the workshop with the lowest finishing probability with a workpiece with a smaller average basic processing time randomly selected from other workshops;
the third neighborhood structure: randomly encoding the current schemeVIs reversed.
In this embodiment, the calculation formula of the minimum completion probability of the scheduling scheme is as follows:
representing a plantAt the expiration dateThe previous completion probability and the calculation formula is as follows:
andrespectively representing workshops during processing of workpieces in non-decreasing sequence of mean values of basic processing timesThe mean and variance of the completion time, and the calculation formula is:
therefore, the minimum completion probability of the scheduling scheme is maximized by the variable neighborhood search algorithm, and the processing task is ensured to be completed on time as far as possible.
And S5, optimizing the current optimal dispatching scheme by using the processing sequence and batch improvement algorithm with the aim of minimizing the sum of the inventory costs of all workshops to obtain the optimal dispatching scheme.
Optionally, in order to reduce the inventory cost, the processing sequence and lot improvement algorithm of the present embodiment may employ the following steps:
s51, obtaining the maximum improved searching timesitimesInter-vehicle in current optimal scheduling schemeIs completed with probability of completionAnd inventory costMake the current number of improved searchesitime=0, acquisition plantThe difference between the average values of the basic processing times of the respective adjacent workpieces in the processing order of (1) is obtained as a setD(ii) a Order tox=2,y=1, placing the first workpiece in the first virtual group;
wherein the content of the first and second substances,representing a plantTo (1) arAn average value of basic processing times of the respective processed workpieces;
s52, ifThen will bexA workpiece is put inyA virtual group; otherwise, it will bexA workpiece is put iny+1 virtual groups, ordery=y+1;
Wherein:
andrespectively representing workshops during processing of workpieces in non-decreasing sequence of mean values of basic processing timesMean and variance of completion times;
s53, ifxSmaller than the workshopNumber of workpiecesThen, thenx=x+1 and return to S52; otherwise, jumping to S54;
s54, ifySmaller than the workshopNumber of workpiecesRandomly reversing the partial processing sequence of the workpieces in each virtual group, and then forming a new workshop workpiece processing sequence according to the sequence of the virtual groups,itime=itime+1, go to S55; otherwise, jumping to S58;
s55, if the distribution is to the workshopNumber of workpiecesLess than batch capacitycThen all workpieces are placed in a first batch; otherwise, it willPlacing a workpiece in a first batch, and placing the remaining workpieces in a batch sizecSequentially distributing the raw materials in a plurality of batches to obtain an updated workshopThe order and batch of processing of the workpieces;
s56 plant based on updatingThe processing order and the batch of the workpieces are obtained and updatedIs/are as follows、Completion probabilityAnd inventory cost;
S57, ifAnd isThen the updated workshopThe processing sequence and the batch of the workpieces are used as the current optimal scheduling scheme; otherwise, jumping to S58;
s58, ifitime<itimesThen return to S54; otherwise, outputting the current optimal scheduling scheme.
Wherein the content of the first and second substances,the calculation formula of (2) is as follows:
therefore, the workshops are parallel and do not interfere with each other, so that the inventory cost of each workshop is reduced, and the total inventory cost can be further reduced on the premise of maximizing the minimum completion probability.
Further, optionally, randomly reversing the partial machining order of the workpieces in each virtual group comprises:
step 1: initializationq=1;
Step 2: if it is firstqIf the number of the workpieces of each virtual group is 1, jumping to the step 4; otherwise, jumping to the step 3;
and step 3: randomly selecting a plurality of workpieces which are continuously machined from the virtual group, and reversing the machining sequence of the workpieces; (similar to the third neighborhood architecture implementation)
And 4, step 4: output the firstqOrder of processing of each virtual groupq=q+1;
And 5: and repeating the step 2 to the step 5 until all the virtual groups are traversed.
In addition, further optionally, in this embodiment, the implementation steps of the three neighborhood structures are:
the first neighborhood structure is realized by the following steps:
step 1: calculating the completion probability of all workshops to obtain the sequence number of the workshop with the minimum completion probabilityLet us order;
And step 3: if it is notRandomly generating 1 in the range of 1 toRandom integer(ii) a Otherwise, returning to the step 2;
and 4, step 4: if it is notThen, thenObtaining a new solution and ending; otherwise, go back to step 3.
The second neighborhood structure is realized by the following steps:
step 1: calculating the completion probability of all workshops to obtain the sequence number of the workshop with the minimum completion probability;
And step 3: if it is notThen randomly generating 1 in the range of 1 toRandom integer(ii) a Otherwise, jumping to the step 2;
and 4, step 4: if it is notAnd isThen, then,Obtaining a new solution and ending; otherwise, jumping to the step 3;
the third neighborhood structure is realized by the following steps:
Example 2:
a VNS-based high-end equipment manufacturing robustness scheduling apparatus, the apparatus comprising:
the parameter acquisition module is used for acquiring workpiece information, workshop information, algorithm parameters and a neighborhood structure;
the initial distribution result generation module is used for randomly generating an initial distribution result containing the distribution relation between each workpiece and the workshop;
the initial dispatching scheme generation module is used for determining the processing sequence and the batch of the workpieces of each workshop in the initial distribution result through a processing sequence and batch generation algorithm to obtain an initial dispatching scheme; wherein, the scheduling scheme comprises: the order and lot of work pieces for each plant;
the current optimal scheduling scheme generating module is used for updating the initial scheduling scheme by using the maximized minimum completion probability as a target through a variable neighborhood search algorithm to obtain a current optimal scheduling scheme;
and the processing sequence and batch improvement module is used for optimizing the current optimal dispatching scheme by using a processing sequence and batch improvement algorithm with the aim of minimizing the sum of the inventory costs of all workshops as a target to obtain the optimal dispatching scheme.
Example 3:
a computer-readable storage medium storing a computer program for high-end equipment manufacturing scheduling, wherein the computer program causes a computer to perform the steps of:
s1, acquiring workpiece information, workshop information, algorithm parameters and a neighborhood structure;
s2, randomly generating an initial distribution result containing the distribution relation between each workpiece and each workshop;
s3, determining the processing sequence and the batch of the workpieces of each workshop in the initial distribution result through a processing sequence and batch generation algorithm to obtain an initial dispatching scheme; wherein, the scheduling scheme comprises: the order and lot of work pieces for each plant;
s4, updating the initial scheduling scheme by a variable neighborhood search algorithm with the maximum and minimum completion probability as a target to obtain the current optimal scheduling scheme;
and S5, optimizing the current optimal dispatching scheme by using the processing sequence and batch improvement algorithm with the aim of minimizing the sum of the inventory costs of all workshops to obtain the optimal dispatching scheme.
Example 4:
an electronic device, comprising:
one or more processors;
a memory; and
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the programs comprising instructions for performing the steps of:
s1, acquiring workpiece information, workshop information, algorithm parameters and a neighborhood structure;
s2, randomly generating an initial distribution result containing the distribution relation between each workpiece and each workshop;
s3, determining the processing sequence and the batch of the workpieces of each workshop in the initial distribution result through a processing sequence and batch generation algorithm to obtain an initial dispatching scheme; wherein, the scheduling scheme comprises: the order and lot of work pieces for each plant;
s4, updating the initial scheduling scheme by a variable neighborhood search algorithm with the maximum and minimum completion probability as a target to obtain the current optimal scheduling scheme;
and S5, optimizing the current optimal dispatching scheme by using the processing sequence and batch improvement algorithm with the aim of minimizing the sum of the inventory costs of all workshops to obtain the optimal dispatching scheme.
It can be understood that the VNS-based high-end equipment manufacturing robustness scheduling apparatus, the storage medium, and the electronic device provided in the embodiment of the present invention correspond to the VNS-based high-end equipment manufacturing robustness scheduling method, and for explanation, examples, and beneficial effects of relevant contents, parts may refer to corresponding contents in the VNS-based high-end equipment manufacturing robustness scheduling method, and details are not described here.
In summary, compared with the prior art, the invention has the following beneficial effects:
(1) the invention designs an intelligent optimization algorithm for improving variable neighborhood search aiming at the problem of dual-target hierarchical scheduling of complex products related to deterioration effect and uncertain processing time in the manufacture of high-end equipment.
(2) In the variable neighborhood algorithm, three simple and feasible neighborhood structures are designed, so that the algorithm can achieve good balance between the concentration and the dispersion during operation, the convergence rate of the algorithm is improved, and the local optimal solution can be skipped in the iteration process.
(3) The method considers the deterioration effect of workpiece production and processing, the uncertainty of workpiece processing time, double-target decision and other factors based on the actual production condition. A simpler code is defined and may be adapted to other conventional production schedules. By combining the processing sequence and batch generation algorithm and the processing sequence and batch improvement algorithm, the method can be suitable for the proposed complex scheduling problem, and has more practical significance and wider application range. Particularly in the case of manufacturing large-scale complex products, the scheme obtained by the invention has strong robustness, and can provide a reliable decision scheme for a decision maker in a short time.
It should be noted that, through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments. In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (12)
1. A VNS-based high-end equipment manufacturing robustness scheduling method is characterized by comprising the following steps:
s1, acquiring workpiece information, workshop information, algorithm parameters and a neighborhood structure;
s2, randomly generating an initial distribution result containing the distribution relation between each workpiece and each workshop;
s3, determining the processing sequence and the batch of the workpieces of each workshop in the initial distribution result through a processing sequence and batch generation algorithm to obtain an initial dispatching scheme; wherein, the scheduling scheme comprises: the order and lot of work pieces for each plant;
s4, updating the initial scheduling scheme by a variable neighborhood search algorithm with the maximum and minimum completion probability as a target to obtain the current optimal scheduling scheme;
and S5, optimizing the current optimal dispatching scheme by using the processing sequence and batch improvement algorithm with the aim of minimizing the sum of the inventory costs of all workshops to obtain the optimal dispatching scheme.
2. The VNS-based robust scheduling method for high-end equipment manufacturing of claim 1, wherein the artifact information comprises: number of workpieces, completion due time, basic machining time for each workpiece;
the workshop information includes: number of plants, batch capacity, degradation factor of processing, degradation factor of loading.
3. The VNS-based high-end equipment manufacturing robust scheduling method of claim 1, wherein the process sequence and lot generation algorithm step comprises:
s31, distributing the data to the workshopThe workpieces are arranged according to the average value of the basic processing time in a non-decreasing order to obtainThe sequence of workpiece processing;
s32, if the distribution is to the workshopNumber of workpiecesLess than batch capacitycThen all workpieces are placed in a first batch; otherwise, it willPlacing a workpiece in a first batch, and placing the remaining workpieces in a batch sizecSequentially distributing the raw materials in a plurality of batches to obtain a workshopThe order and batch of processing of the workpieces;
and S33, repeatedly executing S31-S32 until the processing sequence and the batches corresponding to all workshops are obtained.
4. The VNS-based high-end equipment manufacturing robustness scheduling method of claim 1, wherein the minimum completion probability of the scheduling scheme is obtained by the formula:
wherein the content of the first and second substances,
indicating the result of the dispensing of the workpiece, whereinjResult of distribution of individual workpiecesv j The value of (d) indicates the assigned plant;
andrespectively representing workshops during processing of workpieces in non-decreasing sequence of mean values of basic processing timesMean and variance of completion times;
presentation to plantTo (1) arAn average value of basic processing times of the respective processed workpieces, which are subject to normal distribution;
cindicating the batch capacity.
5. The VNS-based robust scheduling method for high-end equipment manufacturing of claim 1, wherein the variable neighborhood search algorithm comprises:
s41, making the current iteration numbert=0, current neighborhood structurek=1;
S42, ordert=t+1, and initializing the current number of searchestime=0;
S43, ordertime=time+1 in the second placekSearching a new scheduling scheme by the variable neighborhood, and acquiring the minimum completion probability of the new scheduling scheme;
s44, if the minimum completion probability of the new scheduling scheme is smaller than the initial scheduling scheme, executing S45; otherwise, it ordersk=1, and the new scheduling scheme is taken as an initial scheduling scheme, and S46 is performed;
s46, iftimeIf the number of times of searching is larger than that of each iteration, S47 is executed; otherwise, go to S43;
s47, iftIf the number of iterations is larger than the maximum number of iterations, taking the initial scheduling scheme as the current optimal scheduling scheme, and acquiring the minimum completion probability of the initial scheduling scheme; otherwise, S42 is executed.
6. The VNS-based high-end equipment manufacturing robust scheduling method of claim 1, wherein the neighborhood structure comprises:
the first neighborhood structure: randomly selecting a workpiece from the workshops with the lowest completion probability and randomly distributing the workpiece to other workshops;
the second neighborhood structure: exchanging a workpiece randomly selected from the workshop with the lowest finishing probability with a workpiece with a smaller average basic processing time randomly selected from other workshops;
the third neighborhood structure: randomly reverses a portion of the scheme encoding now.
7. The VNS-based robust scheduling method for high-end equipment manufacturing of claim 1, wherein the process sequence and lot improvement algorithm comprises:
s51, obtaining the maximum improved searching timesitimesInter-vehicle in current optimal scheduling schemeIs completed with probability of completionAnd inventory costMake the current number of improved searchesitime=0, get carWorkshopThe difference between the average values of the basic processing times of the respective adjacent workpieces in the processing order of (1) is obtained as a setD(ii) a Order tox=2,y=1, placing the first workpiece in the first virtual group;
wherein the content of the first and second substances,presentation to plantTo (1) arAn average value of basic processing times of the respective processed workpieces, which are subject to normal distribution;
s52, ifThen will bexA workpiece is put inyA virtual group; otherwise, it will bexA workpiece is put iny+1 virtual groups, ordery=y+1;
Wherein:
andrespectively representing workshops during processing of workpieces in non-decreasing sequence of mean values of basic processing timesMean and variance of completion times;
s53, ifxSmaller than the workshopNumber of workpiecesThen, thenx=x+1 and return to S52; otherwise, jumping to S54;
s54, ifySmaller than the workshopNumber of workpiecesRandomly reversing the partial processing sequence of the workpieces in each virtual group, and then forming a new workshop workpiece processing sequence according to the sequence of the virtual groups,itime=itime+1, go to S55; otherwise, jumping to S58;
s55, if the distribution is to the workshopNumber of workpiecesLess than batch capacitycThen all workpieces are placed in a first batch; otherwise, it willPlacing a workpiece in a first batch, and placing the remaining workpieces in a batch sizecSequentially distributing the raw materials in a plurality of batches to obtain an updated workshopThe order and batch of processing of the workpieces;
s56 plant based on updatingThe processing order and the batch of the workpieces are obtained and updatedIs/are as follows、Completion probabilityAnd inventory cost;
S57, ifAnd isThen the updated workshopThe processing sequence and the batch of the workpieces are used as the current optimal scheduling scheme; otherwise, jumping to S58;
s58, ifitime<itimesThen return to S54; otherwise, outputting the current optimal scheduling scheme.
8. The VNS-based robust scheduling of high-end equipment manufacturing of claim 1, wherein the plant floorInventory cost ofThe calculation formula of (2) is as follows:
wherein the content of the first and second substances,
indicating that the work is being machined in non-decreasing order of mean value of basic machining timeAn average of completion times;
9. The VNS-based robust scheduling method for high-end equipment manufacturing of claim 1, wherein the randomly reversing the partial machining order of the workpieces in each virtual group comprises:
step 1: initializationq=1;
Step 2: if it is firstqIf the number of the workpieces of each virtual group is 1, jumping to the step 4; otherwise, jumping to the step 3;
and step 3: randomly selecting a plurality of workpieces which are continuously machined from the virtual group, and reversing the machining sequence of the workpieces;
and 4, step 4: output the firstqOrder of processing of each virtual groupq=q+1;
And 5: and repeating the step 2 to the step 5 until all the virtual groups are traversed.
10. A VNS-based high-end equipment manufacturing robustness scheduling apparatus, comprising:
the parameter acquisition module is used for acquiring workpiece information, workshop information, algorithm parameters and a neighborhood structure;
the initial distribution result generation module is used for randomly generating an initial distribution result containing the distribution relation between each workpiece and the workshop;
the initial dispatching scheme generation module is used for determining the processing sequence and the batch of the workpieces of each workshop in the initial distribution result through a processing sequence and batch generation algorithm to obtain an initial dispatching scheme; wherein, the scheduling scheme comprises: the order and lot of work pieces for each plant;
the current optimal scheduling scheme generating module is used for updating the initial scheduling scheme by using the maximized minimum completion probability as a target through a variable neighborhood search algorithm to obtain a current optimal scheduling scheme;
and the processing sequence and batch improvement module is used for optimizing the current optimal dispatching scheme by using a processing sequence and batch improvement algorithm with the aim of minimizing the sum of the inventory costs of all workshops as a target to obtain the optimal dispatching scheme.
11. A computer-readable storage medium storing a computer program for high-end equipment manufacturing scheduling, wherein the computer program causes a computer to perform the VNS-based high-end equipment manufacturing robust scheduling method of any one of claims 1-9.
12. An electronic device, comprising:
one or more processors;
a memory; and
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the programs comprising instructions for performing the VNS-based high-end equipment manufacturing robust scheduling method of any one of claims 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210195558.4A CN114265380B (en) | 2022-03-02 | 2022-03-02 | High-end equipment manufacturing robustness scheduling method and device based on VNS |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210195558.4A CN114265380B (en) | 2022-03-02 | 2022-03-02 | High-end equipment manufacturing robustness scheduling method and device based on VNS |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114265380A true CN114265380A (en) | 2022-04-01 |
CN114265380B CN114265380B (en) | 2022-05-24 |
Family
ID=80833848
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210195558.4A Active CN114265380B (en) | 2022-03-02 | 2022-03-02 | High-end equipment manufacturing robustness scheduling method and device based on VNS |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114265380B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090150209A1 (en) * | 2000-09-06 | 2009-06-11 | Masterlink Corporation | System and method for managing mobile workers |
CN106959675A (en) * | 2017-03-21 | 2017-07-18 | 山东大学 | A kind of multi-objective scheduling optimization method towards Flow Shop |
CN107578178A (en) * | 2017-09-11 | 2018-01-12 | 合肥工业大学 | Based on the dispatching method and system for becoming neighborhood search and gravitation search hybrid algorithm |
DE102018107120A1 (en) * | 2017-05-22 | 2018-11-22 | Biotronik Se & Co. Kg | Selective activation of parasympathetic nerve in a vagus nerve stimulation device |
CN112286149A (en) * | 2020-10-15 | 2021-01-29 | 山东师范大学 | Flexible workshop scheduling optimization method and system considering crane transportation process |
CN113177781A (en) * | 2021-05-17 | 2021-07-27 | 合肥工业大学 | Production assembly cooperative scheduling method and system based on variable neighborhood and genetic operator |
-
2022
- 2022-03-02 CN CN202210195558.4A patent/CN114265380B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090150209A1 (en) * | 2000-09-06 | 2009-06-11 | Masterlink Corporation | System and method for managing mobile workers |
CN106959675A (en) * | 2017-03-21 | 2017-07-18 | 山东大学 | A kind of multi-objective scheduling optimization method towards Flow Shop |
DE102018107120A1 (en) * | 2017-05-22 | 2018-11-22 | Biotronik Se & Co. Kg | Selective activation of parasympathetic nerve in a vagus nerve stimulation device |
CN107578178A (en) * | 2017-09-11 | 2018-01-12 | 合肥工业大学 | Based on the dispatching method and system for becoming neighborhood search and gravitation search hybrid algorithm |
CN112286149A (en) * | 2020-10-15 | 2021-01-29 | 山东师范大学 | Flexible workshop scheduling optimization method and system considering crane transportation process |
CN113177781A (en) * | 2021-05-17 | 2021-07-27 | 合肥工业大学 | Production assembly cooperative scheduling method and system based on variable neighborhood and genetic operator |
Non-Patent Citations (2)
Title |
---|
郭盈: "基于流水线调度问题的模型与局部搜索算法", 《中国科学技术大学学报》 * |
陆少军: "考虑恶化和学习效应的多机制造系统智能优化方法", 《系统科学与数学》 * |
Also Published As
Publication number | Publication date |
---|---|
CN114265380B (en) | 2022-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107590603B (en) | Based on the dispatching method and system for improving change neighborhood search and differential evolution algorithm | |
CN107168267B (en) | Based on the production scheduled production method and system for improving population and heuristic strategies | |
CN110298589A (en) | Based on heredity-ant colony blending algorithm dynamic Service resource regulating method | |
CN108846623A (en) | Based on the complete vehicle logistics dispatching method and device of multiple target ant group algorithm, storage medium, terminal | |
CN111695806B (en) | Resource allocation method, device equipment and storage medium | |
CN110084401B (en) | Scheduling optimization method and device based on reserved maintenance time | |
CN115600774B (en) | Multi-target production scheduling optimization method for assembly type building component production line | |
CN110458326B (en) | Mixed group intelligent optimization method for distributed blocking type pipeline scheduling | |
CN111667191A (en) | Method and system for distributing dual-target robust resources under resource sharing and transfer visual angles | |
CN113705812B (en) | Production scheduling method and system based on hybrid parallel genetic and variable neighborhood algorithm | |
Rohaninejad et al. | Multi-objective optimization of integrated lot-sizing and scheduling problem in flexible job shops | |
CN110046761A (en) | A kind of ethyl alcohol inventory's Replenishment Policy based on multi-objective particle | |
CN111144710A (en) | Construction and dynamic scheduling method of sustainable hybrid flow shop | |
CN111105133B (en) | Production scheduling method, computer device, and storage medium | |
CN116933939A (en) | Flexible workshop collaborative production method and system based on improved raccoon optimization algorithm | |
Piroozfard et al. | Reduction of carbon emission and total late work criterion in job shop scheduling by applying a multi-objective imperialist competitive algorithm | |
CN114265380B (en) | High-end equipment manufacturing robustness scheduling method and device based on VNS | |
Wei et al. | Picker routing optimization of storage stacker based on improved multi-objective iterative local search algorithm. | |
CN110705844A (en) | Robust optimization method of job shop scheduling scheme based on non-forced idle time | |
CN116151424B (en) | Method for discharging among skip in multiple parks | |
Ebrahimi et al. | Bi-objective build-to-order supply chain problem with customer utility | |
CN113723695B (en) | Remanufacturing scheduling optimization method based on scene | |
CN114819660A (en) | Dynamic evolution design crowdsourcing human resource task matching method and system | |
Kizilay et al. | A discrete artificial bee colony algorithm for the assignment and parallel machine scheduling problem in DYO paint company | |
Chan et al. | Rescheduling precast production with multiobjective optimization |
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 |