Skip to content

Releases: relf/cobyla

0.6.0

22 Apr 15:01
Compare
Choose a tag to compare

What's Changed

  • Upgrade dependency argmin 0.10 by @relf in #17

Full Changelog: 0.5.1...0.6.0

0.5.1

25 Oct 07:43
Compare
Choose a tag to compare
  • Fix default constraint tolerance (set to zero, was 2e-4)

0.5.0

25 Oct 07:40
f5fb66c
Compare
Choose a tag to compare
  • Remove fmin_cobyla implementation as nlopt_cobyla now renamed minimize based on NLopt implementation is more powerful
    Nevertheless Cobyla argmin solver is still based on the initial implementation (as was fmin_cobyla), not on NLopt one.
  • Remove gradient from ObjFn trait which is now renamed Func
  • minimize API rework to make it more Rusty.
  • Not all options of NLopt version are managed. Currently cobyla::minimize handles xinit, bounds, max_eval, ftol_rel,
    ftol_abs, xtol_rel, xtol_abs and only inequality contraints (like c >= 0). See documentation for further details.

0.4.0

06 Oct 17:08
Compare
Choose a tag to compare

This version adds another Rust COBYLA implementation nlopt_cobyla. As for the former implementation fmin_cobyla, the code was transpiled from the NLopt 2.7.1 C code and edited manually to make it work inspired from Rust NLopt binding

At the moment the nlopt_cobyla prototype is modeled after the fmin_cobyla to ease the test and switch between the two implementations.
This is somehow going a bit backward as the NLopt implementation API is richer and contains improvements wrt the initial Powell's implementation (see NLopt COBYLA). Only bounds management is made available as additional tuple parameter (lower bound, upper bound).

What's Changed

  • NLopt 2.7.1 cobyla oxydation by @relf in #12
  • NLopt Cobyla consolidation by @relf in #13

Full Changelog: 0.3.3...0.4.0

0.3.3

24 Aug 15:25
1733308
Compare
Choose a tag to compare

0.3.0

28 Jan 20:47
530c8a5
Compare
Choose a tag to compare

COBYLA is now also implemented as an argmin::Solver and benefit from argmin framework tooling (#4).
See example.

0.2.0

11 Jan 08:01
Compare
Choose a tag to compare

From now on, cobyla is not a bindgen wrapping any more.
COBYLA C code has been transpiled to unsafe Rust using c2rust then manually edited to remove extern "C" usage.
There is no API change.