Skip to main content

Approximability of Constrained LCS

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 6507))

Abstract

The problem Constrained Longest Common Subsequence is a natural extension to the classical problem Longest Common Subsequence, and has important applications to bioinformatics. Given k input sequences A 1,...,A k and l constraint sequences B 1,...,B l , C-LCS(k, l) is the problem of finding a longest common subsequence of A 1,...,A k that is also a common supersequence of B 1,...,B l . Gotthilf et al. gave a polynomial-time algorithm that approximates C-LCS(k,1) within a factor \(\sqrt{\hat m |\Sigma|}\), where \(\hat m\) is the length of the shortest input sequence and |Σ| is the alphabet size. They asked whether there are better approximation algorithms and whether there exists a lower bound. In this paper, we answer their questions by showing that their approximation factor \(\sqrt{\hat m |\Sigma|}\) is in fact already very close to optimal although a small improvement is still possible:

  1. 1

    For any computable function f and any ε> 0, there is no polynomial-time algorithm that approximates C-LCSk,1 within a factor \(f(|\Sigma|)\cdot \hat m^{1/2-\epsilon}\) unless NP = P. Moreover, this holds even if the constraint sequence is unary.

  2. 2

    There is a polynomial-time randomized algorithm that approximates C-LCS (k,1) within a factor \(|\Sigma| \cdot O(\sqrt{{\rm OPT}\cdot\log\log{\rm OPT}/\log{\rm OPT}})\) with high probability, where OPT is the length of the optimal solution, \({\rm OPT} \le \hat m\).

    For the problem over an alphabet of arbitrary size, we show that

  3. 3.

    For any ε> 0, there is no polynomial-time algorithm that approximates C-LCS(k,1) within a factor \(\hat m^{1-\epsilon}\) unless NP = SP.

  4. 4.

    There is a polynomial-time algorithm that approximates C-LCS(k, 1) within a factor \(O(\hat m/\log\hat m)\).

We also present some complementary results on exact and parameterized algorithms for C-LCS(k,l).

Supported in part by NSF grant DBI-0743670.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   109.00
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Ann, H.-Y., Yang, C.-B., Tseng, C.-T., Hor, C.-Y.: Fast algorithms for computing the constrained LCS of run-length encoded strings. In: Proceedings of the 2009 International Conference on Bioinformatics & Computational Biology (BIOCOMP 2009), pp. 646–649 (2009)

    Google Scholar 

  2. Arslan, A., Eğecioğlu, Ö.: Algorithms for the constrained longest common subsequence problems. International Journal of Foundations of Computer Science 16, 1099–1109 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  3. Bonizzoni, P., Della Vedova, G., Dondi, R., Pirola, Y.: Variants of constrained longest common subsequence. Information Processing Letters 110, 877–881 (2010)

    Article  MathSciNet  MATH  Google Scholar 

  4. Chen, Y.-C., Chao, K.-M.: On the generalized constrained longest common subsequence problems. Journal of Combinatorial Optimization, doi:10.1007/s10878-009-9262-5.

    Google Scholar 

  5. Chin, F.Y.L., De Santis, A., Ferrara, A.L., Ho, N.L., Kim, S.K.: L Ho, and S. K. Kim. A simple algorithm for the constrained sequence problems. Information Processing Letters 90, 175–179 (2004)

    Article  MathSciNet  MATH  Google Scholar 

  6. Gotthilf, Z., Hermelin, D., Lewenstein, M.: Constrained LCS: hardness and approximation. In: Ferragina, P., Landau, G.M. (eds.) CPM 2008. LNCS, vol. 5029, pp. 255–262. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

  7. Halldórsson, M.M.: Approximation via partitioning. Technical Report IS-RR-95-0003F, School of Information Science, Japan Advanced Institute of Science and Technology, Hokuriku (1995)

    Google Scholar 

  8. Håstad, J.: Clique is hard to approximate within n 1 − ε. Acta Mathematica 182, 105–142 (1999)

    Article  MathSciNet  Google Scholar 

  9. Iliopoulos, C.S., Rahman, M.S.: New efficient algorithms for the LCS and constrained LCS problems. Information Processing Letters 106, 13–18 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  10. Jiang, T., Li, M.: On the approximation of shortest common supersequences and longest common subsequences. SIAM Journal on Computing 24, 1122–1139 (1995)

    Article  MathSciNet  MATH  Google Scholar 

  11. Maier, D.: The complexity of some problems on subsequences and supersequences. Journal of the ACM 25, 322–336 (1978)

    Article  MathSciNet  MATH  Google Scholar 

  12. Middendorf, M.: On finding minimal, maximal, and consistent sequences over a binary alphabet. Theoretical Computer Science 145, 317–327 (1995)

    Article  MathSciNet  MATH  Google Scholar 

  13. Middendorf, M., Manlove, D.F.: Combined super-/substring and super-/subsequence problems. Theoretical Computer Science 320, 247–267 (2004)

    Article  MathSciNet  MATH  Google Scholar 

  14. Tsai, Y.-T.: The constrained longest common subsequence problem. Information Processing Letters 88, 173–176 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  15. Zuckerman, D.: Linear degree extractors and the inapproximability of Max Clique and Chromatic Number. Theory of Computing 3, 103–128 (2007)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Jiang, M. (2010). Approximability of Constrained LCS. In: Cheong, O., Chwa, KY., Park, K. (eds) Algorithms and Computation. ISAAC 2010. Lecture Notes in Computer Science, vol 6507. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-17514-5_16

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-17514-5_16

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-17513-8

  • Online ISBN: 978-3-642-17514-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics