Skip to content

0.1.0

Compare
Choose a tag to compare
@relf relf released this 13 Oct 13:01
· 6 commits to main since this release
e6063dc

SLSQP optimizer in Rust (SLSQP stands for Sequential Least SQuares Programming).
SLSQP Rust code was generated from NLopt 2.7.1 SLSQP C code thanks to c2rust transpiler then manually edited to make it work.

The algorithms is available as a minimize function. Be aware that not all options of the NLopt version are handled. Currently slsqp manages 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.
See documentation for further details.