Lehilton L. C. Pedrosa, Mauro R. C. da Silva, Rafael C. S. Schouery
{"title":"MAXSPACE 广告问题的近似算法","authors":"Lehilton L. C. Pedrosa, Mauro R. C. da Silva, Rafael C. S. Schouery","doi":"10.1007/s00224-024-10170-2","DOIUrl":null,"url":null,"abstract":"<p>In MAXSPACE, given a set of ads <span>\\(\\mathcal {A}\\)</span>, one wants to schedule a subset <span>\\({\\mathcal {A}'\\subseteq \\mathcal {A}}\\)</span> into <i>K</i> slots <span>\\({B_1, \\dots , B_K}\\)</span> of size <i>L</i>. Each ad <span>\\({A_i \\in \\mathcal {A}}\\)</span> has a <i>size</i> <span>\\(s_i\\)</span> and a <i>frequency</i> <span>\\(w_i\\)</span>. A schedule is feasible if the total size of ads in any slot is at most <i>L</i>, and each ad <span>\\({A_i \\in \\mathcal {A}'}\\)</span> appears in exactly <span>\\(w_i\\)</span> slots and at most once per slot. The goal is to find a feasible schedule that maximizes the sum of the space occupied by all slots. We consider a generalization called MAXSPACE-R for which an ad <span>\\(A_i\\)</span> also has a release date <span>\\(r_i\\)</span> and may only appear in a slot <span>\\(B_j\\)</span> if <span>\\({j \\ge r_i}\\)</span>. For this variant, we give a 1/9-approximation algorithm. Furthermore, we consider MAXSPACE-RDV for which an ad <span>\\(A_i\\)</span> also has a deadline <span>\\(d_i\\)</span> (and may only appear in a slot <span>\\(B_j\\)</span> with <span>\\(r_i \\le j \\le d_i\\)</span>), and a value <span>\\(v_i\\)</span> that is the gain of each assigned copy of <span>\\(A_i\\)</span> (which can be unrelated to <span>\\(s_i\\)</span>). We present a polynomial-time approximation scheme for this problem when <i>K</i> is bounded by a constant. This is the best factor one can expect since MAXSPACE is strongly NP-hard, even if <span>\\(K = 2\\)</span>.</p>","PeriodicalId":22832,"journal":{"name":"Theory of Computing Systems","volume":"52 1","pages":""},"PeriodicalIF":0.6000,"publicationDate":"2024-03-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Approximation Algorithms for the MAXSPACE Advertisement Problem\",\"authors\":\"Lehilton L. C. Pedrosa, Mauro R. C. da Silva, Rafael C. S. Schouery\",\"doi\":\"10.1007/s00224-024-10170-2\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p>In MAXSPACE, given a set of ads <span>\\\\(\\\\mathcal {A}\\\\)</span>, one wants to schedule a subset <span>\\\\({\\\\mathcal {A}'\\\\subseteq \\\\mathcal {A}}\\\\)</span> into <i>K</i> slots <span>\\\\({B_1, \\\\dots , B_K}\\\\)</span> of size <i>L</i>. Each ad <span>\\\\({A_i \\\\in \\\\mathcal {A}}\\\\)</span> has a <i>size</i> <span>\\\\(s_i\\\\)</span> and a <i>frequency</i> <span>\\\\(w_i\\\\)</span>. A schedule is feasible if the total size of ads in any slot is at most <i>L</i>, and each ad <span>\\\\({A_i \\\\in \\\\mathcal {A}'}\\\\)</span> appears in exactly <span>\\\\(w_i\\\\)</span> slots and at most once per slot. The goal is to find a feasible schedule that maximizes the sum of the space occupied by all slots. We consider a generalization called MAXSPACE-R for which an ad <span>\\\\(A_i\\\\)</span> also has a release date <span>\\\\(r_i\\\\)</span> and may only appear in a slot <span>\\\\(B_j\\\\)</span> if <span>\\\\({j \\\\ge r_i}\\\\)</span>. For this variant, we give a 1/9-approximation algorithm. Furthermore, we consider MAXSPACE-RDV for which an ad <span>\\\\(A_i\\\\)</span> also has a deadline <span>\\\\(d_i\\\\)</span> (and may only appear in a slot <span>\\\\(B_j\\\\)</span> with <span>\\\\(r_i \\\\le j \\\\le d_i\\\\)</span>), and a value <span>\\\\(v_i\\\\)</span> that is the gain of each assigned copy of <span>\\\\(A_i\\\\)</span> (which can be unrelated to <span>\\\\(s_i\\\\)</span>). We present a polynomial-time approximation scheme for this problem when <i>K</i> is bounded by a constant. This is the best factor one can expect since MAXSPACE is strongly NP-hard, even if <span>\\\\(K = 2\\\\)</span>.</p>\",\"PeriodicalId\":22832,\"journal\":{\"name\":\"Theory of Computing Systems\",\"volume\":\"52 1\",\"pages\":\"\"},\"PeriodicalIF\":0.6000,\"publicationDate\":\"2024-03-25\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Theory of Computing Systems\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://doi.org/10.1007/s00224-024-10170-2\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q4\",\"JCRName\":\"COMPUTER SCIENCE, THEORY & METHODS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Theory of Computing Systems","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.1007/s00224-024-10170-2","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
Approximation Algorithms for the MAXSPACE Advertisement Problem
In MAXSPACE, given a set of ads \(\mathcal {A}\), one wants to schedule a subset \({\mathcal {A}'\subseteq \mathcal {A}}\) into K slots \({B_1, \dots , B_K}\) of size L. Each ad \({A_i \in \mathcal {A}}\) has a size\(s_i\) and a frequency\(w_i\). A schedule is feasible if the total size of ads in any slot is at most L, and each ad \({A_i \in \mathcal {A}'}\) appears in exactly \(w_i\) slots and at most once per slot. The goal is to find a feasible schedule that maximizes the sum of the space occupied by all slots. We consider a generalization called MAXSPACE-R for which an ad \(A_i\) also has a release date \(r_i\) and may only appear in a slot \(B_j\) if \({j \ge r_i}\). For this variant, we give a 1/9-approximation algorithm. Furthermore, we consider MAXSPACE-RDV for which an ad \(A_i\) also has a deadline \(d_i\) (and may only appear in a slot \(B_j\) with \(r_i \le j \le d_i\)), and a value \(v_i\) that is the gain of each assigned copy of \(A_i\) (which can be unrelated to \(s_i\)). We present a polynomial-time approximation scheme for this problem when K is bounded by a constant. This is the best factor one can expect since MAXSPACE is strongly NP-hard, even if \(K = 2\).
期刊介绍:
TOCS is devoted to publishing original research from all areas of theoretical computer science, ranging from foundational areas such as computational complexity, to fundamental areas such as algorithms and data structures, to focused areas such as parallel and distributed algorithms and architectures.