1. Question 1 (2 Marks) Given the following information in Figure 1, calculate and draw the new position of Particle A.
-
- Posts: 43759
- Joined: Sat Aug 07, 2021 7:38 am
1. Question 1 (2 Marks) Given the following information in Figure 1, calculate and draw the new position of Particle A.
Question 1 (2 Marks) Given the following information in Figure 1, calculate and draw the new position of Particle A. Po for time, t + 1. (10 marks) Random value=0.35 C₁=2.0 C₂ 2.0 Pbest =(4, 5) Gbest= = (7,2) P₁=(5, 4) Py=(3, 1) *to simplify, use this value for all rand() Figure 1: PSO Parameters 2. Question 2 Using PSO and following information Minimize f(x)= 1+ 2x-x^2. (3 Marks) • Let our Control parameters be • W=0.70; C₂ = 0.20; C₂ = 0.60; n = 5 (Five Swarm Particles) E = 4 iterations (for simplicity) • Random numbers used for updating Velocity of particles be: r₁ = [ 0.4657, 0.8956, 0.3877, 0.4902, 0.5039] (each one corresponding each particle) r₂ = [ 0.5319, 0.8185, 0.8331, 0.7677, 0.1708]
1.