{"id":17113096,"url":"https://github.com/emmt/c-lbfgsb","last_synced_at":"2026-01-05T05:39:58.283Z","repository":{"id":71510210,"uuid":"377753187","full_name":"emmt/c-lbfgsb","owner":"emmt","description":"A C wrapper for the L-BFGS-B algorithm","archived":false,"fork":false,"pushed_at":"2022-03-16T10:37:28.000Z","size":362,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T06:49:11.043Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Fortran","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emmt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"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":"2021-06-17T08:07:17.000Z","updated_at":"2022-03-16T10:37:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"f794ec9d-09f4-4abf-804e-a033f3284571","html_url":"https://github.com/emmt/c-lbfgsb","commit_stats":{"total_commits":20,"total_committers":1,"mean_commits":20.0,"dds":0.0,"last_synced_commit":"ee7b5ce3e251e484faaedaff935799f6806aec59"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmt%2Fc-lbfgsb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmt%2Fc-lbfgsb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmt%2Fc-lbfgsb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmt%2Fc-lbfgsb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emmt","download_url":"https://codeload.github.com/emmt/c-lbfgsb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245186924,"owners_count":20574553,"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","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":[],"created_at":"2024-10-14T17:03:01.865Z","updated_at":"2026-01-05T05:39:58.215Z","avatar_url":"https://github.com/emmt.png","language":"Fortran","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wrappers for the L-BFGS-B algorithm\n\nThis repository provides thin C and [Yorick](http://github.com/LLNL/yorick/)\nwrappers for using L-BFGS-B algorithm by Ciyou Zhu, Richard Byrd, Jorge Nocedal\nand Jose Luis Morales.\n\nL-BFGS-B is a numerical method to minimize a multi-variate differentiable\nobjective function possibly under separable bound constraints.  The user is\nrequired to provide the bounds and an initial solution and to compute the\nobjective function and its gradient for each iterates generated by the\nalgorithm.  L-BFGS-B is a quasi-Newton method with low memory requirements\n(*\"L\"* is for *\"Limited memory\"*) and which can optionally take into account\nseparable bound constraints (the final \"*B*\") on the variables.  To determine\nefficient search directions, L-BFGS-B approximates the Hessian of the objective\nfunction by a a limited memory version of the\n[Broyden-Fletcher-Goldfarb-Shanno](https://en.wikipedia.org/wiki/Broyden%E2%80%93Fletcher%E2%80%93Goldfarb%E2%80%93Shanno_algorithm)\nmodel (*\"BFGS\"* for short).\n\n\n## Installation\n\n### To install the library\n\nGo to [`src`](./src) directory.  Edit `Makefile` to match your settings.\nThen build and install the library and header file:\n\n```sh\nmake\nmake install PREFIX=...\n```\n\nwhere `...` denotes a directory where to install things.  Compiled libraries\nare installed in `$PREFIX/lib` and header files are installed in\n`$PREFIX/include`.\n\nTo test the software:\n\n```sh\nmake check\n```\n\n\n### To install the Yorick plug-in\n\nFollow instructions in [yorick/README.md](yorick/README.md) file, it is not\nneeded to install the library first.\n\n\n## License(s)\n\nThe FORTRAN code of L-BFGS-B (version 3.0) by Ciyou Zhu, Richard Byrd, Jorge\nNocedal and Jose Luis Morales is in directory [`lbfgsb-3.0`](./lbfgsb-3.0].\nThis code has been released under the [“*New BSD\nLicense*”](./lbfgsb-3.0/License.txt) (aka “*Modified BSD License*” or\n“*3-clause license*”) and is freely available\n[hure](http://users.iems.northwestern.edu/~nocedal/lbfgsb.html).\n\nThe C and Yorick parts (in directories [`src`](./src) and [`yorick`](./yorick))\nare released under the [Simplified BSD 3-Clause License](./LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmt%2Fc-lbfgsb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femmt%2Fc-lbfgsb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmt%2Fc-lbfgsb/lists"}