Skip to content

Commit

Permalink
Prepare release 0.1.0 (#3)
Browse files Browse the repository at this point in the history
* Manage visibility, remove #[no_mangle]

* Bump 0.1.0

* Update changelog
  • Loading branch information
relf authored Oct 13, 2023
1 parent 4d9b5a5 commit acb7866
Show file tree
Hide file tree
Showing 3 changed files with 106 additions and 101 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,13 @@

## [Unreleased]

## [0.1.0] - 2023-10-13

SLSQP optimizer in Rust (SLSQP stands for Sequential Least SQuares Programming).
SLSQP Rust code was generated from [NLopt](https://github.com/stevengj/nlopt) 2.7.1 SLSQP C code thanks to [c2rust](https://github.com/immunant/c2rust) transpiler then manually edited to make it work.
SLSQP Rust code was generated from [NLopt](https://github.com/stevengj/nlopt) 2.7.1 SLSQP C code thanks
to [c2rust](https://github.com/immunant/c2rust) transpiler then manually edited to make it work.

The algorithms is available as a `minimize` function. See documentation for further details.
Currently `slsqp` handle `xinit`, `bounds`, `max_eval`, `ftol_rel`, `ftol_abs`, `xtol_rel`, `xtol_abs`
and only inequality contraints (like c <= 0).
Gradients of the objective function and constraints have to be provided by the user for the method to work.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
authors = ["Remi Lafage <[email protected]>"]
name = "slsqp"
version = "0.1.0-alpha.3"
version = "0.1.0"
edition = "2021"
license-file = "LICENSE.md"
description = "SLSQP optimizer for Rust"
Expand Down
Loading

0 comments on commit acb7866

Please sign in to comment.