English

Heuristic algorithms for the Longest Filled Common Subsequence Problem

Data Structures and Algorithms 2019-08-06 v1

Abstract

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 AA and BB and a multiset of characters M\mathcal{M}. The goal is to insert the characters from M\mathcal{M} into the string BB, thus obtaining a new string BB^*, such that the Longest Common Subsequence (LCS) between AA and BB^* 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.

Keywords

Cite

@article{arxiv.1904.07902,
  title  = {Heuristic algorithms for the Longest Filled Common Subsequence Problem},
  author = {Radu Stefan Mincu and Alexandru Popa},
  journal= {arXiv preprint arXiv:1904.07902},
  year   = {2019}
}

Comments

Accepted and presented as a proceedings paper at SYNASC 2018

R2 v1 2026-06-23T08:41:52.655Z