Hardness of Packing, Covering and Partitioning Simple Polygons with Unit Squares
Mikkel Abrahamsen, Jack Stade
Abstract
We show that packing axis-aligned unit squares into a simple polygon P is NP-hard, even when P is an orthogonal and orthogonally convex polygon with half-integer coordinates. It has been known since the early 80s that packing unit squares into a polygon with holes is NPhard [Fowler, Paterson, Tanimoto, Inf. Process. Lett., 1981], but the version without holes was conjectured to be polynomial-time solvable more than two decades ago [Baur and Fekete, Algorithmica, 2001].
Our reduction relies on a new way of reducing from Planar-3SAT. Interestingly, our geometric realization of a planar formula is non-planar. Vertices become rows and edges become columns, with crossings being allowed. The planarity ensures that all endpoints of rows and columns are incident to the outer face of the resulting drawing. We can then construct a polygon following the outer face that realizes all the logic of the formula geometrically, without the need of any holes.
This new reduction technique proves to be general enough to also show hardness of two natural covering and partitioning problems, even when the input polygon is simple. We say that a polygon Q is small if Q is contained in a unit square. We prove that it is NP-hard to find a minimum number of small polygons whose union is P (covering) and to find a minimum number of pairwise interior-disjoint small polygons whose union is P (partitioning), when P is an orthogonal simple polygon with half-integer coordinates. This is the first partitioning problem known to be NP-hard for polygons without holes, with the usual objective of minimizing the number of pieces.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext baa668e5-4d33-4190-b380-bdc8028b28caCited by top-tier papers1
Ask how each one uses itBuilds on4
- Covering Polygons is Even HarderMikkel AbrahamsenFOCS 2021 · 25 citations
- Framework for ER-Completeness of Two-Dimensional Packing ProblemsMikkel Abrahamsen, Tillmann Miltzow, Nadja SeiferthFOCS 2020 · 23 citations
- Partitioning a Polygon Into Small PiecesMikkel Abrahamsen, Nichlas Langhoff RasmussenSODA 2025 · 1 citation
- Minimum Star Partitions of Simple Polygons in Polynomial TimeMikkel Abrahamsen, Joakim Blikstad, André Nusser, Hanwen ZhangSTOC 2024 · 1 citation
Related papers
- Polygon Placement Revisited: (Degree of Freedom + 1)-SUM Hardness and an Improvement via Offline Dynamic Rectangle UnionMarvin Künnemann, André NusserSODA 2022 · 1 citation
- Constant-Factor Approximation Algorithms for Convex Cover and Hidden Set in a Simple PolygonReilly Browne, Prahlad Narasimhan Kasthurirangan, Joseph S. B. Mitchell, Valentin PolishchukFOCS 2023 · 7 citations
- Approximating Maximum Independent Set for Rectangles in the PlaneJoseph S. B. MitchellFOCS 2021 · 18 citations
- Algorithms and Lower Bounds for the Maximum Overlap of Two Polygons Under TranslationMikkel Abrahamsen, Sujoy Bhore, Maike Buchin, Jacobus Conradi et al.SODA 2026
- Gap-ETH-Tight Approximation Schemes for Red-Green-Blue Separation and Bicolored Noncrossing Euclidean Travelling Salesman ToursFrançois Dross, Krzysztof Fleszar, Karol Wegrzycki, Anna Zych-PawlewiczSODA 2023
