SlideShare a Scribd company logo
International
OPEN ACCESS Journal
Of Modern Engineering Research (IJMER)
| IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 7 | Iss. 3 | Mar. 2017 | 1 |
A Genetic Algorithm on Optimization Test Functions
Emmanuel S. Adabor1*
, Joseph Ackora-Prah2
1
School of Technology, Ghana Institute of Management and Public Administration, Accra, Ghana
2
Department of Mathematics, Kwame Nkrumah University of Science and Technology, PMB, Kumasi, Ghana
*Corresponding Author: emmanuelsadabor@gmail.com
I. INTRODUCTION
Global optimization techniques have been applied to real life problems such as determining the best
solution from a set of possible solutions. Algorithms for such purpose are deterministic if there is a clear relation
between the characteristics of the possible solution and the fitness for a given problem. On the other hand,
probabilistic algorithms solve problems where the relation between a solution and fitness is complicated and the
dimensionality of the search space is very high. Such algorithms employ heuristic approaches: Monte Carlo
class of search algorithms. Several approaches that can determine the maximum or minimum of optimization
problems exist. An extremely basic approach is the random search approach that randomly explores the search
space by randomly selecting any solution and testing with other solutions [1,2,3]. Although this allows a good
number of solutions to be tested, it does not guarantee global optima. However, it is successfully applied when
employed in other algorithms [1].
The gradient based methods can be used to solve optimization problems in which the objective
functions are smooth [1]. These employ local search by finding a gradient vector or Hessian matrix for
generating better minima of solutions to a problem. Although these methods are tractable and search in shorter
times, they are only applied to functions which are smooth.
Furthermore, there are greedy algorithms for problems where objective functions are not continuous [4].
These methods explore only neighbouring solutions to the current solution for optimal solution. This property
makes them unreliable since they could be trapped on local optima. However, repeating the greedy algorithms
with different starting solutions have been found to produce better results [1].
In the Simulated Annealing search method, a solution is accepted to be better than the current solution
if it improves the objective function [5,6,7]. If a solution does not improve the objective function, then it is
accepted with a probability. Even though the Simulated Annealing method produces very good results, Genetic
Algorithms (GAs) have been found to be better because they test populations of solutions instead of a single
solution or point in the Simulated Annealing method [8,9].
Recently, GAs have become dynamic and easy to use due to further research. For instance, Naoki et al.,
(2001) utilized the thermo-dynamical genetic algorithms (TDGA), a genetic algorithm which maintains the
diversity of the population by evaluating its entropy, for the problem of adaptation to changing environments
[10]. A modification of genetic algorithm is used in the problem of wavelength selection in the case of a
multivariate calibration performed by Partial Least Squares (PLS). The Genetic Algorithm sets weights to
balance the components out to solve the problem by an automated approach [11].
Wiendahl and Garlichs presented a graphical-oriented decision support system for the decentralized
production scheduling of assembly systems using a Genetic Algorithm as the scheduling algorithm [12]. In the
ABSTRACT: Genetic Algorithms (GAs) have become increasingly useful over the years for solving
combinatorial problems. Though they are generally accepted to be good performers among meta-
heuristic algorithms, most works have concentrated on the application of the GAs rather than the
theoretical justifications. In this paper, we examine and justify the suitability of Genetic Algorithms in
solving complex, multi-variable and multi-modal optimization problems. To achieve this, a simple
Genetic Algorithm was used to solve four standard complicated optimization test functions, namely
Rosenbrock, Schwefel, Rastrigin and Shubert functions. These functions are benchmarks to test the
quality of an optimization procedure towards a global optimum. We show that the method has a
quicker convergence to the global optima and that the optimal values for the Rosenbrock, Rastrigin,
Schwefel and Shubert functions are zero (0), zero (0), -418.9829 and -14.5080 respectively.
Keywords: Genetic Algorithms, Combinatorial problems, multimodal optimization problems, meta-
heuristic algorithms
A Genetic Algorithm On Optimization Test Functions
| IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 7 | Iss. 3 | Mar. 2017 | 2 |
past, GAs have been applied to solve resource constrained project scheduling problem (RCPSP) to minimize
make-span subject to precedence constraints and resources availability [13]. In these approaches, resources are
considered renewable as well as single mode of conducting every activity. A new permutation of encoding
scheme was designed in the GA to inherit all the advantages of both the new permutation-based encoding
scheme and the priority-based encoding schemes which were introduced [13].
In Biological Sciences, GAs have been applied to medical optimal control problem in immunology [14].
The author of such application provided the main strands of GA theory. Dynamic programming methods have
been applied to solve Multiple Sequence Alignment in Molecular Biology leading to exponential time
complexity. This has necessitated the use of GAs to solve the Multiple Sequence Alignment problem resulting in
improved results over the dynamic programming methods [15]. The determination of the risk factors of the
Alzheimer's disease provides insights into the disease. Although statistical approaches have been used for this
purpose, GAs have been more useful and efficient for identifying these factors since they are able to search
combinations of variables when search space is large [16].
Recent developments in design of experiments in Statistics have found GAs to be effective tools for
optimum designs. In particular, desirable experimental designs that exploit the intrinsic capabilities of GAs have
been produced. See Lin et al. (2015) for instances [17]. GAs have also been applied to optimizing pipe networks
[18], Resource Economics problem [19], hydrological model (GASAKe) [20], surface electromyography signal
[21], IIR digital filters [22] and Bayesian Networks [23].
The justifications for applying GAs are not well understood even with the numerous applications.
Therefore, in this paper, we show the suitability of GAs for solving complex problems involving more than one
variable with multiple modes and their ability to escape from being trapped in local optimal solutions. These are
shown in the examination of the performance of GAs on special optimization test functions. The test functions
are Rosenbrock function, Schwefel function, Rastrigin function and Shubert function.
II. METHOD
2.1 Simple Genetic Algorithm (GA)
The GA handles a population of possible solutions represented by a set of chromosomes. It proceeds by
coding all the possible solutions into chromosomes before determining reproduction operators. They are applied
directly on the chromosomes, and are used to perform mutations and recombination. Each chromosome has an
associated value that corresponds to the fitness of the solution [1].
Figure 1. Overview of Genetic Algorithm
2.1.1 Encoding and Selection
Encoding is representing individual genes using bits, numbers, trees, arrays, lists or any other objects.
The binary string uses bit string made up of zero (0) and one (1). Fig. 2 is an example of a binary string
encoding. Every bit string is a solution but not necessarily the best solution.
A Genetic Algorithm On Optimization Test Functions
| IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 7 | Iss. 3 | Mar. 2017 | 3 |
Figure 2. A Population of four chromosomes
Selection involves choosing individuals in the population for the next generation. It also determines
number of offspring that will be created by each. The purpose of the selection is to derive fitter individuals in
order to improve solution. The level of the fitness function determines the chances of an individual to be
selected.
In order to select fitter chromosomes for the mating pool, the proportional fitness (roulette wheel)
selection method which selects parent by probabilities were applied. This means that the probability of selecting
an individual is directly proportional to its fitness. This is a linear search through a roulette wheel with the slots
in the wheel weighted in proportion to the individual's fitness values. The population is explored until a target
value is reached. The roulette wheel constructs the relative fitness and cumulative fitness of chromosomes in its
first stage. The relative fitness of each chromosome for a maximization problem is

n
=k
k
i
i
f
f
=w
1
(1)
where
f k is the fitness of the k-th chromosome, and n is population size while the expression for a
minimization problem is:

n
k
k
i
i
F
F
=w
1
(2)
and
  1+ff=F imaxi  (3)
where maxf is the maximum fitness of all chromosomes and kF is the reverse magnitude fitness.
The cumulative fitness (cj) of the j-th chromosome is given by Equation (4):

j
=i
ij w=c
1
(4)
In the second stage, a random number, rj, is chosen and if rj > cj then the j-th chromosome is selected.
2.1.2. Crossover
Crossover is taking two parent solutions and producing children solution from them. Better offspring
are created by applying crossover to the mating pool to enable the GA to converge. This involves randomly
choosing some crossover points, copying every element before this point from the first parent and copying every
element after the crossover point from the other parent. In particular, we choose two crossover points and the
contents between these points are exchanged between two mated parents. The two points crossover enhance the
performance of the GA by maintaining the building blocks while exploring the search space. The power of
crossover operation to thoroughly explore the search space diminishes as the GA approaches convergence.
A crossover probability of 1 implies all offspring must be made by crossover. If it is 0, then a whole
new generation is to be generated from exact copies of chromosomes from old population. The new
A Genetic Algorithm On Optimization Test Functions
| IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 7 | Iss. 3 | Mar. 2017 | 4 |
chromosomes are intended to bear the good parts of old chromosomes so that the new chromosomes are
better/fitter individuals. This informed the choice of 80% crossover probability in this research.
2.1.3. Mutation
Mutation maintains genetic diversity in the population generated from crossover. This enables the
algorithm to escape from being trapped on local optimal solutions. The binary representation of the solutions
suffices that a simple mutation of each gene with a small probability would be needed. A Bit flipping mutation
was adopted in implementing the algorithm. This involves changing 0 to 1 and 1 to 0 based on a mutation
chromosome generated. As illustrated in Fig. 3, a parent is considered and a mutation chromosome is randomly
generated. For a 1 in mutation chromosome, the corresponding bit in parent chromosome is flipped (0 to 1 and 1
to 0) and child chromosome is produced.
Figure 3. Mutation flipping
The mutations to existing parents or chromosomes are performed with a mutation probability. If
mutation probability is 100%, the entire chromosome is changed, if it is 0%, nothing is changed. Thus, offspring
are generated immediately after crossover in case the mutation probability is zero. However, if mutation is
performed, one or more parts of a chromosome are changed. The mutation probability used to examine the
simple GA in this work is 0.2 permitting diversity in the population of solutions.
2.1.4. Replacement
Once offspring are produced, the parent population is assessed with the offspring for possible
replacement to form new set of solutions. The weaker parents are replaced in a weak replacement procedure to
ensure optimum performance of the GA. This involves replacing a weaker parent by a strong child. For instance
given two parents and two offspring, only the fittest two of the four individuals, parent or child form part of the
new population. Replacing the weak parents with fitter children improves the fitness of the candidate population
solution.
2.1.5. Termination of Search
The algorithm converges after a specified number of generations, a fixed time and a zero change in the
fitness value over a specified number of consecutive generations.
2.2 Test Functions
Test functions enable the evaluation of optimization algorithms with respect to their convergence rate,
robustness and precision. These functions belong to the class of multi-modal and multidimensional functions
with large number of extrema. Examples of such functions are the Rosenbrock function [24], the Rastrigin
function [25,26], the Schwefel function and the Shubert function [27].
2.2.1. Rosenbrock Function
The Rosenbrock function (Fig. 4) given by Equation (5), has a global optimum that lies inside a long,
narrow, parabolic-shaped flat valley.
         82.048,2.041001
