Skip to content

Commit

Permalink
Prepare release 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
relf committed Apr 22, 2024
1 parent b51df50 commit e1373f9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
22 changes: 14 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,28 @@

## [Unreleased]

## [0.6.0] - 2024-04-22

* Upgrade to argmin 0.10.0:
* new `serde1` feature to enable serialization/deserialization (required for checkpointing)
* add `argmin-observer-slog` dependency

## [0.5.1] - 2023-10-19

* Fix default constraint tolerance (set to zero, was 2e-4)
* Fix default constraint tolerance (set to zero, was 2e-4)

## [0.5.0] - 2023-10-13

* 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 initial implementation, 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.
* `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] - 2023-10-06

COBYLA implementation coming from the NLopt project is now also available (as `nlopt_cobyla`) allowing to compare
COBYLA implementation coming from the NLopt project is now also available (as `nlopt_cobyla`) allowing to compare
with the initial implementation (`fmin_cobyla`). This new implementation went through the same process of using c2rust
transpilation from initial C implementation.

Expand All @@ -31,6 +37,6 @@ COBYLA C code has been translated to Rust using [c2rust](https://github.com/immu

## [0.1.0] - 2022-05-06

Rust wrapper for COBYLA optimizer (COBYLA stands for Constrained Optimization BY Linear Approximations).
COBYLA C code was copied from [here](https://github.com/emmt/Algorithms/tree/master/cobyla) and wrapped
using the callback trick implemented in [nlopt-rust](https://github.com/adwhit/rust-nlopt) project.
Rust wrapper for COBYLA optimizer (COBYLA stands for Constrained Optimization BY Linear Approximations).
COBYLA C code was copied from [here](https://github.com/emmt/Algorithms/tree/master/cobyla) and wrapped
using the callback trick implemented in [nlopt-rust](https://github.com/adwhit/rust-nlopt) project.
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 = "cobyla"
version = "0.5.1"
version = "0.6.0"
edition = "2021"
license-file = "LICENSE.md"
description = "COBYLA optimizer for Rust"
Expand Down

0 comments on commit e1373f9

Please sign in to comment.