SlideShare a Scribd company logo
1 of 6
Download to read offline
arXiv:1008.0549v1 [math.OC] 3 Aug 2010 
Test Problems in Optimization 
Xin-She Yang 
Department of Engineering, University of Cambridge, 
Cambridge CB2 1PZ, UK 
Abstract 
Test functions are important to validate new optimization algorithms 
and to compare the performance of various algorithms. There are many 
test functions in the literature, but there is no standard list or set of test 
functions one has to follow. New optimization algorithms should be tested 
using at least a subset of functions with diverse properties so as to make 
sure whether or not the tested algorithm can solve certain type of opti-mization 
efficiently. Here we provide a selected list of test problems for 
unconstrained optimization. 
Citation detail: 
X.-S. Yang, Test problems in optimization, in: Engineering Optimization: An Introduc-tion 
with Metaheuristic Applications (Eds Xin-She Yang), John Wiley & Sons, (2010).
In order to validate any new optimization algorithm, we have to validate it against 
standard test functions so as to compare its performance with well-established or existing 
algorithms. There are many test functions, so there is no standard list or set of test functions 
one has to follow. However, various test functions do exist, so new algorithms should be 
tested using at least a subset of functions with diverse properties so as to make sure whether 
or not the tested algorithm can solve certain type of optimization efficiently. 
In this appendix, we will provide a subset of commonly used test functions with simple 
bounds as constraints, though they are often listed as unconstrained problems in literature. 
We will list the function form f(x), its search domain, optimal solutions x and/or optimal 
objective value f. Here, we use x = (x1, ..., xn)T where n is the dimension. 
Ackley’s function: 
f(x) = −20 exp h − 
1 
5 
vuut 
1 
n 
n 
Xi 
=1 
x2i 
i − exp h 1 
n 
n 
Xi 
=1 
cos(2xi)i + 20 + e, (1) 
where n = 1, 2, ..., and −32.768  xi  32.768 for i = 1, 2, ..., n. This function has the 
global minimum f = 0 at x = (0, 0, ..., 0). 
De Jong’s functions: The simplest of De Jong’s functions is the so-called sphere function 
f(x) = 
n 
Xi 
=1 
x2i 
, −5.12  xi  5.12, (2) 
whose global minimum is obviously f = 0 at (0, 0, ..., 0). This function is unimodal and 
convex. A related function is the so-called weighted sphere function or hyper-ellipsoid 
function 
f(x) = 
n 
Xi 
=1 
ix2i 
, −5.12  xi  5.12, (3) 
which is also convex and unimodal with a global minimum f = 0 at x = (0, 0, ..., 0). 
Another related test function is the sum of different power function 
f(x) = 
n 
=1 |xi|i+1, −1  xi  1, (4) 
Xi 
which has a global minimum f = 0 at (0, 0, ..., 0). 
Easom’s function: 
f(x) = −cos(x) cos(y) exp h − (x − )2 + (y − )2i, (5) 
whose global minimum is f = −1 at x = (, ) within −100  x, y  100. It has many 
local minima. Xin-She Yang extended in 2008 this function to n dimensions, and we have 
f(x) = −(−1)n 
n 
Y 
i=1 
cos2(xi) exp h − 
n 
Xi 
=1 
(xi − )2i, (6) 
whose global minimum f = −1 occurs at x = (, , ..., ). Here the domain is −2  
xi  2 where i = 1, 2, ..., n.
Equality-Constrained Function: 
f(x) = −(pn)n 
n 
Y 
i=1 
xi, (7) 
subject to an equality constraint (a hyper-sphere) 
n 
Xi 
=1 
x2i 
= 1. (8) 
The global minimum f = −1 of f(x) occurs at x(1/pn, ..., 1/pn) within the domain 
0  xi  1 for i = 1, 2, ..., n. 
Griewank’s function: 
f(x) = 
1 
4000 
n 
Xi 
=1 
x2i 
− 
n 
Y 
i=1 
cos( 
xi pi 
) + 1, −600  xi  600, (9) 
whose global minimum is f = 0 at x = (0, 0, ..., 0). This function is highly multimodal. 
Michaelwicz’s function: 
f(x) = − 
n 
Xi 
=1 
sin(xi) · h sin( 
ix2i 
 
)i2m 
, (10) 
where m = 10, and 0  xi   for i = 1, 2, ..., n. In 2D case, we have 
f(x, y) = −sin(x) sin20( 
x2 
 
) − sin(y) sin20( 
2y2 
 
), (11) 
where (x, y) 2 [0, 5] × [0, 5]. This function has a global minimum f  −1.8013 at 
x = (x, y) = (2.20319, 1.57049). 
Perm Functions: 
f(x) = 
n 
X 
j=1 
n 
n 
Xi 
=1 
(ij +
)h( 
xi 
i 
)j − 1io, (
0), (12) 
which has the global minimum f = 0 at x = (1, 2, ..., n) in the search domain −n  xi  n 
for i = 1, ..., n. A related function 
f(x) = 
n 
X 
j=1 
n 
n 
Xi 
=1 
(i +
)hxj 
i − ( 
1 
i 
)jio2 
, (13) 
has the global minimum f = 0 at (1, 1/2, 1/3, ..., 1/n) within the bounds −1  xi  1 for 
all i = 1, 2, ..., n. As

More Related Content

What's hot

Dm2021 binary operations
Dm2021 binary operationsDm2021 binary operations
Dm2021 binary operationsRobert Geofroy
 
Admissions in India 2015
Admissions in India 2015Admissions in India 2015
Admissions in India 2015Edhole.com
 
Top School in india
Top School in indiaTop School in india
Top School in indiaEdhole.com
 
Eight Regression Algorithms
Eight Regression AlgorithmsEight Regression Algorithms
Eight Regression Algorithmsguestfee8698
 
