How to set multiple starting values in constrOptim()
Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Puzzle4
--
Chapters
00:00 Question
03:01 Accepted answer (Score 0)
03:31 Thank you
--
Full question
https://stackoverflow.com/questions/1527...
Accepted answer links:
http://cran.r-project.org/web/packages/R...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #r #statistics #mathematicaloptimization #stata
#avk47
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Puzzle4
--
Chapters
00:00 Question
03:01 Accepted answer (Score 0)
03:31 Thank you
--
Full question
https://stackoverflow.com/questions/1527...
Accepted answer links:
http://cran.r-project.org/web/packages/R...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #r #statistics #mathematicaloptimization #stata
#avk47
ACCEPTED ANSWER
Score 0
I came across a function in R which does exactly what I was looking for. The package ‘Rsolnp’ has the function "gosolnp" which is described to perform Random Initialization and Multiple Restarts of the solnp solver.
It is quite efficient and the documentation provides examples on how to use it.
More: http://cran.r-project.org/web/packages/Rsolnp/Rsolnp.pdf