liblbfgs
« Back to VersTracker
Description:
C library for limited-memory BFGS optimization algorithm
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Other
Tags: optimization c-library numerical algorithm math
Install: brew install liblbfgs
About:
Liblbfgs is a C library implementing the Limited-memory Broyden-Fletcher-Goldfarb-Shanno (L-BFGS) algorithm, a widely used method for unconstrained optimization. It provides an efficient solution for problems with large numbers of variables where the full Hessian matrix is too expensive to compute and store. The library is designed to be fast, portable, and easy to integrate into other C/C++ projects.
Key Features:
  • High-performance L-BFGS implementation
  • No external dependencies beyond standard C libraries
  • Simple and clean API for easy integration
  • Portable across various platforms
Use Cases:
  • Machine learning model training (e.g., logistic regression)
  • Numerical optimization in scientific computing
  • Parameter estimation in statistical models
Alternatives:
  • NLopt – NLopt is a more comprehensive library with a wider variety of optimization algorithms, but Liblbfgs is more lightweight and focused specifically on L-BFGS.
  • GNU Scientific Library (GSL) – GSL is a massive numerical library that includes minimizers; Liblbfgs is a much smaller, dedicated dependency for L-BFGS.
Version History
Detected Version Rev Change Commit
Sep 11, 2025 10:43am 0 VERSION_BUMP 1cbe0396