CN115766494A - Multi-state network minimum path vector searching method based on feasible circulating flow - Google Patents
Multi-state network minimum path vector searching method based on feasible circulating flow Download PDFInfo
- Publication number
- CN115766494A CN115766494A CN202211070001.4A CN202211070001A CN115766494A CN 115766494 A CN115766494 A CN 115766494A CN 202211070001 A CN202211070001 A CN 202211070001A CN 115766494 A CN115766494 A CN 115766494A
- Authority
- CN
- China
- Prior art keywords
- network
- capacity
- vector
- search space
- edge
- 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
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000004422 calculation algorithm Methods 0.000 claims description 18
- 125000004122 cyclic group Chemical group 0.000 claims description 8
- 238000004064 recycling Methods 0.000 claims 1
- 238000000638 solvent extraction Methods 0.000 claims 1
- 238000011156 evaluation Methods 0.000 abstract description 3
- 238000004364 calculation method Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 4
- 238000000342 Monte Carlo simulation Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 238000000354 decomposition reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域technical field
本发明属于多状态网络可靠性评估领域,涉及一种基于可行循环流的多状态网络极小路向量搜索方法。The invention belongs to the field of multi-state network reliability evaluation, and relates to a multi-state network minimal path vector search method based on feasible circular flow.
背景技术Background technique
随着社会对各种技术网络的依赖日益加深,人们在现实生活中对可靠服务的需求日益增加。因此,作为现代技术网络性能评估的一种有用工具,可靠性分析被广泛应用于计算机网络、电力传输网络、生产制造网络、物流和供应链网络等现实网络中。在传统的可靠性分析中,二态网络模型已成功应用于分析网络性能。然而,由于假设网络组件只有两种状态:完全运行或完全失效,二态网络模型有其固有的局限性。近十年来,研究人员将二态网络模型扩展到多状态网络模型,以满足网络组件具有两级以上性能的实际需求。在此基础上,提出了几种不同类型的可靠性方法,如蒙特卡罗模拟法(MCS),通用生成函数(UGF)方法,多值决策图(MDD)方法,状态空间分解方法(SSD)和极小路向量(又称d-MP)方法。As society relies more and more on various technological networks, there is an increasing need for reliable services in real life. Therefore, as a useful tool for performance evaluation of modern technology networks, reliability analysis is widely used in real-world networks such as computer networks, power transmission networks, manufacturing networks, logistics and supply chain networks. In traditional reliability analysis, the two-state network model has been successfully applied to analyze network performance. However, two-state network models have inherent limitations due to the assumption that network components have only two states: fully operational or fully failed. In the past decade, researchers have extended the two-state network model to a multi-state network model to meet the practical needs of network components with more than two levels of performance. Based on this, several different types of reliability methods are proposed, such as Monte Carlo Simulation (MCS), Universal Generating Function (UGF) method, Multivalued Decision Diagram (MDD) method, State Space Decomposition method (SSD) and minimal path vector (aka d-MP) method.
度量多状态网络性能的一个重要指标是容量需求为d的两终端可靠性,用Rd表示,其定义为网络能够将d单位的流量从源点s输送到汇点t的概率。学者们提出了直接算法和间接算法来近似或精确地计算Rd值。直接算法首先找到一个网络容量不小于d的容量向量,然后利用该容量向量将整个容量向量空间划分为可接受集合和不可接受集合,最后,Rd等于所有可接受集合的概率之和。间接算法是一种两阶段算法。在第一阶段,算法首先求解所有的d-MP,在第二阶段,用容斥定理或不交和方法计算所有d-MP的联合概率,得到Rd的值。An important index to measure the performance of a multi-state network is the two-terminal reliability with a capacity requirement of d, denoted by Rd , which is defined as the probability that the network can transport d units of traffic from the source point s to the sink point t. Scholars have proposed direct and indirect algorithms to approximate or accurately calculate the Rd value. The direct algorithm first finds a capacity vector whose network capacity is not less than d, and then uses the capacity vector to divide the entire capacity vector space into acceptable sets and unacceptable sets. Finally, R d is equal to the sum of the probabilities of all acceptable sets. The indirect algorithm is a two-stage algorithm. In the first stage, the algorithm first solves all d-MPs. In the second stage, the joint probability of all d-MPs is calculated by the inclusion-exclusion theorem or the disjoint sum method to obtain the value of Rd .
现有方法主要利用隐式枚举法求解一个NP难的丢番图方程来寻找d-MP,存在计算效率不高的突出问题。因此,亟需一种能够提高寻找d-MP的方法。The existing methods mainly use the implicit enumeration method to solve an NP-hard Diophantine equation to find d-MP, which has the outstanding problem of low computational efficiency. Therefore, there is an urgent need for a method that can improve the search for d-MP.
发明内容Contents of the invention
有鉴于此,本发明的目的在于提供一种基于可行循环流的多状态网络极小路向量搜索方法,提高寻找d-MP的计算效率。In view of this, the object of the present invention is to provide a multi-state network minimal path vector search method based on feasible cyclic flow, so as to improve the calculation efficiency of finding d-MP.
为达到上述目的,本发明提供如下技术方案:To achieve the above object, the present invention provides the following technical solutions:
一种基于可行循环流的多状态网络极小路向量搜索方法,包括以下步骤:A multi-state network minimal path vector search method based on feasible cyclic flow, comprising the following steps:
S1:确定极小路向量d-MP的搜索空间X;S1: Determine the search space X of the minimal path vector d-MP;
S2:判定M(U)、M(L)与d的关系,其中,M(U)表示网络G在X的上界容量向量U下的最大流量,M(L)表示网络G在X的下界容量向量L下的最大流量,d表示容量需求;S2: Determine the relationship between M(U), M(L) and d, where M(U) represents the maximum flow of network G under the upper bound capacity vector U of X, and M(L) represents the lower bound of network G under X The maximum flow rate under the capacity vector L, d represents the capacity demand;
S3:通过求解循环流问题寻找d-MP;S3: Find d-MP by solving the circular flow problem;
S4:将搜索空间分解成若干个不相交的子集;S4: Decompose the search space into several disjoint subsets;
S5:在分解后的子集中继续进行搜索。S5: Continue searching in the decomposed subset.
进一步,步骤S1具体包括:设网络G的最大容量向量为W=(W1,W2,…,Wm),其中Wi表示边ei的最大容量,1≤i≤m,m表示边的总数量;令Li=max{d-M(W(0i)),0}(1≤i≤m)为边ei的下界容量,其中W(0i)是将W的第i个分量设置为0时得到的容量向量,M(W(0i))表示网络G在W(0i)下的最大流量;令Ui=min{Wi,d}(1≤i≤m)为边ei的上界容量,则d-MP的搜索空间为X={x=(x1,x2,…,xm)|Li≤xi≤Ui,1≤i≤m}={x|L≤x≤U}=[L,U],其中,L=(L1,L2,…,Lm)为X的下界容量向量,U=(U1,U2,…,Um)为X的上界容量向量,xi为边ei的容量,x为容量向量。Further, step S1 specifically includes: Let the maximum capacity vector of the network G be W=(W 1 ,W 2 ,...,W m ), where W i represents the maximum capacity of edge e i , 1≤i≤m, and m represents the edge The total number of ; let L i =max{dM(W(0 i )),0}(1≤i≤m) be the lower bound capacity of edge e i , where W(0 i ) is the ith component of W The capacity vector obtained when it is set to 0, M(W(0 i )) represents the maximum flow of network G under W(0 i ); Let U i =min{W i ,d}(1≤i≤m) as The upper bound capacity of edge e i , then the search space of d-MP is X={x=(x 1 ,x 2 ,…,x m )|L i ≤xi ≤U i , 1≤i≤m}= {x|L≤x≤U}=[L,U], where L=(L 1 ,L 2 ,…,L m ) is the lower bound capacity vector of X, U=(U 1 ,U 2 ,…, U m ) is the upper bound capacity vector of X, x i is the capacity of edge e i , and x is the capacity vector.
进一步,步骤S2具体包括:如果M(U)<d,搜索空间X中不存在极小路向量d-MP,算法停止;如果M(L)=d,根据d-MP的定义,如果对于L的第i个分量大于0的所有i满足M(L-0(ei))<d,则L是d-MP,其中0(ei)是单位向量,即0(ei)的第i个分量为1,其他分量都为0,M(L-0(ei))表示网络G在L-0(ei)下的最大流量,算法停止;否则进行步骤S3。Further, step S2 specifically includes: if M(U)<d, there is no minimal path vector d-MP in the search space X, and the algorithm stops; if M(L)=d, according to the definition of d-MP, if for L All i whose i-th component is greater than 0 satisfy M(L-0(e i ))<d, then L is d-MP, where 0(e i ) is a unit vector, that is, the i-th of 0(e i ) Each component is 1, and the other components are all 0. M(L-0(e i )) represents the maximum flow of network G under L-0(e i ), and the algorithm stops; otherwise, go to step S3.
进一步,步骤S3具体包括:在初始网络G中添加一条从汇点t指向源点s的新边em+1,得到一个新网络G*,令边em+1的容量为固定值d,即em+1的下界容量Lm+1和上界容量Um+1都等于d,其他边的下界容量和上界容量保持不变;利用最大流算法在新网络G*中求解循环流问题,如果不存在可行循环流,则搜索空间X中不存在d-MP,算法停止;否则,假设Fd=(f1 d,f2 d,…,fm d,fm+1 d)是求得的可行循环流,如果(f1 d,f2 d,…,fm d)不包含有向圈,则(f1 d,f2 d,…,fm d)是一个d-MP。Further, step S3 specifically includes: adding a new edge em +1 from the sink point t to the source point s in the initial network G to obtain a new network G*, let the capacity of the edge em+1 be a fixed value d, That is, the lower bound capacity L m +1 and upper bound capacity U m+1 of e m+1 are both equal to d, and the lower bound capacity and upper bound capacity of other sides remain unchanged; use the maximum flow algorithm to solve the circular flow in the new network G* Problem, if there is no feasible cycle flow, then there is no d-MP in the search space X, and the algorithm stops; otherwise, suppose F d =(f 1 d ,f 2 d ,…,f m d ,f m+1 d ) is the obtained feasible circulation flow, if (f 1 d ,f 2 d ,…,f m d ) does not contain a directed cycle, then (f 1 d ,f 2 d ,…,f m d ) is a d- MP.
进一步,步骤S4具体包括:令[Li,Ui]为边ei的容量集合,即[Li,Ui]={xi|Li≤xi≤Ui},因此,搜索空间X=[L,U]可记为[L1,U1]×[L2,U2]×…×[Lm,Um];令Ed={ei|Li<fi d,1≤i≤m},对于每个ei∈Ed,集合[Li,Ui]可以被fi d划分为两个不相交的子集:[Li,fi d-1]和[fi d,Ui],即[Li,Ui]=[Li,fi d-1]∪[fi d,Ui],[Li,fi d-1]∩[fi d,Ui]=Φ;令X被分解为q+1个不相交的子集:Further, step S4 specifically includes: let [L i , U i ] be the capacity set of edge e i , that is, [L i , U i ]={ xi |L i ≤xi ≤U i }, therefore, the search space X=[L,U] can be recorded as [L 1 ,U 1 ]×[L 2 ,U 2 ]×…×[L m ,U m ]; let E d ={e i |L i <f i d ,1≤i≤m}, for each e i ∈ E d , the set [L i ,U i ] can be divided into two disjoint subsets by f i d : [L i ,f i d-1 ] And [f i d , U i ], namely [L i , U i ]=[L i ,f i d-1 ]∪[f i d ,U i ], [L i ,f i d-1 ]∩ [f i d ,U i ]=Φ; let X is decomposed into q+1 disjoint subsets:
进一步,步骤S5具体包括:将步骤S4中得到的每个子集X(k)(1≤k≤q)当作新的搜索空间,依次转向步骤S2继续求解,直到所有的子集都搜索完毕。Further, step S5 specifically includes: taking each subset X (k) (1≤k≤q) obtained in step S4 as a new search space, turning to step S2 to continue solving until all subsets are searched.
本发明的有益效果在于:与现有方法相比,本发明不需要知道网络所有极小路,不需要借助于隐式枚举法,不需要求解丢番图方程,也不会产生重复d-MP,且能提高寻找d-MP的计算效率。The beneficial effect of the present invention is that: compared with the existing method, the present invention does not need to know all the minimal paths of the network, does not need to resort to the implicit enumeration method, does not need to solve the Diophantine equation, and does not generate repeated d- MP, and can improve the computational efficiency of finding d-MP.
本发明的其他优点、目标和特征在某种程度上将在随后的说明书中进行阐述,并且在某种程度上,基于对下文的考察研究对本领域技术人员而言将是显而易见的,或者可以从本发明的实践中得到教导。本发明的目标和其他优点可以通过下面的说明书来实现和获得。Other advantages, objects and features of the present invention will be set forth in the following description to some extent, and to some extent, will be obvious to those skilled in the art based on the investigation and research below, or can be obtained from It is taught in the practice of the present invention. The objects and other advantages of the invention may be realized and attained by the following specification.
附图说明Description of drawings
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作优选的详细描述,其中:In order to make the purpose of the present invention, technical solutions and advantages clearer, the present invention will be described in detail below in conjunction with the accompanying drawings, wherein:
图1为本发明基于可行循环流的多状态网络极小路向量搜索方法流程图;Fig. 1 is the flow chart of the multi-state network minimal path vector search method based on the feasible cyclic flow of the present invention;
图2为本发明实施例中网络G的网络图;Fig. 2 is the network diagram of network G in the embodiment of the present invention;
图3为本发明实施例中新网络G*的网络图。Fig. 3 is a network diagram of the new network G * in the embodiment of the present invention.
具体实施方式Detailed ways
以下通过特定的具体实例说明本发明的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地了解本发明的其他优点与功效。本发明还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本发明的精神下进行各种修饰或改变。需要说明的是,以下实施例中所提供的图示仅以示意方式说明本发明的基本构想,在不冲突的情况下,以下实施例及实施例中的特征可以相互组合。Embodiments of the present invention are described below through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific implementation modes, and various modifications or changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the diagrams provided in the following embodiments are only schematically illustrating the basic concept of the present invention, and the following embodiments and the features in the embodiments can be combined with each other in the case of no conflict.
请参阅图1~图2,本发明提供一种基于可行循环流的多状态网络极小路向量搜索方法,如图1所示,具体包括以下步骤:Please refer to Figures 1 to 2, the present invention provides a multi-state network minimal path vector search method based on feasible cyclic flow, as shown in Figure 1, which specifically includes the following steps:
1)确定d-MP的搜索空间:1) Determine the search space of d-MP:
给定网络G的最大容量向量W=(W1,W2,…,Wm),其中Wi表示边ei的最大容量,令Li=max{d-M(W(0i)),0}(1≤i≤m)为边ei的下界容量,其中W(0i)是将W的第i个分量设置为0时得到的容量向量,M(W(0i))表示网络在W(0i)下的最大流量,令Ui=min{Wi,d}(1≤i≤m)为边ei的上界容量,对于d-MP x=(x1,x2,…,xm)来说,Li≤xi≤Ui(1≤i≤m)都是成立的,因此,d-MP的搜索空间为X={x=(x1,x2,…,xm)|Li≤xi≤Ui,1≤i≤m}={x|L≤x≤U}=[L,U],其中,L=(L1,L2,…,Lm)称为X的下界容量向量,U=(U1,U2,…,Um)称为X的上界容量向量。Given the maximum capacity vector W=(W 1 ,W 2 ,…,W m ) of the network G, where W i represents the maximum capacity of edge e i , let L i =max{dM(W(0 i )),0 }(1≤i≤m) is the lower bound capacity of edge e i , where W(0 i ) is the capacity vector obtained when the i-th component of W is set to 0, and M(W(0 i )) indicates that the network is The maximum flow rate under W(0 i ), let U i =min{W i ,d}(1≤i≤m) be the upper bound capacity of edge e i , for d-MP x=(x 1 ,x 2 , …, x m ), L i ≤ x i ≤ U i (1≤i≤m) is established, therefore, the search space of d-MP is X={x=(x 1 ,x 2 ,… ,x m )|L i ≤x i ≤U i , 1≤i≤m}={x|L≤x≤U}=[L,U], where L=(L 1 ,L 2 ,…, L m ) is called the lower bound capacity vector of X, and U=(U 1 , U 2 ,..., U m ) is called the upper bound capacity vector of X.
2)判定M(U)、M(L)与d的关系:2) Determine the relationship between M(U), M(L) and d:
搜索空间X={x|L≤x≤U}=[L,U],也称L=(L1,L2,…,Lm)为X的最小容量向量,U=(U1,U2,…,Um)为X的最大容量向量。Search space X={x|L≤x≤U}=[L,U], also called L=(L 1 ,L 2 ,…,L m ) is the minimum capacity vector of X, U=(U 1 ,U 2 ,…,U m ) is the maximum capacity vector of X.
如果M(U)<d,则对于任意x∈X,M(x)≤M(U)<d成立,即通过定义可知X不包含d-MP,则不再讨论X,算法停止。If M(U)<d, then for any x∈X, M(x)≤M(U)<d holds true, that is, by definition, X does not contain d-MP, then X is no longer discussed, and the algorithm stops.
如果M(L)=d,则对于任意x>L,M(x)≥M(L)=d;与此同时,对于任意x∈X,M(x)≤d,那么M(x)=M(L)=d适用于任何x>L。在这种情况下,对于任何x>L,x都不是d-MP,因为至少存在一条边ei满足M(x-0(ei))=M(L)=d,这与d-MP的定义相矛盾。所以只需要验证向量L,根据d-MP的定义,如果M(L-0(ei))<d,则L是d-MP,其中0(ei)是单位向量,即0(ei)的第i个分量为1,其他分量都为0,算法停止。否则,进行下一步骤。If M(L)=d, then for any x>L, M(x)≥M(L)=d; meanwhile, for any x∈X, M(x)≤d, then M(x)= M(L)=d for any x>L. In this case, for any x>L, x is not d-MP because there exists at least one edge e i such that M(x-0(e i ))=M(L)=d, which is the same as d-MP definitions are contradictory. So you only need to verify the vector L. According to the definition of d-MP, if M(L-0(e i ))<d, then L is d-MP, where 0(e i ) is the unit vector, that is, 0(e i )'s i-th component is 1, other components are 0, and the algorithm stops. Otherwise, proceed to the next step.
3)通过求解循环流问题寻找d-MP:3) Find d-MP by solving the circular flow problem:
在初始网络G中添加一条从汇点t指向源点s的新边em+1,得到新的网络G*,令边em+1的容量为固定值d,即em+1的下界容量Lm+1和上界容量Um+1都等于d,其他边的下界容量和上界容量保持不变。网络G*中的可行循环流问题就是寻找一个满足下述条件的可行流向量x=(x1,x2,…,xm,xm+1):Add a new edge em+1 from the sink point t to the source point s in the initial network G to obtain a new network G*, let the capacity of the edge em+1 be a fixed value d, which is the lower bound of em+1 The capacity L m+1 and the upper bound capacity U m+1 are both equal to d, and the lower bound capacity and upper bound capacity of other sides remain unchanged. The problem of feasible cyclic flow in network G* is to find a feasible flow vector x=(x 1 ,x 2 ,…,x m ,x m+1 ) that satisfies the following conditions:
Li≤xi≤Ui,ei∈E∪{em+1}L i ≤ x i ≤ U i , e i ∈ E∪{e m+1 }
其中,V是网络G中点的集合,E是网络G中边的集合,Out(v)代表从点v发出的所有边的集合,In(v)代表指向点v的所有边的集合。Among them, V is the set of nodes in network G, E is the set of edges in network G, Out(v) represents the set of all edges originating from point v, and In(v) represents the set of all edges pointing to point v.
利用最大流算法在G*中寻找可行循环流,如果不存在可行循环流,则X中不存在d-MP,算法停止;否则,假设Fd=(f1 d,f2 d,…,fm d,fm+1 d)是求得的可行循环流,如果(f1 d,f2 d,…,fm d)不包含有向圈,则(f1 d,f2 d,…,fm d)是一个d-MP。Use the maximum flow algorithm to find a feasible cycle flow in G*, if there is no feasible cycle flow, then there is no d-MP in X, and the algorithm stops; otherwise, suppose F d =(f 1 d ,f 2 d ,…,f m d ,f m+1 d ) is the obtained feasible circulation flow, if (f 1 d ,f 2 d ,…,f m d ) does not contain a directed cycle, then (f 1 d ,f 2 d ,… , f m d ) is a d-MP.
4)将搜索空间分解成若干个不相交的子集:4) Decompose the search space into several disjoint subsets:
令[Li,Ui]为边ei的容量集合,即[Li,Ui]={xi|Li≤xi≤Ui},因此,集合X=[L,U]可记为[L1,U1]×[L2,U2]×…×[Lm,Um]。因为d-流(f1 d,f2 d,…,fm d)来自于集合X=[L,U],对于1≤i≤m,Li≤fi d≤Ui成立;更进一步说,令Ed={Ei|Li<fi d,1≤i≤m},并且Ed不是空集(如果Ed是空集,则对于1≤i≤m,Li=fi d成立,即L是一个d-流,这不符合条件M(L)<d)。对于每个ei∈Ed,集合[Li,Ui]可以被fi d划分为两个不相交的子集:[Li,fi d-1]和[fi d,Ui],即[Li,Ui]=[Li,fi d-1]∪[fi d,Ui],[Li,fi d-1]∩[fi d,Ui]=Φ。令集合X可以划分为q+1个不相交的子集,具体过程如下:Let [L i , U i ] be the capacity set of edge e i , that is, [L i , U i ]={ xi |L i ≤xi ≤U i }, therefore, the set X=[L,U] can be It is recorded as [L 1 , U 1 ]×[L 2 ,U 2 ]×…×[L m ,U m ]. Since the d-flow (f 1 d ,f 2 d ,...,f m d ) comes from the set X=[L,U], for 1≤i≤m, L i ≤f i d ≤U i holds; further Say, let E d ={E i |L i <f i d ,1≤i≤m}, and E d is not an empty set (if E d is an empty set, then for 1≤i≤m, L i =f i d holds true, that is, L is a d-flow, which does not satisfy the condition M(L)<d). For each e i ∈ E d , the set [L i , U i ] can be divided by f i d into two disjoint subsets: [L i , f i d-1 ] and [f i d , U i ], namely [L i , U i ]=[L i ,f i d-1 ]∪[f i d ,U i ], [L i ,f i d-1 ]∩[f i d ,U i ] = Φ. make The set X can be divided into q+1 disjoint subsets, the specific process is as follows:
其中, in,
子集X(1),X(2),…,X(q),X(q+1)是不相交的。The subsets X (1) , X (2) , ..., X (q) , X (q+1) are disjoint.
5)在分解后的子集中继续进行搜索:5) Continue searching in the decomposed subset:
将步骤4)中得到的每个子集X(k)(1≤k≤q)当作新的搜索空间,依次转向步骤2)继续求解,直到所有的子集都搜索完毕。Take each subset X (k) (1≤k≤q) obtained in step 4) as a new search space, turn to step 2) and continue to solve until all subsets are searched.
下面结合具体实施例对本发明作详细说明:The present invention is described in detail below in conjunction with specific embodiment:
一个具体的实施例如图2所示,将一个配送网络抽象化后得到图2中的网络G。该网络共包含4个节点和5条运输边,其中节点s代表源点,t代表汇点,节点1、2代表转运地。图2给出了网络中每条边的最大容量,由图2可知最大容量向量W=(3,2,2,1,2)。A specific embodiment is shown in FIG. 2 . A distribution network is abstracted to obtain the network G in FIG. 2 . The network consists of 4 nodes and 5 transport edges, where node s represents the source point, t represents the sink point, and
下面用本发明的方法计算该运输网络的所有多态极小路,假设需求水平d=3。Next, use the method of the present invention to calculate all polymorphic minimal roads in the transportation network, assuming that the demand level d=3.
按照本发明的方法步骤,求解过程如下:According to the method steps of the present invention, the solution process is as follows:
1)确定3-MP的搜索空间:1) Determine the search space of 3-MP:
对于边e1,W(01)=(0,2,2,1,2),那么由最大流算法,可以得到M(W(01))=2。因此,L1=max{3-M(W(01)),0}=max{3-2,0}=1。同样地,计算得到L2=0,L3=1,L4=0,L5=1。当1≤i≤5时,Ui=min{Wi,3}=Wi。因此,3-MP的搜索空间为X={x=(x1,x2,…,xm)|1≤x1≤3,0≤x2≤2,1≤x3≤2,0≤x4≤1,1≤x5≤2}={x|L≤x≤U}=[L,U],其中,L=(1,0,1,0,1)为X的下界容量向量,U=(3,2,2,1,2)为X的上界容量向量。For edge e 1 , W(0 1 )=(0,2,2,1,2), then by the maximum flow algorithm, M(W(0 1 ))=2 can be obtained. Therefore, L 1 =max{3-M(W(0 1 )), 0}=max{3-2,0}=1. Similarly, L 2 =0, L 3 =1, L 4 =0, L 5 =1 are calculated. When 1≤i≤5, U i =min{W i ,3}=W i . Therefore, the search space of 3-MP is X={x=(x 1 ,x 2 ,…,x m )|1≤x 1 ≤3,0≤x 2 ≤2,1≤x 3 ≤2,0≤ x 4 ≤1,1≤x 5 ≤2}={x|L≤x≤U}=[L,U], where L=(1,0,1,0,1) is the lower bound capacity vector of X , U=(3,2,2,1,2) is the upper bound capacity vector of X.
2)判定M(U)、M(L)与3的关系:2) Determine the relationship between M(U), M(L) and 3:
X=[L,U]=[(1,0,1,0,1),(3,2,2,1,2)],其中L=(1,0,1,0,1),U=(3,2,2,1,2)]。X=[L,U]=[(1,0,1,0,1),(3,2,2,1,2)], where L=(1,0,1,0,1),U =(3,2,2,1,2)].
M(U)=4>3,M(U)=4>3,
M(L)=1<3。M(L)=1<3.
3)通过求解循环流问题寻找3-MP:3) Find 3-MP by solving the circular flow problem:
在初始网络G中添加一条从汇点t指向源点s的新边e6,得到新的网络G*,网络G*如图3所示,令边e6的容量为固定值3,即em+1的下界容量L6和上界容量U6都等于3,其他边的下界容量和上界容量保持X中的值不变。Add a new edge e 6 from the sink point t to the source point s in the initial network G to obtain a new network G*, as shown in Figure 3, let the capacity of the edge e 6 be a fixed value 3, that is, e Both the lower bound capacity L 6 and the upper bound capacity U 6 of m+1 are equal to 3, and the lower bound capacity and upper bound capacity of other sides keep the values in X unchanged.
利用最大流算法在网络G*中寻找可行循环流,求得一个可行循环流(2,1,1,1,2,3),因为(2,1,1,1,2)不包含有向圈,所以(2,1,1,1,2)是3-MP。Use the maximum flow algorithm to find a feasible cyclic flow in the network G*, and obtain a feasible cyclic flow (2,1,1,1,2,3), because (2,1,1,1,2) does not contain a directed circle, so (2,1,1,1,2) is 3-MP.
4)将搜索空间分解成若干个不相交的子集:4) Decompose the search space into several disjoint subsets:
Ed={e1,e2,e4,e5},搜索空间X被分解为5个不相交的子集:X(1)=[(1,0,1,0,1),(1,2,2,1,2)],X(2)=[(2,0,1,0,1),(3,0,2,1,2)],X(3)=[(2,1,1,0,1),(3,2,2,0,2)],X(4)=[(2,1,1,1,1),(3,2,2,1,1)],X(5)=[(2,1,1,1,2),(3,2,2,1,2)]。E d = {e 1 , e 2 , e 4 , e 5 }, the search space X is decomposed into 5 disjoint subsets: X (1) = [(1,0,1,0,1),( 1,2,2,1,2)], X (2) = [(2,0,1,0,1), (3,0,2,1,2)], X (3) = [( 2,1,1,0,1),(3,2,2,0,2)], X (4) = [(2,1,1,1,1),(3,2,2,1 ,1)], X (5) = [(2,1,1,1,2),(3,2,2,1,2)].
5)在分解后的子集中继续进行搜索:5) Continue searching in the decomposed subset:
将子集X(1),X(2),X(3),X(4)分别当作新的搜索空间,依次转向步骤2)继续求解,直到所有的子集都搜索完毕。最后得到4个3-MP:(2,1,1,1,2),(1,2,1,0,2),(2,1,2,0,1)和(3,0,2,1,1)。Take the subsets X (1) , X (2) , X (3) and X (4) as new search spaces respectively, turn to step 2) and continue to solve until all the subsets are searched. You end up with 4 3-MPs: (2,1,1,1,2), (1,2,1,0,2), (2,1,2,0,1) and (3,0,2 ,1,1).
最后说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本技术方案的宗旨和范围,其均应涵盖在本发明的权利要求范围当中。Finally, it is noted that the above embodiments are only used to illustrate the technical solutions of the present invention without limitation. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be carried out Modifications or equivalent replacements, without departing from the spirit and scope of the technical solution, should be included in the scope of the claims of the present invention.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211070001.4A CN115766494B (en) | 2022-08-29 | 2022-08-29 | Multi-state network minimum path vector searching method based on feasible circulation flow |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211070001.4A CN115766494B (en) | 2022-08-29 | 2022-08-29 | Multi-state network minimum path vector searching method based on feasible circulation flow |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115766494A true CN115766494A (en) | 2023-03-07 |
CN115766494B CN115766494B (en) | 2024-10-29 |
Family
ID=85349549
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211070001.4A Active CN115766494B (en) | 2022-08-29 | 2022-08-29 | Multi-state network minimum path vector searching method based on feasible circulation flow |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115766494B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102694395A (en) * | 2012-05-29 | 2012-09-26 | 河南理工大学 | Method for evaluating reliability of two terminals of power transmission network |
US20170063694A1 (en) * | 2015-08-25 | 2017-03-02 | National Tsing Hua University | Reliability evaluating method for multi-state flow network with learning effect and non-transitory storage device thereof |
CN111726254A (en) * | 2020-06-22 | 2020-09-29 | 中国人民解放军国防科技大学 | A Multistate Network Minimum Wayset Vector Repeated Search Algorithm for All Requirements |
CN113159686A (en) * | 2021-04-27 | 2021-07-23 | 重庆邮电大学 | Cold chain distribution network reliability assessment method considering transportation loss and distribution cost |
-
2022
- 2022-08-29 CN CN202211070001.4A patent/CN115766494B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102694395A (en) * | 2012-05-29 | 2012-09-26 | 河南理工大学 | Method for evaluating reliability of two terminals of power transmission network |
US20170063694A1 (en) * | 2015-08-25 | 2017-03-02 | National Tsing Hua University | Reliability evaluating method for multi-state flow network with learning effect and non-transitory storage device thereof |
CN111726254A (en) * | 2020-06-22 | 2020-09-29 | 中国人民解放军国防科技大学 | A Multistate Network Minimum Wayset Vector Repeated Search Algorithm for All Requirements |
CN113159686A (en) * | 2021-04-27 | 2021-07-23 | 重庆邮电大学 | Cold chain distribution network reliability assessment method considering transportation loss and distribution cost |
Non-Patent Citations (1)
Title |
---|
牛义锋: ""多态网络系统可靠性评估方法研究"", 博士电子期刊, 15 September 2017 (2017-09-15), pages 25 - 30 * |
Also Published As
Publication number | Publication date |
---|---|
CN115766494B (en) | 2024-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Wang et al. | Reinforcement learning based query vertex ordering model for subgraph matching | |
CN109193756A (en) | A scenario decoupling dynamic economic dispatch model solution method for wind power access system | |
Wang et al. | Fast gunrock subgraph matching (gsm) on gpus | |
CN114741457A (en) | Data missing value filling method based on function dependence and clustering | |
CN119179580B (en) | A data node adaptive optimization method based on causal reasoning and prototype learning | |
CN115766494A (en) | Multi-state network minimum path vector searching method based on feasible circulating flow | |
CN118264368A (en) | Multiple-input multiple-output MIMO detection method, device, medium and program product | |
CN111464400A (en) | Double-end multi-state network reliability evaluation method based on state space decomposition | |
CN118276072A (en) | Radar multi-hypothesis tracking method and device based on graph segmentation | |
Fu et al. | Complexity vs. optimality: Unraveling source-destination connection in uncertain graphs | |
Dong et al. | Decision diagram based symbolic algorithm for evaluating the reliability of a multistate flow network | |
Chan et al. | Agglomerative info-clustering | |
CN108829695A (en) | Flexible polymer K-NN search G-max method on road network | |
Leng et al. | An effective multi-level algorithm based on ant colony optimization for bisecting graph | |
Blokhin et al. | On maximum ratio clique relaxations | |
Zhao et al. | A survey on reliability evaluation of stochastic-flow networks in terms of minimal paths | |
CN116389284B (en) | Dependency graph-based transmission cost optimization method in distributed quantum computing | |
Liu et al. | Research of the Service Composition Optimization Model Based on Petri Net | |
Kalimulina | Lattice structure of some closed classes for three-valued logic and its applications. Mathematics 2022; 10 | |
Weber et al. | Dynamic complexity theory revisited | |
CN113609444A (en) | Method for solving direct current power flow equation under imperfect phase estimation | |
CN113722332B (en) | Method and system for improving efficiency and robustness of matching algorithm based on data structure | |
Jin et al. | Eliminating error accumulation in hierarchical clustering algorithms | |
Wei et al. | A novel match point mapping algorithm based on dominant point for large-scale mlcs problem | |
CN115391070A (en) | Random flow network reliability evaluation method considering flow loss |
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 |