Minimal path vector search method for multi-state networks based on feasible cyclic flow

Through the method based on feasible circular flow, the problem of low calculation efficiency of minimal path vectors in multi-state networks is solved, an efficient search process is achieved, implicit enumeration and the solution of Diophantine equations are avoided, and the calculation efficiency is significantly improved. .

CN115766494BActive Publication Date: 2024-10-29CHONGQING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211070001.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-29
Publication Date
2024-10-29
Estimated Expiration
2042-08-29

AI Technical Summary

Technical Problem

Existing methods have low computational efficiency when searching for minimal path vectors in multi-state networks. This is mainly due to the need for implicit enumeration methods and the need to solve NP-hard Diophantine equations, resulting in low efficiency and repeated results.

Method used

A multi-state network minimum path vector search method based on feasible circular flow is adopted to find the minimum path vector by determining the search space, determining the maximum and minimum flow relationship, solving the circular flow problem and decomposing the search space, avoiding implicit enumeration and Solution of Diophantine equation.

Benefits of technology

It improves the calculation efficiency of minimal path vectors, avoids repeated results and unnecessary solution steps, and significantly improves calculation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115766494B_ABST
    Figure CN115766494B_ABST
Patent Text Reader

Abstract

The present invention relates to a multi-state network minimal path vector search method based on feasible cyclic flow, and belongs to the field of multi-state network reliability assessment. The method comprises: S1: determining the search space X of the minimal path vector d-MP; S2: determining the relationship between M(U), M(L) and d; S3: finding d-MP by solving the cyclic flow problem; S4: decomposing the search space into several non-intersecting subsets; S5: continuing to search in the decomposed subsets. The present invention improves the computational efficiency of finding d-MP.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of multi-state network reliability assessment and relates to a multi-state network minimum path vector search method based on feasible cyclic flow. Background Art

[0002] As society becomes increasingly dependent on various technical networks, people's demand for reliable services in real life is increasing. Therefore, as a useful tool for evaluating the performance of modern technical networks, reliability analysis is widely used in real networks such as computer networks, power transmission networks, production and 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, due to the assumption that network components have only two states: fully operational or completely failed, the two-state network model has its inherent limitations. In the past decade, researchers have extended the two-state network model to a multi-state network model to meet the actual needs of network components with more than two levels of performance. On this basis, several different types of reliability methods have been proposed, such as the Monte Carlo simulation method (MCS), the universal generating function (UGF) method, the multi-valued decision diagram (MDD) method, the state space decomposition method (SSD) and the minimal path vector (also known as d-MP) method.

[0003] An important indicator for measuring the performance of a multi-state network is the reliability of two terminals with a capacity demand of d, expressed as R d It is defined as the probability that the network can transport d units of traffic from source point s to sink point t. Scholars have proposed direct and indirect algorithms to approximate or accurately calculate R d 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 using the inclusion-exclusion theorem or the disjoint sum method to obtain R d The value of .

[0004] Existing methods mainly use implicit enumeration to solve an NP-hard Diophantine equation to find d-MP, which has the prominent problem of low computational efficiency. Therefore, a method that can improve the search for d-MP is urgently needed. Summary of the invention

[0005] 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 to improve the computational efficiency of finding d-MP.

[0006] In order to achieve the above object, the present invention provides the following technical solutions:

[0007] A method for searching a multi-state network minimum path vector based on feasible cyclic flow comprises the following steps:

[0008] S1: Determine the search space X of the minimum path vector d-MP;

[0009] S2: Determine the relationship between M(U), M(L) and d, where M(U) represents the maximum flow of network G under the upper capacity vector U of X, M(L) represents the maximum flow of network G under the lower capacity vector L of X, and d represents the capacity demand;

[0010] S3: Finding d-MP by solving the circular flow problem;

[0011] S4: Decompose the search space into several disjoint subsets;

[0012] S5: Continue searching in the decomposed subset.

[0013] Further, step S1 specifically includes: assuming that the maximum capacity vector of network G is W = (W1, W2, ..., W m ), where W i Represents edge e i The maximum capacity of L, 1≤i≤m, m represents the total number of edges; let L i =max{dM(W(0 i )),0}(1≤i≤m) is edge e i The lower bound capacity of W(0 i ) is the capacity vector obtained by setting the i-th component of W to 0, M(W(0 i )) indicates that the network G is in W(0 i ) under the maximum flow; let U i =min{W i ,d}(1≤i≤m) is edge e i The upper bound capacity of d-MP is X = {x = (x1, x2, ..., x m )|L i ≤x i ≤U i , 1≤i≤m}={x|L≤x≤U}=[L,U], where L=(L1,L2,…,L m ) is the lower bound capacity vector of X, U=(U1,U2,…,U m ) is the upper bound capacity vector of X, x i For edge e i The capacity of , x is the capacity vector.

