Genetic Algorithm For Linear and Nonlinear
Genetic Algorithm For Linear and Nonlinear
, .
, . .
are
the coefficients of the system, and
, .
are the
constant terms.
Vector equation
One extremely helpful view is that each unknown is a
weight for column vector in linear combination.
1
11
:
1
1
12
:
2
+. +
1
:
1
:
. (3)
This allows all the language and theory of vector
spaces (or more generally, modules) to be brought to
bear. For example, the collection of all possible linear
combinations of the vectors on the left-hand side is
called their span, and the equations have a solution
just when the right-hand vector is within that span. If
every vector within that span has exactly one
expression as a linear combination of the given left-
hand vectors, then any solution is unique. In any
event, the span has a basis of linearly independent
vectors that do guarantee exactly one expression; and
the number of vectors in that basis (its dimension)
cannot be larger than m or n, but it can be smaller.
This is important because if we have m independent
vectors, a solution is guaranteed regardless of the
right-hand side, and otherwise not guaranteed.
Matrix equation
The vector equation is equivalent to a matrix
equation of the form Ax=b, where A is an mn
matrix, x is a column vector with n entries, and b is a
column vector with m entries.
11 1
1
1
:
,
1
:
.. (4)
The number of vectors in a basis for the span is now
expressed as the rank of the matrix.
International Journal of Advanced Engineering Technology E-ISSN 0976-3945
IJAET/Vol.III/ Issue II/April-June, 2012/114-118
Solution set
A solution of a linear system is an assignment of
values to the variables x1, x2... xn(subscript) such
that each of the equations is satisfied. The set of all
possible solutions is called the solution set. A linear
system may behave in any one of three possible
ways:
1. The system has infinitely many solutions.
2. The system has a single unique solution.
3. The system has no solutions.
System of linear equations in two unknowns
First, a linear equation in two unknowns: x and y is
an equation of the form:
Ax + by (5)
Where a, b, and c are numbers, and where a and b are
not both zero. Second, a system of linear equations is
just a collection of these beasts. To solve a system of
linear equations means to find a solution (or
solutions) (x, y) that simultaneously satisfies all of
the equations in the system.
SYSTEMS OF NONLINEAR EQUATIONS
Solving systems of nonlinear equations is one of the
most difficult problems in numerical computations.
The problem of solving a system of nonlinear
equations is to select a vector of solutions x, such that
a vector of functions f is driven simultaneously to
zero. To gain some insight into the problem, consider
a most simple example in which the goal is to
simultaneously drive two functions f(x, y) and g(x,
y) to zeros:
f(x,y) =0 g(x,y) =0. (6)
(Write in separate lines)
The functions f and g are arbitrary functions, each of
which has zero-contour lines that divide the x-y
plane. Points are sought at which the zero-contour
lines of the two functions intersect. To help gain an
appreciation for the difficulty of this problem,
consider the zero-contour lines of two sample
functions shown in Fig. 1. Here, the zero-contour
lines of the two functions intersect at four points (
through
)
=
0.(7)
For n=1, 2, .2(N-1), 2N
As an example, the system for the two-point formula
(N=2) results in the following system of four
nonlinear equations
2 0
0
This system of four nonlinear equations is difficult to
solve using traditional search techniques as a Newton
International Journal of Advanced Engineering Technology E-ISSN 0976-3945
IJAET/Vol.III/ Issue II/April-June, 2012/114-118
method for two reasons. First, the value of ,x ,w and
w should be determined to several decimal places,
second, the ability of a method to converge to the
solution in this problem is highly sensitive to the
quality of the first guess supplied.
Fitness function
The fitness function to be minimized by the genetic
algorithms is:
g = max [abs (fi)]
for i =1, 2, 3,, N. (8)
Where:
g is the fitness function to be minimized, max [abs
(fi)] is the maximum absolute value of individual
equations in the system f(x) = 0 and N is the number
of equations in the system [9]
CONCLUSION:
We observe that the Gauss-Legendre numerical
integration is more effective than fundamental
method of Newtons in system of nonlinear equation.
The result of using GA compared to the exact
solutions obtained by some different numerical
methods turned to be confirming. As a future work
we plan to apply genetic algorithms to educational
time tabled training and designing artificial
intelligence systems such as artificial neural
networks. Also, the same technique can be used and
applied to more complex non-linear system.
ACKNOWLEDGEMENT
Success is a manifestation, inspiration, motivation,
diligence and motivation.
Working on this paper has been one of the most
wonderful and exiting experience of my life. This
paper not only bears the testimony of extensive effort
but also reflect the cooperation, help and guidance
which I received from time to time. It is obvious that
I acknowledge them for their tender help without
which would never have been completed.
I owe this moment of satisfaction with a sense of
gratitude to my friend Prof.Miss.G.J Abhayankar
for his valuable guidance, suggestions, active
involvement with my paper from time to time and
without whose help this paper would have been
impossible.
I have great pleasure in offering my sincere thanks to
all colleagues of my college for their kind help.
REFERENCE
1. Kaya, N., 2006. Machining Fixture Locating and
Damping Position Optimization Using Genetic
Algorithms, Computers in Industry, 57: 112-120.
2. Li, L.J., Y.H. Fuh, Y.F. Zhang and A.Y.C. Nee, 2005.
Application of Genetic Algorithm to Computer-Aided
Process Planning In Distributed Manufacturing
Environments, Robotics and Computer Integrated
Manufacturing, 21: 568-578
3. Kelner, V. and O. Lonard, 2004. Application Of
Genetic Algorithms To Lubrication Pump Stacking
Design, J. Computational and applied Mathematics
168: 255-265.
4. Renner, G. and A. Ekrt, 2003. Genetic Algorithms In
Computer Aided Design , Computer Aided Design,35:
709-726.
5. Kariuki, B.M., H.S. Gonzlez, R.L. Johnston and
K.D.M. Harris, 1997. The Application Of A Genetic
Algorithm For Solving Crystal Structures From Powder
Diffraction Data, Chemical Physics Letters 280: 189-
195.
6. Sahoo, R.K., T. Banerjee, S.A. Ahmed and A. Khanna,
2006. Improved Binary Parameters Using GA for
Multi-Component Aromatic Extraction: NRTL Model
Without And with Closure Equations, Fluid phase
Equilibria, 239: 107-119.
7. McCall, J., Genetic Algorithms For Modeling And
Optimization, Journal of Computational and Applied
Mathematics 184, pp. 205 222, 2005.
8. Jhne, B., 2002. Digital Image Processing, Springer
Verlag Berlin, Heidelberg, 2002
9. Ilgin, M.A., 2006. Joint Optimization of Spare Parts
Inventory and Maintenance Policies Using Hybrid
Genetic Algorithms 2006.http://www.fbe.deu.edu.tr/
tezler/2006/YL_t2021.pdf.
10. Ibrahiem M.M. El-Emary and 2Mona M. Abd El-
Kareem Towards Using Genetic Algorithm for
Solving Nonlinear Equation Systems World Applied
Sciences Journal 5 (3): 282-289, 2008
11. APPLICATION OF GENETIC ALGORITHM IN
SOLVING LINEAR EQUATION SYSTEMS Al
Dahoud Ali , Ibrahiem M. M. El Emary, Mona M. Abd
El-Kareem
12. Genetic Algorithms, Thomas Jefferson High School
for Science and Technology,
http://www.tjhsst.edu/~ai/AI2001/GA.htm.
13. Sandikci, B., Genetic Algorithms,
http://www.ie.bilkent.edu.tr/~Lors/ie572/barhan
eddin.pdf, accessed August 2009.