222
 yx,,xy+x=yx,f (5)
The convergence to the global optimum by search algorithms is difficult and hence this problem has
been frequently used to test the performance of optimization algorithms. The minimum point causes a lot of
problems for search algorithms such as the method of steepest descents which will quickly find the entrance to
the valley and then spend several times searching from one side to the other. Such algorithms converge very
slowly toward the minimum.
A Genetic Algorithm On Optimization Test Functions
| IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 7 | Iss. 3 | Mar. 2017 | 5 |
Figure 4. Overview of Rosenbrock function
2.2.2. Rastrigin Function
This function is highly multi-modal as illustrated in Fig. 5. Nevertheless, the locations of local minima
are regularly distributed across the plot of the function.
Figure 5. Overview of Rastrigin function
The Rastrigin function is given by Equation (6).
      .5.12,5.12210cos10
1
2
 i
n
=i
ii x,πxx+n=xf (6)
2.2.3. Schwefel Function
The Schwefel function is given by Equation (7). It is highly deceptive in that the global minimum is
geometrically distant over the parameter space. That is the consecutive best local minima are distant from one
another (See Fig. 6). This makes search algorithms falter in converging to the direction of the global minimum
of the function.
      500,500sin
1
 i
n
=i
ii x,xx=xf (7)
A Genetic Algorithm On Optimization Test Functions
| IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 7 | Iss. 3 | Mar. 2017 | 6 |
Figure 6. Overview of Schwefel function
2.2.4. Shubert Function
The Shubert function is a multi-variable function with multiple modes making it difficult for several algorithms
to easily obtain the optimal solution. The complex nature of the function is illustrated in Fig. 7. The Shubert
function can be written as a function of two variables shown in Equation (8).
           .5.12,5.1211cos11cos
5
1
5
1
  yx,,+y+ii+x+ii=yx,f
=i=i
(8)
Figure 7. Overview of Shubert function
III. RESULTS
3.1. Performance Indicators of Algorithms
The performance of the simple GA is measured by the values of the optimal solutions. The manual
implementation of the GA is infeasible due to the huge population size that is generated at each stage of the
algorithm. Therefore, the minima of the test functions were solved with MATLAB codes (MathWorks Inc., 2006)
and the results were examined to ascertain the performance of the algorithm. For optimum performance of the
algorithm, the initial population size was limited to 50. This ensures an effective exploration of search space and
quick convergence.
Furthermore, a maximum of 100 generations was specified since the generations hereafter do not produce
A Genetic Algorithm On Optimization Test Functions
| IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 7 | Iss. 3 | Mar. 2017 | 7 |
significant difference in the optimal values for each function. Nevertheless, the algorithm stops when there are
no improvements in the optimal value after 50 consecutive generations. This accounts for the limit on the stall
generations. It must, however, be stated that there is no perfect way for setting parameters except by
experimental training which have been conducted [28]. Therefore, the choice of these parameters and the others
are well justified.
3.2. Performance on Test Functions
The minima of the Rosenbrock function, Rastrigin function, Schwefel function and Shubert function
are presented in Table 1. The minima of all the functions were reached at the end of 51 generations and at a
point where the average change in fitness values were less than the tolerance,
-6
101 .
Table 1. Results of Mimina of functions
Function Number of decision
Variables
Optimal solution Optimal value
Rosenbrock 2 1.0070, 1.0140 0.0000
Rastrigin 1 0.0000 0.0000
Rastrigin 5 0.0125, 0, -0.0*, 0.001, -
0.0*
0.0309
Schwefel 1 420.9618 -418.9829
Schwefel 10
V114
10 114
107620.4 
Shubert 1 -0.2001 -14.5080
Shubert 3 -0.1887, -0.2017, -0.2258 3
103.0246
Vector, V = (-0.0*,0.0*,-0.0*,-0.0*,-0.0*,0.0*,-0.0*,-4.9300,-0.0*,0)
* value is not zero
The simulations of the search for best fitness values were investigated. In search for best fitness values
from the initial values, it was revealed that though the fitness values for the population differed greatly, the GA
was able to identify the best value at each stage of the search. For instance, the search for the minimum of the
Rosenbrock function identified a mean fitness value of 30 though the optimal value was about zero (0) in the
first generation. Details of similar observations at each stage of the search are presented in Fig. 8.
Figure 8. A simple Genetic Algorithm search for optimal value of the Rosenbrock function. The best fitness
value overall the generations was approximately zero (0) and the mean fitness value over all generations was
68.3697.
Although the simple Genetic Algorithm began with a poor initial randomly generated population of
solutions having achieved a mean fitness value of 9.6 for the Rastrigin function, it achieved the expected
optimal value from the beginning of the search over 51 generations. Details of these observations and the
thorough search through the regularly distributed modes of the Rastrigin function are presented in Fig. 9.
A Genetic Algorithm On Optimization Test Functions
| IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 7 | Iss. 3 | Mar. 2017 | 8 |
Figure 9. The blue plot is mean fitness for generation and the black plot is the best fitness for
generation. A simple Genetic Algorithm search for optimal value of the Rastrigin function.
The nature of the simple GA search for the optimal value of the Schwefel function was also
investigated. It was revealed that though an optimal value of -418.9829 was achieved after 51 generations, the
best initial value at the first stage of the search was about zero which coincided with the mean fitness value. The
progress of the search for the minimum of the Schwefel function from the initial optimal value to the final
optimal value at the end of 51 generations are presented in Fig. 10.
Figure 10. A simple Genetic Algorithm search for optimal value of the Schwefel function. The blue plot is mean
fitness for generation and the black plot is the best fitness for generation.
Besides these exploratory abilities shown by the GA, it was able to identify the optimal value of the
Shubert function. In particular, after 38 generations, the mean fitness value of population coincides with the
optimal value at subsequent generations. Fig. 11 presents details of the search for the best minimum of the
Shubert function.
A Genetic Algorithm On Optimization Test Functions
| IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 7 | Iss. 3 | Mar. 2017 | 9 |
Figure 11. A simple Genetic Algorithm search for optimal value of the Shubert function. The blue plot is mean
fitness for generation and the black plot is the best fitness for generation.
IV. DISCUSSION
The Rosenbrock function had the optimal value of zero which occurred at the point (1.0070, 1.0140).
The results of the Rosenbrock function confirms results in the literature that it has a minimum value of zero
occurring at (1, 1) [27]. The simple GA obtained this optimal value at the 51st generation in 2.35 seconds. This
implies that though the Rosenbrock function has an optimal value difficult to achieve by classical optimization
techniques, the precision of GA is proved by the optimal value it achieved. In addition, the simple GA has quick
convergence rate. This is justified by the time the GA used to achieve the optimal value of zero. Thus, GA
performs a thorough search to find near optimal value of the Rosenbrock function within a shorter time escaping
most possible traps of local minima.
The exploratory nature of the GA search for best minima of the Rosenbrock function is described in Fig.
8. Though the minimum of the function is found in a valley, the average mean fitness values depict that the
algorithm proved robust during the search as it had to choose from high and low fitness values at consecutive
generations. For instance, after 21 generations, the mean fitness was zero but it increased to about 171 after the
47th generation. The algorithm proved robust achieving the optimal value at the end of 51 generations. These
varying mean fitness values of the Rosenbrock function indicate that the function is complex.
The global minimum for an n-dimensional Rastrigin function has been found to be zero (0) at 0ix
for i =1, 2, …, n [27]. The Simple GA found the minimum value of the single-variable Rastrigin function to be
zero and it occurred at zero. The optimal value of the Rastrigin function of five variables was zero. These values
are indications of the accuracy of the GA to achieve optimal values within shorter time limits.
The robustness of the GA was proved by the nature of its exploration over search space whose minima
are regularly distributed across the Rastrigin function (See Fig. 9). Although the algorithm started with a poor
mean fitness value due to the nature of the function, it converged in subsequent generations until the 51st
generation where it achieved the optimal value of the Rastrigin function (See Fig. 9). Thus, precision of the near
optimal values make GAs robust and highly recommended for solving complex optimization problems.
The accuracy of GA was proved when it located the minimum of a single-variable Schwefel function at
420.9618 with an optimal value of -418.9829 in 23.02 Seconds. In the literature, the global minimum for an n-
dimensional Schwefel function is -418.9829n at xi = 420.9618 for i = 1, 2,…,n [27]. The GA further revealed the
minimum of the Schwefel function of 10 variables which are presented in Table 1.
Despite the deceptive nature of the Schwefel function having consecutive best local minima distant
from one another (See Fig. 6), the GA was able to produce the best minimum value as in the literature. These
suggest that GAs are robust, efficient and do not compromise on time of search. In Fig. 10, it is shown that
though the search was unstable in the initial generations of the search, it stabilizes at the end of the 20th
generation. It converged to the optimal value from the 25th generation to the 51st generation. These prove the
suitability of the GA to solve problems of such nature. These results provide enough justifications for the use of
A Genetic Algorithm On Optimization Test Functions
| IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 7 | Iss. 3 | Mar. 2017 | 10 |
GA for optimizing complex and multi-variable problems.
The simple GA found the minimum of a Shubert function to be -14.5080 at -0.2001. This value was
reached at the 51st generation when the stopping criterion was satisfied. In general, the global minimum for an
n-dimensional Shubert function is multiple of -14.5080 [27]. Further results with n = 3 is presented in Table 1.
The robustness of the GA was proved further by the search for the optimal value of complex Shubert
function (Fig. 7). Though the simple GA started with a poor mean fitness value due to the nature of the function,
it was able to keep the best fitness throughout other generations until a better value was found. This resulted in
repeated optimal values from the 15th generation to 44th generation. This is due to the selection criteria that
were implemented by the algorithm. These results indicate the ability of the GA to exhaustively search for the
near optimal value of a single variable shubert function. Thus, based on the performance of the GA on the
Shubert function, they show they are robust and accurate while maintaining good search over short time.
The results answer skepticism of Wang (1991) and others as to the efficiency and robustness of GAs
[29,30]. Furthermore, the results prove that GAs easily escape from millions of local optima and reliably
converge to a single value close to the optimum which was suggested in [31].
V. CONCLUSION
The simple GA has provided good solutions to the test functions. Except for some randomization of the
initial population especially when set distant from a local optimum, the time taken by the algorithm to complete
each search is small. GAs are therefore robust, works with precision and has quick convergence to the direction
of the global optimum making them more desirable for complex search problems.
REFERENCES
[1]. Sivanandam SN, Deepa SN (2008) Introduction to Genetic Algorithm. Springer-Verlag Berlin Heidelberg, New
York.
[2]. Francisco JS, Roger J-BW (1981) Minimization by Random Search Techniques. Mathematics of Operations
Research 6(1):19-30.
[3]. Rastrigin LA (1963) The convergence of the random search method in the extremal control of a many parameter
system. Automation and Remote Control 24(10):1337-1342.
[4]. Cormen TH, Leiserson CE, Rivest RL, Stein C (2001) Introduction to Algorithms. MIT Press, USA.
[5]. Metropolis N, Rosenbluth AW, Rosenbluth MN, Tel AH, Teller E (1953) Equation of State Calculations by Fast
Computing Machines. Journal of Chemical Physics 21(6):1087. doi:10.1063/1.1699114.
[6]. Aarts EHL, Korst J (1989) Simulated Annealing and Boltzmann Machines: a stochastic approach to combinatorial
optimization and neural computing. John Wiley and Sons, USA.
[7]. Bertsimas D, Tsitsiklis J (1993) Simulated Annealing. Statistical Science 8(1): 10-15. http://
www.mit.edu/~dbertsim/papers/Optimization/Simulated%20annealing.pdf (Last accessed: September 11, 2015)
[8]. Holland JH (1975) Adaptation in Natural and Artificial Systems. University of Michigan Press, Ann Arbor,USA.
[9]. Goldberg D (1989) Genetic Algorithms in Search, Optimization and Machine Learning. Addison-Wesley
Professional, Reading, MA.
[10]. Naoki M, Hajime K, Yoshikazu N (2001) Adaptation to Changing Environments by Means of the Memory Based
Thermodynamical Genetic Algorithm. Transactions of the Institute of Systems, Control and Information Engineers
14(1):33-41.
[11]. Leardi R (2000) Application of genetic algorithm-PLS for feature selection in spectral data sets. Journal of
Chemometrics 14(5-6):643-655.
[12]. Wiendahl HP, Garlichs R (1994) Decentral Production Scheduling of Assembly Systems with Genetic Algorithm.
CIRP Annals-Manufacturing Technology 43(1):389-395.
[13]. Zhang H (2008) A Genetic Algorithm for Solving RCPSP. Computer Science and Computational Technology,
ISCSCT 2008. International Symposium 2: 246-249. doi:10.1109/ISCSCT.2008.255.
[14]. McCall J (2005) Genetic algorithms for modelling and optimisation. Journal of Computational and Applied
Mathematics 184(1):205-222.
[15]. Karadimitriou K, Kraft DH (1996) Genetic Algorithms and the Multiple Sequence Alignment Problem in Biology.
In: Proceedings of the Second Annual Molecular Biology and Biotechnology Conference, Baton Rouge, LA.
[16]. Johnson P, Vandewater L, Wilson W, Maruff P, Savage G, Graham P,Zhang P et al. (2015). Genetic algorithm
with logistic regression for prediction of progression to Alzheimer's disease. BMC Bioinformatics 15(Suppl
16):S11. doi:10.1186/1471-2105-15-S16-S11.
[17]. Lin CD, Anderson-Cook CM, Hamada MS, Moore LM, Sitter RR (2015) Using Genetic Algorithms to Design
Experiments:A Review. Quality and Reliability Engineering International 31(2):155-167. doi:10.1002/qre.1591.
[18]. Simpson AR, Dandy GC, Murphy LJ (1994) Genetic Algorithms Compared to Other Techniques for Pipe
Optimization. Journal of Water Resources Planning and Management 120(4). doi:10.1061/(ASCE)0733-
9496(1994)120:4(423).
[19]. Geisendorf S (1999) Genetic Algorithms in Resource Economic Models. Retrieved from http://
www.santafe.edu/media/workingpapers/99-08-058.pdf. (Last accessed: October 1, 2015)
[20]. Terranova OG, GarianoSL, Iaquinta P, Iovine GGR (2015) GASAKe: forecasting landslide activations by a
genetic-algorithms-based hydrological model. Geosci. Model Dev. 8:1955-1978. doi:10.5194/gmd-8-1955-2015.
A Genetic Algorithm On Optimization Test Functions
| IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 7 | Iss. 3 | Mar. 2017 | 11 |
[21]. Torres JL, Linsangan NB (2015) Application of Genetic Algorithm for Optimization of Data in Surface
Myoelectric Prosthesis for the Transradial Amputee. International Journal of Information and Education
Technology 5(2):113-118. doi:10.7763/IJIET.2015.V5.486.
[22]. Leehter Y, Sethares WA (1994) Nonlinear Parameter Estimation via the genetic Algorithm. Signal Processing,
IEEE Transactions 42(4):927 – 935.
[23]. Larranaga P, Poza M, Yurramendi Y, Murga RH, Kuijpers CMH. (1996) Structure learning of Bayesian Networks
of genetic algorithms: a performance analysis of control parameters. IEEE Trans Patterns Anal Mach Intell
1996;18(9):912-26.
[24]. Rosenbrock HH (1960) An automatic method for finding the greatest or least value of a function. Computer
Journal 3:175-184. doi:10.1093/comjnl/3.3.175.
[25]. Torn A, Zilinskas A (1989). Global Optimization. Springer-Verlag, Berlin.
[26]. Muhlenbein H, Schomisch D, Born J (1991) The Parallel Genetic Algorithm as Function Optimizer. Parallel
Computing 17:619-632.
[27]. Molga M, Smutnicki C (2005). Test Functions for Optimization needs. Retrieved from
http://www.zsd.ict.pwr.wroc.pl/files/docs/functions.pdf. (Last accessed: October 5, 2015)
[28]. Srinivas M, Patnaik LM (1994) Genetic algorithms: a survey. Computer 27(6):17-26. doi:10.1109/2.294849.
[29]. Wang QJ (1991). The Genetic Algorithm and its Application to Calibrating Conceptual Rainfall-Runoff Models.
Water Resource Research 27(9):2467-2471.
[30]. Hu L, Liu J, Liang C, Ni F, Chen H (2015) A Phoenix++ Based new Genetic Algorithm Involving Mechanism of
Simulated Annealing. International Journal of Distributed Sensor Networks 2015:8 pages.
Doi:10.1155/2015/806708.
[31]. Jung SH (2009) Selective Mutation for Genetic Algorithms. World Academy of Science, Engineering and
Technology 56:478 – 481.
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.193.4022&rep=rep1&type=pdf. (Last accessed:
September 11, 2015)

