Optimizers
Off-the-shelf implementations of standard algorithms. Includes classics such as global-best and local-best. Useful for quick-and-easy optimization problems.
- pyswarms.single package
- pyswarms.single.global_best module
GlobalBestPSOGlobalBestPSO.__init__()GlobalBestPSO.n_particlesGlobalBestPSO.dimensionsGlobalBestPSO.optionsGlobalBestPSO.boundsGlobalBestPSO.oh_strategyGlobalBestPSO.bh_strategyGlobalBestPSO.velocity_clampGlobalBestPSO.vh_strategyGlobalBestPSO.centerGlobalBestPSO.ftolGlobalBestPSO.ftol_iterGlobalBestPSO.init_posGlobalBestPSO.optimize()
- pyswarms.single.local_best module
LocalBestPSOLocalBestPSO.__init__()LocalBestPSO.n_particlesLocalBestPSO.dimensionsLocalBestPSO.boundsLocalBestPSO.oh_strategyLocalBestPSO.bh_strategyLocalBestPSO.velocity_clampLocalBestPSO.vh_strategyLocalBestPSO.centerLocalBestPSO.ftolLocalBestPSO.ftol_iterLocalBestPSO.optionsLocalBestPSO.init_posLocalBestPSO.staticLocalBestPSO._abc_implLocalBestPSO.optimize()
- pyswarms.single.general_optimizer module
GeneralOptimizerPSOGeneralOptimizerPSO.__init__()GeneralOptimizerPSO.n_particlesGeneralOptimizerPSO.dimensionsGeneralOptimizerPSO.optionsGeneralOptimizerPSO.topologyGeneralOptimizerPSO.boundsGeneralOptimizerPSO.oh_strategyGeneralOptimizerPSO.bh_strategyGeneralOptimizerPSO.velocity_clampGeneralOptimizerPSO.vh_strategyGeneralOptimizerPSO.centerGeneralOptimizerPSO.ftolGeneralOptimizerPSO.ftol_iterGeneralOptimizerPSO.init_posGeneralOptimizerPSO._abc_implGeneralOptimizerPSO.optimize()
- pyswarms.single.global_best module
- pyswarms.discrete package