{"title":"Hardness of Packing, Covering and Partitioning Simple Polygons with Unit Squares","authors":"Jack Stade, Mikkel Abrahamsen","doi":"arxiv-2404.09835","DOIUrl":null,"url":null,"abstract":"We show that packing axis-aligned unit squares into a simple polygon $P$ is\nNP-hard, even when $P$ is an orthogonal and orthogonally convex polygon with\nhalf-integer coordinates. It has been known since the early 80s that packing\nunit squares into a polygon with holes is NP-hard~[Fowler, Paterson, Tanimoto,\nInf. Process. Lett., 1981], but the version without holes was conjectured to be\npolynomial-time solvable more than two decades ago~[Baur and Fekete,\nAlgorithmica, 2001]. Our reduction relies on a new way of reducing from \\textsc{Planar-3SAT}.\nInterestingly, our geometric realization of a planar formula is non-planar.\nVertices become rows and edges become columns, with crossings being allowed.\nThe planarity ensures that all endpoints of rows and columns are incident to\nthe outer face of the resulting drawing. We can then construct a polygon\nfollowing the outer face that realizes all the logic of the formula\ngeometrically, without the need of any holes. This new reduction technique proves to be general enough to also show\nhardness of two natural covering and partitioning problems, even when the input\npolygon is simple. We say that a polygon $Q$ is \\emph{small} if $Q$ is\ncontained in a unit square. We prove that it is NP-hard to find a minimum\nnumber of small polygons whose union is $P$ (covering) and to find a minimum\nnumber of pairwise interior-disjoint small polygons whose union is $P$\n(partitioning), when $P$ is an orthogonal simple polygon with half-integer\ncoordinates. This is the first partitioning problem known to be NP-hard for\npolygons without holes, with the usual objective of minimizing the number of\npieces.","PeriodicalId":501570,"journal":{"name":"arXiv - CS - Computational Geometry","volume":"53 41 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-04-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Computational Geometry","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2404.09835","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
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 NP-hard~[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 \textsc{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 \emph{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.