More Related Content

What's hot

What is Apriori Algorithm | Edureka
What is Apriori Algorithm | EdurekaWhat is Apriori Algorithm | Edureka
What is Apriori Algorithm | Edureka
Edureka!
 
Graph neural networks overview
Graph neural networks overviewGraph neural networks overview
Graph neural networks overview
Rodion Kiryukhin
 
AnoGAN을 이용한 철강 소재 결함 검출 AI
AnoGAN을 이용한 철강 소재 결함 검출 AIAnoGAN을 이용한 철강 소재 결함 검출 AI
AnoGAN을 이용한 철강 소재 결함 검출 AI
HYEJINLIM10
 
BERT: Bidirectional Encoder Representations from Transformers
BERT: Bidirectional Encoder Representations from TransformersBERT: Bidirectional Encoder Representations from Transformers
BERT: Bidirectional Encoder Representations from Transformers
Liangqun Lu
 
Intro to LLMs
Intro to LLMsIntro to LLMs
Intro to LLMs
Loic Merckel
 
Revisiting the Calibration of Modern Neural Networks
Revisiting the Calibration of Modern Neural NetworksRevisiting the Calibration of Modern Neural Networks
Revisiting the Calibration of Modern Neural Networks
Sungchul Kim
 
Genetik algoritma
Genetik algoritmaGenetik algoritma
Genetik algoritma
KbraBeendik
 
Bert
BertBert
Fake_News_Detection_1st_review[1] capstone project.pptx
Fake_News_Detection_1st_review[1] capstone project.pptxFake_News_Detection_1st_review[1] capstone project.pptx
Fake_News_Detection_1st_review[1] capstone project.pptx
HarshMangal20
 
Meta-Learning Presentation
Meta-Learning PresentationMeta-Learning Presentation
Meta-Learning Presentation
AkshayaNagarajan10
 
Sentiment Analysis Using Hybrid Structure of Machine Learning Algorithms
Sentiment Analysis Using Hybrid Structure of Machine Learning AlgorithmsSentiment Analysis Using Hybrid Structure of Machine Learning Algorithms
Sentiment Analysis Using Hybrid Structure of Machine Learning Algorithms
Sangeeth Nagarajan
 
GANs for Anti Money Laundering
GANs for Anti Money LaunderingGANs for Anti Money Laundering
GANs for Anti Money Laundering
Jim Dowling
 
How to Win Machine Learning Competitions ?
How to Win Machine Learning Competitions ? How to Win Machine Learning Competitions ?
How to Win Machine Learning Competitions ?
HackerEarth
 
genetic algorithms-artificial intelligence
 genetic algorithms-artificial intelligence genetic algorithms-artificial intelligence
genetic algorithms-artificial intelligenceKarunakar Singh Thakur
 
Deep Generative Models
Deep Generative ModelsDeep Generative Models
Deep Generative Models
Mijung Kim
 
XLnet RoBERTa Reformer
XLnet RoBERTa ReformerXLnet RoBERTa Reformer
XLnet RoBERTa Reformer
San Kim
 
Generative-AI-in-enterprise-20230615.pdf
Generative-AI-in-enterprise-20230615.pdfGenerative-AI-in-enterprise-20230615.pdf
Generative-AI-in-enterprise-20230615.pdf
Liming Zhu
 
Deep Generative Models
Deep Generative Models Deep Generative Models
Deep Generative Models
Chia-Wen Cheng
 
AIF360 - Trusted and Fair AI
AIF360 - Trusted and Fair AIAIF360 - Trusted and Fair AI
AIF360 - Trusted and Fair AI
Animesh Singh
 
