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.

Package details

AuthorSatyaprakash 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))
MaintainerSatyaprakash Nayak <satyaprakash.nayak@gmail.com>
LicenseGPL (>= 3)
Version0.1.0
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("ceres")

Try the ceres package in your browser

Any scripts or data that you put into this service are public.

ceres documentation built on Nov. 28, 2026, 1:07 a.m.