# 中国邮递员问题

中国邮递员问题，又称路径巡检问题或管氏路径问题，是图论中的一项任务：在一个连通加权图中，寻找一条最短的闭游走，使其至少遍历每条边一次并返回起点。<sup>[1](https://xlinux.nist.gov/dads/HTML/chinesePostman.html)</sup><sup> • </sup><sup>[2](https://graphsearch.epfl.ch/en/concept/172564)</sup> 中国数学家管梅谷（Kwan Mei-Ko）于1962年提出该问题，最初是关于优化邮递员路线的问题；后由杰克·埃德蒙兹（Jack Edmonds）在艾伦·J·戈德曼（Alan J. Goldman）的建议下推广了这一名称。<sup>[1](https://xlinux.nist.gov/dads/HTML/chinesePostman.html)</sup><sup> • </sup><sup>[3](https://link.springer.com/article/10.1007/s00521-023-09195-4)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 寻找一条最短的闭游走，使其至少遍历连通加权图的每条边一次<sup>[1](https://xlinux.nist.gov/dads/HTML/chinesePostman.html)</sup> |
| 起源 | 由管梅谷于1962年在中国期刊《中国数学》（*Chinese Math.*）上提出（1:273-277）；名称由艾伦·J·戈德曼在美国国家标准局向杰克·埃德蒙兹建议<sup>[1](https://xlinux.nist.gov/dads/HTML/chinesePostman.html)</sup> |
| 无向情形 | 可多项式时间求解，方法归结为最短路径加上奇度顶点上的最小权完美匹配<sup>[4](https://maths.qmul.ac.uk/~bill/MAS210/ch8.pdf)</sup> |
| 有向情形 | 亦可多项式时间求解；可表述为在各节点平衡出度减入度的运输问题<sup>[5](https://hochbaum.ieor.berkeley.edu/files/ieor266_08.pdf)</sup> |
| 混合情形 | 在同时含有有向弧和无向边的图中寻找最优解是NP完全的<sup>[1](https://xlinux.nist.gov/dads/HTML/chinesePostman.html)</sup> |
| 里程碑论文 | 杰克·埃德蒙兹与埃利斯·L·约翰逊，《匹配、欧拉回路与中国邮递员》，《数学规划》5:88-124（1973）<sup>[1](https://xlinux.nist.gov/dads/HTML/chinesePostman.html)</sup> |
| 应用 | 垃圾收集、街道清扫、除雪、道路撒盐、网络维护、安全巡逻及邮政投递<sup>[3](https://link.springer.com/article/10.1007/s00521-023-09195-4)</sup> |

## 问题陈述

给定一个连通网络，每条边带有正权，表示距离、成本或旅行时间。问题要求寻找一条至少包含每条边一次的闭游走，使其总长度最小；闭游走的长度按每条边出现的次数计算。<sup>[4](https://maths.qmul.ac.uk/~bill/MAS210/ch8.pdf)</sup> 若闭游走恰好经过每条边一次，则其长度等于网络的总权，即为一条欧拉回路；根据欧拉定理，这样的回路存在当且仅当连通图没有奇度节点（或对于开放欧拉路径恰好有两个奇度节点）。<sup>[6](https://web.mit.edu/urban_or_book/www/book/chapter6/6.4.2.html)</sup>

在实际道路网络中，每个路口都具有偶度的情况极为罕见，因此某些街道必须重复经过。重复经过的边称为空驶，问题归结为选择重复路线使其总权尽可能小。<sup>[7](https://faculty.kfupm.edu.sa/ICS/malalla/Teaching/ICS253/TextBook/Apps_Ch20.pdf)</sup>

## 无向图算法

埃德蒙兹于1965年给出了无向问题的强多项式算法，建立在其匹配算法和迪杰斯特拉最短路径算法之上。<sup>[4](https://maths.qmul.ac.uk/~bill/MAS210/ch8.pdf)</sup> 关键观察是：覆盖所有边的最短闭游走对应于一个欧拉扩张：由原图通过复制边得到的多重图，其中每个顶点具有偶度，且总权最小。<sup>[4](https://maths.qmul.ac.uk/~bill/MAS210/ch8.pdf)</sup> 任何图中奇度顶点的数目为偶数，复制的边总可以划分为将奇度顶点两两配对的路径。<sup>[4](https://maths.qmul.ac.uk/~bill/MAS210/ch8.pdf)</sup><sup> • </sup><sup>[7](https://faculty.kfupm.edu.sa/ICS/malalla/Teaching/ICS253/TextBook/Apps_Ch20.pdf)</sup>

算法分四步进行：<sup>[4](https://maths.qmul.ac.uk/~bill/MAS210/ch8.pdf)</sup>

1. 设 S 为奇度顶点集合。对 S 中每一对顶点，计算它们在原网络中的最短路径。
2. 在 S 上构建完全图，边权为上述最短路径长度，求最小权完美匹配 M。
3. 沿每条匹配的最短路径复制边，产生一个每个顶点均为偶度的欧拉扩张。
4. 在扩张后的多重图上构造欧拉回路；它对应于一条最短邮递员闭游走，其长度等于网络总权加上 M 的权。

匹配步骤是问题可解的关键：完全图中的最小权完美匹配是多项式可解的，而旅行商问题中类似的配对问题则不是。埃德蒙兹与约翰逊1973年的论文利用匹配理论给出了解法，描述了解多面体，并提出了专门适用于邮递员问题的匹配算法变体。<sup>[1](https://xlinux.nist.gov/dads/HTML/chinesePostman.html)</sup><sup> • </sup><sup>[8](https://www.researchgate.net/publication/226341880_Matching_Euler_Tours_and_the_Chinese_Postman)</sup>

## 有向图与混合图

对于有向图，有向欧拉回路存在当且仅当每个节点的入度等于出度。有向中国邮递员问题可表述为运输问题：每个节点的需求为其出度减入度，从盈余节点到亏欠节点的最短路径提供待复制的弧。<sup>[5](https://hochbaum.ieor.berkeley.edu/files/ieor266_08.pdf)</sup> 因此该情形也可在多项式时间内求解。<sup>[9](https://personal.utdallas.edu/~dzdu/cs6363/Chinese.htm)</sup>

混合版本中图同时含有有向弧和无向边，该问题是NP完全的，因此预计不存在多项式算法。<sup>[1](https://xlinux.nist.gov/dads/HTML/chinesePostman.html)</sup><sup> • </sup><sup>[5](https://hochbaum.ieor.berkeley.edu/files/ieor266_08.pdf)</sup> 另一个变体是 windy 邮递员问题，其中每条边有两个成本，分别对应两个遍历方向。<sup>[10](https://epubs.siam.org/doi/10.1137/1.9781611973679.ch4)</sup>

## 应用

任何需要覆盖网络中每条街道或链路的任务都可映射到该问题：邮递员沿每个街区投递、扫雪车清理每条车道、施工队喷涂中线，或巡逻车覆盖所有街道。<sup>[7](https://faculty.kfupm.edu.sa/ICS/malalla/Teaching/ICS253/TextBook/Apps_Ch20.pdf)</sup> 有文献记载的城市应用包括垃圾收集、街道清扫、撒盐、网络维护以及邮政或报纸投递。<sup>[3](https://link.springer.com/article/10.1007/s00521-023-09195-4)</sup> 在城市尺度上，网络必须划分为由多名邮递员服务的区域，每个区域都构成各自的邮递员问题。<sup>[7](https://faculty.kfupm.edu.sa/ICS/malalla/Teaching/ICS253/TextBook/Apps_Ch20.pdf)</sup>

## 变体与计算工作

多车辆版本中，若干车辆划分边集，引入了更困难的目标。最小-最大多车辆中国邮递员问题旨在最小化最长路线，是NP难的，出现在道路网络探测、地下空洞检测规划及高压线路巡检中；近期工作将关键边禁忌搜索应用于大规模道路网络。<sup>[11](https://pubmed.ncbi.nlm.nih.gov/38816559/)</sup> 其他研究的变体增加了容量或时间约束、混合道路网络或负荷相关成本。<sup>[11](https://pubmed.ncbi.nlm.nih.gov/38816559/)</sup><sup> • </sup><sup>[3](https://link.springer.com/article/10.1007/s00521-023-09195-4)</sup> 蚁群优化等元启发式方法已被应用于真实城市数据上的有向和混合版本，其中奇度节点比例等图属性会影响性能。<sup>[12](https://link.springer.com/article/10.1007/s00521-024-10052-1)</sup><sup> • </sup><sup>[13](https://link.springer.com/article/10.1007/s00521-026-11846-1)</sup> 双目标版本同时最小化多个成本标准，已通过整数规划和花不等式分离在多达700个节点的图上精确求解，尽管通过完美匹配的单目标归约并不总能推广到多目标情形。<sup>[14](https://onlinelibrary.wiley.com/doi/10.1111/itor.13363)</sup>

该问题与旅行商问题不同：后者访问每个节点而非每条边，且是NP难的；而无向和有向邮递员问题均存在多项式算法。<sup>[5](https://hochbaum.ieor.berkeley.edu/files/ieor266_08.pdf)</sup>

## References

1. [Chinese postman problem, Dictionary of Algorithms and Data Structures, NIST](https://xlinux.nist.gov/dads/HTML/chinesePostman.html)
2. [Chinese postman problem, EPFL Graph Search](https://graphsearch.epfl.ch/en/concept/172564)
3. [Ant colony optimization for Chinese postman problem, Neural Computing and Applications (2024)](https://link.springer.com/article/10.1007/s00521-023-09195-4)
4. [The Chinese postman problem, MAS210 course notes, Queen Mary University of London](https://maths.qmul.ac.uk/~bill/MAS210/ch8.pdf)
5. [IEOR 266 lecture notes, D. Hochbaum, University of California, Berkeley](https://hochbaum.ieor.berkeley.edu/files/ieor266_08.pdf)
6. [Section 6.4.2, Chinese Postman's Problem on an Undirected Graph, MIT Urban Operations Research](https://web.mit.edu/urban_or_book/www/book/chapter6/6.4.2.html)
7. [Applications of Discrete Mathematics, Chapter 20: The Chinese Postman Problem](https://faculty.kfupm.edu.sa/ICS/malalla/Teaching/ICS253/TextBook/Apps_Ch20.pdf)
8. [J. Edmonds and E. L. Johnson, Matching, Euler tours and the Chinese postman, Mathematical Programming (1973)](https://www.researchgate.net/publication/226341880_Matching_Euler_Tours_and_the_Chinese_Postman)
9. [Chinese Postman Problem, course notes, University of Texas at Dallas](https://personal.utdallas.edu/~dzdu/cs6363/Chinese.htm)
10. [Arc Routing, Chapter 4: The Chinese Postman Problem on Directed, Mixed, and Windy Graphs, SIAM](https://epubs.siam.org/doi/10.1137/1.9781611973679.ch4)
11. [Critical-edge based tabu search algorithm for solving large-scale multi-vehicle Chinese postman problem, Scientific Reports (2024)](https://pubmed.ncbi.nlm.nih.gov/38816559/)
12. [Ant Colony Optimization for solving Directed Chinese Postman Problem, Neural Computing and Applications (2024)](https://link.springer.com/article/10.1007/s00521-024-10052-1)
13. [Ant colony optimization for solving mixed Chinese postman problem on open real world data, Neural Computing and Applications](https://link.springer.com/article/10.1007/s00521-026-11846-1)
14. [M. A. Pozo, The biobjective minimum-cost perfect matching problem and Chinese postman problem, International Transactions in Operational Research (2024)](https://onlinelibrary.wiley.com/doi/10.1111/itor.13363)

---
*Initially written Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 逻辑与离散数学 › General discrete mathematics and discrete structures › Graph theory › Computational graph problems and algorithms

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/chinese-postman-problem

English original: https://www.edgepedia.org/chinese-postman-problem