BBMP1103 - Sept 2011 exam workshop - part 8
BBMP1103 - Sept 2011 exam workshop - part 8BBMP1103 - Sept 2011 exam workshop - part 8
BBMP1103 - Sept 2011 exam workshop - part 8Richard Ng
 
Lecture3 linear svm_with_slack
Lecture3 linear svm_with_slackLecture3 linear svm_with_slack
Lecture3 linear svm_with_slackStéphane Canu
 
Lesson 16: Derivatives of Exponential and Logarithmic Functions
Lesson 16: Derivatives of Exponential and Logarithmic FunctionsLesson 16: Derivatives of Exponential and Logarithmic Functions
Lesson 16: Derivatives of Exponential and Logarithmic FunctionsMatthew Leingang
 
Tensor Completion for PDEs with uncertain coefficients and Bayesian Update te...
Tensor Completion for PDEs with uncertain coefficients and Bayesian Update te...Tensor Completion for PDEs with uncertain coefficients and Bayesian Update te...
Tensor Completion for PDEs with uncertain coefficients and Bayesian Update te...Alexander Litvinenko
 
Lesson 8: Derivatives of Polynomials and Exponential functions
Lesson 8: Derivatives of Polynomials and Exponential functionsLesson 8: Derivatives of Polynomials and Exponential functions
Lesson 8: Derivatives of Polynomials and Exponential functionsMatthew Leingang
 
Low-rank methods for analysis of high-dimensional data (SIAM CSE talk 2017)
Low-rank methods for analysis of high-dimensional data (SIAM CSE talk 2017) Low-rank methods for analysis of high-dimensional data (SIAM CSE talk 2017)
Low-rank methods for analysis of high-dimensional data (SIAM CSE talk 2017) Alexander Litvinenko
 
Lesson 11: Implicit Differentiation (slides)
Lesson 11: Implicit Differentiation (slides)Lesson 11: Implicit Differentiation (slides)
Lesson 11: Implicit Differentiation (slides)Matthew Leingang
 
Lesson 19: Double Integrals over General Regions
Lesson 19: Double Integrals over General RegionsLesson 19: Double Integrals over General Regions
Lesson 19: Double Integrals over General RegionsMatthew Leingang
 
Mc ty-explogfns-2009-1
Mc ty-explogfns-2009-1Mc ty-explogfns-2009-1
Mc ty-explogfns-2009-1supoteta
 
Journey to structure from motion
Journey to structure from motionJourney to structure from motion
Journey to structure from motionJa-Keoung Koo
 
On The Generalized Topological Set Extension Results Using The Cluster Point ...
On The Generalized Topological Set Extension Results Using The Cluster Point ...On The Generalized Topological Set Extension Results Using The Cluster Point ...
On The Generalized Topological Set Extension Results Using The Cluster Point ...BRNSS Publication Hub
 
125 4.1 through 4.5
125 4.1 through 4.5125 4.1 through 4.5
125 4.1 through 4.5Jeneva Clark
 

What's hot (20)

Dm2021 binary operations
Dm2021 binary operationsDm2021 binary operations
Dm2021 binary operations
 
Admissions in India 2015
Admissions in India 2015Admissions in India 2015
Admissions in India 2015
 
Top School in india
Top School in indiaTop School in india
Top School in india
 
Eight Regression Algorithms
Eight Regression AlgorithmsEight Regression Algorithms
Eight Regression Algorithms
 
Lecture5 kernel svm
Lecture5 kernel svmLecture5 kernel svm
Lecture5 kernel svm
 
BBMP1103 - Sept 2011 exam workshop - part 8
BBMP1103 - Sept 2011 exam workshop - part 8BBMP1103 - Sept 2011 exam workshop - part 8
BBMP1103 - Sept 2011 exam workshop - part 8
 
Lecture3 linear svm_with_slack
Lecture3 linear svm_with_slackLecture3 linear svm_with_slack
Lecture3 linear svm_with_slack
 
Functions
FunctionsFunctions
Functions
 
Lesson 16: Derivatives of Exponential and Logarithmic Functions
Lesson 16: Derivatives of Exponential and Logarithmic FunctionsLesson 16: Derivatives of Exponential and Logarithmic Functions
Lesson 16: Derivatives of Exponential and Logarithmic Functions
 
Digital Electronics
Digital ElectronicsDigital Electronics
Digital Electronics
 
Tensor Completion for PDEs with uncertain coefficients and Bayesian Update te...
Tensor Completion for PDEs with uncertain coefficients and Bayesian Update te...Tensor Completion for PDEs with uncertain coefficients and Bayesian Update te...
Tensor Completion for PDEs with uncertain coefficients and Bayesian Update te...
 
Lesson 8: Derivatives of Polynomials and Exponential functions
Lesson 8: Derivatives of Polynomials and Exponential functionsLesson 8: Derivatives of Polynomials and Exponential functions
Lesson 8: Derivatives of Polynomials and Exponential functions
 
Low-rank methods for analysis of high-dimensional data (SIAM CSE talk 2017)
Low-rank methods for analysis of high-dimensional data (SIAM CSE talk 2017) Low-rank methods for analysis of high-dimensional data (SIAM CSE talk 2017)
Low-rank methods for analysis of high-dimensional data (SIAM CSE talk 2017)
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
Lesson 11: Implicit Differentiation (slides)
Lesson 11: Implicit Differentiation (slides)Lesson 11: Implicit Differentiation (slides)
Lesson 11: Implicit Differentiation (slides)
 
Lesson 19: Double Integrals over General Regions
Lesson 19: Double Integrals over General RegionsLesson 19: Double Integrals over General Regions
Lesson 19: Double Integrals over General Regions
 
Mc ty-explogfns-2009-1
Mc ty-explogfns-2009-1Mc ty-explogfns-2009-1
Mc ty-explogfns-2009-1
 
Journey to structure from motion
Journey to structure from motionJourney to structure from motion
Journey to structure from motion
 
