Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please please answer all question 6 12 Consider the magic square problem to solve using evolutionary algorithms. In this case, there is a table with
Please please answer all question
6 12 Consider the magic square problem to solve using evolutionary algorithms. In this case, there is a table with dimensions of 3*3 that the numbers 1 to 15 should be placed in the cells of this table so that the following conditions are always met : i) Each number is allowed to be used and registered in the table only once. ii) The sum of the numbers in all rows of the table must be the same and equal to 24. iii) The sum of the numbers in all the columns of the table must be the same and equal to 24. Provide a genetic algorithms to solve this problem, in the form of the following questions : A) Determine the structure of chromosomes and how to map the genes of each chromosome in the magic square problem? B) Determine the effective parameters in the fitness function of the magic square problem and propose its fitness function? C) Write the MATLAB code for randomly generating an initial population of chromosomes (n chromosomes) in this magic square problem? 6 12 Consider the magic square problem to solve using evolutionary algorithms. In this case, there is a table with dimensions of 3*3 that the numbers 1 to 15 should be placed in the cells of this table so that the following conditions are always met : i) Each number is allowed to be used and registered in the table only once. ii) The sum of the numbers in all rows of the table must be the same and equal to 24. iii) The sum of the numbers in all the columns of the table must be the same and equal to 24. Provide a genetic algorithms to solve this problem, in the form of the following questions : A) Determine the structure of chromosomes and how to map the genes of each chromosome in the magic square problem? B) Determine the effective parameters in the fitness function of the magic square problem and propose its fitness function? C) Write the MATLAB code for randomly generating an initial population of chromosomes (n chromosomes) in this magic squareStep 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