Parallelized optimization in R

后端 未结 4 1560
梦谈多话
梦谈多话 2021-02-12 12:24

I\'m running R on linux box that has 8 multicore processors, and have an optimization problem I\'d like to speed up by parallelizing the optimization routine itself. Importantly

4条回答
  •  -上瘾入骨i
    2021-02-12 13:02

    I am the author of the R package optimParallel. It provides parallel versions of the gradient-based optimization methods of optim(). The main function of the package is optimParallel(), which has the same usage and output as optim(). Using optimParallel() can significantly reduce optimization times as illustrated in the following figure (p is the number of paramters).

    See https://cran.r-project.org/package=optimParallel and http://arxiv.org/abs/1804.11058 for more information.

提交回复
热议问题