On The Generalized Topological Set Extension Results Using The Cluster Point ...
On The Generalized Topological Set Extension Results Using The Cluster Point ...On The Generalized Topological Set Extension Results Using The Cluster Point ...
On The Generalized Topological Set Extension Results Using The Cluster Point ...
 
125 4.1 through 4.5
125 4.1 through 4.5125 4.1 through 4.5
125 4.1 through 4.5
 

Viewers also liked

Metaheuristics and Optimiztion in Civil Engineering
Metaheuristics and Optimiztion in Civil EngineeringMetaheuristics and Optimiztion in Civil Engineering
Metaheuristics and Optimiztion in Civil EngineeringXin-She Yang
 
Review of Metaheuristics and Generalized Evolutionary Walk Algorithm
Review of Metaheuristics and Generalized Evolutionary Walk AlgorithmReview of Metaheuristics and Generalized Evolutionary Walk Algorithm
Review of Metaheuristics and Generalized Evolutionary Walk AlgorithmXin-She Yang
 
Memetic Firefly algorithm for combinatorial optimization
Memetic Firefly algorithm for combinatorial optimizationMemetic Firefly algorithm for combinatorial optimization
Memetic Firefly algorithm for combinatorial optimizationXin-She Yang
 
Firefly Algorithm, Stochastic Test Functions and Design Optimisation
 Firefly Algorithm, Stochastic Test Functions and Design Optimisation Firefly Algorithm, Stochastic Test Functions and Design Optimisation
Firefly Algorithm, Stochastic Test Functions and Design OptimisationXin-She Yang
 
A Biologically Inspired Network Design Model
A Biologically Inspired Network Design ModelA Biologically Inspired Network Design Model
A Biologically Inspired Network Design ModelXin-She Yang
 
A Discrete Firefly Algorithm for the Multi-Objective Hybrid Flowshop Scheduli...
A Discrete Firefly Algorithm for the Multi-Objective Hybrid Flowshop Scheduli...A Discrete Firefly Algorithm for the Multi-Objective Hybrid Flowshop Scheduli...
A Discrete Firefly Algorithm for the Multi-Objective Hybrid Flowshop Scheduli...Xin-She Yang
 
Firefly Algorithms for Multimodal Optimization
Firefly Algorithms for Multimodal OptimizationFirefly Algorithms for Multimodal Optimization
Firefly Algorithms for Multimodal OptimizationXin-She Yang
 
Firefly Algorithm, Levy Flights and Global Optimization
Firefly Algorithm, Levy Flights and Global OptimizationFirefly Algorithm, Levy Flights and Global Optimization
Firefly Algorithm, Levy Flights and Global OptimizationXin-She Yang
 
Swarm Intelligence Based Algorithms: A Critical Analysis
Swarm Intelligence Based Algorithms: A Critical AnalysisSwarm Intelligence Based Algorithms: A Critical Analysis
Swarm Intelligence Based Algorithms: A Critical AnalysisXin-She Yang
 
Nature-Inspired Mateheuristic Algorithms: Success and New Challenges
Nature-Inspired Mateheuristic Algorithms: Success and New Challenges  Nature-Inspired Mateheuristic Algorithms: Success and New Challenges
Nature-Inspired Mateheuristic Algorithms: Success and New Challenges Xin-She Yang
 
Nature-Inspired Metaheuristic Algorithms for Optimization and Computational I...
Nature-Inspired Metaheuristic Algorithms for Optimization and Computational I...Nature-Inspired Metaheuristic Algorithms for Optimization and Computational I...
Nature-Inspired Metaheuristic Algorithms for Optimization and Computational I...Xin-She Yang
 
Monte Caro Simualtions, Sampling and Markov Chain Monte Carlo
Monte Caro Simualtions, Sampling and Markov Chain Monte CarloMonte Caro Simualtions, Sampling and Markov Chain Monte Carlo
Monte Caro Simualtions, Sampling and Markov Chain Monte CarloXin-She Yang
 
Nature-Inspired Metaheuristic Algorithms
Nature-Inspired Metaheuristic AlgorithmsNature-Inspired Metaheuristic Algorithms
Nature-Inspired Metaheuristic AlgorithmsXin-She Yang
 
A Hybrid Bat Algorithm
A Hybrid Bat AlgorithmA Hybrid Bat Algorithm
A Hybrid Bat AlgorithmXin-She Yang
 
A Brief Review of Nature-Inspired Algorithms for Optimization
A Brief Review of Nature-Inspired Algorithms for OptimizationA Brief Review of Nature-Inspired Algorithms for Optimization
A Brief Review of Nature-Inspired Algorithms for OptimizationXin-She Yang
 
Flower Pollination Algorithm (matlab code)
Flower Pollination Algorithm (matlab code)Flower Pollination Algorithm (matlab code)
Flower Pollination Algorithm (matlab code)Xin-She Yang
 
Bat algorithm (demo)
Bat algorithm (demo)Bat algorithm (demo)
Bat algorithm (demo)Xin-She Yang
 
Analysis of Nature-Inspried Optimization Algorithms
Analysis of Nature-Inspried Optimization AlgorithmsAnalysis of Nature-Inspried Optimization Algorithms
Analysis of Nature-Inspried Optimization AlgorithmsXin-She Yang
 
Bat algorithm for Topology Optimization in Microelectronic Applications
Bat algorithm for Topology Optimization in Microelectronic ApplicationsBat algorithm for Topology Optimization in Microelectronic Applications
Bat algorithm for Topology Optimization in Microelectronic ApplicationsXin-She Yang
 

Viewers also liked (20)

Metaheuristics and Optimiztion in Civil Engineering
Metaheuristics and Optimiztion in Civil EngineeringMetaheuristics and Optimiztion in Civil Engineering
Metaheuristics and Optimiztion in Civil Engineering
 
