중국집배원 혼혈문제

Mixed Chinese postman problem

혼합 중국 우체부 문제(MCPP 또는 MCP)는 정점 V 집합, 양의 유리 가중치를 갖는 무방향 에지 E 집합 및 최소 비용으로 각 에지 또는 아크를 적어도 한 번 커버하는 양의 유리 가중치를 갖는 방향 호 A 집합으로 그래프의 최단 횡단을 검색하는 것입니다.[1]이 문제는 파파디미트리우(Papadimitriou)에 의해 NP-완전한 것으로 증명되었습니다.[2]혼합된 중국 우체부 문제는 제설기와 같은 호 경로 문제에서 종종 발생하는데, 일부 거리는 너무 좁아서 양방향으로 횡단할 수 없는 반면 다른 거리는 양방향으로 경작할 수 있습니다.그래프가 강하게 연결되어 있는지 확인하면 혼합 그래프에 크기에 상관없이 우체부 투어가 있는지 쉽게 확인할 수 있습니다.문제는 사라고사 마르티네스가 증명한 것처럼 우체부 투어가 각 호를 정확히 한 번만 횡단하도록 제한하거나 각 호를 정확히 한 번만 횡단하도록 제한하는 경우 NP hard입니다.[3][4]

수학적 정의

수학적 정의는 다음과 같습니다.

입력: 강하게 연결된 혼합 그래프 = A) G = (, E, A)}, 모든 에지 ⊂ E ∪ A {\displaystyle c(e)\geq 0}, 최대 비용 c {\displaystyle c_{max}의 ≥입니다.

질문: 의 모든 모서리와 의 모든 호를 한 번 이상 횡단하고 의 비용이 드는 (방향) 투어가 있습니까[5]

계산 복잡도

혼합 중국 우체부 문제를 해결하는 데 있어 가장 큰 어려움은 여행 예산이 빠듯하고 각 가장자리를 한 번만 횡단할 수 있는 여유가 있을 때 (방향이 없는) 가장자리에 대한 방향을 선택하는 것입니다.그런 다음 방향 오일러 그래프, 즉 모든 정점이 균형을 이루도록 하기 위해 가장자리를 정렬하고 호를 추가해야 합니다.하나의 꼭짓점에 여러 개의 모서리가 결합되어 있는 경우 각 모서리의 올바른 방향을 결정하는 것은 쉬운 작업이 아닙니다.[6]수학자 파파디미트리우는 이 문제를 더 많은 제약을 가하며 분석했습니다. "혼합된 중국 포스트맨은 NP-완전이며, 입력 그래프가 평면이라고 해도 각 정점은 많아야 3개의 차수를 가지며,[7] 각 모서리와 호는 1개의 비용이 듭니다.

오일러 그래프

혼합 그래프가 오일러인지 확인하는 과정은 혼합 중국 우체부 문제를 해결하기 위한 알고리즘을 만드는 데 중요합니다.혼합 그래프 G의 정도는 오일러 사이클을 가지려면 짝수여야 하지만 충분하지 않습니다.[8]

근사

혼합 중국 우편집배원이 NP-hard라는 사실은 최적해를 합리적인 임계값에 접근하는 다항식 시간 알고리즘을 찾게 만들었습니다.Frederickson은 평면 그래프에 적용할 수 있는 인자 3/2의 방법을 개발하였고,[9] Raghavachari와 Veerasamy는 평면일 필요가 없는 방법을 발견하였습니다.[10]그러나 다항식 시간은 막다른 골목에 도달하기 위해 눈 쟁기를 사용하거나 도로에 도달하기 위해 도로 청소부를 사용하는 비용을 찾을 수 없습니다.[11][12]

형식적 정의

Given a strongly connected mixed graph with a vertex set , and edge set , an arc set and a nonnegative cost for each ,MCPP는 각 ∈ A e\ E\cup A}를 최소 1회 이상 통과하는 최소 비용 투어를 찾는 것으로 구성됩니다.

