Improved sine algorithm for global optimization

https://doi.org/10.1016/j.eswa.2022.118831Get rights and content

Highlights

  • A modified SCA algorithm is proposed.

  • Improving the convergence speed and accuracy of the algorithm.

  • The proposed algorithm is more stable than other benchmark algorithms.

Abstract

An improved sine cosine algorithm (abbreviated MSA) is presented to overcome the disadvantages of the sine cosine algorithm (SCA), such as its low accuracy, premature convergence, and slow local convergence. We changed the method for setting the conversion parameters of the SCA algorithm from a linear decline into a nonlinear decline in order to optimize the timing of global exploration and local exploration. In order to improve the convergence accuracy and to increase the convergence speed of the SCA, an inertia weight is introduced in the position update equation. Ten high-dimensional complex benchmark functions are simulated with five improved SCA algorithms, under the same particle numbers and maximum iteration times. According to our experiments, the MSA algorithm is not only much better than two of the improved SCA algorithms in optimization accuracy but also better than the other three improved SCA algorithms in terms of stability.

Introduction

The so-called optimization problem refers to finding the optimal solution or parameter value among many solutions or parameter values to optimize one or more functions under certain conditions (Fang, Wu, & You, 2020). The optimization problem has always been an important research topic in the fields of computer science and management. The swarm intelligence optimization algorithm mainly simulates the group behavior of insects, animals, birds, and fish. These organisms will form a group to find food in a cooperative way, and each member of the group will continuously change the direction of the search by learning from its own experience and the experience of other members.

The sine cosine algorithm (SCA) is a new type of swarm intelligence optimization algorithm proposed by Mirjalili (2016). The core idea of ​​the algorithm is to use the periodicity of the waves of the sine and cosine functions to explore the optimal solution globally and make the algorithm gradually converge. SCA requires only a few parameters and is easy to implement, as optimization is achieved by iterating the properties of the sine and cosine functions. Although SCA has been proven to be superior to particle swarm optimization (PSO), the genetic algorithm (GA), and the bat algorithm (BA) in terms of convergence accuracy and convergence speed, it still has several shortcomings, such as low solution accuracy, premature convergence, and slow local convergence in the later stage. Qu and He (2018) proposed a simplified sine cosine algorithm known as the sine algorithm (SA), which is based on the theoretical analysis of the sine cosine algorithm. The structure of the algorithm is simpler than that of SCA, and the operation efficiency is higher. In order to avoid the shortcomings in the convergence and accuracy of the SCA and SA algorithms, this paper introduced inertia weights based on SA and improved the conversion parameter r1 as part of an improved sine algorithm (called the modified sine algorithm [MSA]) to solve complex high-dimensional global optimization problems. The simulation results of ten high-dimensional standard test functions showed that MSA had better optimization performance than SA and was an improvement over the improved sine cosine algorithm (ISCA), exponential sine cosine algorithm (ESCA), exponential sine algorithm (ESA), and exponential cosine algorithm (ECA).

The rest of this paper is organized as follows. Section 2 presents related works. Section 3 introduces the SCA algorithm and other improved algorithms used to compare the results. The proposed method is described in Section 3. The experimental results and analysis are provided in Section 4. Finally, brief conclusions are given in Section 5.

Section snippets

Related work

The SCA algorithm, proposed by Mirjalili (2016), requires only a few parameters, and because the execution process performs the iteration of only the sine and cosine functions, it has the advantage of easy implementation. Therefore, it has aroused the interest of numerous scholars, and there are many related studies and applications. However, the SCA algorithm also has the disadvantages of easily getting stuck in a local optimal solution and requiring many iterations and a long computing time.

Standard SCA algorithm

In SCA, the positions of N individuals are randomly generated. Suppose that each solution of the optimization problem corresponds to the position of the corresponding individual in the search space. Xi=(Xi1+Xi2++Xid)T represents the position of the i-th (i=1,2,,N) individual, where d(d=1,2,,D) is the dimension of the individual, and the current best position passed by all the individuals is represented by Pit=(Pi1t,Pi2t,,Pidt)T. In the next iteration, the position of the i-th individual is

Experimental settings

The algorithms studied in this paper included SA, ESA, ISCA, ESCA, and ECA, which are all improved SCA algorithms that have been proposed in recent years and which all have a performance that is significantly ahead of the standard SCA. In addition, we increased the number of dimensions to verify the universality and effectiveness of MSA. The computer used for the experiment contained an Intel coreTM i7-7500 2.90 GHz processor with 4G DRAM and ran the Windows 10 operating system. The platform

Conclusion

The sine cosine algorithm is a new optimization algorithm. In this work, we used an inertia weight as a parameter in the individual position update equation and used a concave function to control the change in conversion parameter r1 to propose an improved sine algorithm (MSA). Through experiments on ten benchmark functions, we showed that MSA had a higher optimization accuracy and a faster convergence speed than SA, ESA, ISCA, ESCA, and ECA. This improved sine algorithm (MSA) could be used for

CRediT authorship contribution statement

Yanbin Luo: Software. Weimin Dai: Conceptualization, Methodology. Yen-Wu Ti: Writing – original draft, Writing – review & editing.

Declaration of Competing Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

References (21)

There are more references available in the full text version of this article.

Cited by (5)

Peer review under responsibility of Submissions with the production note ‘Please add the Reproducibility Badge for this item’ the Badge and the following footnote to be added:The code (and data) in this article has been certified as Reproducible by the CodeOcean: https://codeocean.com. More information on the Reproducibility Badge Initiative is available at https://www.elsevier.com/physicalsciencesandengineering/computerscience/journals..

1

The first two authors contributed equally to this paper.

2

This work was supported in part by Major project funding for social science research base in Fujian province social science planning (FJ2020MJDZ055).

View full text