Review of Metaheuristics and Generalized Evolutionary Walk Algorithm
Review of Metaheuristics and Generalized Evolutionary Walk AlgorithmReview of Metaheuristics and Generalized Evolutionary Walk Algorithm
Review of Metaheuristics and Generalized Evolutionary Walk Algorithm
 
Memetic Firefly algorithm for combinatorial optimization
Memetic Firefly algorithm for combinatorial optimizationMemetic Firefly algorithm for combinatorial optimization
Memetic Firefly algorithm for combinatorial optimization
 
Firefly Algorithm, Stochastic Test Functions and Design Optimisation
 Firefly Algorithm, Stochastic Test Functions and Design Optimisation Firefly Algorithm, Stochastic Test Functions and Design Optimisation
Firefly Algorithm, Stochastic Test Functions and Design Optimisation
 
A Biologically Inspired Network Design Model
A Biologically Inspired Network Design ModelA Biologically Inspired Network Design Model
A Biologically Inspired Network Design Model
 
A Discrete Firefly Algorithm for the Multi-Objective Hybrid Flowshop Scheduli...
A Discrete Firefly Algorithm for the Multi-Objective Hybrid Flowshop Scheduli...A Discrete Firefly Algorithm for the Multi-Objective Hybrid Flowshop Scheduli...
A Discrete Firefly Algorithm for the Multi-Objective Hybrid Flowshop Scheduli...
 
Firefly Algorithms for Multimodal Optimization
Firefly Algorithms for Multimodal OptimizationFirefly Algorithms for Multimodal Optimization
Firefly Algorithms for Multimodal Optimization
 
Firefly Algorithm, Levy Flights and Global Optimization
Firefly Algorithm, Levy Flights and Global OptimizationFirefly Algorithm, Levy Flights and Global Optimization
Firefly Algorithm, Levy Flights and Global Optimization
 
Swarm Intelligence Based Algorithms: A Critical Analysis
Swarm Intelligence Based Algorithms: A Critical AnalysisSwarm Intelligence Based Algorithms: A Critical Analysis
Swarm Intelligence Based Algorithms: A Critical Analysis
 
Nature-Inspired Mateheuristic Algorithms: Success and New Challenges
Nature-Inspired Mateheuristic Algorithms: Success and New Challenges  Nature-Inspired Mateheuristic Algorithms: Success and New Challenges
Nature-Inspired Mateheuristic Algorithms: Success and New Challenges
 
Nature-Inspired Metaheuristic Algorithms for Optimization and Computational I...
Nature-Inspired Metaheuristic Algorithms for Optimization and Computational I...Nature-Inspired Metaheuristic Algorithms for Optimization and Computational I...
Nature-Inspired Metaheuristic Algorithms for Optimization and Computational I...
 
Monte Caro Simualtions, Sampling and Markov Chain Monte Carlo
Monte Caro Simualtions, Sampling and Markov Chain Monte CarloMonte Caro Simualtions, Sampling and Markov Chain Monte Carlo
Monte Caro Simualtions, Sampling and Markov Chain Monte Carlo
 
Nature-Inspired Metaheuristic Algorithms
Nature-Inspired Metaheuristic AlgorithmsNature-Inspired Metaheuristic Algorithms
Nature-Inspired Metaheuristic Algorithms
 
A Hybrid Bat Algorithm
A Hybrid Bat AlgorithmA Hybrid Bat Algorithm
A Hybrid Bat Algorithm
 
A Brief Review of Nature-Inspired Algorithms for Optimization
A Brief Review of Nature-Inspired Algorithms for OptimizationA Brief Review of Nature-Inspired Algorithms for Optimization
A Brief Review of Nature-Inspired Algorithms for Optimization
 
Flower Pollination Algorithm (matlab code)
Flower Pollination Algorithm (matlab code)Flower Pollination Algorithm (matlab code)
Flower Pollination Algorithm (matlab code)
 
Bat algorithm (demo)
Bat algorithm (demo)Bat algorithm (demo)
Bat algorithm (demo)
 
Firefly algorithm
Firefly algorithmFirefly algorithm
Firefly algorithm
 
Analysis of Nature-Inspried Optimization Algorithms
Analysis of Nature-Inspried Optimization AlgorithmsAnalysis of Nature-Inspried Optimization Algorithms
Analysis of Nature-Inspried Optimization Algorithms
 
Bat algorithm for Topology Optimization in Microelectronic Applications
Bat algorithm for Topology Optimization in Microelectronic ApplicationsBat algorithm for Topology Optimization in Microelectronic Applications
Bat algorithm for Topology Optimization in Microelectronic Applications
 

Similar to Test Problems in Optimization

Limits and Continuity of Functions
Limits and Continuity of Functions Limits and Continuity of Functions
Limits and Continuity of Functions OlooPundit
 
functions limits and continuity
functions limits and continuityfunctions limits and continuity
functions limits and continuityPume Ananda
 
Continuity & Differentibilitytheory & solved & exercise. Module-4 pdf
Continuity & Differentibilitytheory & solved & exercise. Module-4 pdfContinuity & Differentibilitytheory & solved & exercise. Module-4 pdf
Continuity & Differentibilitytheory & solved & exercise. Module-4 pdfRajuSingh806014
 
monotonicity thoery & solved & execise Module-4.pdf
monotonicity thoery & solved & execise Module-4.pdfmonotonicity thoery & solved & execise Module-4.pdf
monotonicity thoery & solved & execise Module-4.pdfRajuSingh806014
 
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...BRNSS Publication Hub
 
2nd-year-Math-full-Book-PB.pdf
2nd-year-Math-full-Book-PB.pdf2nd-year-Math-full-Book-PB.pdf
2nd-year-Math-full-Book-PB.pdfproacademyhub
 
119 Powerpoint 2.2
119 Powerpoint 2.2119 Powerpoint 2.2
119 Powerpoint 2.2Jeneva Clark
 
C.v.n.m (m.e. 130990119004-06)
C.v.n.m (m.e. 130990119004-06)C.v.n.m (m.e. 130990119004-06)
C.v.n.m (m.e. 130990119004-06)parth98796
 