Given , , , denotes the set of edges with exactly one endpoint in , and . Given a vertex , (indegree) denotes the number of arcs enter , (outdegree) is thenumber of arcs leaving , and (degree) is the number of links incident with .[13] Note that . A mixed graph is called even if all of its vertices have even degree, it is called symmetric if for each vertex , and it is said to be balanced if, given any subset of vertices, the difference between the number of arcs directed from to , , and thenumber of arcs directed from to , , is no greater than the number of undirected edges joining and , .

(가) 균등하고 균형이 잡힌 경우에만 혼합 그래프 G가 오일러라는 것은 잘 알려진 사실입니다.[14] 짝수이고 대칭이면 G도 균형을 이루게 됩니다(그리고 오일러).또한, 짝수이면, MCPP{\ 다항 시간 내에 해결될 수 있습니다.[15]

짝수 MCPP 알고리즘

  1. 균등하고 강하게 연결된 혼합 그래프 =(E A) G = (V, E, A)}가 주어졌을 때, Ai {\displaystyle A_{i}를 E {\displaystyle E}의 가장자리에 동일한 비용으로 임의로 방향을 할당한 호 집합이라고 합니다.Compute for each vertex i in the directed graph . A vertex with will be considered as a source (sink) with supply demand . N 짝수 그래프이므로 모든 공급 및 수요는 짝수입니다(0은 짝수로 간주됨).
  2. 에 있는 것과 반대 방향의 호 집합으로 하고 해당 가장자리의 비용을 하여 A 3 를 A 에 평행한 호 집합으로 하고 비용을 0으로 합니다.
  3. To satisfy the demands of all the vertices, solve a minimum cost flow problem in the graph , in which each arc in has infinite capacity and each arc in has capacity 2. 을(를) 최적 흐름이라고 합니다.
  4. For each arc in do: If , then orient the corresponding edge in from to (the direction, from to , assigned to the associated edge in step 1 was "wrong"); if = x_{i}=0}인 다음 G의 해당 가장자리를 j {\displaystyle j}에서 i {\displaystyle i}(이 경우 1단계의 방향은 "오른쪽"이었습니다)로 향합니다. ij = 1 {\displaystyle x_{ij=}은(는) 불가능합니다. A 3 {\displaystyle A_{3}}의 호를 통한 모든 흐름 값은 짝수입니다.
  5. 의 각 를 추가하여 G G를 ∪ A11}\ A_{2}.결과 그래프는 균등하고 대칭적입니다.

휴리스틱 알고리즘

