Solving System of Non-Linear Equations Using Genetic Algorithm
Solving System of Non-Linear Equations Using Genetic Algorithm
Genetic Algorithm
Gopesh Joshi M. Bala Krishna*
University School of Information and University School of Information and
Communication Technology Communication Technology
G G S Indraprastha University G G S Indraprastha University
New Delhi, INDIA New Delhi, INDIA
E-Mail: [email protected] E-Mail: [email protected]
978-1-4799-3080-7/14/$31.00 2014
c IEEE 1302
Here the two variables x and y are real numbers within the range schemes. A novel GA approach [11] solves the optimization
[xmin, xmax] and [ymin, ymax] problem by using the diversity operator in multi-parent
crossover and achieves better solution.
A.2. Mapping to Multi-Objective Optimization
This article is organized as follows. Section II presents the
Due to similarities between the system of non-linear equations literature survey of linear and non-linear multi-objective
and Multi-Objective Optimization (MOP) [2], the functions f1 dynamic systems. Section III presents the procedure to find the
to fn are mapped as follows: roots of non-linear system using GA approach. Section IV gives
F(x) = min (abs (f1(x))) the simulation results for travelling salesman problem, tank
min (abs (f2(x))) reactor system and neurophysiology applications. Simulation
min (abs (f3(x))) (8) results are based on comparative analysis of insert operator and
…………………... inverse operator for each of the above nonlinear system.
min (abs (fn[x))) Section V concludes our achievements and gives the direction
Here each function fi is a combination of exponential, for future extension.
trigonometric, logarithmic and complex functions.
II. RELATED WORK
B. Genetic algorithm
Clever algorithms [12] explain various stochastic, evolutionary,
Genetic Algorithm (GA) is an evolutionary based soft swarm intelligence, immune systems, and neural network
computing technique [8] that uses the scheme “survival of the algorithms that can be used in linear and non-linear
fittest.” Figure 1 illustrates the sequence of events performed in multi-objective dynamic systems. Various approaches to solve
Genetic Algorithm. In this approach, the solution is evolved nonlinear equations are given as follows:
multiple times so that the final result will be either global
maximum or global minimum. Simulated Annealing: This method uses guided random search
to find the global optima with several local optima. Practical
Encoding Initialize Population approach of simulated annealing is the process of slow cooling
used in hot metals. This results in appropriate ordering of metal
crystals and lower its defects in the final production. Thus, the
Evaluate Fitness state of metal changes from high energy to low energy (ground
state) and lead to desired solution.
Hill Climbing: This method is a local search technique that uses
Selection
the greedy approach to find the local optima solution. Initially,
the algorithm selects two points, the current point and the next
point. If the next point converges towards the local solution as
Crossover compared to the current point, then the current point is updated,
else the search process for a new point is performed.
Newton method: This classical method uses Jacobian matrix to
Mutation solve the system of nonlinear equations. Initially, one value of
the root starts the iterative process and finds the zeros in
differential equations based on multiplicative inverse of
No Jacobian matrix.
End Trust region dogleg method: The trust region method is an
extension of Newton-Raphson method. Variations of trust
Ye region methods are 2D subspace minimization, dogleg method,
and nearly exact solution. The merit function in trust region
Decoding Best Individual dogleg method decides the quality of solution and uses the
Powell dogleg procedure [2] to calculate the step dk.
Figure 1. Flow of modules in Genetic Algorithm Ant Colony Optimization: This method is inspired by the
behavior of ants for the search of food source. The ants start
The main operations in GA are selection, crossover and searching for food in multiple directions by laying a chemical
mutation [8] [9]. Initial step performs encoding, initialization, substance known as pheromone. Ants identify the food source
and the final step performs the decoding solution. Primary based on the intensity of pheromone count laid by multiple ants.
component of GA is the evaluation criteria of fitness function. Evolutionary algorithms [3] for solving large scale nonlinear
Optimal inverse system of feedback control in non-linear constrained problems use smoothing and balancing techniques
systems [10] is solved using effective genetic programming
GA Parameters Value
Population Size 100
Crossover rate 0.8
Mutation rate 0.001
Number of Generations 400
Table 4 illustrates the comparisons of recycle ratio in tank C. Example 3: Neurophysiology application for
reactor using Newton, GA and trust region dogleg methods. two-dimensional non-linear system
Figure 5 illustrates the comparisons of nonlinear tank reactor We consider the risk equations given in [7] [21] [22] for
system. neurophysiology application. This non-linear system with six
variable is given as follows:
x12 + x32 = 1
x22 + x42 = 1
x5*x33 + x6*x43 = c1
x5 *x13 + x6*x23 = c2 (15)
x5 *x1* x32 + x6*x2*x42 = c3
x5 *x12 *x3 + x6*x22 *x4 = c4
Here c1, c2, c3 and c4 are constants and set to zero. The degree of
non-linear system is set to 1024 and the risk equations represent
the objective function. Threshold to depict the safe state of the
Figure 5. Comparative analysis of Newton, GA and Trust region system is [-2000, +2000] where the variable xi is defined within
approaches used in nonlinear tank reactor system
the range [-10, 10].
ACKNOWLEDGEMENT
REFERENCES