Call for Paper - March 2023 Edition
IJCA solicits original research papers for the March 2023 Edition. Last date of manuscript submission is February 20, 2023. Read More

Optimization of Function by using a New MATLAB based Genetic Algorithm Procedure

International Journal of Computer Applications
© 2013 by IJCA Journal
Volume 61 - Number 15
Year of Publication: 2013
G. N. Purohit
Arun Mohan Sherry
Manish Saraswat

G N Purohit, Arun Mohan Sherry and Manish Saraswat. Article: Optimization of Function by using a New MATLAB based Genetic Algorithm Procedure. International Journal of Computer Applications 61(15):1-5, January 2013. Full text available. BibTeX

	author = {G. N. Purohit and Arun Mohan Sherry and Manish Saraswat},
	title = {Article: Optimization of Function by using a New MATLAB based Genetic Algorithm Procedure},
	journal = {International Journal of Computer Applications},
	year = {2013},
	volume = {61},
	number = {15},
	pages = {1-5},
	month = {January},
	note = {Full text available}


As the applications of systems are increasing in various aspects of our daily life, it enhances the complexity of systems in Software design (Program response according to environment) and hardware components (caches, branch predicting pipelines). Within the past couple of years the Test Engineers have developed a new testing procedure for testing the correctness of systems: namely the evolutionary test. The test is interpreted as a problem of optimization, and employs evolutionary computation to find the test data with extreme execution times. Evolutionary testing denotes the use of evolutionary algorithms, e. g. , Genetic Algorithms (GAs), to support various test automation tasks. Since evolutionary algorithms are heuristics, their performance and output efficiency can vary across multiple runs, there is strong need a environment that can be handle these complexities, Now a day's MATLAB is widely used for this purpose. This paper explore potential power of Genetic Algorithm for optimization by using new MATLAB based implementation of Rastrigin's function, throughout the paper we use this function as optimization problem to explain some key definitions of genetic transformation like selection crossover and mutation.


  • D. E. Goldberg, Genetic Learning in optimization, search and machine learning. Addisson Wesley, 1994.
  • J. J. Grefenstette. Genetic algorithms for changing environments. In R. Manner abd B. Manderick, editor, Parallel Problem Solving from Nature 2, pages 465-501. Elsevier Science Publishers.
  • Mathworks, The: Matlab - UserGuide. Natick, Mass. : The Mathworks, Inc. , 1994-1999. http://www. mathworks. com
  • Henriksson, D. , Cervin, A. , Arzen, K. E. : TrueTime: Real-time control system simulation with MATLAB/Simulink. In: Proceedings of the Nordic MATLAB Conference, Copenhagen, Denmark (2005)
  • A. J. Chipperfield, P. J. Fleming and H. Pohlheim, "A Genetic Algorithm Toolbox for MATLAB," Proc. International Conference on Systems Engineering, Coventq, UK, 6-8 Sept 1998.
  • Papadamou, S. and Stephanides, G. , A New Matlab-Based Toolbox For Computer Aided Dynamic Technical Trading,
  • K. Lakhotia, M. Harman, and P. McMinn. A multi-objective approach to search-based test data generation. In Proc. 9th Annual Conf. on Genetic and Evolutionary Computation (GECCO'07), pages 1098–1105, ACM, 2007.
  • Pohlheim, H. : Genetic and Evolutionary Algorithm Toolbox for use with Matlab - Documentation. Technical www. geatbx. com.
  • A Comparison of C, MATLAB, and Python as Teaching Languages in Engineering Hans Fangohr University of Southampton, Southampton SO17 1BJ, UK.