혼합 그래프가 짝수가 아니고 노드가 모두 짝수가 아닌 경우 그래프를 짝수 그래프로 변환할 수 있습니다.

  • ={E, A } {\displaystyle \mathrm {G=\{V,E,A\}}을(를) 강하게 연결된 혼합 그래프라고 합니다.아크 방향을 무시하여 홀수 차수 노드를 찾고 최소 비용 매칭을 구합니다.최소 비용 매칭의 에지로 그래프를 확대하여 짝수 그래프 ={ E', A' } {\displaystyle {G'=\{V',E',A'}를 생성합니다.
  • 그래프는 짝수이지만 대칭이 아니며 오일러 혼합 그래프는 짝수 및 대칭입니다. 에서 최소 비용 흐름 문제를 해결하여 ″ {\G'}이(가) 아닐 수 있는 대칭 그래프를 구합니다.
  • 마지막 단계는 대칭 그래프 ″ {\ G`}을(를) 균등하게 하는 것입니다.Label the odd degree nodes . Find cycles that alternate between lines in the arc set and lines in the edge set that start and end at points in . The arcs in should be considered as undirected지시된 호가 아닌 에지입니다.

유전 알고리즘

Hua Jiang et al. 이 발표한 논문은 인구를 대상으로 조작하여 중국 우체부 혼혈 문제를 해결하는 유전 알고리즘을 제시했습니다.알고리즘은 MCPP의 다른 근사 알고리즘에 비해 성능이 뛰어났습니다.[16]

참고 항목

참고문헌

  1. ^ Minieka, Edward (July 1979). "The Chinese Postman Problem for Mixed Networks". Management Science. 25 (7): 643–648. doi:10.1287/mnsc.25.7.643. ISSN 0025-1909.
  2. ^ Papadimitriou, Christos H. (July 1976). "On the complexity of edge traversing". Journal of the ACM. 23 (3): 544–554. doi:10.1145/321958.321974. ISSN 0004-5411. S2CID 8625996.
  3. ^ Zaragoza Martinez, Francisco (September 2006). "Complexity of the Mixed Postman Problem with Restrictions on the Arcs". 2006 3rd International Conference on Electrical and Electronics Engineering. IEEE. pp. 1–4. doi:10.1109/iceee.2006.251877. ISBN 1-4244-0402-9.
  4. ^ Zaragoza Martinez, Francisco (2006). "Complexity of the Mixed Postman Problem with Restrictions on the Edges". 2006 Seventh Mexican International Conference on Computer Science. IEEE. pp. 3–10. doi:10.1109/enc.2006.9. ISBN 0-7695-2666-7. S2CID 17176905.
  5. ^ Edmonds, Jack; Johnson, Ellis L. (December 1973). "Matching, Euler tours and the Chinese postman". Mathematical Programming. 5 (1): 88–124. doi:10.1007/bf01580113. ISSN 0025-5610. S2CID 15249924.
  6. ^ Corberán, Ángel (2015). Arc Routing: Problems, Methods, and Applications. ISBN 978-1-61197-366-2.
  7. ^ Papadimitriou, Christos H. (July 1976). "On the complexity of edge traversing". Journal of the ACM. 23 (3): 544–554. doi:10.1145/321958.321974. ISSN 0004-5411. S2CID 8625996.
  8. ^ Randolph., Ford, Lester (2016). Flows in Networks. Princeton University Press. ISBN 978-1-4008-7518-4. OCLC 954124517.{{cite book}}: CS1 유지 : 여러 이름 : 저자 목록 (링크)
  9. ^ Frederickson, Greg N. (July 1979). "Approximation Algorithms for Some Postman Problems". Journal of the ACM. 26 (3): 538–554. doi:10.1145/322139.322150. ISSN 0004-5411. S2CID 16149998.
  10. ^ Raghavachari, Balaji; Veerasamy, Jeyakesavan (January 1999). "A 3/2-Approximation Algorithm for the Mixed Postman Problem". SIAM Journal on Discrete Mathematics. 12 (4): 425–433. doi:10.1137/s0895480197331454. ISSN 0895-4801.
  11. ^ Zaragoza Martinez, Francisco (2006). "Complexity of the Mixed Postman Problem with Restrictions on the Edges". 2006 Seventh Mexican International Conference on Computer Science. IEEE. pp. 3–10. doi:10.1109/enc.2006.9. ISBN 0-7695-2666-7. S2CID 17176905.
  12. ^ Zaragoza Martinez, Francisco (September 2006). "Complexity of the Mixed Postman Problem with Restrictions on the Arcs". 2006 3rd International Conference on Electrical and Electronics Engineering. IEEE. pp. 1–4. doi:10.1109/iceee.2006.251877. ISBN 1-4244-0402-9.
  13. ^ Corberán, Ángel (2015). Arc Routing: Problems, Methods, and Applications. ISBN 978-1-61197-366-2.
  14. ^ Ford, L.R. (1962). Flows in Networks. Princeton, N.J.: Princeton University Press.
  15. ^ Edmonds, Jack; Johnson, Ellis L. (December 1973). "Matching, Euler tours and the Chinese postman". Mathematical Programming. 5 (1): 88–124. doi:10.1007/bf01580113. ISSN 0025-5610. S2CID 15249924.
  16. ^ Jiang, Hua; Kang, Lishan; Zhang, Shuqi; Zhu, Fei (2010), Cai, Zhihua; Hu, Chengyu; Kang, Zhuo; Liu, Yong (eds.), "Genetic Algorithm for Mixed Chinese Postman Problem", Advances in Computation and Intelligence, Berlin, Heidelberg: Springer Berlin Heidelberg, vol. 6382, pp. 193–199, doi:10.1007/978-3-642-16493-4_20, ISBN 978-3-642-16492-7, retrieved 2022-10-25