Packing problems


Packing problems are a class of optimization problems in mathematics that involve attempting to pack objects together into containers. The goal is to either pack a single container as densely as possible or pack all objects using as few containers as possible. Many of these problems can be related to real life packaging, storage and transportation issues. Each packing problem has a dual covering problem, which asks how many of the same objects are required to completely cover every region of the container, where objects are allowed to overlap.
In a bin packing problem, you are given:
Usually the packing must be without overlaps between goods and other goods or the container walls. In some variants, the aim is to find the configuration that packs a single container with the maximal density. More commonly, the aim is to pack all the objects into as few containers as possible. In some variants the overlapping is allowed but should be minimized.

Packaging in infinite space

Many of these problems, when the container size is increased in all directions, become equivalent to the problem of packing objects as densely as possible in infinite Euclidean space. This problem is relevant to a number of scientific disciplines, and has received significant attention. The Kepler conjecture postulated an optimal solution for packing spheres hundreds of years before it was proven correct by Thomas Callister Hales. Many other shapes have received attention, including ellipsoids, Platonic and Archimedean solids including tetrahedra, tripods, and unequal-sphere dimers.

Hexagonal packing of circles

These problems are mathematically distinct from the ideas in the circle packing theorem. The related circle packing problem deals with packing circles, possibly of different sizes, on a surface, for instance the plane or a sphere.
The counterparts of a circle in other dimensions can never be packed with complete efficiency in dimensions larger than one. That is, there will always be unused space if you are only packing circles. The most efficient way of packing circles, hexagonal packing, produces approximately 91% efficiency.

Sphere packings in higher dimensions

In three dimensions, close-packed structures offer the best lattice packing of spheres, and is believed to be the optimal of all packings. With 'simple' sphere packings in three dimensions there are nine possible definable packings. The 8-dimensional E8 lattice and 24-dimensional Leech lattice have also been proven to be optimal in their respective real dimensional space.

Packings of Platonic solids in three dimensions

Cubes can easily be arranged to fill three-dimensional space completely, the most natural packing being the cubic honeycomb. No other Platonic solid can tile space on its own, but some preliminary results are known. Tetrahedra can achieve a packing of at least 85%. One of the best packings of regular dodecahedra is based on the aforementioned face-centered cubic lattice.
Tetrahedra and octahedra together can fill all of space in an arrangement known as the tetrahedral-octahedral honeycomb.
SolidOptimal density of a lattice packing
icosahedron0.836357...
dodecahedron/8 = 0.904508...
octahedron18/19 = 0.947368...

Simulations combining local improvement methods with random packings suggest that the lattice packings for icosahedra, dodecahedra, and octahedra are optimal in the broader class of all packings.

Packing in 3-dimensional containers

Different cuboids into a cuboid

Determine the minimum number of cuboid containers that are required to pack a given set of item cuboids. The rectangular cuboids to be packed can be rotated by 90 degrees on each axis.

Spheres into a Euclidean ball

The problem of finding the smallest ball such that disjoint open unit balls may be packed inside it has a simple and complete answer in -dimensional Euclidean space if, and in an infinite dimensional Hilbert space with no restrictions. It is worth describing in detail here, to give a flavor of the general problem. In this case, a configuration of pairwise tangent unit balls is available. Place the centers at the vertices of a regular dimensional simplex with edge 2; this is easily realized starting from an orthonormal basis. A small computation shows that the distance of each vertex from the barycenter is. Moreover, any other point of the space necessarily has a larger distance from at least one of the vertices. In terms of inclusions of balls, the open unit balls centered at are included in a ball of radius, which is minimal for this configuration.
To show that this configuration is optimal, let be the centers of disjoint open unit balls contained in a ball of radius centered at a point. Consider the map from the finite set into taking in the corresponding for each. Since for all, this map is 1-Lipschitz and by the Kirszbraun theorem it extends to a 1-Lipschitz map that is globally defined; in particular, there exists a point such that for all one has, so that also. This shows that there are disjoint unit open balls in a ball of radius if and only if. Notice that in an infinite dimensional Hilbert space this implies that there are infinitely many disjoint open unit balls inside a ball of radius if and only if. For instance, the unit balls centered at, where is an orthonormal basis, are disjoint and included in a ball of radius centered at the origin. Moreover, for, the maximum number of disjoint open unit balls inside a ball of radius r is.

