All Projects → gvegayon → ABCoptim

gvegayon / ABCoptim

Licence: Unknown, MIT licenses found Licenses found Unknown LICENSE MIT LICENSE.md
An implementation of the Artificial Bee Colony (ABC) Algorithm

Programming Languages

C++
36643 projects - #6 most used programming language
r
7636 projects
Makefile
30231 projects
shell
77523 projects

Projects that are alternatives of or similar to ABCoptim

WeightedTreemaps
Create Voronoi and Sunburst Treemaps from Hierarchical data
Stars: ✭ 33 (+26.92%)
Mutual labels:  rcpp, r-programming
RcppML
Rcpp Machine Learning: Fast robust NMF, divisive clustering, and more
Stars: ✭ 52 (+100%)
Mutual labels:  rcpp
rdoxygen
Create doxygen documentation for R package C++ code
Stars: ✭ 15 (-42.31%)
Mutual labels:  rcpp
colourvalues
R library for assigning colours to values
Stars: ✭ 41 (+57.69%)
Mutual labels:  rcpp
shapr
Explaining the output of machine learning models with more accurately estimated Shapley values
Stars: ✭ 95 (+265.38%)
Mutual labels:  rcpp
rcppgsl
Rcpp integration for GNU GSL vectors and matrices
Stars: ✭ 28 (+7.69%)
Mutual labels:  rcpp
inline
Inline C, C++ or Fortran functions in R
Stars: ✭ 33 (+26.92%)
Mutual labels:  rcpp
rcpp progress
RcppProgress R package: An interruptible progress bar with OpenMP support for c++ in R packages
Stars: ✭ 26 (+0%)
Mutual labels:  rcpp
joineRML
R package for fitting joint models to time-to-event data and multivariate longitudinal data
Stars: ✭ 24 (-7.69%)
Mutual labels:  rcpp
rcppredis
R interface to Redis using the hiredis library
Stars: ✭ 45 (+73.08%)
Mutual labels:  rcpp
rcppensmallen
Rcpp integration for the Ensmallen templated C++ mathematical optimization library
Stars: ✭ 28 (+7.69%)
Mutual labels:  rcpp
scanstatistics
An R package for space-time anomaly detection using scan statistics.
Stars: ✭ 41 (+57.69%)
Mutual labels:  rcpp
Badssl.com
🔒 Memorable site for testing clients against bad SSL configs.
Stars: ✭ 2,234 (+8492.31%)
Mutual labels:  rcpp
gmwm
Generalized Method of Wavelet Moments (GMWM) is an estimation technique for the parameters of time series models. It uses the wavelet variance in a moment matching approach that makes it particularly suitable for the estimation of certain state-space models.
Stars: ✭ 21 (-19.23%)
Mutual labels:  rcpp
sfheaders
Build sf objects from R and Rcpp
Stars: ✭ 70 (+169.23%)
Mutual labels:  rcpp
RcppNumerical
Rcpp Integration for Numerical Computing Libraries
Stars: ✭ 52 (+100%)
Mutual labels:  rcpp
bh
R package providing Boost Header files
Stars: ✭ 73 (+180.77%)
Mutual labels:  rcpp
rTRNG
R package providing access and examples to TRNG C++ library
Stars: ✭ 17 (-34.62%)
Mutual labels:  rcpp
textTinyR
Text Processing for Small or Big Data Files in R
Stars: ✭ 32 (+23.08%)
Mutual labels:  rcpp
r4strings
Handling Strings in R
Stars: ✭ 39 (+50%)
Mutual labels:  r-programming

CRAN status Downloads AppVeyor Build Status Travis-CI Build Status codecov DOI lifecycle

ABCoptim: An implementation of the Artificial Bee Colony (ABC) Algorithm

This is an implementation of Karaboga (2005) ABC optimization algorithm. It was developed upon the basic version programmed in C and distributed at the algorithm’s official website (see the references).

Any evident (precision) error should be blamed to the package author (not to the algorithm itself).

Example

library(ABCoptim)

# Function to optimize. Min at (pi,pi)
fun <- function(x) {
  -cos(x[1])*cos(x[2])*exp(-((x[1] - pi)^2 + (x[2] - pi)^2))
}

# Since it is stochastic, we need to set a seed to get the same
# results.
set.seed(123)

# Finding the minimum
ans <- abc_optim(rep(10,2), fun, lb=-20, ub=20, criter=200)
ans
## 
##  An object of class -abc_answer- (Artificial Bee Colony Optim.):
##  par:
##     x[1]:  3.141593
##     x[2]:  3.141593
## 
##  value:
##           -1.000000
## 
##  counts:
##            457
plot(ans)

References

D. Karaboga, An Idea based on Honey Bee Swarm for Numerical Optimization, tech. report TR06,Erciyes University, Engineering Faculty, Computer Engineering Department, 2005 http://mf.erciyes.edu.tr/abc/pub/tr06_2005.pdf

Artificial Bee Colony (ABC) Algorithm (website) http://mf.erciyes.edu.tr/abc/index.htm

Basic version of the algorithm implemented in ‘C’ (ABC’s official website) http://mf.erciyes.edu.tr/abc/form.aspx

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].