lbfgsb3c: Limited Memory BFGS Minimizer with Bounds on Parameters with optim() 'C' Interface

Interfacing to Nocedal et al. L-BFGS-B.3.0 (See <>) limited memory BFGS minimizer with bounds on parameters. This is a fork of 'lbfgsb3'. This registers a 'R' compatible 'C' interface to L-BFGS-B.3.0 that uses the same function types and optimization as the optim() function (see writing 'R' extensions and source for details). This package also adds more stopping criteria as well as allowing the adjustment of more tolerances.

Version: 2024-3.4
Depends: R (≥ 3.6)
Imports: Rcpp (≥ 0.12.3), numDeriv, methods
LinkingTo: Rcpp (≥ 0.12.3), RcppArmadillo
Suggests: knitr, microbenchmark, optimx, pkgbuild, RcppArmadillo, rmarkdown, testthat (≥ 3.0.0), adagio
Published: 2024-04-04
DOI: 10.32614/CRAN.package.lbfgsb3c
Author: Matthew L Fidler ORCID iD [aut, cre], John C Nash [aut], Ciyou Zhu [aut], Richard Byrd [aut], Jorge Nocedal [aut], Jose Luis Morales [aut]
Maintainer: Matthew L Fidler <matthew.fidler at>
License: GPL-2
NeedsCompilation: yes
Materials: README NEWS
In views: Optimization
CRAN checks: lbfgsb3c results


Reference manual: lbfgsb3c.pdf
Vignettes: lbfgsb3c-nocompile


Package source: lbfgsb3c_2024-3.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): lbfgsb3c_2024-3.4.tgz, r-oldrel (arm64): lbfgsb3c_2024-3.4.tgz, r-release (x86_64): lbfgsb3c_2024-3.4.tgz, r-oldrel (x86_64): lbfgsb3c_2024-3.4.tgz
Old sources: lbfgsb3c archive

Reverse dependencies:

Reverse imports: calibrar, causalOT, glinvci, nlmixr2est, optimizeR, tseriesTARMA
Reverse linking to: nlmixr2est
Reverse suggests: blackbox, metafor, optimParallel, optimx, psqn, ROI.plugin.optimx


Please use the canonical form to link to this page.