{"id":24974408,"url":"https://github.com/arahall/optimise","last_synced_at":"2025-03-29T06:45:05.236Z","repository":{"id":275462074,"uuid":"924523187","full_name":"arahall/optimise","owner":"arahall","description":"c++ implemenatation of l-bfgs-b","archived":false,"fork":false,"pushed_at":"2025-03-07T06:45:48.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-07T07:29:53.790Z","etag":null,"topics":["cpp","lbfgsb","optimisation"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arahall.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-01-30T06:54:21.000Z","updated_at":"2025-03-07T06:45:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"8c2ac1d1-55c7-4fc2-a2d6-a130c04c8272","html_url":"https://github.com/arahall/optimise","commit_stats":null,"previous_names":["arahall/optimise"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arahall%2Foptimise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arahall%2Foptimise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arahall%2Foptimise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arahall%2Foptimise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arahall","download_url":"https://codeload.github.com/arahall/optimise/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246150413,"owners_count":20731419,"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":["cpp","lbfgsb","optimisation"],"created_at":"2025-02-03T20:03:59.313Z","updated_at":"2025-03-29T06:45:05.230Z","avatar_url":"https://github.com/arahall.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"this is a pure C++ implementation of the LBFGSB algorithm. The code uses [EIGEN](https://eigen.tuxfamily.org/index.php?title=Main_Page) for matrix and vector\noperations but if this is not available then a home-rolled matrix library is used. To use EIGEN specify\nthe USING_EIGEN in the pre-processor options. \n\nIt has been tested with a wide range of standard optimser tests e.g. rosenbrock, matyas, rastrigin, beale etc\n\nSeparately, the code can be called from python using the ctypes library. this requires a DLL wrapper in windows \nto marshall the data and callback between python and the optimisation module. It has been compared to the scipy minimise \nimplementation of LBFGSB and for most large problems it outperforms scipy sometimes by a factor of 2. \n\ni've also used the code to calibrate a Hawkes process (3 paramters, 500 observattions) by minimising the log likelihood function and compared\nthe run time with scipy. for this problem scipy seems to be about 40% faster.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farahall%2Foptimise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farahall%2Foptimise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farahall%2Foptimise/lists"}