[go: up one dir, main page]

CN108446814B - Tree search method and device for shop scheduling problem of same-sequence assembly line - Google Patents

Tree search method and device for shop scheduling problem of same-sequence assembly line Download PDF

Info

Publication number
CN108446814B
CN108446814B CN201810064713.2A CN201810064713A CN108446814B CN 108446814 B CN108446814 B CN 108446814B CN 201810064713 A CN201810064713 A CN 201810064713A CN 108446814 B CN108446814 B CN 108446814B
Authority
CN
China
Prior art keywords
node
search
reverse
child node
optimal solution
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
CN201810064713.2A
Other languages
Chinese (zh)
Other versions
CN108446814A (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.)
Institute of Automation of Chinese Academy of Science
Original Assignee
Institute of Automation of Chinese Academy of Science
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 Institute of Automation of Chinese Academy of Science filed Critical Institute of Automation of Chinese Academy of Science
Priority to CN201810064713.2A priority Critical patent/CN108446814B/en
Publication of CN108446814A publication Critical patent/CN108446814A/en
Application granted granted Critical
Publication of CN108446814B publication Critical patent/CN108446814B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06316Sequencing of tasks or work
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Game Theory and Decision Science (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Artificial Intelligence (AREA)
  • Development Economics (AREA)
  • Computing Systems (AREA)
  • Educational Administration (AREA)
  • Mathematical Physics (AREA)
  • Medical Informatics (AREA)
  • General Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明属于流水线车间调度领域,具体涉及一种同顺序流水线车间调度的树搜索方法及装置。旨在解决同顺序流水线车间的优化调度问题。首先采用NEH算法求得初始解,然后结合树搜索方法将正向搜索和逆向搜索作为一个父结点的两个分支,分别寻优,并与父节点比较,得到正向最优解和逆向最优解,即为生成的两个子结点。通过上述方式构建树形结构,实现同顺序流水车间的优化调度。与现有技术相比,本发明缩短了最大完工时间,且该算法为确定性算法,求解结果为确定稳定解。

Figure 201810064713

The invention belongs to the field of assembly line shop scheduling, in particular to a tree search method and device for the same sequence assembly line shop scheduling. It aims to solve the optimal scheduling problem of the same-sequence assembly line workshop. First, the NEH algorithm is used to obtain the initial solution, and then combined with the tree search method, the forward search and the reverse search are regarded as two branches of a parent node. The optimal solution is the generated two sub-nodes. The tree structure is constructed by the above method to realize the optimal scheduling of the flow workshop in the same sequence. Compared with the prior art, the present invention shortens the maximum completion time, and the algorithm is a deterministic algorithm, and the solution result is a determined stable solution.

Figure 201810064713

Description

同顺序流水线车间调度问题的树搜索方法及装置Tree search method and device for shop scheduling problem of same-sequence assembly line

技术领域technical field

本发明属于流水线车间调度领域,具体涉及一种同顺序流水线车间调度问题的树搜索方法及装置。The invention belongs to the field of assembly line shop scheduling, and in particular relates to a tree search method and device for the same sequence assembly line shop scheduling problem.

背景技术Background technique

流水线车间调度问题是一个交叉性研究领域,涉及运筹学,管理学,自动化,计算机等领域。流水线车间调度问题的研究可以帮助企业提高生产效率,增强生产的柔性和可靠性,对先进制造和智能制造有重要研究意义。The assembly line shop scheduling problem is an interdisciplinary research field, involving operations research, management, automation, computer and other fields. The study of the assembly line workshop scheduling problem can help enterprises improve production efficiency, enhance the flexibility and reliability of production, and has important research significance for advanced manufacturing and intelligent manufacturing.

流水线车间调度问题一般属于为NP完全问题,目标解的搜索涉及解空间的组合爆炸。目前的求解方法主要有禁忌搜索算法、模拟退火算法、蚁群算法、粒子群算法等。上述算法主要采用元启发式算法,算法本身带有随机性,有时结果不可复现,具有不稳定性,且在计算机上运算时间较长。The assembly line shop scheduling problem generally belongs to the NP-complete problem, and the search for the target solution involves the combinatorial explosion of the solution space. The current solution methods mainly include tabu search algorithm, simulated annealing algorithm, ant colony algorithm, particle swarm algorithm and so on. The above algorithms mainly use meta-heuristic algorithms. The algorithm itself is random, and sometimes the results are not reproducible and unstable, and the computing time on the computer is long.

发明内容SUMMARY OF THE INVENTION

为了解决现有技术中的上述问题,即为了解决同顺序流水线车间优化调度问题,本发明的一方面,提出了一种同顺序流水线车间调度问题的树搜索方法,包括以下步骤:In order to solve the above-mentioned problems in the prior art, that is, in order to solve the optimization scheduling problem of the same-sequence assembly line shop, an aspect of the present invention proposes a tree search method for the same-sequence assembly line shop scheduling problem, comprising the following steps:

步骤S1:采用启发式算法求解同顺序流水线车间调度的初始解,作为第一次搜索的当前结点;Step S1: use a heuristic algorithm to solve the initial solution of the same-sequence assembly line shop scheduling as the current node of the first search;

步骤S2:基于正向搜索方法得到当前结点的正向子结点,基于逆向搜索方法得到当前结点的逆向子结点,构建二叉搜索树;Step S2: obtain the forward child node of the current node based on the forward search method, obtain the reverse child node of the current node based on the reverse search method, and construct a binary search tree;

步骤S3:判断当前子结点有无祖结点,若当前子结点有祖结点,则执行步骤S4,否则分别以新生成的正向子结点、逆向子结点作为当前结点执行步骤S2;Step S3: Determine whether the current child node has an ancestor node, if the current child node has an ancestor node, then execute step S4, otherwise use the newly generated forward child node and reverse child node as the current node to execute step S2;

步骤S4:若当前结点的正向子结点、逆向子结点、祖结点不相等,则返回步骤S2,否则以三者的值为最优解,树搜索结束;Step S4: If the forward child node, reverse child node, and ancestor node of the current node are not equal, then return to step S2, otherwise the value of the three is the optimal solution, and the tree search ends;

所述祖结点为当前子结点的上两级结点。The ancestor node is the upper two-level node of the current child node.

优选地,所述步骤S1,具体为:依据同顺序流水线车间调度中工件数n、加工工件所需的机器数m和所有工件在每一个机器上所需加工的时间pi,j,i=1,2,...,m,j=1,2,...,n,采用启发式算法求解同顺序流水线车间调度工件的初始解,作为第一次搜索的当前结点。Preferably, the step S1 is specifically: according to the number of workpieces n, the number of machines m required to process the workpieces, and the required processing time of all workpieces on each machine p i,j ,i= 1,2,...,m,j=1,2,...,n, the heuristic algorithm is used to solve the initial solution of the scheduling workpiece of the same sequence assembly line, as the current node of the first search.

优选地,所述启发式算法为NEH算法。Preferably, the heuristic algorithm is the NEH algorithm.

优选地,所述初始解为同顺序流水线车间调度的最小的最大完工时间。Preferably, the initial solution is the minimum maximum makepan of the same sequence of assembly line shop scheduling.

优选地,所述正向搜索方法,具体为:对当前结点中每一个工件依次从前向后移动到所有可能的位置,得到(n-1)!个排列组合,计算所有排列组合中的最大完工时间,选出最小值作为正向较优解;Preferably, the forward search method is specifically: moving each workpiece in the current node to all possible positions from front to back in turn, to obtain (n - 1)! For each permutation and combination, calculate the maximum completion time of all permutations and combinations, and select the minimum value as the forward optimal solution;

将所述正向较优解与其父结点比较,若所述正向较优解小于或等于其父结点的值,则以所述正向较优解为本次搜索的正向子结点,否则以所述正向较优解的父结点为本次搜索的正向子结点。Compare the forward optimal solution with its parent node, if the forward optimal solution is less than or equal to the value of its parent node, take the forward optimal solution as the forward child node of this search. point, otherwise, the parent node of the forward optimal solution is the forward child node of this search.

优选地,所述逆向搜索方法,具体为:对当前结点中每一个工件依次从后向前移动到所有可能的位置,得到(n-1)!个排列组合,计算所有排列组合中的最大完工时间,选出最小值作为逆向较优解;Preferably, the reverse search method is specifically: move each workpiece in the current node to all possible positions sequentially from back to front, and obtain (n - 1)! For each permutation and combination, calculate the maximum completion time of all permutations and combinations, and select the minimum value as the reverse optimal solution;

将所述逆向较优解与其父结点比较,若所述逆向较优解小于或等于其父结点的值,则以所述逆向较优解为本次搜索的逆向子结点,否则以所述逆向较优解的父结点为本次搜索的逆向子结点。Compare the reverse optimal solution with its parent node, if the reverse optimal solution is less than or equal to the value of its parent node, then take the reverse optimal solution as the reverse child node of this search, otherwise use The parent node of the reverse optimal solution is the reverse child node of this search.

本发明的另一方面,还提出了一种同顺序流水线车间调度问题的树搜索装置,Another aspect of the present invention also proposes a tree search device for the same-sequence assembly line shop scheduling problem,

启发式算法求解模块:用于利用启发式算法求解同顺序流水线车间调度的初始解,作为第一次搜索的当前结点;Heuristic algorithm solution module: It is used to solve the initial solution of the same-sequence assembly line shop scheduling by using the heuristic algorithm, as the current node of the first search;

正向搜索模块:用于基于正向搜索方法搜索当前结点的正向子结点;Forward search module: used to search forward child nodes of the current node based on the forward search method;

逆向搜索模块:用于基于逆向搜索方法搜索当前结点的逆向子结点;Reverse search module: used to search the reverse child node of the current node based on the reverse search method;

祖结点判断模块:用于判断当前子结点有无祖结点;若当前子结点无祖结点,则将所述正向子结点、所述逆向子结点转为当前结点移送到正向搜索模块和逆向搜索模块;若当前子结点有祖结点则将所述正向子结点、所述逆向子结点移送到数据对比模块;Ancestor node judgment module: used to determine whether the current child node has an ancestor node; if the current child node has no ancestor node, the forward child node and the reverse child node are converted to the current node Move to the forward search module and the reverse search module; if the current child node has an ancestor node, then move the forward child node and the reverse child node to the data comparison module;

数据对比模块:用于将所述正向子结点、所述逆向子结点、与其祖结点,三者两两比较,如果至少有一对不相等,则将所述正向子结点、所述逆向子结点转为当前结点移送到正向搜索模块和逆向搜索模块,否则以三者的值为最优解,结束树搜索。Data comparison module: used to compare the forward child node, the reverse child node, and its ancestor nodes, and if at least one pair is not equal, compare the forward child node, The reverse child node is transferred to the current node and transferred to the forward search module and the reverse search module, otherwise the tree search is ended by taking the value of the three as the optimal solution.

优选地,所述启发式算法求解模块具体用于依据同顺序流水线车间调度中工件数n、加工工件所需的机器数m和所有工件在每一个机器上所需加工的时间pi,j,i=1,2,...,m,j=1,2,...,n,采用启发式算法求解同顺序流水线车间调度工件的初始解,作为第一次搜索的当前结点。Preferably, the heuristic algorithm solving module is specifically used for the number of workpieces n, the number of machines required to process the workpieces m and the required processing time p i,j of all workpieces on each machine in the same-sequence assembly line shop scheduling, i=1,2,...,m,j=1,2,...,n, using the heuristic algorithm to solve the initial solution of the scheduling workpiece in the same sequence assembly line, as the current node of the first search.

优选地,所述启发式算法求解模块的输入端为数据提取单元;Preferably, the input end of the heuristic algorithm solving module is a data extraction unit;

所述数据提取单元用于提取同顺序流水线车间调度中的工件数n、加工工件所需的机器数m和所有工件在每一个机器上所需加工的时间pi,j,i=1,2,...,m,j=1,2,...,n。The data extraction unit is used to extract the number n of workpieces in the same-sequence line shop scheduling, the number m of machines required to process the workpieces, and the time p i,j , i=1,2 for all workpieces to be processed on each machine. ,...,m,j=1,2,...,n.

优选地,所述启发式算法求解模块还包括启发式算法存储单元,用于存储预先编制的启发式算法。Preferably, the heuristic algorithm solving module further comprises a heuristic algorithm storage unit, which is used for storing a pre-programmed heuristic algorithm.

优选地,所述正向搜索模块具体用于:Preferably, the forward search module is specifically used for:

对当前结点中每一个工件依次从前向后移动到所有可能的位置,得到所有的排列组合,计算所有排列组合的最大完工时间,选出最小值作为正向较优解;Move each workpiece in the current node to all possible positions in turn from front to back, obtain all permutations, calculate the maximum completion time of all permutations and combinations, and select the minimum value as the forward optimal solution;

将所述正向较优解与其父结点比较,若所述正向较优解小于或等于其父结点,则以所述正向较优解为本次搜索的正向子结点,否则以所述正向较优解的父结点为本次搜索的正向子结点。Compare the forward optimal solution with its parent node, if the forward optimal solution is less than or equal to its parent node, then take the forward optimal solution as the forward child node of this search, Otherwise, the parent node of the forward optimal solution is the forward child node of this search.

优选地,所述逆向搜索模块具体用于:Preferably, the reverse search module is specifically used for:

对当前结点中每一个工件依次从后向前移动到所有可能的位置,得到所有的排列组合,计算所有排列组合的最大完工时间,选出最小值作为逆向较优解;Move each workpiece in the current node to all possible positions from back to front in turn, get all permutations and combinations, calculate the maximum completion time of all permutations and combinations, and select the minimum value as the reverse optimal solution;

将所述逆向较优解与其父结点比较,若所述逆向较优解小于或等于其父结点,则以所述逆向较优解为本次搜索的逆向子结点,否则所述逆向较优解的父结点为本次搜索的逆向子结点。Compare the reverse optimal solution with its parent node, if the reverse optimal solution is less than or equal to its parent node, take the reverse optimal solution as the reverse child node of this search, otherwise the reverse optimal solution The parent node of the better solution is the reverse child node of this search.

本领域技术人员应该能够意识到,结合本发明提出的一种同顺序流水线车间调度问题的树搜索方法及装置,具有如下优点:Those skilled in the art should be able to realize that the tree search method and device for the same-sequence assembly line shop scheduling problem proposed by the present invention have the following advantages:

(1)与现有算法相比,本算法缩短了最大完工时间;(1) Compared with the existing algorithm, this algorithm shortens the maximum completion time;

(2)该算法为确定性算法,求解结果为确定稳定解;(2) The algorithm is a deterministic algorithm, and the solution result is a definite stable solution;

(3)可以帮助企业提高生产效率,增强生产的柔性和可靠性。(3) It can help enterprises improve production efficiency and enhance the flexibility and reliability of production.

附图说明Description of drawings

图1为同顺序流水线车间调度问题的树搜索方法实现的流程示意图;Fig. 1 is the flow chart of the tree search method realization of the same-sequence assembly line shop scheduling problem;

图2为一种同顺序流水线车间调度的甘特图;Fig. 2 is a kind of Gantt chart of the same-sequence assembly line workshop scheduling;

图3为树搜索方法的树形结构示意图。FIG. 3 is a schematic diagram of the tree structure of the tree search method.

具体实施方式Detailed ways

下面参照附图来描述本发明的优选实施方式。本领域技术人员应当理解的是,这些实施方式仅仅用于解释本发明的技术原理,并非旨在限制本发明的保护范围。Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principle of the present invention, and are not intended to limit the protection scope of the present invention.

车间调度问题是指被调度的工件需要在不同的机器上进行加工,每台机器同时最多只能加工一个工件,而每个工件同时也最多只能在一台机器上加工,工件的加工不允许中断,问题是确定工件在机器上的加工顺序和时间,使得目标函数最优化。车间调度问题广泛存在于制造业和物流系统中,求解方法主要有禁忌搜索算法、模拟退火算法、蚁群算法、粒子群算法等,上述算法主要采用元启发式算法,算法本身带有随机性,有时结果不可复现,具有不稳定性,且在计算机上运算时间较长,本发明提供了一种同顺序流水线车间调度问题的树搜索方法及装置,缩短了最大完工时间,且该算法为确定性算法,求解结果为确定稳定解,能够更好的解决同顺序流水车间的调度问题。The workshop scheduling problem means that the scheduled workpieces need to be processed on different machines. Each machine can only process one workpiece at the same time, and each workpiece can only be processed on one machine at the same time. The processing of workpieces is not allowed. Interrupted, the problem is to determine the processing sequence and time of the workpieces on the machine, so that the objective function is optimized. Shop scheduling problems widely exist in manufacturing and logistics systems. The main solutions include tabu search algorithm, simulated annealing algorithm, ant colony algorithm, particle swarm algorithm, etc. The above algorithms mainly use meta-heuristic algorithm, and the algorithm itself has randomness. Sometimes the results are not reproducible, have instability, and the computing time on the computer is long. The invention provides a tree search method and device for the same-sequence assembly line shop scheduling problem, which shortens the maximum completion time, and the algorithm is deterministic. The solution result is to determine the stable solution, which can better solve the scheduling problem of the same-sequence flow shop.

本发明一种实施例的同顺序流水线车间调度问题的树搜索方法,如图1所示,包括以下步骤:A tree search method for the same-sequence assembly line shop scheduling problem according to an embodiment of the present invention, as shown in FIG. 1 , includes the following steps:

步骤S101:采用启发式算法求解同顺序流水线车间调度的初始解,作为第一次搜索的当前结点;Step S101: use a heuristic algorithm to solve the initial solution of the same-sequence assembly line shop scheduling as the current node of the first search;

步骤S102:基于正向搜索方法得到当前结点的正向子结点,基于逆向搜索方法得到当前结点的逆向子结点,基于二叉搜索树的结构,利用得到的正向子结点、逆向子结点进行二叉搜索树新结点的插入;Step S102: obtain the forward child node of the current node based on the forward search method, obtain the reverse child node of the current node based on the reverse search method, and use the obtained forward child node, Reverse the child node to insert a new node of the binary search tree;

步骤S103:判断当前子结点有无祖结点,若当前子结点有祖结点,则执行步骤S104,否则分别以新生成的正向子结点、逆向子结点作为当前结点执行步骤S102;Step S103: determine whether the current child node has an ancestor node, if the current child node has an ancestor node, then execute step S104, otherwise use the newly generated forward child node and reverse child node as the current node to execute Step S102;

步骤S104:若当前结点的正向子结点、逆向子结点、祖结点不相等,则返回步骤S102,否则以三者的值为最优解,树搜索结束。Step S104: If the forward child node, reverse child node, and ancestor node of the current node are not equal, return to step S102; otherwise, take the value of the three as the optimal solution, and the tree search ends.

祖结点定义为当前子结点的上两级结点,以图3为例,二叉搜索树的根结点为l11,第一次搜索正向子结点为l21,逆向子结点为l22,第二次搜索分别以l21、l22为当前结点,得到l21的正向子结点l31,逆向子结点l32,得到l22的正向子结点l33,逆向子结点l34,第三次搜索分别以l31、l32、l33、l34为当前结点,得到的子结点l41、l42、l43、l44、l45、l46、l47、l48,如此二叉搜索树进行展开。其中,当以第二层l21为当前结点时,l21的正向子结点l31,逆向子结点l32,则祖结点为正向子结点l31,逆向子结点l32的上两级结点l11,则同顺序流水线车间调度问题的树搜索方法比较机制为正向子结点l31、逆向子结点l32、与l11三者两两比较,同理以第三层l34为当前结点时,l34的正向子结点为l47、逆向子结点为l48,此时祖结点为正向子结点为l47、逆向子结点为l48的上两级结点l22,则同顺序流水线车间调度问题的树搜索方法比较机制为正向子结点为l47、逆向子结点为l48、与l22三者两两比较。The ancestor node is defined as the upper two-level node of the current child node. Taking Figure 3 as an example, the root node of the binary search tree is l11, the first search forward child node is l21, and the reverse child node is l22, the second search takes l21 and l22 as the current nodes, respectively, to obtain the forward child node l31 of l21, the reverse child node l32, and obtain the forward child node l33 of l22, the reverse child node l34, the third The second search takes l31, l32, l33, and l34 as the current nodes, respectively, and the obtained child nodes l41, l42, l43, l44, l45, l46, l47, l48, and the binary search tree is expanded. Among them, when the second layer l21 is the current node, the forward child node l31 of l21 and the reverse child node l32, the ancestor node is the forward child node l31, and the upper two levels of the reverse child node l32 Node l11, the comparison mechanism of the tree search method for the same sequential assembly line shop scheduling problem is the comparison between the forward sub-node l31, the reverse sub-node l32, and l11. Similarly, the third layer l34 is the current node. At this time, the forward child node of l34 is l47 and the reverse child node is l48. At this time, the ancestor node is the forward child node l47 and the reverse child node is the upper two-level node l22 of l48, then the same order The comparison mechanism of the tree search method for the assembly shop scheduling problem is that the forward child node is l47, the reverse child node is l48, and the three are compared with l22.

本发明应用的启发式算法可以是NEH算法、禁忌搜索算法、模拟退火算法、蚁群算法、遗传算法、粒子群算法等,其优选方案是NEH算法,求解的初始解为同顺序流水线车间调度的最小的最大完工时间。The heuristic algorithm applied in the present invention can be NEH algorithm, tabu search algorithm, simulated annealing algorithm, ant colony algorithm, genetic algorithm, particle swarm algorithm, etc. The preferred solution is NEH algorithm, and the initial solution to be solved is the same-sequence assembly line shop scheduling. Minimum Maximum Completion Time.

为了便于对本实施例进行理解,下面对本发明实施例公开的同顺序流水线车间调度问题的树搜索方法进行详细介绍。In order to facilitate the understanding of this embodiment, the following describes the tree search method for the same-sequence assembly line shop scheduling problem disclosed in the embodiment of the present invention in detail.

步骤S201:依据同顺序流水线车间调度中的工件数n、机器数m和所有工件在每一个机器上加工所需的加工时间pi,j,i=1,2,...,m,j=1,2,...,n,采用NEH算法求解同顺序流水线车间调度的最小的最大完工时间,作为第一次搜索的当前结点。Step S201: According to the number of workpieces n, the number of machines m and the processing time p i,j ,i=1,2,...,m , j required for processing all workpieces on each machine in the same-sequence assembly line shop scheduling =1,2,...,n, the NEH algorithm is used to solve the minimum and maximum completion time of the shop scheduling in the same sequence, as the current node of the first search.

步骤S202:对当前结点进行正向搜索,即当前结点中每一个工件依次向后移动到所有可能的位置得到的(n-1)!个排列,在这些排列中进行寻优,得到正向子结点;对当前结点进行逆向搜索,即当前结点中每一个工件依次向前移动到所有可能的位置得到的(n-1)!个排列,在这些排列中进行寻优,得到逆向子结点;基于二叉搜索树的结构,利用得到的正向子结点、逆向子结点进行二叉搜索树新结点的插入。Step S202: Perform a forward search on the current node, that is, (n-1) obtained by moving each workpiece in the current node backwards to all possible positions in turn! Perform optimization in these arrangements to obtain forward child nodes; perform reverse search on the current node, that is, each workpiece in the current node moves forward to all possible positions in turn (n-1) ! According to the structure of the binary search tree, use the obtained forward child nodes and reverse child nodes to insert new nodes of the binary search tree.

步骤S203:判断当前子结点有无祖结点,若当前子结点有祖结点,则执行步骤S204,否则分别以新生成的正向子结点、逆向子结点作为当前结点执行步骤S202。Step S203: determine whether the current child node has an ancestor node, if the current child node has an ancestor node, then execute step S204, otherwise use the newly generated forward child node and reverse child node as the current node to execute Step S202.

步骤S204:将正向子结点、逆向子结点与祖结点,三者两两比较,如果至少有一对不相等,则返回步骤S202。如果三个解都相等则跳出循环,三者的值为最优解,树搜索结束。Step S204: Compare the forward child node, the reverse child node, and the ancestor node in pairs, and if at least one pair is not equal, return to step S202. If the three solutions are equal, the loop will be jumped out, the value of the three is the optimal solution, and the tree search will end.

本实施例中,步骤S202中正向子结点的生成方法为:In this embodiment, the generation method of the forward child node in step S202 is:

对当前结点中的每一工件j=1,2,...,n,依次从前向后移动到所有可能位置的排列组合。当j=1时,该工件向后有n-1个可能移动的位置,可以搜索n-1个排序;当j=2时,该工件向后有n-2个可能移动的位置,可以搜索n-2个排序;如此,当j=n-1时,该工件向后有1个位置,可以搜索1个排序;当j=n时,该工件向后没有位置,没有新排序。这种正向搜索可以搜索到(n-1)!个排列。计算所有排列中最小的最大完工时间,得到正向较优解。For each workpiece j=1,2,...,n in the current node, move to the permutation and combination of all possible positions sequentially from front to back. When j=1, the workpiece has n-1 possible moving positions backward, and n-1 sorting can be searched; when j=2, the workpiece has n - 2 possible moving positions backward, which can be searched n-2 sorts; in this way, when j=n-1, the workpiece has one position backward, and one sort can be searched; when j=n, the workpiece has no position backwards, and there is no new sorting. This forward search can search for (n-1)! an arrangement. Calculate the minimum maximum make-time among all permutations, and get a forward optimal solution.

该正向较优解与其父结点比较,若正向较优解小于或等于其父结点的值,则以正向较优解为本次搜索的正向子结点,否则以正向较优解的父结点为本次搜索的正向子结点。The forward optimal solution is compared with its parent node. If the forward optimal solution is less than or equal to the value of its parent node, the forward optimal solution is used as the positive child node of this search; The parent node of the better solution is the forward child node of this search.

本实施例中,步骤S202中逆向子结点的生成方法为:In this embodiment, the generation method of the reverse child node in step S202 is:

对当前结点中每一工件j=1,2,...,n,依次从后向前移动到所有可能位置的排列组合。当j=n时,该工件向前有n-1个位置,可以搜索n-1个排序;j=n-1时,该工件向前有n-2个位置,可以搜索n-2个排序;如此,当j=2时,该工件向前有1个位置,可以搜索1个排序;当j=1时,第一工件向前没有位置,没有新排序。这种逆向搜索可以搜索到(n-1)!个排列。计算所有排列中最小的最大加工时间,得到逆向较优解。For each workpiece j=1 , 2,...,n in the current node, move from back to front to the permutation and combination of all possible positions. When j=n, the workpiece has n- 1 positions forward, and n-1 sorts can be searched; when j=n-1, the workpiece has n-2 positions ahead, and n -2 sorts can be searched ; So, when j=2, the workpiece has 1 position forward, and can search for 1 sorting; when j=1, the first workpiece has no position forward, and there is no new sorting. This reverse search can search for (n-1)! an arrangement. Calculate the minimum and maximum processing time among all arrangements, and obtain the inverse optimal solution.

该逆向较优解与父结点比较,若逆向较优解小于或等于其父结点的值,则以逆向较优解为本次搜索的逆向子结点,否则以逆向较优解的父结点为本次搜索的逆向子结点。The reverse optimal solution is compared with the parent node. If the reverse optimal solution is less than or equal to the value of its parent node, the reverse optimal solution is used as the reverse child node of this search, otherwise the parent of the reverse optimal solution is used. The node is the reverse child node of this search.

综上所述,步骤S202通过正向搜索和逆向搜索,分别计算所有排列中最小的最大完工时间,再通过比较得到正向子结点和逆向子结点,即父结点的两个子结点,如此循环,二叉树搜索结构生成下去。To sum up, step S202 calculates the minimum and maximum completion time of all arrangements through forward search and reverse search, and then obtains the forward child node and reverse child node through comparison, that is, the two child nodes of the parent node. , and so on, the binary tree search structure is generated.

本实施例中,二叉树搜索终止条件是当前结点的正向子结点、逆向子结点、祖结点相等,具体为:比较逆向子结点,正向子结点,与祖结点,三者两两比较,如果三个解都相等则跳出循环,所得解为最优解,树搜索结束。In this embodiment, the binary tree search termination condition is that the forward child node, reverse child node, and ancestor node of the current node are equal, specifically: comparing the reverse child node, the forward child node, and the ancestor node, The three are compared in pairs, if the three solutions are equal, the loop will be jumped out, the obtained solution is the optimal solution, and the tree search is over.

为了便于对上述实施例提供的同顺序流水线车间调度问题的树搜索方法进行理解,本发明实施例提供了一种同顺序流水线车间调度问题的树搜索装置,该装置包括以下模块:In order to facilitate the understanding of the tree search method for the same-sequence assembly line shop scheduling problem provided by the above embodiments, an embodiment of the present invention provides a tree search device for the same-sequence assembly line shop scheduling problem, and the device includes the following modules:

启发式算法求解模块:用于利用启发式算法求解同顺序流水线车间调度的初始解,作为第一次搜索的当前结点;Heuristic algorithm solution module: It is used to solve the initial solution of the same-sequence assembly line shop scheduling by using the heuristic algorithm, as the current node of the first search;

正向搜索模块:用于基于正向搜索方法搜索当前结点的正向子结点;Forward search module: used to search forward child nodes of the current node based on the forward search method;

逆向搜索模块:用于基于逆向搜索方法搜索当前结点的逆向子结点;Reverse search module: used to search the reverse child node of the current node based on the reverse search method;

祖结点判断模块:用于判断当前结点有无祖结点;若当前结点无祖结点,则将所述正向子结点、所述逆向子结点转为当前结点移送到正向搜索模块和逆向搜索模块;若当前结点有祖结点则将所述正向子结点、所述逆向子结点移送到数据对比模块;Ancestor node judgment module: used to determine whether the current node has an ancestor node; if the current node has no ancestor node, the forward child node and the reverse child node are converted to the current node and transferred to Forward search module and reverse search module; if the current node has an ancestor node, then move the forward child node and the reverse child node to the data comparison module;

数据对比模块:用于将所述正向子结点、所述逆向子结点、与其祖结点,三者两两比较,如果至少有一对不相等,则将所述正向子结点、所述逆向子结点转为当前结点移送到正向搜索模块和逆向搜索模块,否则以三者的值为最优解,结束树搜索。Data comparison module: used to compare the forward child node, the reverse child node, and its ancestor nodes, and if at least one pair is not equal, compare the forward child node, The reverse child node is transferred to the current node and transferred to the forward search module and the reverse search module, otherwise the tree search is ended by taking the value of the three as the optimal solution.

具体实现时,上述启发式算法求解模块具体用于依据同顺序流水线车间调度中工件数n、加工工件所需的机器数m和所有工件在每一个机器上所需加工的时间pi,j,i=1,2,...,m,j=1,2,...,n,采用启发式算法求解同顺序流水线车间调度工件的最小的最大完工时间,作为第一次搜索的当前结点。In specific implementation, the above-mentioned heuristic algorithm solving module is specifically used for the number of workpieces n, the number of machines m required to process the workpieces, and the required processing time p i,j of all workpieces on each machine in the same-sequence assembly line shop scheduling, i=1,2,...,m,j=1,2,...,n, the heuristic algorithm is used to solve the minimum and maximum completion time of the scheduling workpiece in the same sequence assembly line, as the current result of the first search point.

启发式算法求解模块的输入端为数据提取单元。The input end of the heuristic algorithm solving module is the data extraction unit.

数据提取单元用于提取同顺序流水线车间调度中的工件数n、加工工件所需的机器数m和所有工件在每一个机器上所需加工的时间pi,j,i=1,2,...,m,j=1,2,...,n。The data extraction unit is used to extract the number of workpieces n, the number of machines required to process the workpieces, and the processing time p i,j , i=1,2,. ..,m , j=1,2,...,n.

上述启发式算法求解模块还包括启发式算法存储单元,用于存储预先编制的启发式算法,技术人员可以根据现实使用情况选取所要使用的启发式算法程序,并将该程序存储于启发式算法存储单元,在使用同顺序流水线车间调度问题的树搜索装置时,该算法程序可直接使用。The above-mentioned heuristic algorithm solving module also includes a heuristic algorithm storage unit, which is used to store the heuristic algorithm prepared in advance. The technical personnel can select the heuristic algorithm program to be used according to the actual use situation, and store the program in the heuristic algorithm storage unit. unit, the algorithm program can be used directly when using the tree search device for the same sequence assembly line shop scheduling problem.

进一步地,上述同顺序流水线车间调度问题的树搜索装置的正向搜索模块具体用于:Further, the forward search module of the tree search device for the above-mentioned same-sequence assembly line shop scheduling problem is specifically used for:

对当前结点中每一个工件依次从前向后移动到所有可能的位置,得到所有的排列组合,计算所有排列组合的最大完工时间,选出最小值作为正向较优解;Move each workpiece in the current node to all possible positions in turn from front to back, obtain all permutations, calculate the maximum completion time of all permutations and combinations, and select the minimum value as the forward optimal solution;

将所述正向较优解与其父结点比较,若所述正向较优解小于或等于其父结点,则以所述正向较优解为本次搜索的正向子结点,否则以所述正向较优解的父结点为本次搜索的正向子结点。Compare the forward optimal solution with its parent node, if the forward optimal solution is less than or equal to its parent node, then take the forward optimal solution as the forward child node of this search, Otherwise, the parent node of the forward optimal solution is the forward child node of this search.

上述同顺序流水线车间调度问题的树搜索装置的逆向搜索模块具体用于:The reverse search module of the tree search device for the above-mentioned same-sequence assembly line shop scheduling problem is specifically used for:

对当前结点中每一个工件依次从后向前移动到所有可能的位置,得到所有的排列组合,计算所有排列组合的最大完工时间,选出最小值作为逆向较优解;Move each workpiece in the current node to all possible positions from back to front in turn, get all permutations and combinations, calculate the maximum completion time of all permutations and combinations, and select the minimum value as the reverse optimal solution;

将所述逆向较优解与其父结点比较,若所述逆向较优解小于或等于其父结点,则以所述逆向较优解为本次搜索的逆向子结点,否则所述逆向较优解的父结点为本次搜索的逆向子结点。Compare the reverse optimal solution with its parent node, if the reverse optimal solution is less than or equal to its parent node, take the reverse optimal solution as the reverse child node of this search, otherwise the reverse optimal solution The parent node of the better solution is the reverse child node of this search.

同顺序流水线车间调度问题,如图2所示,是研究5个工件以相同顺序在4个机器上完成加工并求解出最小的最大完工时间(makespan)的调度优化问题的甘特图。其中,pi,j,i=1,2,3,4j,=1,2,...,表5示所有工件在每一个机器上所需加工的时间。The same-sequence assembly line shop scheduling problem, as shown in Figure 2, is a Gantt chart that studies the scheduling optimization problem in which 5 workpieces are processed on 4 machines in the same order and the minimum maximum makepan (makespan) is solved. Among them, pi, j, i = 1, 2, 3, 4j, = 1, 2, .

本发明的调度优化算法为树搜索方法,其基本二叉树搜索结构如图3所示,以启发式算法求解的结果为根结点,通过本发明的判断和比较机制,以正向搜索方法生长正向子结点,以逆向搜索方法生长逆向子结点,直到树搜索循环结束条件出现。为了验证本发明的有效性和可靠性,将本发明通过计算机软件模拟实现工件的调度,同顺序流水线车间调度中的工件数5和机器数4,所有工件在每一个机器上加工所需的加工时间,如表1所示。The scheduling optimization algorithm of the present invention is a tree search method, and its basic binary tree search structure is shown in Figure 3. The result of the heuristic algorithm is used as the root node. Through the judgment and comparison mechanism of the present invention, the forward search method is used to grow positive To the child node, the reverse child node is grown in the reverse search method until the end condition of the tree search loop occurs. In order to verify the validity and reliability of the present invention, the present invention is simulated by computer software to realize the scheduling of workpieces, the number of workpieces 5 and the number of machines in the same sequence assembly line workshop scheduling, all workpieces are processed on each machine. time, as shown in Table 1.

表1所有工件在每一个机器上加工所需的加工时间表Table 1 Machining schedule required for all workpieces to be machined on each machine

Figure BDA0001556375310000081
Figure BDA0001556375310000081

Figure BDA0001556375310000091
Figure BDA0001556375310000091

本发明同顺序流水线车间调度问题的树搜索方法在计算机上运行得到结果为24,与现有方法的25相比,最小的最大完工时间减少了4%,且结果稳定,能够为企业提高生产效率,其计算规模越大效果优势还会更加明显。The tree search method for the shop scheduling problem of the same sequence assembly line of the present invention is run on a computer to obtain a result of 24. Compared with 25 of the existing method, the minimum and maximum completion time is reduced by 4%, and the result is stable, which can improve the production efficiency for enterprises. , the larger the calculation scale, the more obvious the effect advantage will be.

本领域技术人员应该能够意识到,结合本文中所公开的实施例描述的各示例的方法步骤及装置,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明电子硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以电子硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art should be aware that the method steps and apparatuses of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two, in order to clearly illustrate the electronic hardware and software In the above description, the components and steps of each example have been generally described according to their functions. Whether these functions are performed in electronic hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods of implementing the described functionality for each particular application, but such implementations should not be considered beyond the scope of the present invention.

至此,已经结合附图所示的优选实施方式描述了本发明的技术方案,但是,本领域技术人员容易理解的是,本发明的保护范围显然不局限于这些具体实施方式。在不偏离本发明的原理的前提下,本领域技术人员可以对相关技术特征做出等同的更改或替换,这些更改或替换之后的技术方案都将落入本发明的保护范围之内。So far, the technical solutions of the present invention have been described with reference to the preferred embodiments shown in the accompanying drawings, however, those skilled in the art can easily understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.

Claims (6)

1.一种同顺序流水线车间调度问题的树搜索方法,其特征在于,包括以下步骤:1. a tree search method of the same sequence assembly line shop scheduling problem, is characterized in that, comprises the following steps: 步骤S1:采用启发式算法求解同顺序流水线车间调度的初始解,作为第一次搜索的当前结点;Step S1: use a heuristic algorithm to solve the initial solution of the same-sequence assembly line shop scheduling as the current node of the first search; 步骤S2:基于正向搜索方法得到当前结点的正向子结点,基于逆向搜索方法得到当前结点的逆向子结点,构建二叉搜索树;Step S2: obtain the forward child node of the current node based on the forward search method, obtain the reverse child node of the current node based on the reverse search method, and construct a binary search tree; 步骤S3:判断当前子结点有无祖结点,若当前子结点有祖结点,则执行步骤S4,否则分别以新生成的正向子结点、逆向子结点作为当前结点执行步骤S2;Step S3: Determine whether the current child node has an ancestor node, if the current child node has an ancestor node, then execute step S4, otherwise use the newly generated forward child node and reverse child node as the current node to execute step S2; 步骤S4:若当前结点的正向子结点、逆向子结点、祖结点不相等,则返回步骤S2,否则以三者的值为最优解,树搜索结束;Step S4: If the forward child node, reverse child node, and ancestor node of the current node are not equal, then return to step S2, otherwise the value of the three is the optimal solution, and the tree search ends; 所述祖结点为当前子结点的上两级结点;The ancestor node is the upper two-level node of the current child node; 所述步骤S1,具体为:依据同顺序流水线车间调度中工件数n、加工工件所需的机器数m和所有工件在每一个机器上所需加工的时间pi,j,i=1,2,...,m,j=1,2,...,n,采用启发式算法求解同顺序流水线车间调度工件的初始解,作为第一次搜索的当前结点;The step S1 is specifically: according to the number of workpieces n, the number of machines m required to process the workpieces, and the required processing time p i,j , i=1,2 ,...,m,j=1,2,...,n, the heuristic algorithm is used to solve the initial solution of the scheduling workpiece in the same sequence assembly line, as the current node of the first search; 所述正向搜索方法,具体为:对当前结点中每一个工件依次从前向后移动到所有可能的位置,得到(n-1)!个排列组合,计算所有排列组合中的最大完工时间,选出最小值作为正向较优解;The forward search method is specifically: move each workpiece in the current node to all possible positions sequentially from front to back, and obtain (n-1)! For each permutation and combination, calculate the maximum completion time of all permutations and combinations, and select the minimum value as the forward optimal solution; 将所述正向较优解与其父结点比较,若所述正向较优解小于或等于其父结点的值,则以所述正向较优解为本次搜索的正向子结点,否则以所述正向较优解的父结点为本次搜索的正向子结点;Compare the forward optimal solution with its parent node, if the forward optimal solution is less than or equal to the value of its parent node, take the forward optimal solution as the forward child node of this search. point, otherwise the parent node of the forward optimal solution is the forward child node of this search; 所述逆向搜索方法,具体为:对当前结点中每一个工件依次从后向前移动到所有可能的位置,得到(n-1)!个排列组合,计算所有排列组合中的最大完工时间,选出最小值作为逆向较优解;The reverse search method is specifically: move each workpiece in the current node to all possible positions sequentially from back to front, and obtain (n-1)! For each permutation and combination, calculate the maximum completion time of all permutations and combinations, and select the minimum value as the reverse optimal solution; 将所述逆向较优解与其父结点比较,若所述逆向较优解小于或等于其父结点的值,则以所述逆向较优解为本次搜索的逆向子结点,否则以所述逆向较优解的父结点为本次搜索的逆向子结点。Compare the reverse optimal solution with its parent node, if the reverse optimal solution is less than or equal to the value of its parent node, then take the reverse optimal solution as the reverse child node of this search, otherwise use The parent node of the reverse optimal solution is the reverse child node of this search. 2.根据权利要求1所述的同顺序流水线车间调度问题的树搜索方法,其特征在于,所述启发式算法为NEH算法。2 . The tree search method for the same-sequence assembly line shop scheduling problem according to claim 1 , wherein the heuristic algorithm is the NEH algorithm. 3 . 3.根据权利要求1所述的同顺序流水线车间调度问题的树搜索方法,其特征在于,所述初始解为同顺序流水线车间调度的最小的最大完工时间。3 . The tree search method for the same-sequence assembly line shop scheduling problem according to claim 1 , wherein the initial solution is the minimum maximum completion time of the same-sequence assembly line shop scheduling. 4 . 4.一种同顺序流水线车间调度问题的树搜索装置,其特征在于,4. a tree search device of the same sequence assembly line shop scheduling problem, is characterized in that, 启发式算法求解模块:用于利用启发式算法求解同顺序流水线车间调度的初始解,作为第一次搜索的当前结点;Heuristic algorithm solution module: It is used to solve the initial solution of the same-sequence assembly line shop scheduling by using the heuristic algorithm, as the current node of the first search; 正向搜索模块:用于基于正向搜索方法搜索当前结点的正向子结点;Forward search module: used to search forward child nodes of the current node based on the forward search method; 逆向搜索模块:用于基于逆向搜索方法搜索当前结点的逆向子结点;Reverse search module: used to search the reverse child node of the current node based on the reverse search method; 祖结点判断模块:用于判断当子前结点有无祖结点;若当前子结点无祖结点,则将所述正向子结点、所述逆向子结点转为当前结点移送到正向搜索模块和逆向搜索模块;若当前子结点有祖结点则将所述正向子结点、所述逆向子结点移送到数据对比模块;Ancestor node judgment module: used to determine whether the current child node has an ancestor node; if the current child node has no ancestor node, the forward child node and the reverse child node are converted to the current node. The point is moved to the forward search module and the reverse search module; if the current child node has an ancestor node, the forward child node and the reverse child node are moved to the data comparison module; 数据对比模块:用于将所述正向子结点、所述逆向子结点、与其祖结点,三者两两比较,如果至少有一对不相等,则将所述正向子结点、所述逆向子结点转为当前结点移送到正向搜索模块和逆向搜索模块,否则以三者的值为最优解,结束树搜索;Data comparison module: used to compare the forward child node, the reverse child node, and its ancestor nodes, and if at least one pair is not equal, compare the forward child node, The reverse child node is transferred to the current node and transferred to the forward search module and the reverse search module, otherwise the tree search is terminated with the value of the three as the optimal solution; 所述启发式算法求解模块具体用于依据同顺序流水线车间调度中工件数n、加工工件所需的机器数m和所有工件在每一个机器上所需加工的时间pi,j,i=1,2,...,m,j=1,2,..n.,,采用启发式算法求解同顺序流水线车间调度工件的初始解,作为第一次搜索的当前结点;The heuristic algorithm solving module is specifically used for the number of workpieces n, the number of machines m required to process the workpieces, and the required processing time p i,j , i=1 of all workpieces on each machine in the same-order assembly line shop scheduling ,2,...,m,j=1,2,..n.,, the heuristic algorithm is used to solve the initial solution of the scheduling workpiece of the same sequence assembly line, as the current node of the first search; 所述正向搜索模块具体用于:The forward search module is specifically used for: 对当前结点中每一个工件依次从前向后移动到所有可能的位置,得到所有的排列组合,计算所有排列组合的最大完工时间,选出最小值作为正向较优解;Move each workpiece in the current node to all possible positions in turn from front to back, obtain all permutations, calculate the maximum completion time of all permutations and combinations, and select the minimum value as the forward optimal solution; 将所述正向较优解与其父结点比较,若所述正向较优解小于或等于其父结点,则以所述正向较优解为本次搜索的正向子结点,否则以所述正向较优解的父结点为本次搜索的正向子结点;Compare the forward optimal solution with its parent node, if the forward optimal solution is less than or equal to its parent node, then take the forward optimal solution as the forward child node of this search, Otherwise, the parent node of the forward optimal solution is the forward child node of this search; 对当前结点中每一个工件依次从后向前移动到所有可能的位置,得到所有的排列组合,计算所有排列组合的最大完工时间,选出最小值作为逆向较优解;Move each workpiece in the current node to all possible positions from the back to the front in turn, get all the permutations, calculate the maximum completion time of all the permutations, and select the minimum value as the reverse optimal solution; 将所述逆向较优解与其父结点比较,若所述逆向较优解小于或等于其父结点,则以所述逆向较优解为本次搜索的逆向子结点,否则所述逆向较优解的父结点为本次搜索的逆向子结点。Compare the reverse optimal solution with its parent node, if the reverse optimal solution is less than or equal to its parent node, take the reverse optimal solution as the reverse child node of this search, otherwise the reverse optimal solution The parent node of the better solution is the reverse child node of this search. 5.根据权利要求4所述的同顺序流水线车间调度问题的树搜索装置,其特征在于,所述启发式算法求解模块的输入端为数据提取单元;5. the tree search device of the same sequence assembly line shop scheduling problem according to claim 4, is characterized in that, the input end of described heuristic algorithm solving module is data extraction unit; 所述数据提取单元用于提取同顺序流水线车间调度中的工件数n、加工工件所需的机器数m和所有工件在每一个机器上所需加工的时间pi,j,i=1,2,...,m,j=1,2,...,n。The data extraction unit is used to extract the number n of workpieces in the same-sequence line shop scheduling, the number m of machines required to process the workpieces, and the time p i,j , i=1,2 for all workpieces to be processed on each machine. ,...,m,j=1,2,...,n. 6.根据权利要求4所述的同顺序流水线车间调度问题的树搜索装置,其特征在于,所述启发式算法求解模块还包括启发式算法存储单元,用于存储预先编制的启发式算法。6 . The tree search device for the same-sequence assembly line shop scheduling problem according to claim 4 , wherein the heuristic algorithm solving module further comprises a heuristic algorithm storage unit, which is used for storing pre-compiled heuristic algorithms. 7 .
CN201810064713.2A 2018-01-23 2018-01-23 Tree search method and device for shop scheduling problem of same-sequence assembly line Active CN108446814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810064713.2A CN108446814B (en) 2018-01-23 2018-01-23 Tree search method and device for shop scheduling problem of same-sequence assembly line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810064713.2A CN108446814B (en) 2018-01-23 2018-01-23 Tree search method and device for shop scheduling problem of same-sequence assembly line

Publications (2)

Publication Number Publication Date
CN108446814A CN108446814A (en) 2018-08-24
CN108446814B true CN108446814B (en) 2020-12-01

Family

ID=63191217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810064713.2A Active CN108446814B (en) 2018-01-23 2018-01-23 Tree search method and device for shop scheduling problem of same-sequence assembly line

Country Status (1)

Country Link
CN (1) CN108446814B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109978357B (en) * 2019-03-15 2023-06-20 中国科学技术大学 A Missile Vehicle Scheduling Method Based on Estimation and Taking the Shortest Total Distance as Index
CN109978245B (en) * 2019-03-15 2023-06-20 中国科学技术大学 An estimation-based missile vehicle scheduling method with the shortest time as the index
CN110532439B (en) * 2019-08-30 2022-02-08 中国科学院自动化研究所 Same-order department decision flow generation method, system and device based on tree search
CN112613701B (en) * 2020-12-02 2023-03-03 红云红河烟草(集团)有限责任公司 Finished cigarette logistics scheduling method
CN114493025B (en) * 2022-02-08 2025-07-04 北京计算机技术及应用研究所 Production line layout optimization method based on line balance rate

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1659521A1 (en) * 2004-11-19 2006-05-24 Siemens Aktiengesellschaft A production scheduling method and system, related computer program product
CN103886375A (en) * 2014-04-17 2014-06-25 张黎明 Resource scheduling optimization method based on binary space partitioning tree
CN105652833A (en) * 2015-12-30 2016-06-08 南京理工大学 Bi-directional intelligent search-based manufacturing enterprise shop scheduling optimization method
CN105678623A (en) * 2014-11-17 2016-06-15 沈阳高精数控智能技术股份有限公司 Metaheuristic searching method for solving flexibility workshop job scheduling

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1659521A1 (en) * 2004-11-19 2006-05-24 Siemens Aktiengesellschaft A production scheduling method and system, related computer program product
CN103886375A (en) * 2014-04-17 2014-06-25 张黎明 Resource scheduling optimization method based on binary space partitioning tree
CN105678623A (en) * 2014-11-17 2016-06-15 沈阳高精数控智能技术股份有限公司 Metaheuristic searching method for solving flexibility workshop job scheduling
CN105652833A (en) * 2015-12-30 2016-06-08 南京理工大学 Bi-directional intelligent search-based manufacturing enterprise shop scheduling optimization method

Also Published As

Publication number Publication date
CN108446814A (en) 2018-08-24

Similar Documents

Publication Publication Date Title
CN108446814B (en) Tree search method and device for shop scheduling problem of same-sequence assembly line
Jung et al. A branch and bound algorithm for cyclic scheduling of timed Petri nets
CN104504154B (en) A kind of method and device of data aggregate inquiry
Qian et al. H-tree: An efficient index structurefor event matching in content-basedpublish/subscribe systems
CN104268295A (en) Data query method and device
CN103440246A (en) Intermediate result data sequencing method and system for MapReduce
CN108122055A (en) The resource regulating method and device of a kind of Flow Shop
Wang et al. Fast parallel subgraph matching on the gpu
CN102737134B (en) Query processing method being suitable for large-scale real-time data stream
CN110716522B (en) Manufacturing enterprise workshop scheduling optimization method based on arbitrary time A-heuristic search
Xu et al. An effective shuffled frog leaping algorithm for solving hybrid flow-shop scheduling problem
CN116468137A (en) An integrated optimization method for distributed process planning and workshop scheduling
CN110532439A (en) Same sequence department decision process generation method, system, device based on tree search
Xu et al. Study on improving multi-objective flexible job shop scheduling based on Memetic algorithm in the NSGA-II framework
Ghosh Allocating tools to index positions in tool magazines using tabu search
Xu et al. Solving hybrid flow-shop scheduling based on improved multi-objective artificial bee colony algorithm
Muhammad et al. Multi query optimization algorithm using semantic and heuristic approaches
Xu et al. A tabu-search algorithm for scheduling jobs with precedence constraints on parallel machines
CN110032664A (en) A method of quickly establishing the full node address index of bit coin block chain
Park et al. Ubiquitous software controller to prevent deadlocks for automated guided vehicle systems in a container port terminal environment
Huang et al. LiveIndex: A distributed online index system for temporal microblog data
Wu Dispatching Rules-Based Optimization of the No-Wait Flow Shop Scheduling Problem
CN107808214B (en) Heuristic binary decision diagram variable order optimization representation method of workshop manufacturing system
CN106411702B (en) Asynchronous message sending method and system based on figure computing engines
CN115563103B (en) Multi-dimensional aggregation method, system, electronic equipment and storage medium

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