optimx: Expanded Replacement and Extension of the 'optim' Function

Provides a replacement and extension of the optim() function to call to several function minimization codes in R in a single statement. These methods handle smooth, possibly box constrained functions of several or many parameters. Note that function 'optimr()' was prepared to simplify the incorporation of minimization codes going forward. Also implements some utility codes and some extra solvers, including safeguarded Newton methods. Many methods previously separate are now included here. This is the version for CRAN.

Version: 2024-12.2
Imports: numDeriv, nloptr, pracma
Suggests: knitr, rmarkdown, setRNG, BB, ucminf, minqa, dfoptim, lbfgsb3c, lbfgs, subplex, marqLevAlg, testthat (≥ 3.0.0), R.rsp
Published: 2024-12-10
DOI: 10.32614/CRAN.package.optimx
Author: John C Nash [aut, cre], Ravi Varadhan [aut], Hans W Borchers [ctb], Gabor Grothendieck [ctb]
Maintainer: John C Nash <profjcnash at gmail.com>
BugReports: https://github.com/nashjc/optimx/issues
License: GPL-2
URL: https://github.com/nashjc/optimx
NeedsCompilation: no
Citation: optimx citation info
Materials: README NEWS
In views: Optimization
CRAN checks: optimx results

Documentation:

Reference manual: optimx.pdf
Vignettes: Adding pracmanm to optimr() in package optimx (source)
Explaining Gradient Minimizers in R (source)
Using and extending the optimx package (source)
Intro to optimx (source)
Rvmmin - an R implementation of the Fletcher(1970) variable metric method with bounds and masks (source)
SNewton: safeguarded Newton methods for function minimization (source)

Downloads:

Package source: optimx_2024-12.2.tar.gz
Windows binaries: r-devel: optimx_2024-12.2.zip, r-release: optimx_2023-10.21.zip, r-oldrel: optimx_2024-12.2.zip
macOS binaries: r-release (arm64): optimx_2024-12.2.tgz, r-oldrel (arm64): optimx_2024-12.2.tgz, r-release (x86_64): optimx_2024-12.2.tgz, r-oldrel (x86_64): optimx_2024-12.2.tgz
Old sources: optimx archive

Reverse dependencies:

Reverse depends: BTYD, eirm, embryogrowth, macc, midasr, monmlp, parfm, phenology, sgt
Reverse imports: adana, aftsem, aldvmm, AlphaBeta, BayesLN, beezdemand, BTdecayLasso, calibrar, CatDyn, CensSpatial, CJAMP, CLVTools, Countr, curesurv, cxr, diffusion, ExtDist, EZtune, gear, geoBayes, glinvci, hero, hierSDR, hmmTMB, invGauss, ldhmm, LifeHist, marked, metabomxtr, mrds, mvord, netcom, nlmeVPC, PartCensReg, pdynmc, phenofit, PLmixed, psychonetrics, RAINBOWR, rankdist, REndo, reReg, ROI.plugin.optimx, SAMBA, scorematchingad, stopp, Surrogate, surrosurv, Synth, targeted, tipa, ubiquity, unitquantreg, WeibullFit, ZIPFA
Reverse suggests: ACDm, afex, bbmle, corncob, dimRed, Distance, heemod, languageR, lava, lbfgsb3c, lme4, LMMstar, mets, nlmrt, nlsr, projpred, qra, regsem, sirt, statespacer

Linking:

Please use the canonical form https://CRAN.R-project.org/package=optimx to link to this page.