ceres: An Interface to 'Ceres Solver' for Non-Linear Least Squares and Optimization

Provides an interface to the 'Ceres Solver' C++ library <https://github.com/ceres-solver/ceres-solver>. 'Ceres Solver' is an open source library for modeling and solving large, complicated optimization problems. It can solve non-linear least squares problems with bounds constraints and general unconstrained optimization problems. It is a mature, feature rich and high-performance library that has been used in production at Google since 2010. Non-linear least squares problems with residuals written in R can be solved with ceres_nls(), with optional bounds and robust loss functions. The bundled library is built from source and can also be used from C++ through 'Rcpp', either with Rcpp::sourceCpp() or from other packages.

Version: 0.1.0
Imports: Rcpp, stats
LinkingTo: Rcpp, RcppEigen
Suggests: RcppEigen, testthat (≥ 3.0.0)
Published: 2026-11-27
DOI: 10.32614/CRAN.package.ceres (may not be active yet)
Author: Satyaprakash Nayak [aut, cre], Google Inc. [cph] (Ceres Solver, bundled in src/ceres-solver-2.2.0.tar.gz), Sameer Agarwal [ctb] (Ceres Solver), Keir Mierle [ctb] (Ceres Solver), The Ceres Solver authors [ctb] (Ceres Solver; see inst/COPYRIGHTS), The Abseil Authors [cph] (fixed_array.h and memory.h in Ceres Solver (Apache-2.0)), Sergiu Deitsch [cph] (FindMETIS.cmake in Ceres Solver (MIT)), Bogdan Cristea [cph] (iOS.cmake in Ceres Solver (BSD-3-Clause)), LTE Engineering Software [cph] (iOS.cmake in Ceres Solver (BSD-3-Clause)), Kitware, Inc. [cph] (iOS.cmake in Ceres Solver (BSD-3-Clause)), Insight Software Consortium [cph] (iOS.cmake in Ceres Solver (BSD-3-Clause)), Ken Martin, Will Schroeder and Bill Lorensen [cph] (FindTBB.cmake in Ceres Solver, from VTK (BSD-3-Clause))
Maintainer: Satyaprakash Nayak <satyaprakash.nayak at gmail.com>
License: GPL (≥ 3)
Copyright: See the file inst/COPYRIGHTS for the copyright holders and licenses of the bundled 'Ceres Solver' sources.
ceres copyright details
NeedsCompilation: yes
SystemRequirements: cmake (>= 3.16), GNU make
Materials: README
CRAN checks: ceres results

Documentation:

Reference manual: ceres.html , ceres.pdf

Downloads:

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

Linking:

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