项目作者: HuidaeCho

项目描述 :
Isolated-Speciation-based Particle Swarm Optimization
高级语言: R
项目地址: git://github.com/HuidaeCho/ispso.git
创建时间: 2017-08-05T11:02:48Z
项目社区:https://github.com/HuidaeCho/ispso

开源协议:GNU General Public License v3.0

下载


ISPSO

Isolated-Speciation-based Particle Swarm Optimization <https://idea.isnew.info/ispso.html>

ispso.R implements the Isolated-Speciation-based Particle Swarm Optimization algorithm published in Cho, Huidae, Kim, Dongkyun, Olivera, Francisco, Guikema, Seth D., 2011. Enhanced Speciation in Particle Swarm Optimization for Multi-Modal Problems. European Journal of Operational Research 213 (1), 15—23.

ISPSO is a multi-modal optimization algorithm that aims to discover global and local minima. This algorithm has successfully been used in stochastic rainfall generation, climate change, storm tracking, hydrology, and hydraulics studies.

Install fOptions from https://r-forge.r-project.org/:

  1. install.packages("fOptions", repos="https://r-forge.r-project.org/")

Griewank Function

  1. source("ispso.R")
  2. source("funcs.R")
  3. s <- list()
  4. s$f <- griewank
  5. s$D <- 2
  6. s$xmin <- rep(-14, s$D)
  7. s$xmax <- rep(14, s$D)
  8. s$S <- 10 + floor(2*sqrt(s$D))
  9. s$vmax <- (s$xmax-s$xmin)*0.1
  10. s$vmax0 <- diagonal(s)*0.001
  11. s$maxiter <- 2000
  12. s$xeps <- 0.001
  13. s$feps <- 0.0001
  14. s$rprey <- diagonal(s)*0.0001
  15. s$age <- 10
  16. s$rspecies <- diagonal(s)*0.1
  17. s$rnest <- diagonal(s)*0.01
  18. s$.plot_distance_to_solution <- 0.01
  19. ret <- ispso(s)

Finding global and local minima in the Griewank function

License

Copyright (C) 2008, Huidae Cho <https://idea.isnew.info>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses>.