{"id":20027413,"url":"https://github.com/huidaecho/ispso","last_synced_at":"2025-07-10T20:33:28.829Z","repository":{"id":138941532,"uuid":"99417621","full_name":"HuidaeCho/ispso","owner":"HuidaeCho","description":"Isolated-Speciation-based Particle Swarm Optimization","archived":false,"fork":false,"pushed_at":"2025-03-22T10:14:15.000Z","size":49153,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T15:49:51.143Z","etag":null,"topics":["algorithm","optimization","particle-swarm-optimization"],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HuidaeCho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-05T11:02:48.000Z","updated_at":"2025-03-22T10:14:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"f379c53c-8c63-47bd-8763-efa287ac7bbd","html_url":"https://github.com/HuidaeCho/ispso","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuidaeCho%2Fispso","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuidaeCho%2Fispso/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuidaeCho%2Fispso/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuidaeCho%2Fispso/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HuidaeCho","download_url":"https://codeload.github.com/HuidaeCho/ispso/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252427886,"owners_count":21746293,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm","optimization","particle-swarm-optimization"],"created_at":"2024-11-13T09:10:10.592Z","updated_at":"2025-05-05T02:31:31.813Z","avatar_url":"https://github.com/HuidaeCho.png","language":"R","readme":"# ISPSO\nIsolated-Speciation-based Particle Swarm Optimization \u003c\u003chttps://idea.isnew.info/ispso.html\u003e\u003e\n\nispso.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](http://www.sciencedirect.com/science/article/pii/S0377221711001810).\n\nISPSO 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.\n\nInstall `fOptions` from `https://r-forge.r-project.org/`:\n```R\ninstall.packages(\"fOptions\", repos=\"https://r-forge.r-project.org/\")\n```\n\n## Griewank Function\n\n```\nsource(\"ispso.R\")\nsource(\"funcs.R\")\n\ns \u003c- list()\ns$f \u003c- griewank\ns$D \u003c- 2\ns$xmin \u003c- rep(-14, s$D)\ns$xmax \u003c- rep(14, s$D)\ns$S \u003c- 10 + floor(2*sqrt(s$D))\ns$vmax \u003c- (s$xmax-s$xmin)*0.1\ns$vmax0 \u003c- diagonal(s)*0.001\ns$maxiter \u003c- 2000\ns$xeps \u003c- 0.001\ns$feps \u003c- 0.0001\ns$rprey \u003c- diagonal(s)*0.0001\ns$age \u003c- 10\ns$rspecies \u003c- diagonal(s)*0.1\ns$rnest \u003c- diagonal(s)*0.01\ns$.plot_distance_to_solution \u003c- 0.01\n\nret \u003c- ispso(s)\n```\n\n![Finding global and local minima in the Griewank function](griewank.gif \"Finding global and local minima in the Griewank function\")\n\n## License\n\nCopyright (C) 2008, Huidae Cho \u003c\u003chttps://idea.isnew.info\u003e\u003e\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see \u003c\u003chttp://www.gnu.org/licenses/\u003e\u003e.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuidaecho%2Fispso","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuidaecho%2Fispso","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuidaecho%2Fispso/lists"}