optimx
2025-4.9Expanded Replacement and Extension of the 'optim' Function
Overview
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.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 37includes a package overview page
- Examples that run
- 97%33 run in a plain check · 1 hold no code
- Exported functions with examples
- 94%
- Documented parameters
- 93%
- Return-value docs
- 100%
- Help pages citing references
- 32%
- Adding pracmanm to optimr() in package optimx PDF
- Explaining Gradient Minimizers in R PDF
- Intro to optimx PDF
- Rvmmin - an R implementation of the Fletcher(1970) variable metric method with bounds and masks PDF
- SNewton: safeguarded Newton methods for function minimization PDF
- Using and extending the optimx package PDF
Downloads
Repository
- PRs merged (all time)
- 33%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 44
Stars over time
Forks over time
Issues over time
PRs over time
Checks run against github.com/nashjc/optimx on 2026-10-11.
No development-tooling practices detected in the upstream repository.
Dependencies
Installing optimx adds 3 packages (1 with compiled code, 2.6 MB of source tarballs). Heaviest: nloptr 2.1 MB, pracma 389 KB, numDeriv 74 KB.
Show the 48 most downloaded dependentsHide the 48 most downloaded dependents
and 16 more dependents and 23 packages that suggest it on CRAN ↗
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 2025-4.9Latest
- 2024-12.2
- RR 4.4.0 released · 2024-04-24
- 2023-10.212023-10-24 · diff ↗
- 2023-8.132023-08-14 · diff ↗ ·
removed 1 export
snewtonmadded 5 exports
checkallsolvers, grpracma, ncg, nvm, snewtm - RR 4.3.0 released · 2023-04-21
- 2022-4.302022-05-10 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 2021-10.122021-10-13 · diff ↗
- 2021-6.122021-06-13 · diff ↗
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 2020-4.22020-04-08 · diff ↗
- 2020-2.22020-02-07 · diff ↗
Show 26 earlier eventsHide 26 earlier events
- 2020-1.312020-02-01 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 2018-7.102018-09-30 · diff ↗ ·
added 35 exports
axsearch, bmchk, bmstep, checksolver, ctrldefault, dispdefault, fnchk, gHgen, gHgenb, grback, grcentral, grchk, grfwd, grnd, hesschk, hjn, kktchk, multistart, optimr, opm, optchk, optsp, polyopt, proptimr, Rcgmin, Rcgminu, Rcgminb, tn, tnbc, Rvmmin and 5 more - RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- 2014.5.42014-05-05 · diff ↗
- 2013.8.72014-11-13 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 2013.8.6.12013-08-09 · diff ↗
- 2013.8.6
- RR 3.0.0 released · 2013-04-03
- 2012.04.012012-04-22 · diff ↗
- 2012-3.312012-03-31 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 2011-8.22012-02-20 · diff ↗
- RR 2.14.0 released · 2011-10-31
- 2011-8.12011-08-21 · diff ↗
- 2011-2.292011-07-29 · diff ↗
- RR 2.13.0 released · 2011-04-13
- 2011-2.272011-03-01 · diff ↗
- 0.882010-10-23 · diff ↗
- RR 2.12.0 released · 2010-10-15
- 0.842010-08-02
- RR 2.11.0 released · 2010-04-22
Package metadata
- First published
- 2010-08-02
- Total releases
- 23 / 16 yrs
- License
- GPL-2 OSI
- Download size
- 2.2 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("optimx")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.18637/jss.v043.i09, 10.18637/jss.v060.i02.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.