Transformers, LLMs, and the Possibility of AGI
Transformers, LLMs, and the Possibility of AGITransformers, LLMs, and the Possibility of AGI
Transformers, LLMs, and the Possibility of AGI
SynaptonIncorporated
 

What's hot (20)

What is Apriori Algorithm | Edureka
What is Apriori Algorithm | EdurekaWhat is Apriori Algorithm | Edureka
What is Apriori Algorithm | Edureka
 
Graph neural networks overview
Graph neural networks overviewGraph neural networks overview
Graph neural networks overview
 
AnoGAN을 이용한 철강 소재 결함 검출 AI
AnoGAN을 이용한 철강 소재 결함 검출 AIAnoGAN을 이용한 철강 소재 결함 검출 AI
AnoGAN을 이용한 철강 소재 결함 검출 AI
 
BERT: Bidirectional Encoder Representations from Transformers
BERT: Bidirectional Encoder Representations from TransformersBERT: Bidirectional Encoder Representations from Transformers
BERT: Bidirectional Encoder Representations from Transformers
 
Intro to LLMs
Intro to LLMsIntro to LLMs
Intro to LLMs
 
Revisiting the Calibration of Modern Neural Networks
Revisiting the Calibration of Modern Neural NetworksRevisiting the Calibration of Modern Neural Networks
Revisiting the Calibration of Modern Neural Networks
 
Genetik algoritma
Genetik algoritmaGenetik algoritma
Genetik algoritma
 
Bert
BertBert
Bert
 
Fake_News_Detection_1st_review[1] capstone project.pptx
Fake_News_Detection_1st_review[1] capstone project.pptxFake_News_Detection_1st_review[1] capstone project.pptx
Fake_News_Detection_1st_review[1] capstone project.pptx
 
Meta-Learning Presentation
Meta-Learning PresentationMeta-Learning Presentation
Meta-Learning Presentation
 
Sentiment Analysis Using Hybrid Structure of Machine Learning Algorithms
Sentiment Analysis Using Hybrid Structure of Machine Learning AlgorithmsSentiment Analysis Using Hybrid Structure of Machine Learning Algorithms
Sentiment Analysis Using Hybrid Structure of Machine Learning Algorithms
 
GANs for Anti Money Laundering
GANs for Anti Money LaunderingGANs for Anti Money Laundering
GANs for Anti Money Laundering
 
How to Win Machine Learning Competitions ?
How to Win Machine Learning Competitions ? How to Win Machine Learning Competitions ?
How to Win Machine Learning Competitions ?
 
genetic algorithms-artificial intelligence
 genetic algorithms-artificial intelligence genetic algorithms-artificial intelligence
genetic algorithms-artificial intelligence
 
Deep Generative Models
Deep Generative ModelsDeep Generative Models
Deep Generative Models
 
XLnet RoBERTa Reformer
XLnet RoBERTa ReformerXLnet RoBERTa Reformer
XLnet RoBERTa Reformer
 
Generative-AI-in-enterprise-20230615.pdf
Generative-AI-in-enterprise-20230615.pdfGenerative-AI-in-enterprise-20230615.pdf
Generative-AI-in-enterprise-20230615.pdf
 
Deep Generative Models
Deep Generative Models Deep Generative Models
Deep Generative Models
 
AIF360 - Trusted and Fair AI
AIF360 - Trusted and Fair AIAIF360 - Trusted and Fair AI
AIF360 - Trusted and Fair AI
 
Transformers, LLMs, and the Possibility of AGI
Transformers, LLMs, and the Possibility of AGITransformers, LLMs, and the Possibility of AGI
Transformers, LLMs, and the Possibility of AGI
 

Similar to A Genetic Algorithm on Optimization Test Functions

Parallel evolutionary approach paper
Parallel evolutionary approach paperParallel evolutionary approach paper
Parallel evolutionary approach paper
Priti Punia
 
Software Testing Using Genetic Algorithms
Software Testing Using Genetic AlgorithmsSoftware Testing Using Genetic Algorithms
Software Testing Using Genetic Algorithms
IJCSES Journal
 
Comparison between the genetic algorithms optimization and particle swarm opt...
Comparison between the genetic algorithms optimization and particle swarm opt...Comparison between the genetic algorithms optimization and particle swarm opt...
Comparison between the genetic algorithms optimization and particle swarm opt...
IAEME Publication
 
COMPARISON BETWEEN THE GENETIC ALGORITHMS OPTIMIZATION AND PARTICLE SWARM OPT...
COMPARISON BETWEEN THE GENETIC ALGORITHMS OPTIMIZATION AND PARTICLE SWARM OPT...COMPARISON BETWEEN THE GENETIC ALGORITHMS OPTIMIZATION AND PARTICLE SWARM OPT...
COMPARISON BETWEEN THE GENETIC ALGORITHMS OPTIMIZATION AND PARTICLE SWARM OPT...
IAEME Publication
 
Multi objective optimization using
Multi objective optimization usingMulti objective optimization using
Multi objective optimization using
ijaia
 
An Efficient Genetic Algorithm for Solving Knapsack Problem.pdf
An Efficient Genetic Algorithm for Solving Knapsack Problem.pdfAn Efficient Genetic Algorithm for Solving Knapsack Problem.pdf
An Efficient Genetic Algorithm for Solving Knapsack Problem.pdf
Nancy Ideker
 
Genetic algorithms mahyar
Genetic algorithms   mahyarGenetic algorithms   mahyar
Genetic algorithms mahyar
Mahyar Teymournezhad
 
A Non-Revisiting Genetic Algorithm for Optimizing Numeric Multi-Dimensional F...
A Non-Revisiting Genetic Algorithm for Optimizing Numeric Multi-Dimensional F...A Non-Revisiting Genetic Algorithm for Optimizing Numeric Multi-Dimensional F...
A Non-Revisiting Genetic Algorithm for Optimizing Numeric Multi-Dimensional F...
ijcsa
 
A Real Coded Genetic Algorithm For Solving Integer And Mixed Integer Optimiza...
A Real Coded Genetic Algorithm For Solving Integer And Mixed Integer Optimiza...A Real Coded Genetic Algorithm For Solving Integer And Mixed Integer Optimiza...
A Real Coded Genetic Algorithm For Solving Integer And Mixed Integer Optimiza...
Jim Jimenez
 
Hc3413121317
Hc3413121317Hc3413121317
Hc3413121317
IJERA Editor
 
Advanced Optimization Techniques
Advanced Optimization TechniquesAdvanced Optimization Techniques
Advanced Optimization Techniques
Valerie Felton
 
[IJCT-V3I2P31] Authors: Amarbir Singh
[IJCT-V3I2P31] Authors: Amarbir Singh[IJCT-V3I2P31] Authors: Amarbir Singh
[IJCT-V3I2P31] Authors: Amarbir Singh
IJET - International Journal of Engineering and Techniques
 
Multi-Population Methods with Adaptive Mutation for Multi-Modal Optimization ...
Multi-Population Methods with Adaptive Mutation for Multi-Modal Optimization ...Multi-Population Methods with Adaptive Mutation for Multi-Modal Optimization ...
Multi-Population Methods with Adaptive Mutation for Multi-Modal Optimization ...
ijscai
 
E034023028
E034023028E034023028
E034023028
ijceronline
 
Using particle swarm optimization to solve test functions problems
Using particle swarm optimization to solve test functions problemsUsing particle swarm optimization to solve test functions problems
Using particle swarm optimization to solve test functions problems
riyaniaes
 
Biology-Derived Algorithms in Engineering Optimization
Biology-Derived Algorithms in Engineering OptimizationBiology-Derived Algorithms in Engineering Optimization
Biology-Derived Algorithms in Engineering Optimization
Xin-She Yang
 
The potential role of ai in the minimisation and mitigation of project delay
The potential role of ai in the minimisation and mitigation of project delayThe potential role of ai in the minimisation and mitigation of project delay
The potential role of ai in the minimisation and mitigation of project delay
Pieter Rautenbach
 
Genetic Approach to Parallel Scheduling
Genetic Approach to Parallel SchedulingGenetic Approach to Parallel Scheduling
Genetic Approach to Parallel Scheduling
IOSR Journals
 
Convergence tendency of genetic algorithms and artificial immune system in so...
Convergence tendency of genetic algorithms and artificial immune system in so...Convergence tendency of genetic algorithms and artificial immune system in so...
Convergence tendency of genetic algorithms and artificial immune system in so...
ijcsity
 

Similar to A Genetic Algorithm on Optimization Test Functions (20)

Parallel evolutionary approach paper
Parallel evolutionary approach paperParallel evolutionary approach paper
Parallel evolutionary approach paper
 
Software Testing Using Genetic Algorithms
Software Testing Using Genetic AlgorithmsSoftware Testing Using Genetic Algorithms
Software Testing Using Genetic Algorithms
 
Comparison between the genetic algorithms optimization and particle swarm opt...
Comparison between the genetic algorithms optimization and particle swarm opt...Comparison between the genetic algorithms optimization and particle swarm opt...
Comparison between the genetic algorithms optimization and particle swarm opt...
 
COMPARISON BETWEEN THE GENETIC ALGORITHMS OPTIMIZATION AND PARTICLE SWARM OPT...
COMPARISON BETWEEN THE GENETIC ALGORITHMS OPTIMIZATION AND PARTICLE SWARM OPT...COMPARISON BETWEEN THE GENETIC ALGORITHMS OPTIMIZATION AND PARTICLE SWARM OPT...
COMPARISON BETWEEN THE GENETIC ALGORITHMS OPTIMIZATION AND PARTICLE SWARM OPT...
 
Multi objective optimization using
Multi objective optimization usingMulti objective optimization using
Multi objective optimization using
 
An Efficient Genetic Algorithm for Solving Knapsack Problem.pdf
An Efficient Genetic Algorithm for Solving Knapsack Problem.pdfAn Efficient Genetic Algorithm for Solving Knapsack Problem.pdf
An Efficient Genetic Algorithm for Solving Knapsack Problem.pdf
 
Genetic algorithms mahyar
Genetic algorithms   mahyarGenetic algorithms   mahyar
Genetic algorithms mahyar
 
A Non-Revisiting Genetic Algorithm for Optimizing Numeric Multi-Dimensional F...
A Non-Revisiting Genetic Algorithm for Optimizing Numeric Multi-Dimensional F...A Non-Revisiting Genetic Algorithm for Optimizing Numeric Multi-Dimensional F...
A Non-Revisiting Genetic Algorithm for Optimizing Numeric Multi-Dimensional F...
 
