Description Usage Arguments Details Value Author(s)
This is the main function for calling the optimization routine.
1 2 3 |
ObjectiveFunction |
The objective function for optimization. |
Args |
Specifies the number of arguments provided by 'ObjectiveFunction'. |
Lower |
Vector for lower boundaries. |
Upper |
Vector for upper boundaries. |
n |
Number of searching particles. Default is '20'. |
g |
Number of best solutions stored. Default is '20'. |
Iterations |
Number of iterations. Default is '201'. |
User |
If 'TRUE' the variable 'Scale' can be set manually. Default is 'FALSE'. |
Scale |
Sets the particle radius. Default is '0.1'. |
Maximize |
The objective function will be maximized, if 'TRUE'. Default is 'FALSE'. |
'RcppGO' calls all 'R' subfunctions defined in 'RcppGO.Helper.R' and the algorithm written in 'C++'.
A list with the following parameters: - the evolution of the optimization process: 'GravityParticles' - the 'ObjectiveFunction' - a matrix with 'g' saved best solutions: 'GMemory' - the number of 'Iterations' - the number of searching particles: 'n' - the number of best solutions found: 'g' - the 'Lower' and 'Upper' bounds - the user provided values of 'Scale', 'User' and 'Maximize'
Peter Kehler
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.