Abstract
Avoiding conflicting elements is a natural constraint that appears in several graph problems making them more challenging and close to real applications. Minimum Conflict-Free Spanning Tree (MCFST) is a variant of the classic Minimum Spanning Tree (MST) problem, where we are asked to find (if any) the spanning tree avoiding pairs of conflicting edges (conflict-free) of minimum cost. Although it is well known that MST is polynomial-time solvable, the MCFST problem is \(\mathcal{N}\mathcal{P}\)-hard. In this paper, we present a GRASP with adaptive memory (GRASP-AM) for Minimum Conflict-Free Spanning Tree. Adaptive memory (AM) is used in the constructive phase to decide which set of edges generates good solutions. Furthermore, we show how to implement the local search adopted in the GRASP-AM efficiently. Experimental results on a well-known benchmark indicate that our proposal outperforms the best existing heuristic for the problem. In particular, our GRASP-AM was able to find all known optimal solutions and to improve best-known solutions.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Data Availability
The instances are available at: http://ic.ufal.br/professor/rian/Instances/Instances-MCFST-Zhang.zip and the source code of our GRASP-AM is available at: http://ic.ufal.br/professor/rian/Code/MCFST.zip.
Notes
The instances are available at: http://ic.ufal.br/professor/rian/Instances/Instances-MCFST-Zhang.zip and the source code of our GRASP-AM is available at: http://ic.ufal.br/professor/rian/Code/MCFST.zip.
References
Aiex RM, Resende MGC, Ribeiro CC (2007) Ttt plots: a Perl program to create time-to-target plots. Optim Lett 1(4):355–366. https://doi.org/10.1007/s11590-006-0031-4
Barbosa MAL, Delbem ACB (2017) A iterated local search for the minimum spanning tree under conflict constraints (published in portuguese). In: Annals of XLVIII Brazilian symposium of operational research (Anais do XLIII Simpósio Brasileiro de Pesquisa Operacional), pp 2533–2544
Binato S, Hery WJ, Loewenstern DM, Resende MG (2000) A grasp for job shop scheduling. Essays Surv Metaheur. https://doi.org/10.1007/978-1-4615-1507-4_3
Bittencourt YB, Campêlo M, Dias FCS (2016) Mtz formulation for minimum spanning tree under conflict constraints (published in portuguese). In: Annals of XLIII Brazilian symposium of operational research (Anais do XLVIII Simpósio Brasileiro de Pesquisa Operacional), pp 2441–2448
Bresina JL (1996) Heuristic-biased stochastic sampling. In: Clancey WJ, Weld DS (eds) Proceedings of the 13th national conference on artificial intelligence and 8th innovative applications of artificial intelligence conference, AAAI 96, IAAI 96, Portland, Oregon, USA, August 4–8, vol 1. AAAI Press/The MIT Press, pp 271–278
Capua R, Frota Y, Ochi LS, Vidal T (2018) A study on exponential-size neighborhoods for the bin packing problem with conflicts. J Heurist 24(4):667–695. https://doi.org/10.1007/s10732-018-9372-2
Carrabs F, Gaudioso M (2020) A Lagrangian approach for the minimum spanning tree problem with conflicting edge pairs. Networks. https://doi.org/10.1002/net.22009
Carrabs F, Cerrone C, Cerulli R, Silvestri S (2018) On the complexity of rainbow spanning forest problem. Optim Lett 12(3):443–454. https://doi.org/10.1007/s11590-017-1161-6
Carrabs F, Cerrone C, Cerulli R, Silvestri S (2018) The rainbow spanning forest problem. Soft Comput 22(8):2765–2776. https://doi.org/10.1007/s00500-017-2540-8
Carrabs F, Cerulli R, Pentangelo R et al (2021) Minimum spanning tree with conflicting edge pairs: a branch-and-cut approach. Ann Oper Res 298:65–78. https://doi.org/10.1007/s10479-018-2895-y
Carrabs F, Cerrone C, Pentangelo R (2019) A multiethnic genetic approach for the minimum conflict weighted spanning tree problem. Networks 74(2):134–147. https://doi.org/10.1002/net.21883
Cerrone C, Di Placido A, Russo DD (2019) A genetic algorithm for minimum conflict weighted spanning tree problem. In: Advances in optimization and decision science for society, services and enterprises, vol 3. Springer, pp 445–455. https://doi.org/10.1007/978-3-030-34960-8_39
Cerulli R, D’Ambrosio C, Raiconi A, Vitale G (2020) The knapsack problem with forfeits. In: Baïou M, Gendron B, Günlük O, Mahjoub AR (eds) Combinatorial optimization—6th international symposium, ISCO 2020, Montreal, QC, Canada, May 4–6, 2020, Revised selected papers, Lecture notes in computer science, vol 12176. Springer, pp 263–272. https://doi.org/10.1007/978-3-030-53262-8_22
Darmann A, Pferschy U, Schauer J (2009) Determining a minimum spanning tree with disjunctive constraints. In: Rossi F, Tsoukiàs A (eds) Algorithmic decision theory, 1st international conference, ADT 2009, Venice, Italy, October 20–23, 2009. Proceedings, Lecture notes in computer science, vol 5783. Springer, pp 414–423. https://doi.org/10.1007/978-3-642-04428-1_36
Darmann A, Pferschy U, Schauer J, Woeginger GJ (2011) Paths, trees and matchings under disjunctive constraints. Discret Appl Math 159(16):1726–1735. https://doi.org/10.1016/j.dam.2010.12.016
Expósito A, Brito J, Moreno-Pérez JA (2016) A heuristic-biased GRASP for the team orienteering problem. In: Luaces O, Gámez JA, Barrenechea E, Troncoso A, Galar M, Quintián H, Corchado E (eds) Advances in artificial intelligence—17th conference of the Spanish association for artificial intelligence, CAEPIA 2016, Salamanca, Spain, September 14–16, 2016. Proceedings, Lecture notes in computer science, vol 9868. Springer, pp 428–437. https://doi.org/10.1007/978-3-319-44636-3_40
Feo TA, Resende MGC (1995) Greedy randomized adaptive search procedures. J Glob Optim 6(2):109–133. https://doi.org/10.1007/BF01096763
Feo TA, Resende MGC, Smith SH (1994) A greedy randomized adaptive search procedure for maximum independent set. Oper Res 42(5):860–878. https://doi.org/10.1287/opre.42.5.860
Ferreira CS, Ochi LS, Parada V, Uchoa E (2012) A GRASP-based approach to the generalized minimum spanning tree problem. Expert Syst Appl 39(3):3526–3536. https://doi.org/10.1016/j.eswa.2011.09.043
Fleurent C, Glover F (1999) Improved constructive multistart strategies for the quadratic assignment problem using adaptive memory. Informs J Comput 11(2):198–204. https://doi.org/10.1287/ijoc.11.2.198
Gendreau M, Laporte G, Semet F (2004) Heuristics and lower bounds for the bin packing problem with conflicts. Comput Oper Res 31(3):347–358. https://doi.org/10.1016/S0305-0548(02)00195-8
Gonçalves LB, Ochi LS, Martins SL (2005) A GRASP with adaptive memory for a period vehicle routing problem. In: 2005 international conference on computational intelligence for modelling control and automation (CIMCA 2005), international conference on intelligent agents, web technologies and internet commerce (IAWTIC 2005), 28–30 November 2005, Vienna, Austria. IEEE Computer Society, pp 721–727. https://doi.org/10.1109/CIMCA.2005.1631349
Gouveia T, Queiroga E, Ochi LS, dos Anjos Formiga Cabral L, Gueye S, Michelon P (2019) A hybrid metaheuristic for the minimum labeling spanning tree problem. Eur J Oper Res 274(1):22–34. https://doi.org/10.1016/j.ejor.2018.09.044
Hollander M, Wolfe DA, Chicken E (2014) Nonparametric statistical methods. Wiley
Kruskal JB (1956) On the shortest spanning subtree of a graph and the traveling salesman problem. Proc Am Math Soc 7(1):48–50. https://doi.org/10.2307/2033241
Miller CE, Tucker AW, Zemlin RA (1960) Integer programming formulation of traveling salesman problems. J ACM 7(4):326–329. https://doi.org/10.1145/321043.321046
Pferschy U, Schauer J (2009) The knapsack problem with conflict graphs. J Graph Algorithms Appl 13(2):233–249. https://doi.org/10.7155/jgaa.00186
Prim RC (1957) Shortest connection networks and some generalizations. Bell Syst Tech J 36(6):1389–1401. https://doi.org/10.1002/j.1538-7305.1957.tb01515.x
Resende MG, Ribeiro CC (2016) Optimization by GRASP: greedy randomized adaptive search procedures, 1st edn. Springer, New York. https://doi.org/10.1007/978-1-4939-6530-4
Samer P, Urrutia S (2015) A branch and cut algorithm for minimum spanning trees under conflict constraints. Optim Lett 9(1):41–55. https://doi.org/10.1007/s11590-014-0750-x
Zhang R, Kabadi SN, Punnen AP (2011) The minimum spanning tree problem with conflict constraints and its variations. Discret Optim 8(2):191–205. https://doi.org/10.1016/j.disopt.2010.08.001
Acknowledgements
We would like to thank Prof. Marco Aurélio Lopes Barbosa for providing the source codes of ILS and the instances. The authors would like to thank the Coordination for the Improvement of Higher Education Personnel—Brazil (CAPES), National Council for Scientific and Technological Development—Brazil (CNPq), Fundação de Amparo à Pesquisa do Estado do Rio de Janeiro—(FAPERJ).
Funding
This work was supported by FAPERJ, CNPq and CAPES.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
Author Barros BJS declares that he has no conflict of interest. Author Pinheiro RGS declares that he has no conflict of interest. Author Souza US declares that he has no conflict of interest. Author Ochi LS declares that he has no conflict of interest.
Ethical approval
This article does not contain any studies with human participants or animals performed by any of the authors.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
da Silva Barros, B.J., Pinheiro, R.G.S., Souza, U.S. et al. Using adaptive memory in GRASP to find minimum conflict-free spanning trees. Soft Comput 27, 4699–4712 (2023). https://doi.org/10.1007/s00500-022-07602-x
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00500-022-07602-x