Compare commits

...

3 Commits

Author SHA1 Message Date
9e72f0106d RS: definition diverges. need some discussion.
All checks were successful
build pdf / build (push) Successful in 9s
2025-08-17 00:18:26 +08:00
fefb1bb18c rectangle stabbing 2025-08-16 17:14:48 +08:00
9bf59bc7b4 ex1.2 2025-08-14 12:43:07 +08:00
2 changed files with 57 additions and 1 deletions

View File

@@ -14,6 +14,8 @@
For errata and more stuff, see \url{https://sarielhp.org/book/}
Note that unless specifically stated, we always consider the RAM model.
\section{Grid}
\begin{exercise}\label{ex1.1}
Let $P$ be a max cardinality point set contained in the $d$-dimensional unit hypercube such that the smallest distance of point pairs in $P$ is 1. Prove that
@@ -37,8 +39,46 @@ The last line is greater than $(\sqrt{d}/5)^d$ for large enough $d$.
\end{proof}
\begin{exercise}
Compute clustering radius
Compute clustering radius.
Let $C$ and $P$ be two given set of points such that $k=|C|$ and $n=|P|$. Define the covering radius of $P$ by $C$ as $r=\max_{p\in P} \min_{c\in C} \norm{p-c}$.
\begin{enumerate}
\item find an $O(n+k\log n)$ expected time alg that outputs $\alpha$ such that $\alpha \leq r \leq 10\alpha$.
\item for prescribed $\varepsilon>0$, find an $O(n+k\varepsilon^{-2}\log n)$ expected time alg that outputs $\alpha$ s.t. $\alpha<r<(1+\epsilon)\alpha$.
\end{enumerate}
\end{exercise}
\section*{Not in the book}
\begin{problem}[$d$-dimensional rectangle stabbing \cite{gaur_constant_2002}]
Given a set $R$ of $n$ axis-parallel rectangles and a set $L$ of axis-parallel real lines, find the minimum subset of $L$ such that every rectangle is stabbed by at least one line in the subset.
\end{problem}
This problem is NP-hard even for the 2D case. There is a LP rounding method which gives a $d$-approximation. Let $K_i$ be the subset of $d$th-axis parallel lines in $L$. For a rectangle $r\in R$, denote by $K_i^r$ the set of lines in $K_i$ that stab $r$. Consider the following LP.
\begin{equation*}
\begin{aligned}
\min& & \sum_{\ell\in L} x_\ell& & & \\
s.t.& & \sum_{i\in [d]} \sum_{\ell \in K_i^r} x_\ell&\geq 1 & &\forall r\in R\\
& & x_\ell&\geq 0 & &\forall \ell\in L
\end{aligned}
\end{equation*}
Let $\set{x^*_\ell: \ell\in L}$ be the optimal solution to the above LP.
For each $r$, there must be some $i\in [d]$ such that $\sum_{\ell \in K_i^r}x^*_\ell \geq 1/d$. Denote such a set for rectangle $r$ by $K_*^r$.
Suppose that we find a subset $L^{int}\subset L$ and define a integral solution $\set{y_\ell=1}_{\ell\in L^{int}}\cup \set{y_\ell=0}_{\ell\notin L^{int}}$ such that $\sum_{\ell\in K_*^r}\geq 1$ for each rectangle $r$. In other words, we restrict the solution to be a subset of lines that stabs every rectangle $r$ with lines in $K_*^r$.
One nice property of this restriction is that now the problem becomes independent for each dimension. We assign to each rectangle $r$ a dimension $i$ such that $\sum_{\ell \in K_i^r}x^*_\ell \geq 1/d$. Let $R_i\subset R$ be the set of rectangles assigned dimension $i$. We want to solve the following IP for dimension $i\in[d]$.
\begin{equation*}
\begin{aligned}
\min& & \sum_{\ell\in K_i} x_\ell& & & \\
s.t.& & \sum_{\ell \in K_i^r} x_\ell&\geq 1 & &\forall r\in R_i\\
& & x_\ell&\in \set{0,1} & &\forall \ell\in K_i
\end{aligned}
\end{equation*}
Another nice property is that the constraint matrix is TUM and therefore the its LP relaxation is integral. wait... the definition for d-dimensional rectangle stabbing is different. they do not use lines, they use hyperplanes... I cannot show that the constraint matrix is TUM under my settings.
\bibliographystyle{alpha}
\bibliography{ref}
\end{document}

16
ref.bib Normal file
View File

@@ -0,0 +1,16 @@
@article{gaur_constant_2002,
title = {Constant {Ratio} {Approximation} {Algorithms} for the {Rectangle} {Stabbing} {Problem} and the {Rectilinear} {Partitioning} {Problem}},
volume = {43},
issn = {0196-6774},
url = {https://www.sciencedirect.com/science/article/pii/S0196677402912216},
doi = {10.1006/jagm.2002.1221},
number = {1},
urldate = {2025-08-16},
journal = {Journal of Algorithms},
author = {Gaur, Daya Ram and Ibaraki, Toshihide and Krishnamurti, Ramesh},
month = apr,
year = {2002},
keywords = {approximation algorithms, combinatorial optimization, rectangle stabbing, rectilinear partitioning},
pages = {138--152},
}