Professional Documents
Culture Documents
Unit 2 - Week 1: Assignment 1
Unit 2 - Week 1: Assignment 1
reviewer1@nptel.iitm.ac.in ▼
Unit 2 - Week 1
Lecture 6: Binary-
Coded Genetic
Algorithm (BCGA)
Contd.
Week 1 : Lecture
Material
Quiz : Assignment 1
Solution:
Assignment 1
Week 2
−0.55
Week 3 (a) ; 2.83
{ 0.83 }
Week 4
0.55
Week 5 (b) ; 6.50
{ −0.83 }
Week 6
;3.50
−0.22
(c)
Week 7 { 0.95 }
Week 8 0.22
(d) ; 4.57
{ −0.95 }
DOWNLOAD VIDEOS
No, the answer is incorrect.
Score: 0
Accepted Answers:
−0.55
(a) ; 2.83
{ 0.83 }
3)To minimize y = f(x1,x2) = x12 + x22 - x1x2 - x1 + x2 in the range of -10.0≤ 0 points
x1,x2 ≤10.0 using Random walk method, let us start with the initial solution.
https://onlinecourses.nptel.ac.in/noc18_me17/unit?unit=5&assessment=72 1/5
21/05/2018 Traditional and Non-Traditional Optimization Tools - - Unit 2 - Week 1
0
.In the first iteration, search direction and optimal step length are
x1
X1 = =
[x ] [ 0]
2
found to be as follows:
−1
(a) S 1 = ; λ = 1/4
1
∗
{ 1 }
1
(b) S1 = ; λ = 1/3
1
∗
{ −1 }
−1
(c) S1 = ; λ = 1/2
1
∗
{ −1 }
1
(d) S1 =
∗
; λ = 1/5
1
{ 1}
{ −1 }
Let us also assume that their fitness values are nothing but their decoded values. Using Roulette-
Wheel selection, their probability values of being selected in the mating pool are found to be as
follows:
(a) 0.4,0.3, 0.1, 0.2
(b) 0.35, 0.25, 0.18, 0.22
(c) 0.18, 0.35, 0.22, 0.25
(d) 0.36, 0.15, 0.33, 0.16
https://onlinecourses.nptel.ac.in/noc18_me17/unit?unit=5&assessment=72 2/5
21/05/2018 Traditional and Non-Traditional Optimization Tools - - Unit 2 - Week 1
Let us also assume that their fitness values are nothing but their decoded values
(refer to Q5). Using ranking selection, their probability values of being selected in the mating
pool are found to be as follows:
(a) 0.1, 0.2, 0.3, 0.4
(b) 0.2, 0.4, 0.1, 0.3
(c) 0.4, 0.1, 0.3, 0.2
(d) 0.3, 0.4, 0.1, 0.2
(a) 1 0 1 0 1 0 1 0 1 1 1 1 0 1
01110001101010
(b) 01110001101010
10101010111101
(c) 0 1 1 1 0 0 1 0 1 1 1 1 0 1
10101001101010
https://onlinecourses.nptel.ac.in/noc18_me17/unit?unit=5&assessment=72 3/5
21/05/2018 Traditional and Non-Traditional Optimization Tools - - Unit 2 - Week 1
(d) 0 1 1 1 0 0 1 0 1 0 1 0 1 0
10101001111101
No, the answer is incorrect.
Score: 0
Accepted Answers:
(c) 0 1 1 1 0 0 1 0 1 1 1 1 0 1
10101001101010
9) In a string of binary-coded genetic algorithm, 10 bits are used to represent a real 1 point
variable varying in the range of (1.0, 20.0). The real value corresponding to the binary string: 1 0
1 0 1 0 1 0 1 0 is calculated as follows:
(a) 15.64
(b) 17.84
(c) 12.66
(d) 13.67
10)Let us suppose that the following two parents are participating in uniform crossover: 1 point
Let us also assume that the 2nd, 4th, 6th and 8th bit-positions counting from the left-most bit have
been selected for this crossover.
Children solutions are found to be as follows:
(a) 1111000001
1010101010
(b) 0001111000
1111100100
(c) 1111100010
0000101101
(d) 1010101001
0101100110
0000101101
https://onlinecourses.nptel.ac.in/noc18_me17/unit?unit=5&assessment=72 4/5
21/05/2018 Traditional and Non-Traditional Optimization Tools - - Unit 2 - Week 1
Powered by
https://onlinecourses.nptel.ac.in/noc18_me17/unit?unit=5&assessment=72 5/5