Construct, Merge, Solve and Adapt: Application to the Repetition-Free Longest Common Subsequence Problem

  • Christian Blum
  • Maria J. Blesa
Part of the Lecture Notes in Computer Science book series (LNCS, volume 9595)


In this paper we present the application of a recently proposed, general, algorithm for combinatorial optimization to the repetition-free longest common subsequence problem. The applied algorithm, which is labelled Construct, Merge, Solve & Adapt, generates sub-instances based on merging the solution components found in randomly constructed solutions. These sub-instances are subsequently solved by means of an exact solver. Moreover, the considered sub-instances are dynamically changing due to adding new solution components at each iteration, and removing existing solution components on the basis of indicators about their usefulness. The results of applying this algorithm to the repetition-free longest common subsequence problem show that the algorithm generally outperforms competing approaches from the literature. Moreover, they show that the algorithm is competitive with CPLEX for small and medium size problem instances, whereas it outperforms CPLEX for larger problem instances.


Hybrid algorithm Combining metaheuristics with ILP solvers Repetition-free longest common subsequence problem 


  1. 1.
    Blum, C., Pinacho, P., López-Ibáñez, M., Lozano, J.A.: Construct, merge, solve and adapt a new general algorithm for combinatorial optimization. Comput. Oper. Res. 68, 75–88 (2016)MathSciNetCrossRefGoogle Scholar
  2. 2.
    Blum, C., Calvo, B.: A matheuristic for the minimum weight rooted arborescence problem. J. Heuristics 21(4), 479–499 (2015)CrossRefGoogle Scholar
  3. 3.
    Adi, S.S., Braga, M.D.V., Fernandes, C.G., Ferreira, C.E., Martinez, F.V., Sagot, M.F., Stefanes, M.A., Tjandraatmadja, C., Wakabayashi, Y.: Repetition-free longest common subsquence. Discrete Appl. Math. 158, 1315–1324 (2010)MathSciNetCrossRefzbMATHGoogle Scholar
  4. 4.
    Gusfield, D.: Algorithms on Strings, Trees, and Sequences. Computer Science and Computational Biology. Cambridge University Press, Cambridge (1997)CrossRefzbMATHGoogle Scholar
  5. 5.
    Smith, T., Waterman, M.: Identification of common molecular subsequences. J. Mol. Biol. 147(1), 195–197 (1981)CrossRefGoogle Scholar
  6. 6.
    Jiang, T., Lin, G., Ma, B., Zhang, K.: A general edit distance between RNA structures. J. Comput. Biol. 9(2), 371–388 (2002)CrossRefGoogle Scholar
  7. 7.
    Storer, J.: Data Compression: Methods and Theory. Computer Science Press, MD (1988)Google Scholar
  8. 8.
    Aho, A., Hopcroft, J., Ullman, J.: Data Structures and Algorithms. Addison-Wesley, Reading (1983)zbMATHGoogle Scholar
  9. 9.
    Maier, D.: The complexity of some problems on subsequences and supersequences. J. ACM 25, 322–336 (1978)MathSciNetCrossRefzbMATHGoogle Scholar
  10. 10.
    Blum, C., Blesa, M.J., Calvo, B.: Beam-ACO for the repetition-free longest common subsequence problem. In: Legrand, P., Corsini, M.-M., Hao, J.-K., Monmarché, N., Lutton, E., Schoenauer, M. (eds.) EA 2013. LNCS, vol. 8752, pp. 79–90. Springer, Heidelberg (2014)Google Scholar
  11. 11.
    Castelli, M., Beretta, S., Vanneschi, L.: A hybrid genetic algorithm for the repetition free longest common subsequence problem. Oper. Res. Lett. 41(6), 644–649 (2013)CrossRefzbMATHGoogle Scholar
  12. 12.
    López-Ibáñez, M., Dubois-Lacoste, J., Stützle, T., Birattari, M.: The irace package, iterated race for automatic algorithm configuration. Technical report TR/IRIDIA/2011-004, IRIDIA, Université Libre de Bruxelles, Belgium (2011)Google Scholar
  13. 13.
    Pisinger, D., Ropke, S.: Large neighborhood search. In: Gendreau, M., Potvin, J.Y. (eds.) Handbook of Metaheuristics. International Series in Operations Research and Management Science, vol. 146, pp. 399–419. Springer, US (2010)CrossRefGoogle Scholar

Copyright information

© Springer International Publishing Switzerland 2016

Authors and Affiliations

  1. 1.Department of Computer Science and Artificial IntelligenceUniversity of the Basque CountrySan SebastianSpain
  2. 2.IKERBASQUE, Basque Foundation for ScienceBilbaoSpain
  3. 3.ALBCOM Research Group, Computer Science DepartmentUniversitat Politécnica de Catalunya - BarcelonaTechBarcelonaSpain

Personalised recommendations