Changes for version 2.006 - 2026-02-16

  • ParticleSwarm: fix: random factor regression in velocity update
    • Generate independent random factors per particle (D,P) instead of shared factors (D,1) to match Kennedy & Eberhart (1995) formulation
    • Fixes correlated swarm movement that reduced exploration diversity
  • Add velocity update test

Modules

Particle Swarm Optimization (object oriented)
An easy to use particle swarm optimizer
A simplex optimizer for the rest of us (who may not know PDL).