ucminfcpp: 'C++' Reimplementation of the 'ucminf' Unconstrained Nonlinear Optimizer

A modern 'C++17/ reimplementation of the 'UCMINF/ algorithm for unconstrained nonlinear optimization (Nielsen and Mortensen, 2011, <doi:10.32614/CRAN.package.ucminf>), offering full API compatibility with the original 'ucminf' R package but developed independently. The optimizer core has been rewritten in 'C' with a modern header-only 'C++17' interface, zero-allocation line search, and an 'Rcpp' interface. The goal is numerical equivalence with improved performance, reproducibility, and extensibility. Includes extensive test coverage, performance regression tests, and compatibility checks against 'ucminf'. This package is not affiliated with the original maintainers but acknowledges their authorship of the algorithm and the original R interface.

Version: 1.0.0
Depends: R (≥ 3.5.0)
Imports: Rcpp
LinkingTo: Rcpp (≥ 1.1.0)
Suggests: testthat (≥ 3.0.0), ucminf, microbenchmark
Published: 2026-04-22
DOI: 10.32614/CRAN.package.ucminfcpp (may not be active yet)
Author: Angel Luis Robles Fernández [aut, cre], Hans Bruun Nielsen [cph] (Original 'UCMINF' algorithm ('Fortran')), Rex Brown [ctb] (Contributor to original R package 'ucminf'), K Hervé Dakpo [ctb] (Contributor to original R package 'ucminf')
Maintainer: Angel Luis Robles Fernández <a.l.robles.fernandez at gmail.com>
BugReports: https://github.com/alrobles/ucminfcpp/issues
License: GPL (≥ 3)
URL: https://github.com/alrobles/ucminfcpp, https://alrobles.github.io/ucminfcpp/
NeedsCompilation: yes
Materials: README
CRAN checks: ucminfcpp results

Documentation:

Reference manual: ucminfcpp.html , ucminfcpp.pdf

Downloads:

Package source: ucminfcpp_1.0.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): ucminfcpp_1.0.0.tgz, r-oldrel (arm64): not available, r-release (x86_64): ucminfcpp_1.0.0.tgz, r-oldrel (x86_64): ucminfcpp_1.0.0.tgz

Linking:

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