Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/do016265/public_html/wp-includes/Requests/Cookie/Jar.php on line 63

Deprecated: Return type of Requests_Cookie_Jar::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/do016265/public_html/wp-includes/Requests/Cookie/Jar.php on line 73

Deprecated: Return type of Requests_Cookie_Jar::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/do016265/public_html/wp-includes/Requests/Cookie/Jar.php on line 89

Deprecated: Return type of Requests_Cookie_Jar::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/do016265/public_html/wp-includes/Requests/Cookie/Jar.php on line 102

Deprecated: Return type of Requests_Cookie_Jar::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/do016265/public_html/wp-includes/Requests/Cookie/Jar.php on line 111

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/do016265/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/do016265/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/do016265/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/do016265/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/do016265/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91

Warning: Cannot modify header information - headers already sent by (output started at /home/do016265/public_html/wp-includes/Requests/Cookie/Jar.php:15) in /home/do016265/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1752

Warning: Cannot modify header information - headers already sent by (output started at /home/do016265/public_html/wp-includes/Requests/Cookie/Jar.php:15) in /home/do016265/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1752

Warning: Cannot modify header information - headers already sent by (output started at /home/do016265/public_html/wp-includes/Requests/Cookie/Jar.php:15) in /home/do016265/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1752

Warning: Cannot modify header information - headers already sent by (output started at /home/do016265/public_html/wp-includes/Requests/Cookie/Jar.php:15) in /home/do016265/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1752

Warning: Cannot modify header information - headers already sent by (output started at /home/do016265/public_html/wp-includes/Requests/Cookie/Jar.php:15) in /home/do016265/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1752

Warning: Cannot modify header information - headers already sent by (output started at /home/do016265/public_html/wp-includes/Requests/Cookie/Jar.php:15) in /home/do016265/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1752

Warning: Cannot modify header information - headers already sent by (output started at /home/do016265/public_html/wp-includes/Requests/Cookie/Jar.php:15) in /home/do016265/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1752

Warning: Cannot modify header information - headers already sent by (output started at /home/do016265/public_html/wp-includes/Requests/Cookie/Jar.php:15) in /home/do016265/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1752
{"id":102,"date":"2023-03-24T15:16:03","date_gmt":"2023-03-24T15:16:03","guid":{"rendered":"https:\/\/do016265.webs.act.reading.ac.uk\/?page_id=102"},"modified":"2023-03-28T10:43:49","modified_gmt":"2023-03-28T10:43:49","slug":"particle-swarm-optimization-pso","status":"publish","type":"page","link":"https:\/\/do016265.webs.act.reading.ac.uk\/index.php\/particle-swarm-optimization-pso\/","title":{"rendered":"Particle Swarm Optimization (PSO)"},"content":{"rendered":"

What is Particle swarm optimization?<\/h3>\n

Particle swarm optimization (PSO), which was first introduced by Kennedy and Eberhart in 1995, is a bio-inspired algorithm that mimics the social behaviour of a flock of birds or a school of fish. It is used to search for an optimal solution from a set of possible soloutions. <\/p>\n

This algorithm has been used to solve a wide range of optimization problems in many fields, such as engineering, economics, and machine learning. It is effective in solving problems that are difficult or impossible to solve with simple traditional techniques.<\/p>\n

How Particle Swarm Optimization works?<\/h3>\n

In summary, the algorithm operates by creating a swarm of particles, in which each represnt a possible soloution to an optimzation problem <\/p>\n

These particles move around a search space, adjusting their position according to their own data (personal best) and the knowlege feeback from neighboring particles.<\/p>\n

Every particle would have their own position vector, which determines the current soloution candidate, and velocity vector, that represents the direction and magnitude of the particles movement. <\/p>\n

Each particles position and velocity are updated based on its own optimum solution and the best solution of the swarm.<\/p>\n

The algorithm starts by initializing a swarm of particles with random positions and velocities in the search space. Then, the particles move in the search space iteratively.<\/p>\n

At each iteration, the position and velocity of each particle are updated based on the following equations:<\/p>\n