Theoretical Computer Science ( IF 0.9 ) Pub Date : 2018-04-17 , DOI: 10.1016/j.tcs.2018.04.018 Vladimir Shenmaier
The problem is, given a set of n vectors in a d-dimensional normed space, find a subset with the largest length of the sum vector. We prove that, in the case of the norm, the problem is APX-complete for any and is not in APX if . In the case of an arbitrary norm, we propose an algorithm which finds an optimal solution in time , improving previously known algorithms. In particular, the two-dimensional problem can be solved in nearly linear time. We also present an improved algorithm for the cardinality-constrained version of the problem with running time . In the two-dimensional case, this version is shown to be solvable in nearly quadratic time.
中文翻译:
查找最长和的向量子集的复杂度和算法
问题是,给定d维范数空间中的一组n个向量,找到总和向量长度最大的子集。我们证明,对于 规范,任何问题都是APX完整的 并且不在APX中,如果 。在任意范数的情况下,我们提出一种算法,该算法可以及时找到最优解,改进了以前已知的算法。特别地,二维问题可以在几乎线性的时间内解决。我们还针对带有运行时间的问题的基数受限版本提出了一种改进的算法。在二维情况下,该版本可在几乎二次时间内解决。