All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
AIM:- Write a code in MATLAB to optimize the stalagmite function and find the global maxima of the function. Clearly explain the concept of genetic algorithm in your own words and also explain the syntax for ga in MATLAB in your report. F maximum Vs no. of iterations. Introduction:-…
Arun Gupta
updated on 13 Oct 2022
AIM:-
Introduction:-
A genetic algorithm is a search heuristic that is inspired by Charles Darwin’s theory of natural evolution. This algorithm reflects the process of natural selection where the fittest individuals are selected for reproduction in order to produce offspring of the next generation. The genetic algorithm is inspired by the process that drives biological evaluation. The process of evaluation starts with the selection of the fittest individuals from a population. Then they produce offspring which inherit the characteristics of the parents and will be added to the next generation. If parents have better fitness, their offspring will be better than parents and have a better chance at surviving. This process keeps on iterating and in the end, a generation with the fittest individuals will be found. And this is the main working principle for the algorithm because, at each step, the genetic algorithm selects randomly from the current population to be parents and uses them to produce the children for the next generation. Over successive generations, the population evolves towards an optimal solution. The genetic algorithm can be applied to solve a variety of optimization problems that are not well suited for standard optimization algorithms, including problems in which the objective function is discontinuous, nondifferentiable, stochastic, or highly nonlinear.
MATLAB Code:-
OUTPUT:-
Unbounded Statistical Behaviour Plot:- (Iterations = 50)
Bounded Statistical Behaviour Plot:- (Iterations = 100)
Bounded Statistical Behaviour Plot:- (Iterations = 170)
Leave a comment
Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.
Other comments...
Project 1 : Flow over Ahmed Body
Flow over Ahmed's Body The Ahmed body represents a simplified, ground vehicle geometry of a bluff body type. Its shape is simple enough to allow for accurate flow simulation but retains some important practical features relevant to automobile bodies. This model describes how to calculate the turbulent flow field around…
24 Nov 2023 05:24 AM IST
Project 1 : CFD Meshing for Tesla Cyber Truck
Objective : To Identify & clean up all the topological errors in the given Tesla Cyber Truck Car model. To create a surface mesh. To Create a wind tunnel around Tesla Cyber Truck Car. To create a volumetric mesh to perform an external flow CFD analysis simulation. Introduction : ANSA : ANSA is a Computer-aided engineering tool…
09 Sep 2023 11:52 AM IST
Project 1 - Meshing of Floor Panel
AIM:- To mesh the given floor panel for the given quality criterias without any failure in the elements. Project description:- FLOOR PANEL GIVEN:- Procedures for Meshing a 2D component:- i) Importing the CAD model into ANSA:- The cad model is imported into the Ansa software by clicking File ---> New command. ii) Geometry…
04 Mar 2023 05:12 AM IST
Project 1 : CFD Meshing for Tesla Cyber Truck
Objective : To Identify & clean up all the topological errors in the given Tesla Cyber Truck Car model. To create a surface mesh. To Create a wind tunnel around Tesla Cyber Truck Car. To create a volumetric mesh to perform an external flow CFD analysis simulation. Introduction : ANSA : ANSA is…
04 Mar 2023 05:05 AM IST
Related Courses
Skill-Lync offers industry relevant advanced engineering courses for engineering students by partnering with industry experts.
© 2025 Skill-Lync Inc. All Rights Reserved.