A Real Coded Genetic Algorithm For Solving Integer And Mixed Integer Optimiza...
A Real Coded Genetic Algorithm For Solving Integer And Mixed Integer Optimiza...A Real Coded Genetic Algorithm For Solving Integer And Mixed Integer Optimiza...
A Real Coded Genetic Algorithm For Solving Integer And Mixed Integer Optimiza...
 
Hc3413121317
Hc3413121317Hc3413121317
Hc3413121317
 
Advanced Optimization Techniques
Advanced Optimization TechniquesAdvanced Optimization Techniques
Advanced Optimization Techniques
 
[IJCT-V3I2P31] Authors: Amarbir Singh
[IJCT-V3I2P31] Authors: Amarbir Singh[IJCT-V3I2P31] Authors: Amarbir Singh
[IJCT-V3I2P31] Authors: Amarbir Singh
 
Multi-Population Methods with Adaptive Mutation for Multi-Modal Optimization ...
Multi-Population Methods with Adaptive Mutation for Multi-Modal Optimization ...Multi-Population Methods with Adaptive Mutation for Multi-Modal Optimization ...
Multi-Population Methods with Adaptive Mutation for Multi-Modal Optimization ...
 
E034023028
E034023028E034023028
E034023028
 
Using particle swarm optimization to solve test functions problems
Using particle swarm optimization to solve test functions problemsUsing particle swarm optimization to solve test functions problems
Using particle swarm optimization to solve test functions problems
 
Biology-Derived Algorithms in Engineering Optimization
Biology-Derived Algorithms in Engineering OptimizationBiology-Derived Algorithms in Engineering Optimization
Biology-Derived Algorithms in Engineering Optimization
 
IJCSI-2015-12-2-10138 (1) (2)
IJCSI-2015-12-2-10138 (1) (2)IJCSI-2015-12-2-10138 (1) (2)
IJCSI-2015-12-2-10138 (1) (2)
 
The potential role of ai in the minimisation and mitigation of project delay
The potential role of ai in the minimisation and mitigation of project delayThe potential role of ai in the minimisation and mitigation of project delay
The potential role of ai in the minimisation and mitigation of project delay
 
Genetic Approach to Parallel Scheduling
Genetic Approach to Parallel SchedulingGenetic Approach to Parallel Scheduling
Genetic Approach to Parallel Scheduling
 
Convergence tendency of genetic algorithms and artificial immune system in so...
Convergence tendency of genetic algorithms and artificial immune system in so...Convergence tendency of genetic algorithms and artificial immune system in so...
Convergence tendency of genetic algorithms and artificial immune system in so...
 

More from IJMERJOURNAL

Modeling And Simulation Swash Plate Pump Response Characteristics in Load Sen...
Modeling And Simulation Swash Plate Pump Response Characteristics in Load Sen...Modeling And Simulation Swash Plate Pump Response Characteristics in Load Sen...
Modeling And Simulation Swash Plate Pump Response Characteristics in Load Sen...
IJMERJOURNAL
 
Generation of Electricity Through A Non-Municipal Solid Waste Heat From An In...
Generation of Electricity Through A Non-Municipal Solid Waste Heat From An In...Generation of Electricity Through A Non-Municipal Solid Waste Heat From An In...
Generation of Electricity Through A Non-Municipal Solid Waste Heat From An In...
IJMERJOURNAL
 
A New Two-Dimensional Analytical Model of Small Geometry GaAs MESFET
A New Two-Dimensional Analytical Model of Small Geometry GaAs MESFETA New Two-Dimensional Analytical Model of Small Geometry GaAs MESFET
A New Two-Dimensional Analytical Model of Small Geometry GaAs MESFET
IJMERJOURNAL
 
Design a WSN Control System for Filter Backwashing Process
Design a WSN Control System for Filter Backwashing ProcessDesign a WSN Control System for Filter Backwashing Process
Design a WSN Control System for Filter Backwashing Process
IJMERJOURNAL
 
Application of Customer Relationship Management (Crm) Dimensions: A Critical ...
Application of Customer Relationship Management (Crm) Dimensions: A Critical ...Application of Customer Relationship Management (Crm) Dimensions: A Critical ...
Application of Customer Relationship Management (Crm) Dimensions: A Critical ...
IJMERJOURNAL
 
Comparisons of Shallow Foundations in Different Soil Condition
Comparisons of Shallow Foundations in Different Soil ConditionComparisons of Shallow Foundations in Different Soil Condition
Comparisons of Shallow Foundations in Different Soil Condition
IJMERJOURNAL
 
Place of Power Sector in Public-Private Partnership: A Veritable Tool to Prom...
Place of Power Sector in Public-Private Partnership: A Veritable Tool to Prom...Place of Power Sector in Public-Private Partnership: A Veritable Tool to Prom...
Place of Power Sector in Public-Private Partnership: A Veritable Tool to Prom...
IJMERJOURNAL
 
Study of Part Feeding System for Optimization in Fms & Force Analysis Using M...
Study of Part Feeding System for Optimization in Fms & Force Analysis Using M...Study of Part Feeding System for Optimization in Fms & Force Analysis Using M...
Study of Part Feeding System for Optimization in Fms & Force Analysis Using M...
IJMERJOURNAL
 
Investigating The Performance of A Steam Power Plant
Investigating The Performance of A Steam Power PlantInvestigating The Performance of A Steam Power Plant
Investigating The Performance of A Steam Power Plant
IJMERJOURNAL
 
Study of Time Reduction in Manufacturing of Screws Used in Twin Screw Pump
Study of Time Reduction in Manufacturing of Screws Used in Twin Screw PumpStudy of Time Reduction in Manufacturing of Screws Used in Twin Screw Pump
Study of Time Reduction in Manufacturing of Screws Used in Twin Screw Pump
IJMERJOURNAL
 
Mitigation of Voltage Imbalance in A Two Feeder Distribution System Using Iupqc
Mitigation of Voltage Imbalance in A Two Feeder Distribution System Using IupqcMitigation of Voltage Imbalance in A Two Feeder Distribution System Using Iupqc
Mitigation of Voltage Imbalance in A Two Feeder Distribution System Using Iupqc
IJMERJOURNAL
 
Adsorption of Methylene Blue From Aqueous Solution with Vermicompost Produced...
Adsorption of Methylene Blue From Aqueous Solution with Vermicompost Produced...Adsorption of Methylene Blue From Aqueous Solution with Vermicompost Produced...
Adsorption of Methylene Blue From Aqueous Solution with Vermicompost Produced...
IJMERJOURNAL
 
Analytical Solutions of simultaneous Linear Differential Equations in Chemica...
Analytical Solutions of simultaneous Linear Differential Equations in Chemica...Analytical Solutions of simultaneous Linear Differential Equations in Chemica...
Analytical Solutions of simultaneous Linear Differential Equations in Chemica...
IJMERJOURNAL
 
Experimental Investigation of the Effect of Injection of OxyHydrogen Gas on t...
Experimental Investigation of the Effect of Injection of OxyHydrogen Gas on t...Experimental Investigation of the Effect of Injection of OxyHydrogen Gas on t...
Experimental Investigation of the Effect of Injection of OxyHydrogen Gas on t...
IJMERJOURNAL
 
Hybrid Methods of Some Evolutionary Computations AndKalman Filter on Option P...
Hybrid Methods of Some Evolutionary Computations AndKalman Filter on Option P...Hybrid Methods of Some Evolutionary Computations AndKalman Filter on Option P...
Hybrid Methods of Some Evolutionary Computations AndKalman Filter on Option P...
IJMERJOURNAL
 
An Efficient Methodology To Develop A Secured E-Learning System Using Cloud C...
An Efficient Methodology To Develop A Secured E-Learning System Using Cloud C...An Efficient Methodology To Develop A Secured E-Learning System Using Cloud C...
An Efficient Methodology To Develop A Secured E-Learning System Using Cloud C...
IJMERJOURNAL
 
Nigerian Economy and the Impact of Alternative Energy.
Nigerian Economy and the Impact of Alternative Energy.Nigerian Economy and the Impact of Alternative Energy.
Nigerian Economy and the Impact of Alternative Energy.
IJMERJOURNAL
 
CASE STUDY
CASE STUDYCASE STUDY
CASE STUDY
IJMERJOURNAL
 
Validation of Maintenance Policy of Steel Plant Machine Shop By Analytic Hier...
Validation of Maintenance Policy of Steel Plant Machine Shop By Analytic Hier...Validation of Maintenance Policy of Steel Plant Machine Shop By Analytic Hier...
Validation of Maintenance Policy of Steel Plant Machine Shop By Analytic Hier...
IJMERJOURNAL
 
li-fi: the future of wireless communication
li-fi: the future of wireless communicationli-fi: the future of wireless communication
li-fi: the future of wireless communication
IJMERJOURNAL
 

More from IJMERJOURNAL (20)

Modeling And Simulation Swash Plate Pump Response Characteristics in Load Sen...
Modeling And Simulation Swash Plate Pump Response Characteristics in Load Sen...Modeling And Simulation Swash Plate Pump Response Characteristics in Load Sen...
Modeling And Simulation Swash Plate Pump Response Characteristics in Load Sen...
 
Generation of Electricity Through A Non-Municipal Solid Waste Heat From An In...
Generation of Electricity Through A Non-Municipal Solid Waste Heat From An In...Generation of Electricity Through A Non-Municipal Solid Waste Heat From An In...
Generation of Electricity Through A Non-Municipal Solid Waste Heat From An In...
 
A New Two-Dimensional Analytical Model of Small Geometry GaAs MESFET
A New Two-Dimensional Analytical Model of Small Geometry GaAs MESFETA New Two-Dimensional Analytical Model of Small Geometry GaAs MESFET
A New Two-Dimensional Analytical Model of Small Geometry GaAs MESFET
 
Design a WSN Control System for Filter Backwashing Process
Design a WSN Control System for Filter Backwashing ProcessDesign a WSN Control System for Filter Backwashing Process
Design a WSN Control System for Filter Backwashing Process
 
Application of Customer Relationship Management (Crm) Dimensions: A Critical ...
Application of Customer Relationship Management (Crm) Dimensions: A Critical ...Application of Customer Relationship Management (Crm) Dimensions: A Critical ...
Application of Customer Relationship Management (Crm) Dimensions: A Critical ...
 
