A computational method for optimizing a problem by iteratively trying to improve a candidate solution with regard to a given measure of quality, inspired by the social behavior of bird flocking or fish schooling.
PSO can be used to optimize the design of an aircraft wing, by iteratively adjusting the shape and size of the wing to minimize drag and maximize lift, using a flock of birds as inspiration.