A nearly optimal randomized algorithm for explorable heap selection
Explorable heap selection is the problem of selecting the <i>n</i>th smallest value in a binary heap. The key values can only be accessed by traversing through the underlying infinite binary tree, and the complexity of the algorithm is measured by the total distance traveled in the tree (each edge has unit cost). This problem was originally proposed as a model to study search strategies for the branch-and-bound algorithm with storage restrictions by Karp, Saks and Widgerson (FOCS '86), who gave deterministic and randomized <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>n</mml:mi> <mml:mo>·</mml:mo> <mml:mo>exp</mml:mo> <mml:mo>(</mml:mo> <mml:mi>O</mml:mi> <mml:mrow><mml:mo>(</mml:mo> <mml:msqrt><mml:mrow><mml:mo>log</mml:mo> <mml:mi>n</mml:mi></mml:mrow> </mml:msqrt> <mml:mo>)</mml:mo></mml:mrow> <mml:mo>)</mml:mo></mml:mrow> </mml:math> time algorithms using <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>O</mml:mi> <mml:mo>(</mml:mo> <mml:mo>log</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:mi>n</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mrow><mml:mn>2.5</mml:mn></mml:mrow> </mml:msup> <mml:mo>)</mml:mo></mml:mrow> </mml:math> and <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>O</mml:mi> <mml:mo>(</mml:mo> <mml:msqrt><mml:mrow><mml:mo>log</mml:mo> <mml:mi>n</mml:mi></mml:mrow> </mml:msqrt> <mml:mo>)</mml:mo></mml:mrow> </mml:math> space respectively. We present a new randomized algorithm with running time <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>O</mml:mi> <mml:mo>(</mml:mo> <mml:mi>n</mml:mi> <mml:mo>log</mml:mo> <mml:msup><mml:mrow><mml:mo>(</mml:mo> <mml:mi>n</mml:mi> <mml:mo>)</mml:mo></mml:mrow> <mml:mn>3</mml:mn></mml:msup> <mml:mo>)</mml:mo></mml:mrow> </mml:math> against an oblivious adversary using <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>O</mml:mi> <mml:mo>(</mml:mo> <mml:mo>log</mml:mo> <mml:mi>n</mml:mi> <mml:mo>)</mml:mo></mml:mrow> </mml:math> space, substantially improving the previous best randomized running time at the expense of slightly increased space usage. We also show an <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>Ω</mml:mi> <mml:mo>(</mml:mo> <mml:mo>log</mml:mo> <mml:mo>(</mml:mo> <mml:mi>n</mml:mi> <mml:mo>)</mml:mo> <mml:mi>n</mml:mi> <mml:mo>/</mml:mo> <mml:mo>log</mml:mo> <mml:mo>(</mml:mo> <mml:mo>log</mml:mo> <mml:mo>(</mml:mo> <mml:mi>n</mml:mi> <mml:mo>)</mml:mo> <mml:mo>)</mml:mo> <mml:mo>)</mml:mo></mml:mrow> </mml:math> lower bound for any algorithm that solves the problem in the same amount of space, indicating that our algorithm is nearly optimal.
Authors
- Danish Kashaev (ORCID: https://orcid.org/0000-0002-7999-4989)
- Sophie Huiberts (ORCID: https://orcid.org/0000-0003-2633-014X)
- Daniel Dadush (ORCID: https://orcid.org/0000-0001-5577-5012)
- Sander Borst (ORCID: https://orcid.org/0000-0003-4001-6675)
Institutions
- Centrum Wiskunde & Informatica (NL)
- Utrecht University (NL)
- Columbia University (US)
Publication Details
- Journal
- Mathematical Programming
- Published
- 2024-11-05
- DOI
- https://doi.org/10.1007/s10107-024-02145-5
- Primary Topic
- Optimization and Search Problems
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- European Commission
- HORIZON EUROPE European Research Council