{"id":16896923,"url":"https://github.com/relf/slsqp","last_synced_at":"2026-01-18T00:51:19.267Z","repository":{"id":199856053,"uuid":"598536255","full_name":"relf/slsqp","owner":"relf","description":"SLSQP optimizer for Rust","archived":false,"fork":false,"pushed_at":"2024-04-02T19:12:37.000Z","size":242,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-01T08:47:26.498Z","etag":null,"topics":["constrained-optimization","gradient-based-optimisation"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/relf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-02-07T10:09:31.000Z","updated_at":"2025-01-24T14:38:28.000Z","dependencies_parsed_at":"2023-10-13T00:32:57.751Z","dependency_job_id":"12863f89-15c3-41ff-b521-45cb9ab69001","html_url":"https://github.com/relf/slsqp","commit_stats":null,"previous_names":["relf/slsqp"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relf%2Fslsqp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relf%2Fslsqp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relf%2Fslsqp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relf%2Fslsqp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/relf","download_url":"https://codeload.github.com/relf/slsqp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244198405,"owners_count":20414443,"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":["constrained-optimization","gradient-based-optimisation"],"created_at":"2024-10-13T17:34:05.651Z","updated_at":"2026-01-18T00:51:19.223Z","avatar_url":"https://github.com/relf.png","language":"Rust","readme":"# slsqp - a pure Rust implementation\n\n[![tests](https://github.com/relf/slsqp/actions/workflows/tests.yml/badge.svg)](https://github.com/relf/slsqp/actions/workflows/tests.yml)\n[![crates.io](https://img.shields.io/crates/v/slsqp)](https://crates.io/crates/slsqp)\n[![docs](https://docs.rs/slsqp/badge.svg)](https://docs.rs/slsqp)\n\nSLSQP is a sequential quadratic programming algorithm for nonlinearly constrained gradient-based optimization based on the implementation by Dieter Kraft and described in:\n\n  \u003e Dieter Kraft, \"A software package for sequential quadratic programming\", Technical Report DFVLR-FB 88-28, Institut für Dynamik der Flugsysteme, Oberpfaffenhofen, July 1988.\n  \u003e Dieter Kraft, \"Algorithm 733: TOMP–Fortran modules for optimal control calculations,\" ACM Transactions on Mathematical Software, vol. 20, no. 3, pp. 262-281 (1994).\n\nThe Rust code was generated/adapted from the C code from the [NLopt](https://github.com/stevengj/nlopt) project (version 2.7.1).\nThe algorithme is available here as a `minimize` function.\nAn initial transpilation was done with [c2rust](https://github.com/immunant/c2rust) then the code was manually edited to make it work. The callback mechanism is inspired from the Rust binding of NLopt, namely [rust-nlopt](https://github.com/adwhit/rust-nlopt).\n\n## Example\n\n```bash\ncargo run --example paraboloid\n```\n\n## Related projects\n\n* [rust-nlopt](https://github.com/adwhit/rust-nlopt): the Rust binding of the [NLopt project](https://nlopt.readthedocs.io)\n* [cobyla](https://github.com/relf/cobyla): a pure Rust implementation of the COBYLA algorithm.\n\n## License\n\nThe project is released under MIT License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frelf%2Fslsqp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frelf%2Fslsqp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frelf%2Fslsqp/lists"}