chap 2 Ex#1.1
chap 2 Ex#1.1chap 2 Ex#1.1
chap 2 Ex#1.1Ans Ali
 
L1 functions, domain & range
L1 functions, domain & rangeL1 functions, domain & range
L1 functions, domain & rangeJames Tagara
 
237654933 mathematics-t-form-6
237654933 mathematics-t-form-6237654933 mathematics-t-form-6
237654933 mathematics-t-form-6homeworkping3
 
Chapter 1 (math 1)
Chapter 1 (math 1)Chapter 1 (math 1)
Chapter 1 (math 1)Amr Mohamed
 
Generating functions (albert r. meyer)
Generating functions (albert r. meyer)Generating functions (albert r. meyer)
Generating functions (albert r. meyer)Ilir Destani
 
Langrange Interpolation Polynomials
Langrange Interpolation PolynomialsLangrange Interpolation Polynomials
Langrange Interpolation PolynomialsSohaib H. Khan
 

Similar to Test Problems in Optimization (20)

Chapter 5 assignment
Chapter 5 assignmentChapter 5 assignment
Chapter 5 assignment
 
Limits and Continuity of Functions
Limits and Continuity of Functions Limits and Continuity of Functions
Limits and Continuity of Functions
 
functions limits and continuity
functions limits and continuityfunctions limits and continuity
functions limits and continuity
 
Functions limits and continuity
Functions limits and continuityFunctions limits and continuity
Functions limits and continuity
 
Continuity & Differentibilitytheory & solved & exercise. Module-4 pdf
Continuity & Differentibilitytheory & solved & exercise. Module-4 pdfContinuity & Differentibilitytheory & solved & exercise. Module-4 pdf
Continuity & Differentibilitytheory & solved & exercise. Module-4 pdf
 
3. Functions II.pdf
3. Functions II.pdf3. Functions II.pdf
3. Functions II.pdf
 
1_AJMS_229_19[Review].pdf
1_AJMS_229_19[Review].pdf1_AJMS_229_19[Review].pdf
1_AJMS_229_19[Review].pdf
 
monotonicity thoery & solved & execise Module-4.pdf
monotonicity thoery & solved & execise Module-4.pdfmonotonicity thoery & solved & execise Module-4.pdf
monotonicity thoery & solved & execise Module-4.pdf
 
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
 
Maths 12
Maths 12Maths 12
Maths 12
 
2nd-year-Math-full-Book-PB.pdf
2nd-year-Math-full-Book-PB.pdf2nd-year-Math-full-Book-PB.pdf
2nd-year-Math-full-Book-PB.pdf
 
2018-G12-Math-E.pdf
2018-G12-Math-E.pdf2018-G12-Math-E.pdf
2018-G12-Math-E.pdf
 
119 Powerpoint 2.2
119 Powerpoint 2.2119 Powerpoint 2.2
119 Powerpoint 2.2
 
C.v.n.m (m.e. 130990119004-06)
C.v.n.m (m.e. 130990119004-06)C.v.n.m (m.e. 130990119004-06)
C.v.n.m (m.e. 130990119004-06)
 
chap 2 Ex#1.1
chap 2 Ex#1.1chap 2 Ex#1.1
chap 2 Ex#1.1
 
L1 functions, domain & range
L1 functions, domain & rangeL1 functions, domain & range
L1 functions, domain & range
 
237654933 mathematics-t-form-6
237654933 mathematics-t-form-6237654933 mathematics-t-form-6
237654933 mathematics-t-form-6
 
Chapter 1 (math 1)
Chapter 1 (math 1)Chapter 1 (math 1)
Chapter 1 (math 1)
 
Generating functions (albert r. meyer)
Generating functions (albert r. meyer)Generating functions (albert r. meyer)
Generating functions (albert r. meyer)
 
Langrange Interpolation Polynomials
Langrange Interpolation PolynomialsLangrange Interpolation Polynomials
Langrange Interpolation Polynomials
 

More from Xin-She Yang

Cuckoo Search Algorithm: An Introduction
Cuckoo Search Algorithm: An IntroductionCuckoo Search Algorithm: An Introduction
Cuckoo Search Algorithm: An IntroductionXin-She Yang
 
Metaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical AnalysisMetaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical AnalysisXin-She Yang
 
Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Xin-She Yang
 
A Biologically Inspired Network Design Model
A Biologically Inspired Network Design ModelA Biologically Inspired Network Design Model
A Biologically Inspired Network Design ModelXin-She Yang
 
Multiobjective Bat Algorithm (demo only)
Multiobjective Bat Algorithm (demo only)Multiobjective Bat Algorithm (demo only)
Multiobjective Bat Algorithm (demo only)Xin-She Yang
 
Introduction to Computational Mathematics (2nd Edition, 2015)
Introduction to Computational Mathematics (2nd Edition, 2015)Introduction to Computational Mathematics (2nd Edition, 2015)
Introduction to Computational Mathematics (2nd Edition, 2015)Xin-She Yang
 
Two-Stage Eagle Strategy with Differential Evolution
Two-Stage Eagle Strategy with Differential EvolutionTwo-Stage Eagle Strategy with Differential Evolution
Two-Stage Eagle Strategy with Differential EvolutionXin-She Yang
 
Accelerated Particle Swarm Optimization and Support Vector Machine for Busine...
Accelerated Particle Swarm Optimization and Support Vector Machine for Busine...Accelerated Particle Swarm Optimization and Support Vector Machine for Busine...
Accelerated Particle Swarm Optimization and Support Vector Machine for Busine...Xin-She Yang
 
Bat Algorithm for Multi-objective Optimisation
Bat Algorithm for Multi-objective OptimisationBat Algorithm for Multi-objective Optimisation
Bat Algorithm for Multi-objective OptimisationXin-She Yang
 