[0014] 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 all i where the i-th component of L is greater than 0, it satisfies M(L - 0(e i )) < d, then L is a d-MP, where 0(e i ) is a unit vector, that is, the i-th component of 0(e i ) is 1 and other components are all 0, and M(L - 0(e i )) represents the maximum flow of the network G under L - 0(e i ), and the algorithm stops; otherwise, proceed to step S3.

[0015] Further, step S3 specifically includes: Add a new edge e m+1 from the sink t to the source s in the initial network G to obtain a new network G*, and let the capacity of the edge e m+1 be a fixed value d, that is, the lower bound capacity L m+1 and the upper bound capacity U m+1 of e m+1 are both equal to d, and the lower bound capacities and upper bound capacities of other edges remain unchanged; Use the maximum flow algorithm to solve the circulation flow problem in the new network G*. If there is no feasible circulation flow, there is no d-MP in the search space X, and the algorithm stops; otherwise, assume F d = (f1 d , f2 d , …, f m d , f m+1 d ) is the obtained feasible circulation flow. If (f1 d , f2 d , …, f m d ) does not contain a directed cycle, then (f1 d , f2 d , …, f m d ) is a d-MP.

[0016] Further, step S4 specifically includes: Let [L i , U i be the capacity set of the edge e i , that is, [L i , U i = {x i | L i ≤ x i ≤ U i}, therefore, the search space X = [L, U] can be denoted as [L1, U1] × [L2, U2] × … × [L m , Um ]; 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 f i d Divide into two disjoint subsets: [L i ,f i d-1 ] and [f i d ,U i ], that is, [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:

[0017]

[0018]

[0019]

[0020] Further, step S5 specifically includes: each subset X obtained in step S4 (k) (1≤k≤q) is regarded as a new search space, and the solution is continued in step S2 until all subsets are searched.

[0021] The beneficial effects of the present invention are as follows: compared with the existing methods, the present invention does not need to know all the minimal paths of the network, does not need to resort to implicit enumeration methods, does not need to solve Diophantine equations, will not generate repeated d-MPs, and can improve the computational efficiency of finding d-MPs.

[0022] Other advantages, objectives and features of the present invention will be described in the following description to some extent, and to some extent, will be obvious to those skilled in the art based on the following examination and study, or can be taught from the practice of the present invention. The objectives and other advantages of the present invention can be realized and obtained through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be described in detail below in conjunction with the accompanying drawings, wherein:

[0024] Figure 1 It is a flow chart of the method for searching the minimal path vector of a multi-state network based on feasible cyclic flow of the present invention;

[0025] Figure 2 A network diagram of a network G in an embodiment of the present invention;

[0026] Figure 3 The new network G in the embodiment of the present invention * Network diagram. DETAILED DESCRIPTION

[0027] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the illustrations provided in the following embodiments only illustrate the basic concept of the present invention in a schematic manner, and the following embodiments and features in the embodiments can be combined with each other without conflict.

[0028] See also Figure 1-2 The present invention provides a multi-state network minimal path vector search method based on feasible cyclic flow, such as Figure 1 As shown, the specific steps include:

[0029] 1) Determine the search space of d-MP:

[0030] Given a network G, the maximum capacity vector W = (W1, W2, ..., W m ), where W i Represents edge e i The maximum capacity of L i =max{dM(W(0 i )),0}(1≤i≤m) is edge e i The lower bound capacity of W(0 i ) is the capacity vector obtained by setting the i-th component of W to 0, M(W(0i )) represents the maximum flow of the network under W(0 i ), let U i = min{W i , d} (1 ≤ i ≤ m) be the upper bound capacity of edge e i . For the d-MP x = (x1, x2, …, x m ), L i ≤ x i ≤ U i (1 ≤ i ≤ m) all hold. Therefore, the search space of d-MP is X = {x = (x1, x2, …, x m ) | L i ≤ x i ≤ U i , 1 ≤ i ≤ m} = {x | L ≤ x ≤ U} = [L, U], where L = (L1, L2, …, L m ) is called the lower bound capacity vector of X, and U = (U1, U2, …, U m ) is called the upper bound capacity vector of X.

[0031] 2) Determine the relationship between M(U), M(L) and d:

[0032] The search space X = {x | L ≤ x ≤ U} = [L, U], and L = (L1, L2, …, L m ) is also called the minimum capacity vector of X, and U = (U1, U2, …, U m ) is called the maximum capacity vector of X.

[0033] If M(U) < d, then for any x ∈ X, M(x) ≤ M(U) < d holds, that is, it can be seen from the definition that X does not contain d-MP, then X is no longer discussed and the algorithm stops.

[0034] If M(L) = d, then for any x > L, M(x) ≥ M(L) = d; at the same time, for any x ∈ X, M(x) ≤ d, then M(x) = M(L) = d holds for any x > L. In this case, for any x > L, x is not a d-MP because there is at least one edge e i satisfying M(x - 0(e i )) = M(L) = d, which contradicts the definition of d-MP. So only the vector L needs to be verified. According to the definition of d-MP, if M(L - 0(e i )) < d, then L is a d-MP, where 0(e i ) is the unit vector, that is, the i-th component of 0(e i ) is 1 and other components are 0, and the algorithm stops. Otherwise, proceed to the next step.

[0035] 3) Finding d-MP by solving the circular flow problem:

[0036] Add a new edge e from sink t to source s in the initial network G. m+1 , get the new network G*, let edge e m+1 The capacity is a fixed value d, that is, e m+1 The lower bound capacity L m+1 and the upper capacity U m+1 are all equal to d, and the lower and upper bound capacities of other edges remain unchanged. The feasible cyclic flow problem in the network G* is to find a feasible flow vector x=(x1,x2,…,x m ,x m+1 ):

[0037]

[0038] L i ≤x i ≤U i , e i ∈E∪{e m+1}

[0039] Among them, V is the set of points in the network G, E is the set of edges in the network G, Out(v) represents the set of all edges emanating from point v, and In(v) represents the set of all edges pointing to point v.

[0040] Use the maximum flow algorithm to find a feasible cyclic flow in G*. If there is no feasible cyclic flow, there is no d-MP in X and the algorithm stops; otherwise, assume that F d =(f1 d ,f2 d ,…,f m d ,f m+1 d ) is the feasible cyclic flow obtained, if (f1 d ,f2 d ,…,f m d ) does not contain a directed cycle, then (f1 d ,f2 d ,…,f m d ) is a d-MP.

[0041] 4) Decompose the search space into several disjoint subsets:

[0042] Let [L i ,U i ] is the edge e i The capacity set, that is, [L i ,U i ]={xi |L i ≤x i ≤U i}, so the set \(X = [L,U]\) can be denoted 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\leq i\leq m\), \(L i ≤f i d ≤U i holds; furthermore, let \(E d =\{E i |L i <f i d ,1\leq i\leq m\}\), and \(E d \) is not an empty set (if \(E d \) is an empty set, then for \(1\leq i\leq m\), \(L i = f i d holds, that is, \(L\) is a d - flow, which does not meet the condition \(M(L)\lt d\)). For each \(e i \in E d \), the set \([L i ,U i \) can be divided by \(f i d \) into two non - overlapping subsets: \([L i ,f i d-1 \) and \([f i d ,U i \), that is, \([L i ,U i =[L i ,f i d-1 \cup[f i d ,U i \), \([L i ,f i d-1 \cap[f i d ,U i =\varPhi\). Let The set \(X\) can be divided into \(q + 1\) non - overlapping subsets, and the specific process is as follows:

[0043]

[0044] Among them,

[0045]

[0046]

[0047] Subset X (1) , X (2) , …, X (q) , X (q+1) Are disjoint.

[0048] 5) Continue searching in the decomposed subset:

[0049] Each subset X obtained in step 4) (k) (1≤k≤q) is regarded as the new search space, and the solution is continued in step 2) until all subsets are searched.

[0050] The present invention is described in detail below in conjunction with specific embodiments:

[0051] A specific implementation example Figure 2 As shown in the figure, a distribution network is abstracted to obtain Figure 2 The network G in the figure contains 4 nodes and 5 transport edges, where node s represents the source node, t represents the sink node, and nodes 1 and 2 represent the transshipment locations. Figure 2 The maximum capacity of each edge in the network is given by Figure 2 It can be seen that the maximum capacity vector W = (3, 2, 2, 1, 2).

[0052] The method of the present invention is used below to calculate all the multi-state minimal paths of the transportation network, assuming that the demand level d=3.

[0053] According to the method steps of the present invention, the solution process is as follows:

[0054] 1) Determine the search space of 3-MP:

[0055] For edge e1, W(01) = (0, 2, 2, 1, 2), then by the maximum flow algorithm, we can get M(W(01)) = 2. Therefore, L1 = max{3-M(W(01)), 0} = max{3-2, 0} = 1. Similarly, we can calculate L2 = 0, L3 = 1, L4 = 0, L5 = 1. When 1 ≤ i ≤ 5, U i =min{W i ,3}=W i Therefore, the search space of 3-MP is X = {x = (x1, x2, ..., x m)|1≤x1≤3,0≤x2≤2,1≤x3≤2,0≤x4≤1,1≤x5≤2}={x|L≤x≤U}=[L,U], where L=(1,0,1,0,1) is the lower bound capacity vector of X and U=(3,2,2,1,2) is the upper bound capacity vector of X.

[0056] 2) Determine the relationship between M(U), M(L) and 3:

[0057] 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)].

[0058] M(U)=4>3,

[0059] M(L)=1<3.

[0060] 3) Finding 3-MP by solving the circulatory flow problem:

[0061] Add a new edge e6 from the sink t to the source s in the initial network G to obtain a new network G*. The network G* is as follows Figure 3 As shown, let the capacity of edge e6 be a fixed value of 3, that is, e m+1 The lower bound capacity L6 and upper bound capacity U6 of the edge are both equal to 3, and the lower bound capacity and upper bound capacity of other edges remain unchanged from the values ​​in X.

[0062] 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). Since (2,1,1,1,2) does not contain a directed cycle, (2,1,1,1,2) is 3-MP.

[0063] 4) Decompose the search space into several disjoint subsets:

