optimParallel: An R Package Providing a Parallel Version of the L-BFGS-B Optimization Method

Abstract:

The R package optimParallel provides a parallel version of the L-BFGS-B optimization method of optim(). The main function of the package is optimParallel(), which has the same usage and output as optim(). Using optimParallel() can significantly reduce the optimization time, especially when the evaluation time of the objective function is large and no analytical gradient is available. We introduce the R package and illustrate its implementation, which takes advantage of the lexical scoping mechanism of R.

Cite PDF Tweet

Authors

Affiliations

Florian Gerber

 

Reinhard Furrer

 

Published

Aug. 16, 2019

Received

May 29, 2018

DOI

10.32614/RJ-2019-030

Volume

Pages

11/1

352 - 358

Supplementary materials

Supplementary materials are available in addition to this article. It can be downloaded at RJ-2019-030.zip

CRAN packages used

lbfgsb3, lbfgsb3c, optimParallel, testthat, microbenchmark

CRAN Task Views implied by cited packages

Optimization

Footnotes

    Reuse

    Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

    Citation

    For attribution, please cite this work as

    Gerber & Furrer, "The R Journal: optimParallel: An R Package Providing a Parallel Version of the L-BFGS-B Optimization Method", The R Journal, 2019

    BibTeX citation

    @article{RJ-2019-030,
      author = {Gerber, Florian and Furrer, Reinhard},
      title = {The R Journal: optimParallel: An R Package Providing a Parallel Version of the L-BFGS-B Optimization Method},
      journal = {The R Journal},
      year = {2019},
      note = {https://doi.org/10.32614/RJ-2019-030},
      doi = {10.32614/RJ-2019-030},
      volume = {11},
      issue = {1},
      issn = {2073-4859},
      pages = {352-358}
    }