arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1904.07902cs.DS
收藏

最长填充公共子序列问题的启发式算法

Heuristic algorithms for the Longest Filled Common Subsequence Problem

Radu Stefan Mincu, Alexandru Popa

摘要:

在CPM 2017上,Castelli等人定义并研究了最长公共子序列问题的一个新变体,称为最长填充公共子序列问题(LFCS)。对于LFCS问题,输入由两个字符串$A$和$B$以及多字符集$\mathcal{M}$组成。目标是将来自$\mathcal{M}$的字符插入到字符串$B$中,从而获得新字符串$B^*$,使得$A$和$B^*$之间的最长公共子序列(LCS)最大化。Casteli等人证明了该问题是NP难的,并给出了一个3/5-近似算法。本文从实验的角度对这一问题进行了研究。我们介绍,实施和测试新的启发式算法,并将它们与Casteli等人的近似算法进行比较。此外,我们引入了一个线性规划(ILP)模型的问题,我们使用的状态,最先进的ILP求解器,Guesthouse,获得精确的解决方案,中等大小的实例。

英文摘要:

At CPM 2017, Castelli et al. define and study a new variant of the Longest Common Subsequence Problem, termed the Longest Filled Common Subsequence Problem (LFCS). For the LFCS problem, the input consists of two strings $A$ and $B$ and a multiset of characters $\mathcal{M}$. The goal is to insert the characters from $\mathcal{M}$ into the string $B$, thus obtaining a new string $B^*$, such that the Longest Common Subsequence (LCS) between $A$ and $B^*$ is maximized. Casteli et al. show that the problem is NP-hard and provide a 3/5-approximation algorithm for the problem. In this paper we study the problem from the experimental point of view. We introduce, implement and test new heuristic algorithms and compare them with the approximation algorithm of Casteli et al. Moreover, we introduce an Integer Linear Program (ILP) model for the problem and we use the state of the art ILP solver, Gurobi, to obtain exact solution for moderate sized instances.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