Abstract
Max-cut problem is a well-known NP-hard problem, in this paper, a hybrid meta-heuristic algorithm is designed to solve it. In this algorithm, the discrete cuckoo search is employed to find the approximate satisfied solution, while the local optimal solution is used to further improve the performance. To test the validity, three other algorithms are used to compare, simulation results show our modification is effective.
You have full access to this open access chapter, Download conference paper PDF
Similar content being viewed by others
Keywords
1 Introduction
Max-cut problem is a well-known NP-hard graph problem. For a graph \( G = (V,E) \), \( V = \{ 1,2, \ldots ,n\} \) is vertex set and \( E \) is the ordered set of undirected edges. Let \( w_{ij} \) be the weight associated with edge \( \{ i,j\} \in E \), then max-cut problem is to find an optimal partition \( (V_{1} ,V_{2} ) \) (\( V_{1} \cap V_{2} = \phi \), \( V_{1} \cup V_{2} = V \)), so that the total weights of the edges crossing different subsets is maximized, in other words, the objective function can be represented as:
where \( x_{i} \in \left\{ {1, - 1} \right\}(i = 1,2, \cdots ,n) \), \( x_{i} = 1 \) represents \( x_{i} \in V_{1} \), as well as \( x_{i} = - 1 \) denotes \( x_{i} \in V_{2} \).
During the past years, many algorithms have been designed to solve it, including exact algorithm, approximate algorithm and heuristic algorithm [1, 2]. Heuristic algorithm [3,4,5] is an umbrella for all population-based stochastic optimization algorithm inspired by heuristic information [6], such as ant colony optimization [7, 8], fruit fly optimization [9], particle swarm optimization [10,11,12], artificial bee colony [13,14,15,16], social emotional optimisation algorithm [17], firefly algorithm [18,19,20,21,22] and bat algorithm [23,24,25].
For max-cut problem, Laguna et al. [26] designed a hybrid version of cross entropy method, while Lin [27] proposed a discrete dynamic convexized method. Festa et al. [28] investigated several heuristics derived from greedy randomized adaptive search procedure and variable neighborhood search. In 2007, Wang [29] proposed a hybrid algorithm combining with chaotic discrete Hopfield neural network and genetic particle swarm optimization, while in 2011, Wang [30] designed another combination with tabu Hopfield neural network and estimation of distribution algorithm. Inspired by this work, Lin [31] designed an integrated method combined with particle swarm optimization and estimation of distribution algorithm, and a local search strategy is employed to improve the accuracy. Shylo [32] also employed global equilibrium search algorithms and tabu search to improve the accuracy.
In this paper, we propose a new heuristic algorithm to combining the cuckoo search algorithm and local search strategy, and apply it to solve max-cut problem. The rest of this paper is organized as follows: In Sect. 2, the details of our proposed hybrid algorithm are presented, as well as the simulation results are reported in Sect. 3.
2 Hybrid Algorithm
2.1 Discrete Cuckoo Search Algorithm
Cuckoo search algorithm was proposed in 2009 [33], up to now, many variants are proposed to improve the performance [34,35,36]. However, max-cut problem is a combination problem, and a discrete cuckoo search algorithm is designed to solve it.
In this discrete version, the position movement will use the following strategies [37]:
Strategy 1:
where
Strategy 2:
where
Strategy 3:
where
The most difference among three strategy is the sigma function \( sig(step) \), and jump path \( step \) is a random number with Levy distribution, to provide a deep insight, the Eqs. (3), (5) and (7) are plotted in Figs. 1, 2 and 3.
Algorithm 1 is the pseudocode of our discrete cuckoo search algorithm, where \( p_{r} \) is the predefined factor, and \( P_{a} \) is the probability of being discovered by the host bird.
2.2 Local Search Strategy
For any partition \( (V_{1} ,V_{2} ) \), if the vertex \( j \) is moved from the current partition to another subset, the gain index \( g_{j} \) is defined as follows:
Gain \( g_{j} > 0 \) means the vertex \( j \) should be moved with a lower objective function. With this manner, the following local search strategy is introduced:
2.3 Proposed Hybrid Algorithm
Our modification is a hybrid meta-heuristic method combining a discrete cuckoo search algorithm and local search strategy. The discrete cuckoo search is employed to find the approximate satisfied solution, while the local optimal solution is used to further improve the performance for the obtained approximate satisfied solution. Furthermore, to avoid the premature convergence, a mutation strategy is also employed to avoid the premature convergence. The pseudocode of our hybrid algorithm is listed in Algorithm 3. For each cuckoo, the mutation operation will randomly take 0.1% vertices to flip. We find that the algorithm will be improved after adding the mutation operation.
3 Performance Evolution
To test the performance of our proposed hybrid algorithm, G-set graph benchmarks are employed, and compared with the following algorithms:
-
Hybridizing the cross-entropy method (HCE, in briefly) [26];
-
A new lagrangian net algorithm (LNA, in briefly) [38];
-
Discrete Hopfield network with estimation of distribution algorithm (DHNN-EDA, in briefly) [14]
-
Discrete cuckoo search with local search (DCSLS, in briefly)
The program is implemented with MATLAB. In this set of instances, the number of vertex range from 800 to 3000, the control factor \( p_{r} \) is 0.3, the probability \( p_{a} \) are both set to 0.5, the total generation is 500.
For chosen benchmarks, each instance will run 50 times, Table 1 provides the optimal value achieved by the three algorithms and our proposed algorithm. The last line noted as “w/t/l” is the comparison results between our proposed DCSLS and its competitors. “w/t/l” represents our algorithm wins in w functions, ties in t functions, and loses in l functions. It means DCSLS is better than HCE for six functions, while only worse than HCE for three functions. DCSLS are superior than DHNN-EDA and LNA for six functions too, while DHNN-EDA and LNA only better than DCSLS with two and three functions, respectively. In one word, DCSLS achieves the best performance when compared with HCE, DHNN-EDA and LNA.
To provide a deep comparison, two non-parametric statistics tests: Friedman test and Wilcoxon test, are employed to show the differences among these four algorithms. In Table 2, the ranking value is: DCSLS < HCE < DHNN-EDA < LNA, DCSLS maintains the lowest ranking, it means the performance of DCSLS is more better. Table 3 implies there is significantly difference between DCSLS and DHNN-EDA.
4 Conclusion
In this paper, a new hybrid algorithm combining with discrete cuckoo search and local search strategy is designed. The cuckoo update manner of discrete cuckoo search is the same as [37], while the local search strategy is designed. Simulation results show our modification achieves the best performance when compared with other three algorithms.
References
Xia, Y., Xu, Z.: An efficient lagrangian smoothing heuristic for max-cut. Indian J. Pure Appl. Math. 41(5), 683–700 (2010)
Marti, R., Duarte, A., Laguna, M.: Advanced scatter search for the max-cut problem. Inf. J. Comput. 21(1), 26–38 (2009)
Wang, G.G., Deb, S., Gao, X.Z., Coelho, L.: A new metaheuristic optimization algorithm motivated by elephant herding behavior. Int. J. Bio-Inspired Comput. 8(6), 394–409 (2016)
Bilbao, M.N., Ser, J.D., Salcedo-Sanz, S., Casanova-Mateo, C.: On the application of multi-objective harmony search heuristics to the predictive deployment of firefighting aircrafts: a realistic case study. Int. J. Bio-Inspired Comput. 7(5), 270–284 (2015)
Rajakumar, R., Dhavachelvan, P., Vengattaraman, T.: A survey on nature inspired meta-heuristic algorithms with its domain specifications. In: International Conference on Communication and Electronics Systems, pp. 550–555 (2016)
Xiao, R., Zhang, Y., Huang, Z.: Emergent computation of complex systems: a comprehensive review. Int. J. Bio-Inspired Comput. 7(2), 75–97 (2015)
Dorigo, M., Gambardella, L.M., Middendorf, M., Stutzle, T.: Special section on ant colony optimization. IEEE Trans. Evol. Comput. 6(4), 317–320 (2002)
Stodola, P., Mazal, J.: Applying the ant colony optimisation algorithm to the capacitated multi-depot vehicle routing problem. Int. J. Bio-Inspired Comput. 8(4), 228–233 (2016)
Zhang, Y.W., Wu, J.T., Guo, X., Li, G.N.: Optimising web service composition based on differential fruit fly optimisation algorithm. Int. J. Comput. Sci. Math. 7(1), 87–101 (2016)
Eberhart, R.C., Shi, Y.H.: Special issue on particle swarm optimization. IEEE Trans. Evol. Comput. 8(3), 201–203 (2004)
Adewumi, A.O., Arasomwan, M.A.: On the performance of particle swarm optimisation with(out) some control parameters for global optimisation. Int. J. Bio-Inspired Comput. 8(1), 14–32 (2016)
Grillo, H., Peidro, D., Alemany, M., Mula, J.: Application of particle swarm optimisation with backward calculation to solve a fuzzy multi-objective supply chain master planning model. Int. J. Bio-Inspired Comput. 7(3), 157–169 (2015)
Lv, L., Wu, L.Y., Zhao, J., Wang, H., Wu, R.X., Fan, T.H., Hu, M., Xie, Z.F.: Improved multi-strategy artificial bee colony algorithm. Int. J. Comput. Sci. Math. 7(5), 467–475 (2016)
Sun, H., Wang, K., Zhao, J., Yu, X.: Artificial bee colony algorithm with improved special centre. Int. J. Comput. Sci. Math. 7(6), 548–553 (2016)
Lu, Y., Li, R.X., Li, S.M.: Artificial bee colony with bidirectional search. Int. J. Comput. Sci. Math. 7(6), 586–593 (2016)
Yu, G.: A new multi-population-based artificial bee colony for numerical optimization. Int. J. Comput. Sci. Math. 7(6), 509–515 (2016)
Guo, Z.L., Wang, S.W., Yue, X.Z., Yin, B.Y., Deng, C.S., Wu, Z.J.: Enhanced social emotional optimisation algorithm with elite multi-parent crossover. Int. J. Comput. Sci. Math. 7(6), 568–574 (2016)
Wang, H., Wang, W.J., Zhou, X.Y.: Firefly algorithm with neighborhood attraction. Inf. Sci. 382, 374–387 (2017)
Wang, H., Wang, W.J., Sun, H.: Firefly algorithm with random attraction. Int. J. Bio-Inspired Comput. 8(1), 33–41 (2016)
Yu, G.: An improved firefly algorithm based on probabilistic attraction. Int. J. Comput. Sci. Math. 7(6), 530–536 (2016)
Nasiri, B., Meybodi, M.R.: History-driven firefly algorithm for optimisation in dynamic and uncertain environments. Int. J. Bio-Inspired Comput. 8(5), 326–339 (2016)
Fister, I., Fister, I., Yang, X.S., Brest, J.: A comprehensive review of firefly algorithms. Swarm Evol. Comput. 13, 34–46 (2013)
Yang, X.S., Gandomi, A.H.: Bat algorithm: a novel approach for global engineering optimization. Eng. Comput. 29(5–6), 464–483 (2012)
Cai, X., Gao, X.Z., Xue, Y.: Improved bat algorithm with optimal forage strategy and random disturbance strategy. Int. J. Bio-Inspired Comput. 8(4), 205–214 (2016)
Xue, F., Cai, Y., Cao, Y., Cui, Z., Li, F.: Optimal parameter settings for bat algorithm. Int. J. Bio-Inspired Comput. 7(2), 125–128 (2015)
Laguna, M., Duarte, A., Marti, R.: Hybridizing the cross-entropy method: an application to the max-cut problem. Comput. Oper. Res. 36(2), 487–498 (2009)
Lin, G., Zhu, W.: A discrete dynamic convexized method for the max-cut problem. Ann. Oper. Res. 196(1), 371–390 (2012)
Festa, P., Pardalos, P.M., Resende, M.G.C., Ribeiro, C.C.: Randomized heuristics for the max-cut problem. Optim. Method Softw. 17(6), 1033–1058 (2002)
Wang, J.: A memetic algorithm with genetic particle swarm optimization and neural network for maximum cut problems. In: Li, K., Fei, M., Irwin, G.W., Ma, S. (eds.) LSMS 2007. LNCS, vol. 4688, pp. 297–306. Springer, Heidelberg (2007). doi:10.1007/978-3-540-74769-7_33
Wang, J., Zhou, Y., Yin, J.: Combining tabu hopfield network and estimation of distribution for unconstrained binary quadratic programming problem. Expert Syst. Appl. 38(12), 14870–14881 (2011)
Lin, G., Guan, J.: An integrated method based on PSO and EDA for the max-cut problem. Comput. Intell. Neurosci. (2016). doi:10.1155/2016/3420671
Shylo, V.P., Shylo, O.V.: Solving the maxcut problem by the global equilibrium search. Cybern. Syst. Anal. 46(5), 744–754 (2010)
Yang, X.S., Deb, S.: Cuckoo search via levy flights. In: World Congress on Nature and Biologically Inspired Computing, pp. 210–214 (2009)
Cui, Z.H., Sun, B., Wang, G.G., Xue, Y.: A novel oriented cuckoo search algorithm to improve DV-hop performance for cyber-physical systems. J. Parallel Distrib. Comput. 103, 42–52 (2017)
Zhang, M.Q., Wang, H., Cui, Z.H., Chen, J.J.: Hybrid multi-objective cuckoo search with dynamical local search. Memetic Comp. (2017). doi:10.1007/s12293-017-0237-2
Li, F.X., Cui, Z.H., Sun, B.: DV-hop localisation algorithm with DDICS. Int. J. Comput. Sci. Math. 7(3), 254–262 (2016)
Feng, D.K., Ruan, Q., Du, L.M.: Binary cuckoo search algorithm. J. Comput. Appl. 33(6), 1566–1570 (2013). (in Chinese)
Xu, F.M., Ma, X.S., Chen, B.L.: A new lagrangian net algorithm for solving max-bisection problems. J. Comput. Appl. Math. 235(13), 3718–3723 (2011)
Acknowledgments
This research is supported by the Natural Science Foundation of Shanxi Province under No. 201601D011045.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2017 IFIP International Federation for Information Processing
About this paper
Cite this paper
Xu, Y., Cui, Z., Wang, L. (2017). Discrete Cuckoo Search with Local Search for Max-cut Problem. In: Shi, Z., Goertzel, B., Feng, J. (eds) Intelligence Science I. ICIS 2017. IFIP Advances in Information and Communication Technology, vol 510. Springer, Cham. https://doi.org/10.1007/978-3-319-68121-4_7
Download citation
DOI: https://doi.org/10.1007/978-3-319-68121-4_7
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-68120-7
Online ISBN: 978-3-319-68121-4
eBook Packages: Computer ScienceComputer Science (R0)