Abstract
Explorable heap selection is the problem of selecting the \(n^{\text {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 \(n\cdot \exp (O(\sqrt{\log {n}}))\) time algorithms using \(O(\log (n)^{2.5})\) and \(O(\sqrt{\log n})\) space respectively. We present a new randomized algorithm with running time \(O(n\log (n)^3)\) against an oblivious adversary using \(O(\log n)\) space, substantially improving the previous best randomized running time at the expense of slightly increased space usage. We also show an \(\varOmega (\log (n)n/\log (\log (n)))\) lower bound for any algorithm that solves the problem in the same amount of space, indicating that our algorithm is nearly optimal.
Due to space limitations, we have omitted several proofs. These can be found in [7].
This project has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (grant agreement QIP–805241).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
[13] did not name the problem, so we have given a descriptive name here.
References
Achterberg, T.: Constraint Integer Programming. Ph.D. thesis, TU Berlin (2009)
Achterberg, T., Koch, T., Martin, A.: Branching rules revisited. Oper. Res. Lett. 33(1), 42–54 (2005). https://doi.org/10.1016/j.orl.2004.04.002
Alpern, S., Gal, S.: The Theory of Search Games and Rendezvous, vol. 55. Springer, New York (2006). https://doi.org/10.1007/b100809
Balcan, M.F., Dick, T., Sandholm, T., Vitercik, E.: Learning to branch. In: ICML (2018)
Banerjee, S., Cohen-Addad, V., Gupta, A., Li, Z.: Graph searching with predictions, December 2022
Berman, P.: On-line searching and navigation. In: Fiat, A., Woeginger, G.J. (eds.) Online Algorithms. LNCS, vol. 1442, pp. 232–241. Springer, Heidelberg (1998). https://doi.org/10.1007/BFb0029571
Borst, S., Dadush, D., Huiberts, S., Kashaev, D.: A nearly optimal randomized algorithm for explorable heap selection, October 2022. https://doi.org/10.48550/arXiv.2210.05982
Clausen, J., Perregaard, M.: On the best search strategy in parallel branch-and-bound: best-first search versus lazy depth-first search. Ann. Oper. Res. 90, 1–17 (1999)
Dasgupta, P., Chakrabarti, P.P., DeSarkar, S.C.: A near optimal algorithm for the extended cow-path problem in the presence of relative errors. In: Thiagarajan, P.S. (ed.) FSTTCS 1995. LNCS, vol. 1026, pp. 22–36. Springer, Heidelberg (1995). https://doi.org/10.1007/3-540-60692-0_38
Diks, K., Fraigniaud, P., Kranakis, E., Pelc, A.: Tree exploration with little memory. J. Algorithms 51(1), 38–63 (2004). https://doi.org/10.1016/j.jalgor.2003.10.002
Frederickson, G.: An optimal algorithm for selection in a min-heap. Inf. Comput. 104(2), 197–214 (1993). https://doi.org/10.1006/inco.1993.1030
Gleixner, A.M.: Personal communication, November 2022
Karp, R.M., Saks, M.E., Wigderson, A.: On a search problem related to branch-and-bound procedures. In: FOCS, pp. 19–28 (1986)
Linderoth, J.T., Savelsbergh, M.W.P.: A computational study of search strategies for mixed integer programming. INFORMS J. Comput. 11(2), 173–187 (1999). https://doi.org/10.1287/ijoc.11.2.173
Lodi, A., Zarpellon, G.: On learning and branching: a survey. TOP 25(2), 207–236 (2017). https://doi.org/10.1007/s11750-017-0451-6
Morrison, D.R., Jacobson, S.H., Sauppe, J.J., Sewell, E.C.: Branch-and-bound algorithms: a survey of recent advances in searching, branching, and pruning. Discret. Optim. 19, 79–102 (2016). https://doi.org/10.1016/j.disopt.2016.01.005
Munro, J., Paterson, M.: Selection and sorting with limited storage. Theoret. Comput. Sci. 12(3), 315–323 (1980). https://doi.org/10.1016/0304-3975(80)90061-4
Pietracaprina, A., Pucci, G., Silvestri, F., Vandin, F.: Space-efficient parallel algorithms for combinatorial search problems. J. Parallel Distrib. Comput. 76, 58–65 (2015)
Suhl, L.M., Suhl, U.H.: A fast LU update for linear programming. Ann. Oper. Res. 43(1), 33–47 (1993). https://doi.org/10.1007/BF02025534
Kamphans, T.: Models and algorithms for online exploration and search. Ph.D. thesis, Rheinische Friedrich-Wilhelms-Universität Bonn (2006). https://hdl.handle.net/20.500.11811/2622
Author information
Authors and Affiliations
Corresponding authors
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Borst, S., Dadush, D., Huiberts, S., Kashaev, D. (2023). A Nearly Optimal Randomized Algorithm for Explorable Heap Selection. In: Del Pia, A., Kaibel, V. (eds) Integer Programming and Combinatorial Optimization. IPCO 2023. Lecture Notes in Computer Science, vol 13904. Springer, Cham. https://doi.org/10.1007/978-3-031-32726-1_3
Download citation
DOI: https://doi.org/10.1007/978-3-031-32726-1_3
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-32725-4
Online ISBN: 978-3-031-32726-1
eBook Packages: Computer ScienceComputer Science (R0)