Introduction
Packing problems are a cornerstone of computational geometry and logistics, with applications ranging from material cutting and shipping to the design of wireless communication layouts and architectural planning. The specific challenge addressed in this research is the Packing Unequal Circles into a Square Container (PUC-SC). Given a set of $n$ circles with varying radii, the objective is to arrange them within a square container such that the square’s side length $L$ is minimized.
PUC-SC is classified as an NP-hard problem. As the number of circles increases, the computational complexity of finding a global optimum grows exponentially. Furthermore, it is a non-convex optimization problem characterized by numerous "local minima"—configurations where circles become trapped in suboptimal positions, unable to move to a better arrangement without a temporary increase in overlap or container size.
The PAS-PCI Methodology
To overcome these challenges, the researchers developed the PAS-PCI algorithm, which stands for Partitioned Action Space and Partitioned Circle Items. This framework integrates a quasi-physical optimization model with innovative space-partitioning heuristics.
1. Quasi-Physical Optimization and LBFGS
The algorithm treats the circles as smooth elastic solids and the container as a rigid boundary. When circles overlap or intersect the container walls, the system generates "potential energy." The core optimization task is to minimize this energy, effectively allowing the circles to "push" one another into non-overlapping configurations. This is achieved using the LBFGS (Limited-memory Broyden-Fletcher-Goldfarb-Shanno) method, a high-performance optimization algorithm.
2. Action Spaces (AS)
To identify potential locations for "stuck" circles, the algorithm approximates each circle as a square. This simplification allows the use of rectangular packing techniques to identify "Action Spaces"—the largest unoccupied rectangular regions within the container. These spaces serve as target zones for relocating circles during the optimization process.
3. Partitioning Innovations: PCI and PAS
The primary innovation of this work lies in its dual partitioning strategy:
- Partitioned Circle Items (PCI): Circles are categorized into four distinct sets ($S_1$ through $S_4$) based on their radii. Large circles act as the structural "anchors" of the layout, while smaller circles are treated as flexible "fillers" that can occupy tight gaps.
- Partitioned Action Space (PAS): The algorithm specifically identifies "narrow" action spaces where one dimension significantly exceeds the other. Rather than ignoring these gaps, the PAS strategy splits them into two equal "neighbor" spaces. This allows the algorithm to fit two smaller circles into a space that a single larger circle could not utilize.
4. Basin-Hopping and "Pain Degree"
When the LBFGS optimization reaches a local minimum, the algorithm employs a basin-hopping strategy to escape the trap. It calculates a "pain degree" for each circle—a metric representing the intensity of its overlap with others. The most "painful" circles are then jumped into the most suitable unoccupied action spaces, restarting the optimization from a more promising state.
Experimental Results and Impact
The PAS-PCI algorithm was rigorously tested against industry-standard benchmarks, including large-variation ($r_i = i$) and small-variation ($r_i = \sqrt{i}$) instances. The results were compared against the best-known records on Packomania, the definitive global benchmark for circle packing.
Key findings include:
- Record-Breaking Performance: PAS-PCI successfully broke 82 out of 94 world records on Packomania and matched the remaining 12.
- Overcoming Stagnation: The algorithm updated 19 records that had remained unchanged since 2013, demonstrating its ability to find superior configurations that previous state-of-the-art heuristics (such as ASGO) missed.
- Efficiency: In direct comparisons, PAS-PCI outperformed previous methods in 64 out of 68 instances while maintaining superior computational speed in most cases.
Conclusion and Future Directions
The PAS-PCI algorithm represents a significant advancement in solving the PUC-SC problem by leveraging the complementary nature of small circles and narrow unoccupied spaces. While currently optimized for square containers, the authors suggest that the partitioning logic could be adapted for circular or irregular 2D geometries. Furthermore, the principles of action space partitioning and item grouping hold potential for expansion into 3D sphere packing, a field with critical implications for materials science and molecular chemistry.
Summary updated