Author:
Fomin Fedor V.,Golovach Petr A.,Inamdar Tanmay,Saurabh Saket,Zehavi Meirav
Abstract
AbstractThe problem of packing of equal disks (or circles) into a rectangle is a fundamental geometric problem. (By a packing here we mean an arrangement of disks in a rectangle without overlapping.) We consider the following algorithmic generalization of the equal disk packing problem. In this problem, for a given packing of equal disks into a rectangle, the question is whether by changing positions of a small number of disks, we can allocate space for packing more disks. More formally, in the repacking problem, for a given set of n equal disks packed into a rectangle and integers k and h, we ask whether it is possible by changing positions of at most h disks to pack $$n+k$$
n
+
k
disks. Thus the problem of packing equal disks is the special case of our problem with $$n=h=0$$
n
=
h
=
0
. While the computational complexity of packing equal disks into a rectangle remains open, we prove that the repacking problem is NP-hard already for $$h=0$$
h
=
0
. Our main algorithmic contribution is an algorithm that solves the repacking problem in time $$(h+k)^{\mathcal {O}(h+k)}\cdot |I|^{\mathcal {O}(1)}$$
(
h
+
k
)
O
(
h
+
k
)
·
|
I
|
O
(
1
)
, where |I| is the input size. That is, the problem is fixed-parameter tractable parameterized by k and h.
Funder
European Research Council
Norges Forskningsråd
Israel Science Foundation
Publisher
Springer Science and Business Media LLC
Reference35 articles.
1. Abrahamsen, M., Miltzow, T., Seiferth, N.: Framework for er-completeness of two-dimensional packing problems. In: 61st IEEE Annual Symposium on Foundations of Computer Science (FOCS), pp. 1014–1021. IEEE (2020)
2. Alon, N., Yuster, R., Zwick, U.: Color-coding. J. ACM 42(4), 844–856 (1995)
3. Ashok, P., Kolay, S., Meesum, S.M., Saurabh, S.: Parameterized complexity of strip packing and minimum volume packing. Theor. Comput. Sci. 661, 56–64 (2017)
4. Baker, B.S.: Approximation algorithms for np-complete problems on planar graphs. J. ACM 41(1), 153–180 (1994)
5. Bansal, N., Khan, A.: Improved approximation algorithm for two-dimensional bin packing. In: Chekuri, C. (ed.) Proceedings of the Twenty-Fifth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2014, Portland, Oregon, USA, January 5–7, 2014, pp. 13–25. SIAM (2014)