Abstract
We study the online maximum coverage problem on a target interval, in which, given an online sequence of sub-intervals (which may intersect among each other) to arrive, we aim to select at most k of the sub-intervals such that the total covered length of the target interval is maximized. The decision to accept or reject each sub-interval is made immediately and irrevocably right at the release time of the sub-interval. We comprehensively study various settings of this problem regarding both the length of each released sub-interval and the total number of released sub-intervals. To begin with, we investigate the offline version of the problem where the sequence of all the released sub-intervals is known in advance to the decision-maker and propose two polynomial-time optimal solutions to different settings of our offline problem. For the online problem, lower bounds on the competitive ratio are first proposed on our well-designed release schemes of sub-intervals. Then, we propose a Single-threshOld-based deterministic Algorithm (SOA), which adds a sub-interval if the added length without overlap exceeds a certain threshold, achieving competitive ratios close to the lower bounds. Further, we extend SOA to a Double-threshOlds-based deterministic Algorithm (DOA) by using the first threshold for exploration and the second threshold (larger than the first one) for exploitation. With the two thresholds generated by our proposed program, we show that DOA outperforms SOA slightly in the worst-case scenario. Moreover, we show that more thresholds cannot induce better worst-case performance of an online deterministic algorithm as long as those thresholds are used in non-increasing order in accepting sub-intervals.
Similar content being viewed by others
Availability of data and materials.
Data sharing is not applicable to this article as no datasets were generated or analysed during the current study.
Notes
This target interval represents the expertise distribution of each online worker, which is in the simplest but fundamental way. For example, a worker’s expertise distribution is close to the left boundary of the target interval if her expertise is in combinatorial optimization, while another with expertise distributed close to the right boundary implies a game theory background.
When \(k=1\), our problem degenerates to the classical secretary problem without expertise sub-interval overlap.
The length of each sub-interval is normalized with regard to a.
This models the scenario where an online worker masters different domains of expertise. Moreover, we keep the same unit-sum for all the sub-intervals to show similar strength of all the online workers.
We do not distinguish our offline solution between FN and VN settings since our solution performs optimally in each of them.
This implies that OPT remains quota j, which is not sufficient to accept all the remaining sub-intervals in \({\mathbb {V}}_i\). In addition, we have \(i\ge 2\) in this case.
Note that the major difference between \(\kappa ({\mathbb {V}}_i,j)\) and \(\chi ({\mathbb {V}}_i,j)\) is that \(\kappa ({\mathbb {V}}_i,j)\) always accepts the last sub-interval \(V_i\) in \({\mathbb {V}}_i\) while \(\chi ({\mathbb {V}}_i,j)\) does not necessarily.
Our approach to counting the contribution of each accepted sub-interval guarantees that the length contribution of sub-intervals accepted in the future will be independent of any accepted sub-interval, which provides convenience in formulating the \( \chi ({\mathbb {V}}_i,j)\) in Case 2.
Note that \(i=0\) would never happen, which is ensured by Case 2 and the basic assumption \(n\ge k+1\). We include the condition \(i=0\) here for the sake of completeness.
Note that Klee’s algorithm (Klee 1977) can compute the length of an union of x sub-intervals in \(O(x\log x)\) time, which is based on sorting the intervals. Accordingly, one can compute the length of x sorted sub-intervals in O(x) time by scanning the x sub-intervals.
Since an iteration will stop when \(|{\mathbb {V}}_i|\le j\) (see Case 2 of our offline solution). The overall states of our solution is improved to \(O(k(n-k))\).
When some \(V_q\) contains less than u of small sub-intervals, one can copy a small sub-interval of \(V_q\) several times until the total number of small sub-intervals of \(V_q\) reaches u, which does not affect the length contribution of \(V_q\) to the solution.
Here, the “best-fit \(\theta \)" refers to the \(\theta \) that minimizes the upper bound as presented in Theorem 4.
Note that the length of each of these \(\mu \) disjoint intervals could be larger than one as an interval could be formed by multiple accepted sub-intervals.
Constraint (vii) actually can be restricted, by calculation, to \(\left\lceil \frac{k+1}{5} \right\rceil \le \omega \le k\).
Here, the j is chosen such that \(2j+2\le k<3j\).
References
Albers S, Ladewig L (2021) New results for the \(k\)-secretary problem. Theoret Comput Sci 863:102–119. https://doi.org/10.1016/j.tcs.2021.02.022
Alon N, Awerbuch B, Azar Y et al (2009) The online set cover problem. SIAM J Comput 39(2):361–370. https://doi.org/10.1137/060661946
Assadi S, Khanna S, Li Y (2019) Tight bounds for single-pass streaming complexity of the set cover problem. SIAM J Comput 50(3):16–341. https://doi.org/10.1137/16M1095482
Ausiello G, Boria N, Giannakos A et al (2012) Online maximum \(k\)-coverage. Discret Appl Math 160(13–14):1901–1913. https://doi.org/10.1016/j.dam.2012.04.005
Babaioff M, Immorlica N, Kempe D, et al (2007) A knapsack secretary problem with applications. In: Proceedings of approximation, randomization, and combinatorial optimization. Algorithms and techniques. Springer, pp 16–28. https://doi.org/10.1007/978-3-540-74208-1_2
Bateni M, Hajiaghayi M, Zadimoghaddam M (2013) Submodular secretary problem and extensions. ACM Trans Algorithms 9(4):1–23. https://doi.org/10.1145/2500121
Brawley AM, Pury CL (2016) Work experiences on mturk: job satisfaction, turnover, and information sharing. Comput Hum Behav 54:531–546. https://doi.org/10.1016/j.chb.2015.08.031
Buchbinder N, Feldman S, Schwartz R (2019) Online submodular maximization with preemption. ACM Trans Algorithms 15(3):1–31. https://doi.org/10.1145/3309764
Chin FY, Chrobak M, Fung SP et al (2006) Online competitive algorithms for maximizing weighted throughput of unit jobs. J Discrete Algorithms 4(2):255–276. https://doi.org/10.1016/j.jda.2005.03.005
Chrobak M, Jawor W, Sgall J et al (2007) Online scheduling of equal-length jobs: Randomization and restarts help. SIAM J Comput 36(6):1709–1728. https://doi.org/10.1137/S0097539704446608
Cohen R, Gonen M (2019) On interval and circular-arc covering problems. Ann Oper Res 275(2):281–295. https://doi.org/10.1007/s10479-018-3025-6
Feldman M, Zenklusen R (2018) The submodular secretary problem goes linear. SIAM J Comput 47(2):330–366. https://doi.org/10.1137/16M1105220
Feldman M, Svensson O, Zenklusen R (2018) A framework for the secretary problem on the intersection of matroids. In: Proceedings of the twenty-ninth annual ACM-SIAM symposium on discrete algorithms. SIAM, pp 735–752. https://doi.org/10.1137/1.9781611975031.48
Hochbaum DS, Pathria A (1998) Analysis of the greedy approach in problems of maximum \(k\)-coverage. Naval Res Logist 45(6):615–627
Iwama K, Taketomi S (2002) Removable online knapsack problems. In: International colloquium on automata, languages, and programming. Springer, pp 293–305. https://doi.org/10.1007/3-540-45465-9_26
Khuller S, Moss A, Naor JS (1999) The budgeted maximum coverage problem. Inf Process Lett 70(1):39–45. https://doi.org/10.1016/S0020-0190(99)00031-9
Klee V (1977) Can the measure of be computed in less than \(o (n \log n)\) steps? Am Math Mon 84(4):284–285
Kleinberg R (2005) A multiple-choice secretary algorithm with applications to online auctions. In: Proceedings of the sixteenth annual ACM-SIAM symposium on discrete algorithms, pp 630–631
Li L, Wei Z, Hao J et al (2021) Probability learning based tabu search for the budgeted maximum coverage problem. Expert Syst Appl 183(115310):16–341. https://doi.org/10.1016/j.eswa.2021.115310
Li S, Li M, Duan L, et al (2020) Online maximum \(k\)-interval coverage problem. In: Proceedings of international conference on combinatorial optimization and applications. Springer, pp 455–470. https://doi.org/10.1007/978-3-540-74208-1_2
Rawitz D, Rosén A (2021) Online budgeted maximum coverage. Algorithmica 83(9):2989–3014. https://doi.org/10.1007/s00453-021-00850-7
Saha B, Getoor L (2009) On maximum coverage in the streaming model and application to multi-topic blog-watch. In: Proceedings of the 2009 siam international conference on data mining. SIAM, pp 697–708. https://doi.org/10.1137/1.9781611972795.60
Vaze R (2018) Online knapsack problem under expected capacity constraint. In: Proceedings of IEEE INFOCOM 2018—IEEE conference on computer communications, pp 2159–2167. https://doi.org/10.1109/INFOCOM.2018.8485980
Acknowledgements
We thank anonymous reviewers for their valuable comments. A preliminary version of this work appeared in the proceedings of COCOA 2020 (Li et al. 2020).
Funding
The research of Lingjie Duan and Songhua Li was supported by the Ministry of Education, Singapore, under its Academic Research Fund Tier 2 Grant (Award No. MOE-T2EP20121-0001).
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interests
The authors have no competing interests to declare that are relevant to the content of this article.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Li, S., Li, M., Duan, L. et al. Online algorithms for the maximum k-interval coverage problem. J Comb Optim 44, 3364–3404 (2022). https://doi.org/10.1007/s10878-022-00898-3
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10878-022-00898-3