R-package ppso: Particle Swarm Optimization and Dynamically Dimensioned Search, optionally using parallel computing based on Rmpi
This is a replacement of the repository formerly maintained at http://rforge.net/ppso/ (version 0.9994)
(Optionally parallelized) optimization using PSO (Particle Swarm Optimzation) or DDS (Dynamically Dimensioned Search) algorithms, which excel for multidimensional (i.e. multi-parameter) functions with many local extrema and a restricted number of function evaluations. The parallelized version builds on Rmpi and is intended for highly computationally intensive objective functions (>20 s evaluation time). Another focus of this package is the possibility to resume interrupted optimization runs from the intermediate project files. These features make this package useful for the automatic calibration of complex numerical models (e.g. hydrological models).
For bug fixes, comments or further development please open an issue here at github.
- start R
- run these commands:
basic functionality: no further dependencies; optionally R-packages
lhs (improved initialization of starting values)
for installation only
- system libraries for
devtoolsin debian, install using:
apt-get update && apt-get install libssl-dev;
In Windows, this requires RTools, which will be installed along.
in parallel mode (for computationally-demanding functions, e.g. model calibration)
Rmpi(may inquire further system installations, please check the Rmpi pages.