Skip to content

Modern C++ port of the Limited-memory BFGS (L-BFGS) optimization algorithm

Notifications You must be signed in to change notification settings

foolnotion/lbfgs

Repository files navigation

LBFGS

This repository contains a C++20 port of the Limited-memory BFGS implementation from LBFGS-Lite, with a number of usability improvements:

Limitations

  • no step bounds
  • no progress report
  • no cancellation

These will be addressed in the future.

Usage example

The user must define a functor which computes the function and its gradient. Please have a look at https://github.com/foolnotion/lbfgs/blob/main/test/source/lbfgs_test.cpp

About

Modern C++ port of the Limited-memory BFGS (L-BFGS) optimization algorithm

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published