Are motorways rational from slime mould's point of view?
Are motorways rational from slime mould's point of view?Are motorways rational from slime mould's point of view?
Are motorways rational from slime mould's point of view?Xin-She Yang
 
Engineering Optimisation by Cuckoo Search
Engineering Optimisation by Cuckoo SearchEngineering Optimisation by Cuckoo Search
Engineering Optimisation by Cuckoo SearchXin-She Yang
 
A New Metaheuristic Bat-Inspired Algorithm
A New Metaheuristic Bat-Inspired AlgorithmA New Metaheuristic Bat-Inspired Algorithm
A New Metaheuristic Bat-Inspired AlgorithmXin-She Yang
 
Eagle Strategy Using Levy Walk and Firefly Algorithms For Stochastic Optimiza...
Eagle Strategy Using Levy Walk and Firefly Algorithms For Stochastic Optimiza...Eagle Strategy Using Levy Walk and Firefly Algorithms For Stochastic Optimiza...
Eagle Strategy Using Levy Walk and Firefly Algorithms For Stochastic Optimiza...Xin-She Yang
 
Fractals in Small-World Networks With Time Delay
Fractals in Small-World Networks With Time DelayFractals in Small-World Networks With Time Delay
Fractals in Small-World Networks With Time DelayXin-She Yang
 
Chaos in Small-World Networks
Chaos in Small-World NetworksChaos in Small-World Networks
Chaos in Small-World NetworksXin-She Yang
 
Cellular Automata, PDEs and Pattern Formation
Cellular Automata, PDEs and Pattern FormationCellular Automata, PDEs and Pattern Formation
Cellular Automata, PDEs and Pattern FormationXin-She Yang
 
Biology-Derived Algorithms in Engineering Optimization
Biology-Derived Algorithms in Engineering OptimizationBiology-Derived Algorithms in Engineering Optimization
Biology-Derived Algorithms in Engineering OptimizationXin-She Yang
 
Harmony Search as a Metaheuristic Algorithm
Harmony Search as a Metaheuristic AlgorithmHarmony Search as a Metaheuristic Algorithm
Harmony Search as a Metaheuristic AlgorithmXin-She Yang
 
Cuckoo Search via Levy Flights
Cuckoo Search via Levy FlightsCuckoo Search via Levy Flights
Cuckoo Search via Levy FlightsXin-She Yang
 

More from Xin-She Yang (19)

Cuckoo Search Algorithm: An Introduction
Cuckoo Search Algorithm: An IntroductionCuckoo Search Algorithm: An Introduction
Cuckoo Search Algorithm: An Introduction
 
Metaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical AnalysisMetaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical Analysis
 
Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms
 
A Biologically Inspired Network Design Model
A Biologically Inspired Network Design ModelA Biologically Inspired Network Design Model
A Biologically Inspired Network Design Model
 
Multiobjective Bat Algorithm (demo only)
Multiobjective Bat Algorithm (demo only)Multiobjective Bat Algorithm (demo only)
Multiobjective Bat Algorithm (demo only)
 
Introduction to Computational Mathematics (2nd Edition, 2015)
Introduction to Computational Mathematics (2nd Edition, 2015)Introduction to Computational Mathematics (2nd Edition, 2015)
Introduction to Computational Mathematics (2nd Edition, 2015)
 
Two-Stage Eagle Strategy with Differential Evolution
Two-Stage Eagle Strategy with Differential EvolutionTwo-Stage Eagle Strategy with Differential Evolution
Two-Stage Eagle Strategy with Differential Evolution
 
Accelerated Particle Swarm Optimization and Support Vector Machine for Busine...
Accelerated Particle Swarm Optimization and Support Vector Machine for Busine...Accelerated Particle Swarm Optimization and Support Vector Machine for Busine...
Accelerated Particle Swarm Optimization and Support Vector Machine for Busine...
 
Bat Algorithm for Multi-objective Optimisation
Bat Algorithm for Multi-objective OptimisationBat Algorithm for Multi-objective Optimisation
Bat Algorithm for Multi-objective Optimisation
 
Are motorways rational from slime mould's point of view?
Are motorways rational from slime mould's point of view?Are motorways rational from slime mould's point of view?
Are motorways rational from slime mould's point of view?
 
Engineering Optimisation by Cuckoo Search
Engineering Optimisation by Cuckoo SearchEngineering Optimisation by Cuckoo Search
Engineering Optimisation by Cuckoo Search
 
A New Metaheuristic Bat-Inspired Algorithm
A New Metaheuristic Bat-Inspired AlgorithmA New Metaheuristic Bat-Inspired Algorithm
A New Metaheuristic Bat-Inspired Algorithm
 
Eagle Strategy Using Levy Walk and Firefly Algorithms For Stochastic Optimiza...
Eagle Strategy Using Levy Walk and Firefly Algorithms For Stochastic Optimiza...Eagle Strategy Using Levy Walk and Firefly Algorithms For Stochastic Optimiza...
Eagle Strategy Using Levy Walk and Firefly Algorithms For Stochastic Optimiza...
 
Fractals in Small-World Networks With Time Delay
Fractals in Small-World Networks With Time DelayFractals in Small-World Networks With Time Delay
Fractals in Small-World Networks With Time Delay
 
Chaos in Small-World Networks
Chaos in Small-World NetworksChaos in Small-World Networks
Chaos in Small-World Networks
 
Cellular Automata, PDEs and Pattern Formation
Cellular Automata, PDEs and Pattern FormationCellular Automata, PDEs and Pattern Formation
Cellular Automata, PDEs and Pattern Formation
 
Biology-Derived Algorithms in Engineering Optimization
Biology-Derived Algorithms in Engineering OptimizationBiology-Derived Algorithms in Engineering Optimization
Biology-Derived Algorithms in Engineering Optimization
 
Harmony Search as a Metaheuristic Algorithm
Harmony Search as a Metaheuristic AlgorithmHarmony Search as a Metaheuristic Algorithm
Harmony Search as a Metaheuristic Algorithm
 
