{"id":32637311,"url":"https://github.com/foolnotion/lbfgs","last_synced_at":"2025-10-31T01:56:03.053Z","repository":{"id":183309867,"uuid":"669852804","full_name":"foolnotion/lbfgs","owner":"foolnotion","description":"Modern C++ port of the Limited-memory BFGS (L-BFGS) optimization algorithm","archived":false,"fork":false,"pushed_at":"2025-04-06T10:35:56.000Z","size":42,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T11:27:32.002Z","etag":null,"topics":["cpp20","gradient-descent","lbfgs-algorithm"],"latest_commit_sha":null,"homepage":"https://github.com/foolnotion/lbfgs","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/foolnotion.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-23T16:33:02.000Z","updated_at":"2025-04-06T10:35:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"bcb7dd0a-c423-472b-b638-0e377f5c72a5","html_url":"https://github.com/foolnotion/lbfgs","commit_stats":null,"previous_names":["foolnotion/lbfgs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/foolnotion/lbfgs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foolnotion%2Flbfgs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foolnotion%2Flbfgs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foolnotion%2Flbfgs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foolnotion%2Flbfgs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foolnotion","download_url":"https://codeload.github.com/foolnotion/lbfgs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foolnotion%2Flbfgs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281914557,"owners_count":26583083,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-30T02:00:06.501Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp20","gradient-descent","lbfgs-algorithm"],"created_at":"2025-10-31T01:56:02.095Z","updated_at":"2025-10-31T01:56:03.039Z","avatar_url":"https://github.com/foolnotion.png","language":"C++","readme":"## LBFGS\n\nThis repository contains a C++20 port of the [Limited-memory BFGS](https://en.wikipedia.org/wiki/Limited-memory_BFGS) implementation from [LBFGS-Lite](https://github.com/ZJU-FAST-Lab/LBFGS-Lite), with a number of usability improvements:\n\n- error handling using the [outcome library](https://ned14.github.io/outcome/)\n- a simplified API similar to the [Eigen Levenberg-Marquardt module](https://eigen.tuxfamily.org/dox/unsupported/group__NonLinearOptimization__Module.html)\n- the ability to specify the scalar type (e.g. `float` or `double`)\n\n\n### Limitations\n\n- no step bounds\n- no progress report\n- no cancellation\n\nThese will be addressed in the future.\n\n\n### Usage example\n\nThe 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","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoolnotion%2Flbfgs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoolnotion%2Flbfgs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoolnotion%2Flbfgs/lists"}