Escolar Documentos
Profissional Documentos
Cultura Documentos
Test Functions
In order to determine how well an optimization algorithm works, a variety of test functions have been used as a check. Weve listed 16 in this appendix. In each case we give a general form of the function, plot its value in one or two dimensions, give the global optimum in one or two dimensions, and list the domain. Some of the functions are generalizable to N dimensions. MATLAB code for these functions appear in Appendix II. Some of the research into developing test functions is reported in the references.
BIBLIOGRAPHY
De Jong, K. A. 1975. Analysis of the behavior of a class of genetic adaptive systems. Ph.D. Dissertation. University of Michigan, Ann Arbor. Michalewicz, Z. 1992. Genetic Algorithms + Data Structures = Evolution Programs. New York: Springer-Verlag. Schwefel, H. 1995. Evolution and Optimum Seeking. New York: Wiley. Whitley, D., K. Mathias, S. Rana, and J. Dzubera. 1996. Evaluating Evolutionary Algorithms. Articial Intelligence Journal 85:132. Whitley, D., R. Beveridge, C. Graves, and K. Mathias. 1995. Test Driving Three 1995 Genetic Algorithms: New Test Functions and Geometric Matching. Journal of Heuristics 1:77104.
Practical Genetic Algorithms, Second Edition, by Randy L. Haupt and Sue Ellen Haupt. ISBN 0-471-45565-2 Copyright 2004 John Wiley & Sons, Inc.
205
206
TEST FUNCTIONS
F3
N
x
n =1
2 n
F4
{100[ x
n +1
2 - xn ] + [1 - xn ]
TEST FUNCTIONS
207
F5
N
F7
n =1
xn - 10 cos( 10 xn
minimum: f ( x) = 1 at x = 0 for - xn
F6
( x 2 + x) cos( x)
minimum: f (9.6204) = -100.22 for - 10 x 10
208
TEST FUNCTIONS
F11 1+
N 2 xn - cos( xn ) n =1 n =1 4000
F10
N
10 N + [ x - 10 cos(2pxn )]
2 n n =1
TEST FUNCTIONS
209
F13
F15
2
(x 2 + y2 )
0.25
sin 30 ( x + 0.5) + y 2
0.1
+x+y
-e -0.2
x 2 + y2 + 3 ( cos 2 x + sin 2 y )