Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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. 111) 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? adul 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. 111) 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? adul

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database And SQL

Authors: Lucy Scott

3rd Edition

1087899699, 978-1087899695

More Books

Students also viewed these Databases questions

Question

=+ Is the organization comfortable with the risks implied?

Answered: 1 week ago