Develop a simple genetic algorithm that minimizes the function f(x,x) = 100 x (x-x) + (1-x)....
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Develop a simple genetic algorithm that minimizes the function f(x₁,x₂) = 100 x (x-x₂)² + (1-x₂)². Use a binary representation of integers. Use one-point crossover, bit-mutation and tournament selection (choose the most suitable the crossover and mutation rates). Minimize f(x) in the range of 0 ≤ x ≤ 1023. a) Identify the phenotype and genotype. b) Describe one-point crossover for chosen chromosome representation. Then describe the bit-mutation. Write a pseudo-code of the simple genetic algorithm. Pa 7 d) Explain how the genetic algorithm will be changed if elitism is used. Develop a simple genetic algorithm that minimizes the function f(x₁,x₂) = 100 x (x-x₂)² + (1-x₂)². Use a binary representation of integers. Use one-point crossover, bit-mutation and tournament selection (choose the most suitable the crossover and mutation rates). Minimize f(x) in the range of 0 ≤ x ≤ 1023. a) Identify the phenotype and genotype. b) Describe one-point crossover for chosen chromosome representation. Then describe the bit-mutation. Write a pseudo-code of the simple genetic algorithm. Pa 7 d) Explain how the genetic algorithm will be changed if elitism is used.
Expert Answer:
Answer rating: 100% (QA)
a The phenotype is the value of x within the range 01023 The genotype is representation of x as a bi... View the full answer
Related Book For
Introduction to Algorithms
ISBN: 978-0262033848
3rd edition
Authors: Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest
Posted Date:
Students also viewed these programming questions
-
What mechanisms do change catalysts harness the synergistic potential of interdisciplinary collaboration and cross-functional integration, orchestrating a harmonious convergence of divergent...
-
Implement a simple genetic algorithm in the language of your choice with fitness-proportionate selection (roulette-wheel sampling), population size 50, single-point crossover rate p c = 0.7, and...
-
Case Study: Quick Fix Dental Practice Technology requirements Application must be built using Visual Studio 2019 or Visual Studio 2017, professional or enterprise. The community edition is not...
-
A tank of water of length 2 0 m , 1 0 m , and height 5 m is filled with water of density 1 . 2 g / cm 3 . Find the pressure ( in Pa ) of water on one of the walls at a point 5 9 cm above the bottom.
-
What is the difference between the exponentially weighted moving average model and the GARCH(1,1) model for updating volatilities?
-
Joan Tam, CFA, believes she has identified an arbitrage opportunity for a commodity as indicated by the following information: Spot price for commodity ................. $120 Futures price for...
-
Design a battery electric storage system for a power plant with \(20 \mathrm{MW}\) peak power delivery for a duration of \(4 \mathrm{~h}\) and estimate the minimum number of batteries and the current...
-
Express Corporation wants to buy a new stamping machine. The machine will provide the company with a new product line: pressed food trays for kitchens. Two machines are being considered; the data for...
-
1) Explain how the different participants in the exchange market can take advantage of it. Support your argument. 20 points 2) Explain how the European Monetary Union has simplified trade in Europe....
-
Married taxpayers David and Lillian Perdue file jointly and have a daughter. Erin. They live at 9510 Bluebird Canyon Drive, Seattle, WA 99201. The Perdues own their home, which was paid off last...
-
1. Find the roots of the following cubic equation. Use manual calculation. A. x' - 2.2x? +2x+ 0.4 = 0 B. x' +3x? + 3x+1= 0
-
Think of a new type of business you would like to start up or manage. Which sources would you use to recruit employees who could help you make it a success?
-
You are a pricing manager at a pharmaceutical company. The CEO of the company calls a meeting of all managers to explain that it is critical to increase revenue soon or you may have to start laying...
-
What is the current status of the Doha Round of multilateral trade negotiations? Is the agreement moving forward?
-
An article in Forbes noted that the Intercounty Connector toll road that connects two counties in Maryland was not generating as much toll revenue as predicted. At that time, the toll rate was $8 for...
-
We often observe that items such as different brands of aspirin, gasoline, and tomato sauce are typically priced the same, particularly when consumers can find these goods in close proximity to each...
-
Consider the linear system of equations: x+6y +22= -13 12x + 6y 182 6 6r +37y - 12z 80 (a) Write down its augmented matrix. (b) Solve the linear system by reducing the coefficient matrix to an...
-
Test your confidence in the following Project Decisions: SI. # Question 01 02 03 04 05 06 07 08 09 10 How many years did it take to construct the largest Egyptian Pyramid- Pyramid of Cheops? When was...
-
Write pseudocode for the procedure CONSTRUCT-OPTIMAL-BST(root) which, given the table root, outputs the structure of an optimal binary search tree. For the example in Figure 15.10, your procedure...
-
Show that the set of odd natural numbers is countable.
-
Give an O(VE)-time algorithm for computing the transitive closure of a directed graph G = (V, E).
-
Suppose that in Example 29.1 you used a circular loop rather than a rectangular loop of the same area. What similarities and differences would you observe in each portion of Figure P29.8 parts...
-
A \(50-\mathrm{cm}\)-long metal rod is placed in a uniform magnetic field with the rod length perpendicular to the field direction (Figure P29.26). The rod moves at \(0.10 \mathrm{~m} / \mathrm{s}\),...
-
A rectangular loop of length \(\ell=4 \mathrm{~cm}\), width \(w=3 \mathrm{~cm}\), and internal resistance \(R=0.5 \mathrm{~V} / \mathrm{A}\) is located so that the normal to the loop is parallel to a...
Study smarter with the SolutionInn App