Comparisons of Shallow Foundations in Different Soil Condition
Comparisons of Shallow Foundations in Different Soil ConditionComparisons of Shallow Foundations in Different Soil Condition
Comparisons of Shallow Foundations in Different Soil Condition
 
Place of Power Sector in Public-Private Partnership: A Veritable Tool to Prom...
Place of Power Sector in Public-Private Partnership: A Veritable Tool to Prom...Place of Power Sector in Public-Private Partnership: A Veritable Tool to Prom...
Place of Power Sector in Public-Private Partnership: A Veritable Tool to Prom...
 
Study of Part Feeding System for Optimization in Fms & Force Analysis Using M...
Study of Part Feeding System for Optimization in Fms & Force Analysis Using M...Study of Part Feeding System for Optimization in Fms & Force Analysis Using M...
Study of Part Feeding System for Optimization in Fms & Force Analysis Using M...
 
Investigating The Performance of A Steam Power Plant
Investigating The Performance of A Steam Power PlantInvestigating The Performance of A Steam Power Plant
Investigating The Performance of A Steam Power Plant
 
Study of Time Reduction in Manufacturing of Screws Used in Twin Screw Pump
Study of Time Reduction in Manufacturing of Screws Used in Twin Screw PumpStudy of Time Reduction in Manufacturing of Screws Used in Twin Screw Pump
Study of Time Reduction in Manufacturing of Screws Used in Twin Screw Pump
 
Mitigation of Voltage Imbalance in A Two Feeder Distribution System Using Iupqc
Mitigation of Voltage Imbalance in A Two Feeder Distribution System Using IupqcMitigation of Voltage Imbalance in A Two Feeder Distribution System Using Iupqc
Mitigation of Voltage Imbalance in A Two Feeder Distribution System Using Iupqc
 
Adsorption of Methylene Blue From Aqueous Solution with Vermicompost Produced...
Adsorption of Methylene Blue From Aqueous Solution with Vermicompost Produced...Adsorption of Methylene Blue From Aqueous Solution with Vermicompost Produced...
Adsorption of Methylene Blue From Aqueous Solution with Vermicompost Produced...
 
Analytical Solutions of simultaneous Linear Differential Equations in Chemica...
Analytical Solutions of simultaneous Linear Differential Equations in Chemica...Analytical Solutions of simultaneous Linear Differential Equations in Chemica...
Analytical Solutions of simultaneous Linear Differential Equations in Chemica...
 
Experimental Investigation of the Effect of Injection of OxyHydrogen Gas on t...
Experimental Investigation of the Effect of Injection of OxyHydrogen Gas on t...Experimental Investigation of the Effect of Injection of OxyHydrogen Gas on t...
Experimental Investigation of the Effect of Injection of OxyHydrogen Gas on t...
 
Hybrid Methods of Some Evolutionary Computations AndKalman Filter on Option P...
Hybrid Methods of Some Evolutionary Computations AndKalman Filter on Option P...Hybrid Methods of Some Evolutionary Computations AndKalman Filter on Option P...
Hybrid Methods of Some Evolutionary Computations AndKalman Filter on Option P...
 
An Efficient Methodology To Develop A Secured E-Learning System Using Cloud C...
An Efficient Methodology To Develop A Secured E-Learning System Using Cloud C...An Efficient Methodology To Develop A Secured E-Learning System Using Cloud C...
An Efficient Methodology To Develop A Secured E-Learning System Using Cloud C...
 
Nigerian Economy and the Impact of Alternative Energy.
Nigerian Economy and the Impact of Alternative Energy.Nigerian Economy and the Impact of Alternative Energy.
Nigerian Economy and the Impact of Alternative Energy.
 
CASE STUDY
CASE STUDYCASE STUDY
CASE STUDY
 
Validation of Maintenance Policy of Steel Plant Machine Shop By Analytic Hier...
Validation of Maintenance Policy of Steel Plant Machine Shop By Analytic Hier...Validation of Maintenance Policy of Steel Plant Machine Shop By Analytic Hier...
Validation of Maintenance Policy of Steel Plant Machine Shop By Analytic Hier...
 
li-fi: the future of wireless communication
li-fi: the future of wireless communicationli-fi: the future of wireless communication
li-fi: the future of wireless communication
 

Recently uploaded

Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 

Recently uploaded (20)

Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 