Cuckoo Search via Levy Flights
Cuckoo Search via Levy FlightsCuckoo Search via Levy Flights
Cuckoo Search via Levy Flights
 

Recently uploaded

Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitterShivangiSharma879191
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substationstephanwindworld
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the weldingMuhammadUzairLiaqat
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptMadan Karki
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - GuideGOPINATHS437943
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
Piping Basic stress analysis by engineering
Piping Basic stress analysis by engineeringPiping Basic stress analysis by engineering
Piping Basic stress analysis by engineeringJuanCarlosMorales19600
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction managementMariconPadriquez1
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 

Recently uploaded (20)

Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substation
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the welding
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.ppt
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - Guide
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
Piping Basic stress analysis by engineering
Piping Basic stress analysis by engineeringPiping Basic stress analysis by engineering
Piping Basic stress analysis by engineering
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction management
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 

Test Problems in Optimization

  • 1. arXiv:1008.0549v1 [math.OC] 3 Aug 2010 Test Problems in Optimization Xin-She Yang Department of Engineering, University of Cambridge, Cambridge CB2 1PZ, UK Abstract Test functions are important to validate new optimization algorithms and to compare the performance of various algorithms. There are many test functions in the literature, but there is no standard list or set of test functions one has to follow. New optimization algorithms should be tested using at least a subset of functions with diverse properties so as to make sure whether or not the tested algorithm can solve certain type of opti-mization efficiently. Here we provide a selected list of test problems for unconstrained optimization. Citation detail: X.-S. Yang, Test problems in optimization, in: Engineering Optimization: An Introduc-tion with Metaheuristic Applications (Eds Xin-She Yang), John Wiley & Sons, (2010).
  • 2. In order to validate any new optimization algorithm, we have to validate it against standard test functions so as to compare its performance with well-established or existing algorithms. There are many test functions, so there is no standard list or set of test functions one has to follow. However, various test functions do exist, so new algorithms should be tested using at least a subset of functions with diverse properties so as to make sure whether or not the tested algorithm can solve certain type of optimization efficiently. In this appendix, we will provide a subset of commonly used test functions with simple bounds as constraints, though they are often listed as unconstrained problems in literature. We will list the function form f(x), its search domain, optimal solutions x and/or optimal objective value f. Here, we use x = (x1, ..., xn)T where n is the dimension. Ackley’s function: f(x) = −20 exp h − 1 5 vuut 1 n n Xi =1 x2i i − exp h 1 n n Xi =1 cos(2xi)i + 20 + e, (1) where n = 1, 2, ..., and −32.768 xi 32.768 for i = 1, 2, ..., n. This function has the global minimum f = 0 at x = (0, 0, ..., 0). De Jong’s functions: The simplest of De Jong’s functions is the so-called sphere function f(x) = n Xi =1 x2i , −5.12 xi 5.12, (2) whose global minimum is obviously f = 0 at (0, 0, ..., 0). This function is unimodal and convex. A related function is the so-called weighted sphere function or hyper-ellipsoid function f(x) = n Xi =1 ix2i , −5.12 xi 5.12, (3) which is also convex and unimodal with a global minimum f = 0 at x = (0, 0, ..., 0). Another related test function is the sum of different power function f(x) = n =1 |xi|i+1, −1 xi 1, (4) Xi which has a global minimum f = 0 at (0, 0, ..., 0). Easom’s function: f(x) = −cos(x) cos(y) exp h − (x − )2 + (y − )2i, (5) whose global minimum is f = −1 at x = (, ) within −100 x, y 100. It has many local minima. Xin-She Yang extended in 2008 this function to n dimensions, and we have f(x) = −(−1)n n Y i=1 cos2(xi) exp h − n Xi =1 (xi − )2i, (6) whose global minimum f = −1 occurs at x = (, , ..., ). Here the domain is −2 xi 2 where i = 1, 2, ..., n.
  • 3. Equality-Constrained Function: f(x) = −(pn)n n Y i=1 xi, (7) subject to an equality constraint (a hyper-sphere) n Xi =1 x2i = 1. (8) The global minimum f = −1 of f(x) occurs at x(1/pn, ..., 1/pn) within the domain 0 xi 1 for i = 1, 2, ..., n. Griewank’s function: f(x) = 1 4000 n Xi =1 x2i − n Y i=1 cos( xi pi ) + 1, −600 xi 600, (9) whose global minimum is f = 0 at x = (0, 0, ..., 0). This function is highly multimodal. Michaelwicz’s function: f(x) = − n Xi =1 sin(xi) · h sin( ix2i )i2m , (10) where m = 10, and 0 xi for i = 1, 2, ..., n. In 2D case, we have f(x, y) = −sin(x) sin20( x2 ) − sin(y) sin20( 2y2 ), (11) where (x, y) 2 [0, 5] × [0, 5]. This function has a global minimum f −1.8013 at x = (x, y) = (2.20319, 1.57049). Perm Functions: f(x) = n X j=1 n n Xi =1 (ij +
  • 4. )h( xi i )j − 1io, (
  • 5. 0), (12) which has the global minimum f = 0 at x = (1, 2, ..., n) in the search domain −n xi n for i = 1, ..., n. A related function f(x) = n X j=1 n n Xi =1 (i +
  • 6. )hxj i − ( 1 i )jio2 , (13) has the global minimum f = 0 at (1, 1/2, 1/3, ..., 1/n) within the bounds −1 xi 1 for all i = 1, 2, ..., n. As
  • 7. 0 becomes smaller, the global minimum becomes almost indistin-guishable from their local minima. In fact, in the extreme case
  • 8. = 0, every solution is also a global minimum. Rastrigin’s function: f(x) = 10n + n Xi =1 hx2i − 10 cos(2xi)i, −5.12 xi 5.12, (14)
  • 9. whose global minimum is f = 0 at (0, 0, ..., 0). This function is highly multimodal. Rosenbrock’s function: f(x) = n−1 Xi =1 h(xi − 1)2 + 100(xi+1 − x2i )2i, (15) whose global minimum f = 0 occurs at x = (1, 1, ..., 1) in the domain −5 xi 5 where i = 1, 2, ..., n. In the 2D case, it is often written as f(x, y) = (x − 1)2 + 100(y − x2)2, (16) which is often referred to as the banana function. Schwefel’s function: f(x) = − n Xi =1 xi sin q|xi|, −500 xi 500, (17) whose global minimum f −418.9829n occurs at xi = 420.9687 where i = 1, 2, ..., n. Six-hump camel back function: f(x, y) = (4 − 2.1x2 + 1 3 x4)x2 + xy + 4(y2 − 1)y2, (18) where −3 x 3 and −2 y 2. This function has two global minima f −1.0316 at (x, y) = (0.0898,−0.7126) and (−0.0898, 0.7126). Shubert’s function: f(x) = h n Xi =1 i cos i + (i + 1)xi · h n Xi =1 i cos i + (i + 1)yi, (19) which has 18 global minima f −186.7309 for n = 5 in the search domain −10 x, y 10. Xin-She Yang’s functions: f(x) = n =1 |xi| exp h − Xi n Xi =1 sin(x2i )i, (20) which has the global minimum f = 0 at x = (0, 0, ..., 0) in the domain −2 xi 2 where i = 1, 2, ..., n. This function is not smooth, and its derivatives are not well defined at the optimum (0, 0, ..., 0). A related function is f(x) = − n =1 |xi| exp − Xi n Xi =1 x2i , −10 xi 10, (21) which has multiple global minima. For example, for n = 2, we have 4 equal minima f = −1/pe −0.6065 at (1/2, 1/2), (1/2,−1/2), (−1/2, 1/2) and (−1/2,−1/2).
  • 10. Yang also designed a standing-wave function with a defect f(x) = he−Pn i=1(xi/
  • 11. )2m − 2e−Pn i i · i=1 x2 n Y i=1 cos2 xi, m = 5, (22) which has many local minima and the unique global minimum f = −1 at x = (0, 0, ..., 0) for
  • 12. = 15 within the domain −20 xi 20 for i = 1, 2, ..., n. The location of the defect can easily be shift to other positions. For example, f(x) = he−Pn i=1(xi/
  • 13. )2m − 2e−Pn i=1(xi−)2i · n Y i=1 cos2 xi, m = 5, (23) has a unique global minimum f = −1 at x = (, , ..., ) Yang also proposed another multimodal function f(x) = nh n Xi =1 sin2(xi)i − exp(− n Xi =1 x2i )o · exp h − n Xi =1 sin2q|xi| i, (24) whose global minimum f = −1 occurs at x = (0, 0, ..., 0) in the domain −10 xi 10 where i = 1, 2, ..., n. In the 2D case, its landscape looks like a wonderful candlestick. Most test functions are deterministic. Yang designed a test function with stochastic components f(x, y) = −5e−
  • 14. [(x−)2+(y−)2] − K X j=1 K Xi =1 ije−[(x−i)2+(y−j)2], (25) where ,
  • 15. 0 are scaling parameters, which can often be taken as =
  • 16. = 1. Here ij are random variables and can be drawn from a uniform distribution ij Unif[0,1]. The domain is 0 x, y K and K = 10. This function has K2 local valleys at grid locations and the fixed global minimum at x = (, ). It is worth pointing that the minimum fmin is random, rather than a fixed value; it may vary from −(K2 + 5) to −5, depending and
  • 17. as well as the random numbers drawn. Furthermore, he also designed a stochastic function f(x) = n Xi =1 i
  • 18.
  • 19.
  • 20. xi − 1 i
  • 21.
  • 22.
  • 23. , −5 xi 5, (26) where i (i = 1, 2, ..., n) are random variables which are uniformly distributed in [0, 1]. That is, i Unif[0, 1]. This function has the unique minimum f = 0 at x = (1, 1/2, ..., 1/n) which is also singular. Zakharov’s functions: f(x) = n Xi =1 x2i + 1 2 n Xi =1 ixi2 + 1 2 n Xi =1 ixi4 , (27) whose global minimum f = 0 occurs at x = (0, 0, ..., 0). Obviously, we can generalize this function as f(x) = n Xi =1 x2i + K X k=1 J2k n , (28) where K = 1, 2, ..., 20 and Jn = 1 2 n Xi =1 ixi. (29)
  • 24. References [1] D. H. Ackley, A Connectionist Machine for Genetic Hillclimbing, Kluwer Academic Publishers, 1987. [2] C. A. Floudas, P. M., Pardalos, C. S. Adjiman, W. R. Esposito, Z. H. Gumus, S. T. Harding, J. L. Klepeis, C. A., Meyer, C. A. Scheiger, Handbook of Test Problems in Local and Global Optimization, Springer, 1999. [3] A. Hedar, Test function web pages, http://www-optima.amp.i.kyoto-u.ac.jp /member/student/hedar/Hedar files/TestGO files/Page364.htm [4] M. Molga, C. Smutnicki, “Test functions for optimization needs”, http://www.zsd.ict.pwr.wroc.pl/files/docs/functions.pdf [5] X.-S. Yang, “Firefly algorithm, L´evy flights and global optimization”, in: Research and Development in Intelligent Systems XXVI, (Eds M. Bramer et al.), Springer, London, pp. 209-218 (2010). [6] X.-S. Yang and S. Deb, “Engineering optimization by cuckoo search”, Int. J. Math. Modeling and Numerical Optimization, 1, No. 4, 330-343 (2010). [7] X.-S. Yang, “Firefly algorithm, stochastic test functions and design optimization”, Int. J. Bio-inspired Computation, 2, No. 2, 78-84 (2010).