


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



Q1. One has $ 10000 for a spend for a holiday (H) and an automobile (A). The total cost function can expressed as: C = 1. 25 H^0.^35 + 0. 65 A^0.^89 subject to 5000 ⤠H < 20000 and 10000 ⤠A < 90000. Generate 6 arbitrary chromosomes and obtain fitness of each chromosome.
Chromosome1: 1722132280 fc 1 = 1.25(17221)^0.^35 + 0.65(32280)^0.^89 = 6734. 73 Chromosome2: 1858753751 fc 2 = 1.25(18587)^0.^35 + 0.65(53751)^0.^89 = 10581. 84 Chromosome3: 690486601 fc 3 = 1.25(6904)^0.^35 + 0.65(86601)^0.^89 = 16145. 49 Chromosome4: 1870187192 fc 4 = 1.25(18701)^0.^35 + 0.65(87192)^0.^89 = 16254. 86 Chromosome5: 1448622609 fc 5 = 1.25(14486)^0.^35 + 0.65(22609)^0.^89 = 4913. 545 Chromosome6: 646387648 fc 6 = 1.25(6463)^0.^35 + 0.65(87648)^0.^89 = 16318. 18
P 6 i=1 fci^ = 70948.^64
Fitness Function % = F (Ci) = P 6 fci i=1 fci
x 100
F (C 1 ) = P 6 fc^1 i=1 fci
= 709486734.^73. 64 = %9. 49 // F (C 2 ) = P 6 fc^2 i=1 fci
F (C 3 ) = P 6 fc^3 i=1 fci = 1614570948 ..^4964 = %22. 76 // F (C 4 ) = P 6 fc^4 i=1 fci
F (C 5 ) = P 6 fc^5 i=1 fci
= 491370948.^545. 64 = %6. 93 // F (C 6 ) = P 6 fc^6 i=1 fci
Chromosome 9.49%
Chromosome
14.91%
Chromosome
Chromosome
Chromosome
6.93% (^) Chromosome
Figure 1: Fitness Values
Q2. Maximize f (x) = x^1.^25 + 1. 42 x where 0 < x < 10. Employ 8 chromosomes and perform 2 iterations only.
Table 2: Ranking
Table 8: Mutation