[0064] E d ={e1, e2, e4, e5}, 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)].

[0065] 5) Continue searching in the decomposed subset:

[0066] Subset X (1) , X (2) , X (3) , X (4) Treat each of them as a new search space and go to step 2) to continue solving until all subsets are searched. Finally, four 3-MPs are obtained: (2,1,1,1,2), (1,2,1,0,2), (2,1,2,0,1) and (3,0,2,1,1).

[0067] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solution, which should be included in the scope of the claims of the present invention.

Claims

1. A method for searching a minimal path vector in a multi-state network based on feasible cyclic flow, characterized in that: The method comprises the following steps: S1: Determine the search space X of the minimum path vector d-MP; S2: Determine the relationship between M(U), M(L) and d, where M(U) represents the maximum flow of network G under the upper capacity vector U of X, M(L) represents the maximum flow of network G under the lower capacity vector L of X, and d represents the capacity demand; S3: Find d-MP by solving the circular flow problem, which includes: adding a new edge e from the sink t to the source s in the initial network G m+1 , we get a new network G*, let edge e m+1 The capacity is a fixed value d, that is, e m+1 The lower bound capacity L m+1 and the upper capacity U m+1 are all equal to d, and the lower and upper bound capacities of other edges remain unchanged; the maximum flow algorithm is used to solve the cyclic flow problem in the new network G*. If there is no feasible cyclic flow, there is no d-MP in the search space X, and the algorithm stops; otherwise, assuming F d =(f1 d ,f2 d ,…,f m d ,f m+1 d ) is the feasible cyclic flow obtained, if (f1 d ,f2 d ,…,f m d ) does not contain a directed cycle, then (f1 d ,f2 d ,…,f m d ) is a d-MP; S4: Decompose the search space into several disjoint subsets; S5: Continue searching in the decomposed subset.

2. The multi-state network minimum path vector search method according to claim 1, characterized in that: Step S1 specifically includes: assuming that the maximum capacity vector of network G is W = (W1, W2, ..., W m ), where W i Represents edge e i The maximum capacity of L, 1≤i≤m, m represents the total number of edges; let L i =max{dM(W(0 i )),0}(1≤i≤m) is edge e i The lower bound capacity of W(0 i ) is the capacity vector obtained by setting the i-th component of W to 0, M(W(0 i )) indicates that the network G is in W(0 i ) under the maximum flow; let U i =min{W i ,d}(1≤i≤m) is edge e i The upper bound capacity of d-MP is X = {x = (x1, x2, ..., x m )|L i ≤x i ≤U i , 1≤i≤m}={x|L≤x≤U}=[L,U], where L=(L1,L2,…,L m ) is the lower bound capacity vector of X, U=(U1,U2,…,U m ) is the upper bound capacity vector of X, x i For edge e i The capacity of , x is the capacity vector.

3. The multi-state network minimum path vector search method according to claim 2, characterized in that: 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 all i where the i-th component of L is greater than 0, it satisfies M(L - 0(e i )) < d, then L is d-MP, where 0(e i ) is the unit vector, that is, the i-th component of 0(e i ) is 1 and other components are all 0, and M(L - 0(e i )) represents the maximum flow of the network G under L - 0(e i ), and the algorithm stops; otherwise, proceed to step S3.

4. The multi-state network minimum path vector search method according to claim 1, characterized in that: Step S4 specifically includes: setting [L i ,U i ] is the edge e i The capacity set, that is, [L i ,U i ]={x i |L i ≤x i ≤U i }, therefore, the search space X = [L, U] is recorded as [L1, U1] × [L2, U2] × … × [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 ] i d Divide into two disjoint subsets: [L i ,f i d-1 ] and [f i d ,U i ], that is, [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:

5. The multi-state network minimum path vector search method according to claim 4, characterized in that: Step S5 specifically includes: each subset X obtained in step S4 (k) (1≤k≤q) is regarded as a new search space, and the solution is continued in step S2 until all subsets are searched.