Spheres in a cuboid

Determine the number of spherical objects of given diameter d that can be packed into a cuboid of.

Identical spheres in a cylinder

Determine the minimum height h of a cylinder with given radius R that will pack n identical spheres of radius r. For a small radius R the spheres arrange to ordered structures, called columnar structures.

Polyhedra in spheres

Determine the minimum radius R that will pack n identical, unit volume polyhedra of a given shape.

Packing in 2-dimensional containers

Packing circles

Circles in circle

Pack n unit circles into the smallest possible circle. This is closely related to spreading points in a unit circle with the objective of finding the greatest minimal separation, dn, between points.
Optimal solutions have been proven for n ≤ 13, and n = 19.

Circles in square

Pack n unit circles into the smallest possible square. This is closely related to spreading points in a unit square with the objective of finding the greatest minimal separation, dn, between points. To convert between these two formulations of the problem, the square side for unit circles will be L = 2 + 2/dn.
Optimal solutions have been proven for n ≤ 30.

Circles in isosceles right triangle

Pack n unit circles into the smallest possible isosceles right triangle. Good estimates are known for n<300.

Circles in equilateral triangle

Pack n unit circles into the smallest possible equilateral triangle. Optimal solutions are known for n<13, and conjectures are available for n < 28.

Packing squares

Squares in square

Pack n unit squares into the smallest possible square.
Optimal solutions have been proven for n = 1–10, 14–16, 22–25, 33–36, 62–64, 79–81, 98–100, and any square integer.
The wasted space is asymptotically O.

Squares in circle

Pack n squares in the smallest possible circle.
Minimum solutions:
Number of squaresCircle radius
10.707...
21.118...
31.288...
41.414...
51.581...
61.688...
71.802...
81.978...
92.077...
102.121...
112.214...
122.236...

Packing rectangles

Identical rectangles in a rectangle

The problem of packing multiple instances of a single rectangle of size, allowing for 90° rotation, in a bigger rectangle of size has some applications such as loading of boxes on pallets and, specifically, woodpulp stowage.
For example, it is possible to pack 147 rectangles of size in a rectangle of size.

Different rectangles in a rectangle

The problem of packing multiple rectangles of varying widths and heights in an enclosing rectangle of minimum area has an important application in combining images into a single larger image. A web page that loads a single larger image often renders faster in the browser than the same page loading multiple small images, due to the overhead involved in requesting each image from the web server.
An example of a fast algorithm that packs rectangles of varying widths and heights into an enclosing rectangle of minimum area is .

Related fields

In tiling or tessellation problems, there are to be no gaps, nor overlaps. Many of the puzzles of this type involve packing rectangles or polyominoes into a larger rectangle or other square-like shape.
There are significant theorems on tiling rectangles in rectangles with no gaps or overlaps:
The study of polyomino tilings largely concerns two classes of problems: to tile a rectangle with congruent tiles, and to pack one of each n-omino into a rectangle.
A classic puzzle of the second kind is to arrange all twelve pentominoes into rectangles sized 3×20, 4×15, 5×12 or 6×10.

Packing of irregular objects

Packing of irregular objects is a problem not lending itself well to closed form solutions; however, the applicability to practical environmental science is quite important. For example, irregularly shaped soil particles pack differently as the sizes and shapes vary, leading to important outcomes for plant species to adapt root formations and to allow water movement in the soil.
The problem of deciding whether a given set of polygons can fit in a given square container has been shown to be complete for the existential theory of the reals.