# 装填问题

装填问题问的是如何在一个区域内摆放物体，通常是把许多相同或相似的物体摆进去，使它们互不重叠，并使某种度量——例如密度、物品数量或所用容器数量——尽可能好。这一术语涵盖若干不同的研究传统：数学中的几何球体装填问题、编码理论中的球体装填界，以及运筹学中的切割与装填类优化问题。

| 关键事实 | 详情 |
|---|---|
| 球体装填密度 | 装填密度是所装填球体占据的体积分数<sup>[1](https://mathworld.wolfram.com/SpherePacking.html)</sup> |
| 开普勒猜想 | 开普勒于1611年猜测，密堆积（立方或六方）是可能的最密球体装填，密度为 \( \pi/(3\sqrt{2}) \approx 74.048\% \)<sup>[1](https://mathworld.wolfram.com/SpherePacking.html)</sup> |
| 证明 | 托马斯·C. 黑尔斯（Thomas C. Hales）在一项计算机辅助工作中证明了该猜想，该工作发表于《数学年刊》（Annals of Mathematics）第162卷（2005年），第1065–1185页<sup>[2](https://annals.math.princeton.edu/2005/162-3/p01)</sup><sup> • </sup><sup>[3](https://www.ams.org/grants-awards/prizes-awards/2003-prizebook.pdf)</sup> |
| 8维和24维 | 玛丽娜·维亚佐夫斯卡（Maryna Viazovska）证明了 E8 格在8维中最密；科恩（Cohn）、库马尔（Kumar）、米勒（Miller）、拉琴科（Radchenko）和维亚佐夫斯卡证明了利奇格在24维中最密，且是唯一最优周期装填<sup>[4](https://arxiv.org/abs/1603.04246)</sup><sup> • </sup><sup>[5](https://arxiv.org/abs/1603.06518)</sup> |
| 编码理论 | 球体装填界（汉明界）限制了给定纠错半径下码最多能拥有的码字数量；以等号达到该界的码称为完美码<sup>[6](https://bnaskrecki.faculty.wmi.amu.edu.pl/crypto/book/part15_code_based_frontiers/ch43_code_based_crypto.html)</sup> |
| 运筹学 | 切割与装填问题是制造、物流和配送中的核心优化问题，旨在高效利用有限的材料、空间或时间<sup>[7](https://www.tandfonline.com/doi/full/10.1080/01605682.2026.2717320)</sup> |

## 球体装填与开普勒猜想

经典的几何版本问的是相同的球体能以多高的密度填满空间。装填密度 η 定义为球体所占据的体积分数。在三维中，相同球体有三种周期装填：立方晶格、面心立方晶格和六方晶格。1611年，约翰内斯·开普勒（Johannes Kepler）在其文章《论六角形雪花》中猜测，密堆积——无论是立方还是六方（二者密度相同）——是可能的最密装填；寻找不一定周期的最密装填被称为开普勒问题<sup>[1](https://mathworld.wolfram.com/SpherePacking.html)</sup><sup> • </sup><sup>[4](https://arxiv.org/abs/1603.04246)</sup>。

密堆积的密度为 \( \pi/(3\sqrt{2}) \approx 74.048\% \)。1831年，高斯（Gauss）证明了面心立方装填在格装填中最密，但一般猜想在此后一个多世纪里仍未解决<sup>[1](https://mathworld.wolfram.com/SpherePacking.html)</sup>。部分进展来自上界：C. A. 罗杰斯（C. A. Rogers）于1958年证明最大密度低于约77.96355700%，林赛（Lindsey）于1986年将该界改进到77.844%，穆德（Muder）于1988年改进到77.836%<sup>[1](https://mathworld.wolfram.com/SpherePacking.html)</sup>。

**早期尝试。** 巴克敏斯特·富勒（Buckminster Fuller）于1975年宣称给出了证明，但该工作描述的是面心立方装填，而非证明其最优性。项武义（W.-Y. Hsiang）提出的一个所谓证明后来被认定有缺陷<sup>[8](https://mathworld.wolfram.com/KeplerConjecture.html)</sup>。

**黑尔斯的证明。** 匹兹堡大学（University of Pittsburgh）数学家托马斯·C. 黑尔斯（Thomas C. Hales）在一系列论文中发表了一个证明，这些论文在1998年完成；重写版本于2005年以《开普勒猜想的证明》为题发表于《数学年刊》（Annals of Mathematics），第162卷第1065–1185页<sup>[2](https://annals.math.princeton.edu/2005/162-3/p01)</sup><sup> • </sup><sup>[1](https://mathworld.wolfram.com/SpherePacking.html)</sup>。美国数学学会（American Mathematical Society）关于黑尔斯获得肖夫内奖（Chauvenet Prize）的说明，将其描述为一项困难的、计算机辅助的证明，解决了一个近400年未能解决的猜想<sup>[3](https://www.ams.org/grants-awards/prizes-awards/2003-prizebook.pdf)</sup>。该证明后来得到形式化验证：黑尔斯与一组合作者于2017年在《数学论坛，Pi》（Forum of Mathematics, Pi）上发表了《开普勒猜想的形式化证明》<sup>[8](https://mathworld.wolfram.com/KeplerConjecture.html)</sup>。

## 特定装填的密度

MathWorld 列出了若干相同球体装填的密度<sup>[1](https://mathworld.wolfram.com/SpherePacking.html)</sup>：

| 装填 | 密度 |
|---|---|
| 四面体晶格 | \( \pi\sqrt{3}/16 \approx 0.3401 \) |
| 立方晶格 | \( \pi/6 \approx 0.5236 \) |
| 六方晶格 | \( \pi/(3\sqrt{3}) \approx 0.6046 \) |
| 随机（耶格与纳格尔，1992） | 约0.6400 |
| 体心立方密堆积 | \( \pi\sqrt{3}/8 \approx 0.6801 \) |
| 面心立方与六方密堆积 | \( \pi/(3\sqrt{2}) \approx 0.7405 \) |

随机密堆积约为64%，远低于有序密堆积，这就是为什么倾倒的颗粒材料在振动时会沉降。1972年，斯坦尼斯瓦夫·乌拉姆（Stanisław Ulam）在与马丁·加德纳（Martin Gardner）私下通信时提出猜想：当球体以尽可能紧密的方式装填时，其留下的未填充体积比任何其他全等凸体集合以其最密堆积方式排列时都多。<sup>[1](https://mathworld.wolfram.com/SpherePacking.html)</sup> 已知椭球装填可以超过开普勒密度，因此球体并不总是最密的形状<sup>[1](https://mathworld.wolfram.com/SpherePacking.html)</sup>。

## 更高维数

该问题可推广到 n 维超球体的装填。对大多数维数，最优值未知。除平凡的一维情形外，最优密度此前只在2维、3维以及自2016年以来的8维和24维中已知<sup>[5](https://arxiv.org/abs/1603.06518)</sup>。

**8维。** 2016年，玛丽娜·维亚佐夫斯卡（Maryna Viazovska）证明，E8 格装填是八维欧几里得空间 \(\mathbb{R}^8\) 中单位球可能的最密排列，并且它是唯一达到该最大密度的周期装填。她的证明使用线性规划界，并结合模形式与傅里叶分析<sup>[4](https://arxiv.org/abs/1603.04246)</sup>。

**24维。** 一周之内，亨利·科恩（Henry Cohn）、阿比纳夫·库马尔（Abhinav Kumar）、斯蒂芬·D. 米勒（Stephen D. Miller）、达尼洛·拉琴科（Danylo Radchenko）和玛丽娜·维亚佐夫斯卡将该方法推广到二十四维，证明利奇格是那里全等球体的最密装填，也是唯一最优周期装填。他们为线性规划界找到了一个最优辅助函数，它是维亚佐夫斯卡8维函数的类似物，由准模形式构造而成<sup>[5](https://arxiv.org/abs/1603.06518)</sup>。亨利·科恩的一篇阐述性文章将这项工作描述为球体装填领域的概念性突破<sup>[9](https://arxiv.org/abs/1611.01685)</sup>。

## 编码理论中的球体装填界

另一个不同的装填问题存在于汉明空间（Hamming space）中，即由 q 个符号组成的字母表上长度为 n 的 \(q^n\) 个词构成的集合。若一个码的最小汉明距离为 d，则它能纠正 \(e = \lfloor (d-1)/2 \rfloor\) 个错误，且以其码字为中心、半径为 e 的汉明球两两不相交。计算点数得到球体装填界，或称汉明界：对于有 M 个码字的码，

\[ M \cdot \sum_{j=0}^{e} \binom{n}{j} (q-1)^{j} \le q^{n}. \]

达到该界且取等号的码称为完美码：码字周围半径为 e 的球无间隙、无重叠地铺满空间，因此每个接收到的词都恰好与一个码字的距离不超过 e<sup>[6](https://bnaskrecki.faculty.wmi.amu.edu.pl/crypto/book/part15_code_based_frontiers/ch43_code_based_crypto.html)</sup><sup> • </sup><sup>[10](https://www.math.cuhk.edu.hk/course_builder/1415/math4260/2014math4260lect11.pdf)</sup>。汉明码以等号满足该界，这证明了它们在具有相同参数的码中的最优性<sup>[11](https://people.cs.umass.edu/~arya/courses/690T/lecture4.pdf)</sup>。这种联系是双向的：完美码字面上就是汉明空间中的最优球体装填，而戈莱码（Golay code）催生了 \(\mathbb{R}^{24}\) 中已知最密的格装填——利奇格<sup>[6](https://bnaskrecki.faculty.wmi.amu.edu.pl/crypto/book/part15_code_based_frontiers/ch43_code_based_crypto.html)</sup>。该界的一个渐近形式 \( \alpha_q(\delta) \le 1 - H_q(\delta/2) \)，其中 \( H_q \) 为 q 元熵函数，支配着码率随分组长度增长时的行为<sup>[12](https://www.math.uci.edu/~nckaplan/teaching_files/kaplancodingnotes.pdf)</sup>。

## 运筹学中的切割与装填

在运筹学中，装填问题关注在容器内安排物品以最大化材料利用率，而切割问题则生成从较大物体中提取物品的切割模式。该领域按照韦舍（Wäscher）及其同事的分类体系，分为输入最小化问题——例如装箱问题（bin packing）和下料问题（cutting stock）——以及输出最大化问题——例如背包问题（knapsack）和排样变体（nesting variants）<sup>[7](https://www.tandfonline.com/doi/full/10.1080/01605682.2026.2717320)</sup><sup> • </sup><sup>[13](https://www.sciencedirect.com/science/article/pii/S0305054825002370)</sup>。

**一维。** 装箱问题把给定尺寸的物品装入数量最少的固定容量箱子中；下料问题作为其主要推广，从库存材料中切出每种物品类型 \(j\) 的 \(d_j\) 个副本。德洛姆（Delorme）、约里（Iori）和马尔泰洛（Martello）综述了这些一维问题的数学模型与精确算法，并评估了主要可用的软件工具<sup>[14](https://www.sciencedirect.com/science/article/pii/S0377221716302491)</sup>。

**二维和三维。** 二维变体出现在钢铁、木材、造纸和玻璃工业中，其中从大板材上切出矩形或不规则部件；原材料复用、缺陷物体、修边距离和需求不确定性等工业因素塑造了求解方法<sup>[13](https://www.sciencedirect.com/science/article/pii/S0305054825002370)</sup>。三维装填问题（包括集装箱装载）是 NP 难的组合优化问题，研究分为离线情形（所有物品事先已知）和在线情形（物品逐个到达且必须立即放置）<sup>[15](https://www.sciencedirect.com/science/article/abs/pii/S0360835222001929)</sup>。不规则排样问题需要对零件进行几何表示，从栅格模型到 φ 函数<sup>[16](https://www.sciencedirect.com/science/article/pii/S0377221719303820)</sup>。

求解方法涵盖精确方法、启发式方法、混合方法以及新兴的基于机器学习的技术；尚存挑战包括计算复杂性、现实约束的整合以及不确定性下的稳健性<sup>[7](https://www.tandfonline.com/doi/full/10.1080/01605682.2026.2717320)</sup><sup> • </sup><sup>[17](https://onlinelibrary.wiley.com/doi/full/10.1111/itor.13318)</sup>。

## 相关量

两个伴随概念在几何文献中反复出现。n 维亲吻数（kissing number）是能够在不发生相交的情况下接触一个中心球（或超球）的相同球体（或超球）的最大数量。炮弹问题（cannonball problem）——密堆积中堆叠球体排列背后的那个问题——赋予这一经典问题以日常形象<sup>[1](https://mathworld.wolfram.com/SpherePacking.html)</sup>。

## References

1. [Sphere Packing, Wolfram MathWorld](https://mathworld.wolfram.com/SpherePacking.html)
2. [Thomas C. Hales, "A proof of the Kepler conjecture," Annals of Mathematics 162 (2005), 1065–1185](https://annals.math.princeton.edu/2005/162-3/p01)
3. [American Mathematical Society, 2003 Prizes and Awards booklet (Chauvenet Prize citation for Thomas C. Hales)](https://www.ams.org/grants-awards/prizes-awards/2003-prizebook.pdf)
4. [Maryna Viazovska, "The sphere packing problem in dimension 8," arXiv:1603.04246](https://arxiv.org/abs/1603.04246)
5. [Henry Cohn, Abhinav Kumar, Stephen D. Miller, Danylo Radchenko, Maryna Viazovska, "The sphere packing problem in dimension 24," arXiv:1603.06518](https://arxiv.org/abs/1603.06518)
6. [Chapter 43, Code-Based Cryptography: McEliece and Goppa Codes, in Elements of Cryptanalysis](https://bnaskrecki.faculty.wmi.amu.edu.pl/crypto/book/part15_code_based_frontiers/ch43_code_based_crypto.html)
7. [A critical review on cutting and packing problems: recent advancements, challenges and applications, Journal of the Operational Research Society](https://www.tandfonline.com/doi/full/10.1080/01605682.2026.2717320)
8. [Kepler Conjecture, Wolfram MathWorld](https://mathworld.wolfram.com/KeplerConjecture.html)
9. [Henry Cohn, "A conceptual breakthrough in sphere packing," arXiv:1611.01685](https://arxiv.org/abs/1611.01685)
10. [Charles Li, Math4260 Coding Theory, Lecture 11: Bounds in Coding Theory II, CUHK](https://www.math.cuhk.edu.hk/course_builder/1415/math4260/2014math4260lect11.pdf)
11. [Arya Mazumdar, COMPSCI 690T Lecture 4: Sphere Packing Bound, UMass Amherst](https://people.cs.umass.edu/~arya/courses/690T/lecture4.pdf)
12. [Coding Theory Lecture Notes, UC Irvine](https://www.math.uci.edu/~nckaplan/teaching_files/kaplancodingnotes.pdf)
13. [Two-dimensional bin packing, cutting stock, and open dimension problems: A survey of practical requirements, Computers & Operations Research 183 (2025)](https://www.sciencedirect.com/science/article/pii/S0305054825002370)
14. [Maxence Delorme, Manuel Iori, Silvano Martello, "Bin packing and cutting stock problems: Mathematical models and exact algorithms," European Journal of Operational Research 255 (2016)](https://www.sciencedirect.com/science/article/pii/S0377221716302491)
15. [On-line three-dimensional packing problems: A review of off-line and on-line solution approaches, Computers & Industrial Engineering](https://www.sciencedirect.com/science/article/abs/pii/S0360835222001929)
16. [Irregular packing problems: A review of mathematical models, European Journal of Operational Research](https://www.sciencedirect.com/science/article/pii/S0377221719303820)
17. [Cutting and packing problems under uncertainty: literature review and classification framework, International Transactions in Operational Research (2023)](https://onlinelibrary.wiley.com/doi/full/10.1111/itor.13318)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 逻辑与离散数学 › General discrete mathematics and discrete structures › Combinatorics › Geometric, polyhedral, and topological combinatorics › Packings, coverings, and density problems

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/packing-problems

English original: https://www.edgepedia.org/packing-problems