A Genetic Algorithm on Optimization Test Functions

  • 1. International OPEN ACCESS Journal Of Modern Engineering Research (IJMER) | IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 7 | Iss. 3 | Mar. 2017 | 1 | A Genetic Algorithm on Optimization Test Functions Emmanuel S. Adabor1* , Joseph Ackora-Prah2 1 School of Technology, Ghana Institute of Management and Public Administration, Accra, Ghana 2 Department of Mathematics, Kwame Nkrumah University of Science and Technology, PMB, Kumasi, Ghana *Corresponding Author: emmanuelsadabor@gmail.com I. INTRODUCTION Global optimization techniques have been applied to real life problems such as determining the best solution from a set of possible solutions. Algorithms for such purpose are deterministic if there is a clear relation between the characteristics of the possible solution and the fitness for a given problem. On the other hand, probabilistic algorithms solve problems where the relation between a solution and fitness is complicated and the dimensionality of the search space is very high. Such algorithms employ heuristic approaches: Monte Carlo class of search algorithms. Several approaches that can determine the maximum or minimum of optimization problems exist. An extremely basic approach is the random search approach that randomly explores the search space by randomly selecting any solution and testing with other solutions [1,2,3]. Although this allows a good number of solutions to be tested, it does not guarantee global optima. However, it is successfully applied when employed in other algorithms [1]. The gradient based methods can be used to solve optimization problems in which the objective functions are smooth [1]. These employ local search by finding a gradient vector or Hessian matrix for generating better minima of solutions to a problem. Although these methods are tractable and search in shorter times, they are only applied to functions which are smooth. Furthermore, there are greedy algorithms for problems where objective functions are not continuous [4]. These methods explore only neighbouring solutions to the current solution for optimal solution. This property makes them unreliable since they could be trapped on local optima. However, repeating the greedy algorithms with different starting solutions have been found to produce better results [1]. In the Simulated Annealing search method, a solution is accepted to be better than the current solution if it improves the objective function [5,6,7]. If a solution does not improve the objective function, then it is accepted with a probability. Even though the Simulated Annealing method produces very good results, Genetic Algorithms (GAs) have been found to be better because they test populations of solutions instead of a single solution or point in the Simulated Annealing method [8,9]. Recently, GAs have become dynamic and easy to use due to further research. For instance, Naoki et al., (2001) utilized the thermo-dynamical genetic algorithms (TDGA), a genetic algorithm which maintains the diversity of the population by evaluating its entropy, for the problem of adaptation to changing environments [10]. A modification of genetic algorithm is used in the problem of wavelength selection in the case of a multivariate calibration performed by Partial Least Squares (PLS). The Genetic Algorithm sets weights to balance the components out to solve the problem by an automated approach [11]. Wiendahl and Garlichs presented a graphical-oriented decision support system for the decentralized production scheduling of assembly systems using a Genetic Algorithm as the scheduling algorithm [12]. In the ABSTRACT: Genetic Algorithms (GAs) have become increasingly useful over the years for solving combinatorial problems. Though they are generally accepted to be good performers among meta- heuristic algorithms, most works have concentrated on the application of the GAs rather than the theoretical justifications. In this paper, we examine and justify the suitability of Genetic Algorithms in solving complex, multi-variable and multi-modal optimization problems. To achieve this, a simple Genetic Algorithm was used to solve four standard complicated optimization test functions, namely Rosenbrock, Schwefel, Rastrigin and Shubert functions. These functions are benchmarks to test the quality of an optimization procedure towards a global optimum. We show that the method has a quicker convergence to the global optima and that the optimal values for the Rosenbrock, Rastrigin, Schwefel and Shubert functions are zero (0), zero (0), -418.9829 and -14.5080 respectively. Keywords: Genetic Algorithms, Combinatorial problems, multimodal optimization problems, meta- heuristic algorithms
  • 2. A Genetic Algorithm On Optimization Test Functions | IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 7 | Iss. 3 | Mar. 2017 | 2 | past, GAs have been applied to solve resource constrained project scheduling problem (RCPSP) to minimize make-span subject to precedence constraints and resources availability [13]. In these approaches, resources are considered renewable as well as single mode of conducting every activity. A new permutation of encoding scheme was designed in the GA to inherit all the advantages of both the new permutation-based encoding scheme and the priority-based encoding schemes which were introduced [13]. In Biological Sciences, GAs have been applied to medical optimal control problem in immunology [14]. The author of such application provided the main strands of GA theory. Dynamic programming methods have been applied to solve Multiple Sequence Alignment in Molecular Biology leading to exponential time complexity. This has necessitated the use of GAs to solve the Multiple Sequence Alignment problem resulting in improved results over the dynamic programming methods [15]. The determination of the risk factors of the Alzheimer's disease provides insights into the disease. Although statistical approaches have been used for this purpose, GAs have been more useful and efficient for identifying these factors since they are able to search combinations of variables when search space is large [16]. Recent developments in design of experiments in Statistics have found GAs to be effective tools for optimum designs. In particular, desirable experimental designs that exploit the intrinsic capabilities of GAs have been produced. See Lin et al. (2015) for instances [17]. GAs have also been applied to optimizing pipe networks [18], Resource Economics problem [19], hydrological model (GASAKe) [20], surface electromyography signal [21], IIR digital filters [22] and Bayesian Networks [23]. The justifications for applying GAs are not well understood even with the numerous applications. Therefore, in this paper, we show the suitability of GAs for solving complex problems involving more than one variable with multiple modes and their ability to escape from being trapped in local optimal solutions. These are shown in the examination of the performance of GAs on special optimization test functions. The test functions are Rosenbrock function, Schwefel function, Rastrigin function and Shubert function. II. METHOD 2.1 Simple Genetic Algorithm (GA) The GA handles a population of possible solutions represented by a set of chromosomes. It proceeds by coding all the possible solutions into chromosomes before determining reproduction operators. They are applied directly on the chromosomes, and are used to perform mutations and recombination. Each chromosome has an associated value that corresponds to the fitness of the solution [1]. Figure 1. Overview of Genetic Algorithm 2.1.1 Encoding and Selection Encoding is representing individual genes using bits, numbers, trees, arrays, lists or any other objects. The binary string uses bit string made up of zero (0) and one (1). Fig. 2 is an example of a binary string encoding. Every bit string is a solution but not necessarily the best solution.
  • 3. A Genetic Algorithm On Optimization Test Functions | IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 7 | Iss. 3 | Mar. 2017 | 3 | Figure 2. A Population of four chromosomes Selection involves choosing individuals in the population for the next generation. It also determines number of offspring that will be created by each. The purpose of the selection is to derive fitter individuals in order to improve solution. The level of the fitness function determines the chances of an individual to be selected. In order to select fitter chromosomes for the mating pool, the proportional fitness (roulette wheel) selection method which selects parent by probabilities were applied. This means that the probability of selecting an individual is directly proportional to its fitness. This is a linear search through a roulette wheel with the slots in the wheel weighted in proportion to the individual's fitness values. The population is explored until a target value is reached. The roulette wheel constructs the relative fitness and cumulative fitness of chromosomes in its first stage. The relative fitness of each chromosome for a maximization problem is  n =k k i i f f =w 1 (1) where f k is the fitness of the k-th chromosome, and n is population size while the expression for a minimization problem is:  n k k i i F F =w 1 (2) and   1+ff=F imaxi  (3) where maxf is the maximum fitness of all chromosomes and kF is the reverse magnitude fitness. The cumulative fitness (cj) of the j-th chromosome is given by Equation (4):  j =i ij w=c 1 (4) In the second stage, a random number, rj, is chosen and if rj > cj then the j-th chromosome is selected. 2.1.2. Crossover Crossover is taking two parent solutions and producing children solution from them. Better offspring are created by applying crossover to the mating pool to enable the GA to converge. This involves randomly choosing some crossover points, copying every element before this point from the first parent and copying every element after the crossover point from the other parent. In particular, we choose two crossover points and the contents between these points are exchanged between two mated parents. The two points crossover enhance the performance of the GA by maintaining the building blocks while exploring the search space. The power of crossover operation to thoroughly explore the search space diminishes as the GA approaches convergence. A crossover probability of 1 implies all offspring must be made by crossover. If it is 0, then a whole new generation is to be generated from exact copies of chromosomes from old population. The new
  • 4. A Genetic Algorithm On Optimization Test Functions | IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 7 | Iss. 3 | Mar. 2017 | 4 | chromosomes are intended to bear the good parts of old chromosomes so that the new chromosomes are better/fitter individuals. This informed the choice of 80% crossover probability in this research. 2.1.3. Mutation Mutation maintains genetic diversity in the population generated from crossover. This enables the algorithm to escape from being trapped on local optimal solutions. The binary representation of the solutions suffices that a simple mutation of each gene with a small probability would be needed. A Bit flipping mutation was adopted in implementing the algorithm. This involves changing 0 to 1 and 1 to 0 based on a mutation chromosome generated. As illustrated in Fig. 3, a parent is considered and a mutation chromosome is randomly generated. For a 1 in mutation chromosome, the corresponding bit in parent chromosome is flipped (0 to 1 and 1 to 0) and child chromosome is produced. Figure 3. Mutation flipping The mutations to existing parents or chromosomes are performed with a mutation probability. If mutation probability is 100%, the entire chromosome is changed, if it is 0%, nothing is changed. Thus, offspring are generated immediately after crossover in case the mutation probability is zero. However, if mutation is performed, one or more parts of a chromosome are changed. The mutation probability used to examine the simple GA in this work is 0.2 permitting diversity in the population of solutions. 2.1.4. Replacement Once offspring are produced, the parent population is assessed with the offspring for possible replacement to form new set of solutions. The weaker parents are replaced in a weak replacement procedure to ensure optimum performance of the GA. This involves replacing a weaker parent by a strong child. For instance given two parents and two offspring, only the fittest two of the four individuals, parent or child form part of the new population. Replacing the weak parents with fitter children improves the fitness of the candidate population solution. 2.1.5. Termination of Search The algorithm converges after a specified number of generations, a fixed time and a zero change in the fitness value over a specified number of consecutive generations. 2.2 Test Functions Test functions enable the evaluation of optimization algorithms with respect to their convergence rate, robustness and precision. These functions belong to the class of multi-modal and multidimensional functions with large number of extrema. Examples of such functions are the Rosenbrock function [24], the Rastrigin function [25,26], the Schwefel function and the Shubert function [27]. 2.2.1. Rosenbrock Function The Rosenbrock function (Fig. 4) given by Equation (5), has a global optimum that lies inside a long, narrow, parabolic-shaped flat valley.          82.048,2.041001 222  yx,,xy+x=yx,f (5) The convergence to the global optimum by search algorithms is difficult and hence this problem has been frequently used to test the performance of optimization algorithms. The minimum point causes a lot of problems for search algorithms such as the method of steepest descents which will quickly find the entrance to the valley and then spend several times searching from one side to the other. Such algorithms converge very slowly toward the minimum.
  • 5. A Genetic Algorithm On Optimization Test Functions | IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 7 | Iss. 3 | Mar. 2017 | 5 | Figure 4. Overview of Rosenbrock function 2.2.2. Rastrigin Function This function is highly multi-modal as illustrated in Fig. 5. Nevertheless, the locations of local minima are regularly distributed across the plot of the function. Figure 5. Overview of Rastrigin function The Rastrigin function is given by Equation (6).       .5.12,5.12210cos10 1 2  i n =i ii x,πxx+n=xf (6) 2.2.3. Schwefel Function The Schwefel function is given by Equation (7). It is highly deceptive in that the global minimum is geometrically distant over the parameter space. That is the consecutive best local minima are distant from one another (See Fig. 6). This makes search algorithms falter in converging to the direction of the global minimum of the function.       500,500sin 1  i n =i ii x,xx=xf (7)
  • 6. A Genetic Algorithm On Optimization Test Functions | IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 7 | Iss. 3 | Mar. 2017 | 6 | Figure 6. Overview of Schwefel function 2.2.4. Shubert Function The Shubert function is a multi-variable function with multiple modes making it difficult for several algorithms to easily obtain the optimal solution. The complex nature of the function is illustrated in Fig. 7. The Shubert function can be written as a function of two variables shown in Equation (8).            .5.12,5.1211cos11cos 5 1 5 1   yx,,+y+ii+x+ii=yx,f =i=i (8) Figure 7. Overview of Shubert function III. RESULTS 3.1. Performance Indicators of Algorithms The performance of the simple GA is measured by the values of the optimal solutions. The manual implementation of the GA is infeasible due to the huge population size that is generated at each stage of the algorithm. Therefore, the minima of the test functions were solved with MATLAB codes (MathWorks Inc., 2006) and the results were examined to ascertain the performance of the algorithm. For optimum performance of the algorithm, the initial population size was limited to 50. This ensures an effective exploration of search space and quick convergence. Furthermore, a maximum of 100 generations was specified since the generations hereafter do not produce
  • 7. A Genetic Algorithm On Optimization Test Functions | IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 7 | Iss. 3 | Mar. 2017 | 7 | significant difference in the optimal values for each function. Nevertheless, the algorithm stops when there are no improvements in the optimal value after 50 consecutive generations. This accounts for the limit on the stall generations. It must, however, be stated that there is no perfect way for setting parameters except by experimental training which have been conducted [28]. Therefore, the choice of these parameters and the others are well justified. 3.2. Performance on Test Functions The minima of the Rosenbrock function, Rastrigin function, Schwefel function and Shubert function are presented in Table 1. The minima of all the functions were reached at the end of 51 generations and at a point where the average change in fitness values were less than the tolerance, -6 101 . Table 1. Results of Mimina of functions Function Number of decision Variables Optimal solution Optimal value Rosenbrock 2 1.0070, 1.0140 0.0000 Rastrigin 1 0.0000 0.0000 Rastrigin 5 0.0125, 0, -0.0*, 0.001, - 0.0* 0.0309 Schwefel 1 420.9618 -418.9829 Schwefel 10 V114 10 114 107620.4  Shubert 1 -0.2001 -14.5080 Shubert 3 -0.1887, -0.2017, -0.2258 3 103.0246 Vector, V = (-0.0*,0.0*,-0.0*,-0.0*,-0.0*,0.0*,-0.0*,-4.9300,-0.0*,0) * value is not zero The simulations of the search for best fitness values were investigated. In search for best fitness values from the initial values, it was revealed that though the fitness values for the population differed greatly, the GA was able to identify the best value at each stage of the search. For instance, the search for the minimum of the Rosenbrock function identified a mean fitness value of 30 though the optimal value was about zero (0) in the first generation. Details of similar observations at each stage of the search are presented in Fig. 8. Figure 8. A simple Genetic Algorithm search for optimal value of the Rosenbrock function. The best fitness value overall the generations was approximately zero (0) and the mean fitness value over all generations was 68.3697. Although the simple Genetic Algorithm began with a poor initial randomly generated population of solutions having achieved a mean fitness value of 9.6 for the Rastrigin function, it achieved the expected optimal value from the beginning of the search over 51 generations. Details of these observations and the thorough search through the regularly distributed modes of the Rastrigin function are presented in Fig. 9.
  • 8. A Genetic Algorithm On Optimization Test Functions | IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 7 | Iss. 3 | Mar. 2017 | 8 | Figure 9. The blue plot is mean fitness for generation and the black plot is the best fitness for generation. A simple Genetic Algorithm search for optimal value of the Rastrigin function. The nature of the simple GA search for the optimal value of the Schwefel function was also investigated. It was revealed that though an optimal value of -418.9829 was achieved after 51 generations, the best initial value at the first stage of the search was about zero which coincided with the mean fitness value. The progress of the search for the minimum of the Schwefel function from the initial optimal value to the final optimal value at the end of 51 generations are presented in Fig. 10. Figure 10. A simple Genetic Algorithm search for optimal value of the Schwefel function. The blue plot is mean fitness for generation and the black plot is the best fitness for generation. Besides these exploratory abilities shown by the GA, it was able to identify the optimal value of the Shubert function. In particular, after 38 generations, the mean fitness value of population coincides with the optimal value at subsequent generations. Fig. 11 presents details of the search for the best minimum of the Shubert function.
  • 9. A Genetic Algorithm On Optimization Test Functions | IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 7 | Iss. 3 | Mar. 2017 | 9 | Figure 11. A simple Genetic Algorithm search for optimal value of the Shubert function. The blue plot is mean fitness for generation and the black plot is the best fitness for generation. IV. DISCUSSION The Rosenbrock function had the optimal value of zero which occurred at the point (1.0070, 1.0140). The results of the Rosenbrock function confirms results in the literature that it has a minimum value of zero occurring at (1, 1) [27]. The simple GA obtained this optimal value at the 51st generation in 2.35 seconds. This implies that though the Rosenbrock function has an optimal value difficult to achieve by classical optimization techniques, the precision of GA is proved by the optimal value it achieved. In addition, the simple GA has quick convergence rate. This is justified by the time the GA used to achieve the optimal value of zero. Thus, GA performs a thorough search to find near optimal value of the Rosenbrock function within a shorter time escaping most possible traps of local minima. The exploratory nature of the GA search for best minima of the Rosenbrock function is described in Fig. 8. Though the minimum of the function is found in a valley, the average mean fitness values depict that the algorithm proved robust during the search as it had to choose from high and low fitness values at consecutive generations. For instance, after 21 generations, the mean fitness was zero but it increased to about 171 after the 47th generation. The algorithm proved robust achieving the optimal value at the end of 51 generations. These varying mean fitness values of the Rosenbrock function indicate that the function is complex. The global minimum for an n-dimensional Rastrigin function has been found to be zero (0) at 0ix for i =1, 2, …, n [27]. The Simple GA found the minimum value of the single-variable Rastrigin function to be zero and it occurred at zero. The optimal value of the Rastrigin function of five variables was zero. These values are indications of the accuracy of the GA to achieve optimal values within shorter time limits. The robustness of the GA was proved by the nature of its exploration over search space whose minima are regularly distributed across the Rastrigin function (See Fig. 9). Although the algorithm started with a poor mean fitness value due to the nature of the function, it converged in subsequent generations until the 51st generation where it achieved the optimal value of the Rastrigin function (See Fig. 9). Thus, precision of the near optimal values make GAs robust and highly recommended for solving complex optimization problems. The accuracy of GA was proved when it located the minimum of a single-variable Schwefel function at 420.9618 with an optimal value of -418.9829 in 23.02 Seconds. In the literature, the global minimum for an n- dimensional Schwefel function is -418.9829n at xi = 420.9618 for i = 1, 2,…,n [27]. The GA further revealed the minimum of the Schwefel function of 10 variables which are presented in Table 1. Despite the deceptive nature of the Schwefel function having consecutive best local minima distant from one another (See Fig. 6), the GA was able to produce the best minimum value as in the literature. These suggest that GAs are robust, efficient and do not compromise on time of search. In Fig. 10, it is shown that though the search was unstable in the initial generations of the search, it stabilizes at the end of the 20th generation. It converged to the optimal value from the 25th generation to the 51st generation. These prove the suitability of the GA to solve problems of such nature. These results provide enough justifications for the use of
  • 10. A Genetic Algorithm On Optimization Test Functions | IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 7 | Iss. 3 | Mar. 2017 | 10 | GA for optimizing complex and multi-variable problems. The simple GA found the minimum of a Shubert function to be -14.5080 at -0.2001. This value was reached at the 51st generation when the stopping criterion was satisfied. In general, the global minimum for an n-dimensional Shubert function is multiple of -14.5080 [27]. Further results with n = 3 is presented in Table 1. The robustness of the GA was proved further by the search for the optimal value of complex Shubert function (Fig. 7). Though the simple GA started with a poor mean fitness value due to the nature of the function, it was able to keep the best fitness throughout other generations until a better value was found. This resulted in repeated optimal values from the 15th generation to 44th generation. This is due to the selection criteria that were implemented by the algorithm. These results indicate the ability of the GA to exhaustively search for the near optimal value of a single variable shubert function. Thus, based on the performance of the GA on the Shubert function, they show they are robust and accurate while maintaining good search over short time. The results answer skepticism of Wang (1991) and others as to the efficiency and robustness of GAs [29,30]. Furthermore, the results prove that GAs easily escape from millions of local optima and reliably converge to a single value close to the optimum which was suggested in [31]. V. CONCLUSION The simple GA has provided good solutions to the test functions. Except for some randomization of the initial population especially when set distant from a local optimum, the time taken by the algorithm to complete each search is small. GAs are therefore robust, works with precision and has quick convergence to the direction of the global optimum making them more desirable for complex search problems. REFERENCES [1]. Sivanandam SN, Deepa SN (2008) Introduction to Genetic Algorithm. Springer-Verlag Berlin Heidelberg, New York. [2]. Francisco JS, Roger J-BW (1981) Minimization by Random Search Techniques. Mathematics of Operations Research 6(1):19-30. [3]. Rastrigin LA (1963) The convergence of the random search method in the extremal control of a many parameter system. Automation and Remote Control 24(10):1337-1342. [4]. Cormen TH, Leiserson CE, Rivest RL, Stein C (2001) Introduction to Algorithms. MIT Press, USA. [5]. Metropolis N, Rosenbluth AW, Rosenbluth MN, Tel AH, Teller E (1953) Equation of State Calculations by Fast Computing Machines. Journal of Chemical Physics 21(6):1087. doi:10.1063/1.1699114. [6]. Aarts EHL, Korst J (1989) Simulated Annealing and Boltzmann Machines: a stochastic approach to combinatorial optimization and neural computing. John Wiley and Sons, USA. [7]. Bertsimas D, Tsitsiklis J (1993) Simulated Annealing. Statistical Science 8(1): 10-15. http:// www.mit.edu/~dbertsim/papers/Optimization/Simulated%20annealing.pdf (Last accessed: September 11, 2015) [8]. Holland JH (1975) Adaptation in Natural and Artificial Systems. University of Michigan Press, Ann Arbor,USA. [9]. Goldberg D (1989) Genetic Algorithms in Search, Optimization and Machine Learning. Addison-Wesley Professional, Reading, MA. [10]. Naoki M, Hajime K, Yoshikazu N (2001) Adaptation to Changing Environments by Means of the Memory Based Thermodynamical Genetic Algorithm. Transactions of the Institute of Systems, Control and Information Engineers 14(1):33-41. [11]. Leardi R (2000) Application of genetic algorithm-PLS for feature selection in spectral data sets. Journal of Chemometrics 14(5-6):643-655. [12]. Wiendahl HP, Garlichs R (1994) Decentral Production Scheduling of Assembly Systems with Genetic Algorithm. CIRP Annals-Manufacturing Technology 43(1):389-395. [13]. Zhang H (2008) A Genetic Algorithm for Solving RCPSP. Computer Science and Computational Technology, ISCSCT 2008. International Symposium 2: 246-249. doi:10.1109/ISCSCT.2008.255. [14]. McCall J (2005) Genetic algorithms for modelling and optimisation. Journal of Computational and Applied Mathematics 184(1):205-222. [15]. Karadimitriou K, Kraft DH (1996) Genetic Algorithms and the Multiple Sequence Alignment Problem in Biology. In: Proceedings of the Second Annual Molecular Biology and Biotechnology Conference, Baton Rouge, LA. [16]. Johnson P, Vandewater L, Wilson W, Maruff P, Savage G, Graham P,Zhang P et al. (2015). Genetic algorithm with logistic regression for prediction of progression to Alzheimer's disease. BMC Bioinformatics 15(Suppl 16):S11. doi:10.1186/1471-2105-15-S16-S11. [17]. Lin CD, Anderson-Cook CM, Hamada MS, Moore LM, Sitter RR (2015) Using Genetic Algorithms to Design Experiments:A Review. Quality and Reliability Engineering International 31(2):155-167. doi:10.1002/qre.1591. [18]. Simpson AR, Dandy GC, Murphy LJ (1994) Genetic Algorithms Compared to Other Techniques for Pipe Optimization. Journal of Water Resources Planning and Management 120(4). doi:10.1061/(ASCE)0733- 9496(1994)120:4(423). [19]. Geisendorf S (1999) Genetic Algorithms in Resource Economic Models. Retrieved from http:// www.santafe.edu/media/workingpapers/99-08-058.pdf. (Last accessed: October 1, 2015) [20]. Terranova OG, GarianoSL, Iaquinta P, Iovine GGR (2015) GASAKe: forecasting landslide activations by a genetic-algorithms-based hydrological model. Geosci. Model Dev. 8:1955-1978. doi:10.5194/gmd-8-1955-2015.
  • 11. A Genetic Algorithm On Optimization Test Functions | IJMER | ISSN: 2249–6645 | www.ijmer.com | Vol. 7 | Iss. 3 | Mar. 2017 | 11 | [21]. Torres JL, Linsangan NB (2015) Application of Genetic Algorithm for Optimization of Data in Surface Myoelectric Prosthesis for the Transradial Amputee. International Journal of Information and Education Technology 5(2):113-118. doi:10.7763/IJIET.2015.V5.486. [22]. Leehter Y, Sethares WA (1994) Nonlinear Parameter Estimation via the genetic Algorithm. Signal Processing, IEEE Transactions 42(4):927 – 935. [23]. Larranaga P, Poza M, Yurramendi Y, Murga RH, Kuijpers CMH. (1996) Structure learning of Bayesian Networks of genetic algorithms: a performance analysis of control parameters. IEEE Trans Patterns Anal Mach Intell 1996;18(9):912-26. [24]. Rosenbrock HH (1960) An automatic method for finding the greatest or least value of a function. Computer Journal 3:175-184. doi:10.1093/comjnl/3.3.175. [25]. Torn A, Zilinskas A (1989). Global Optimization. Springer-Verlag, Berlin. [26]. Muhlenbein H, Schomisch D, Born J (1991) The Parallel Genetic Algorithm as Function Optimizer. Parallel Computing 17:619-632. [27]. Molga M, Smutnicki C (2005). Test Functions for Optimization needs. Retrieved from http://www.zsd.ict.pwr.wroc.pl/files/docs/functions.pdf. (Last accessed: October 5, 2015) [28]. Srinivas M, Patnaik LM (1994) Genetic algorithms: a survey. Computer 27(6):17-26. doi:10.1109/2.294849. [29]. Wang QJ (1991). The Genetic Algorithm and its Application to Calibrating Conceptual Rainfall-Runoff Models. Water Resource Research 27(9):2467-2471. [30]. Hu L, Liu J, Liang C, Ni F, Chen H (2015) A Phoenix++ Based new Genetic Algorithm Involving Mechanism of Simulated Annealing. International Journal of Distributed Sensor Networks 2015:8 pages. Doi:10.1155/2015/806708. [31]. Jung SH (2009) Selective Mutation for Genetic Algorithms. World Academy of Science, Engineering and Technology 56:478 – 481. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.193.4022&rep=rep1&type=pdf. (Last accessed: September 11, 2015)