Question: PLEASE SOLVE THE FOLLOWING PROBLEM USING MATLAB CODE Problem CONTINUOUS OPTIMIZATION In this problem there are two decision variables where x lies between 3 and
PLEASE SOLVE THE FOLLOWING PROBLEM USING MATLAB CODE
Problem CONTINUOUS OPTIMIZATION
In this problem there are two decision variables where x lies between 3 and y lies between 2. The objective is to minimize z. The global minimum has a z value of z* = -1.0316. Find the optimal solution (x*, y*).

1. Code a simple Genetic Algorithm (GA) to solve this problem. To do this you need to encode the problem as a binary or real string, use single point or multiple point, or uniform crossover, and bit flip or n-opt mutation, use a form of roulette wheel selection or tournament selection, set a population size and select a stopping criterion.
2. Run your GA.
3. Perform the following changes on your GA code and compare the results.
- Change the initial starting points (initial solutions) 2 times
- Change the mutation probability twice
- Change the population size twice
This will result in 3x3x3 = 27 runs for the problem. (3 sets of initial solutions for all combinations of 3 different population sizes, and 3 mutation probabilities).
z-14-21x2 ++xy+1-4+4) 2 t3 z-14-21x2 ++xy+1-4+4) 2 t3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
