ceres-solver
« Back to VersTracker
Description:
C++ library for large-scale optimization
Type: Formula  |  Latest Version: 2.2.0@5  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: optimization c++ mathematics numerical-analysis computer-vision
Install: brew install ceres-solver
About:
Ceres Solver is a powerful C++ library designed for modeling and solving large-scale complex optimization problems. It provides a rich set of features including automatic differentiation, robust loss functions, and various linear solvers. This makes it an essential tool for tasks requiring high-performance numerical computation and non-linear least squares solving.
Key Features:
  • Automatic differentiation for complex models
  • Robust loss functions for outlier rejection
  • Support for sparse and dense linear solvers
  • Flexible problem modeling API
Use Cases:
  • Structure from Motion (SfM) and 3D reconstruction
  • Simultaneous Localization and Mapping (SLAM)
  • Non-linear data fitting and regression analysis
Alternatives:
  • g2o – g2o is specialized for graph optimization (SLAM), whereas Ceres is a more general-purpose non-linear least squares solver.
  • SciPy (least_squares) – SciPy is Python-based and easier to use for smaller datasets, but Ceres offers superior performance for large-scale C++ applications.
License: BSD-3-Clause
Dependencies: eigen, gflags, glog, metis, openblas, suite-sparse, tbb
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Dec 8, 2025 8:49am 5 VERSION_BUMP 7b3c8583
Oct 5, 2025 12:13am 2 VERSION_BUMP 4102879c
Sep 12, 2025 8:31am 1 VERSION_BUMP 1053332c