Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Task 1 ) Fitness Functions Use MATLAB script to program the following fitness functions. These functions are for minimisation problems and will be used to
Task Fitness Functions
Use MATLAB script to program the following fitness functions. These functions are for minimisation
problems and will be used to validate the performance of optimisation algorithms.
For all the above functions, set
Task Design a Genetic Algorithm
Write a Matlab code for a Genetic Algorithm. The following operators should be used
Selection operator: Tournament selection
Crossover operator: Whole arithmetic crossover
Mutation operator: Uniform mutation
Other parameter settings:
Set total number of generations Tmax
Set population size
Set offspring population size
Set the intermediate population in the mating pool
Set the total number of iteration
Test the Genetic Algorithm against the four fitness functions in Task Repeat every
optimisation process for times and show the average performance fitness value
Change the selection operator to Proportional Selection and rerun all the previous optimisation
experiments. Compare the result with the initial one and comment on it
Change the crossover operator to Simplepoint arithmetic crossover and rerun all the
optimisation experiments. Compare the result with the initial one and comment on it
Please answer both tasks mainly task fully, task requires task
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started