Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

argmin version 0.9.0 #379

Merged
merged 2 commits into from
Jan 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## argmin-math [argmin-math unreleased]

## argmin [argmin v0.9.0] 2024-01-06

### Added

* Implemented ArgminInv for f32/f64 (1D) (@sdrap, #346)
* Added a simple example of Nelder-Mead usage (@cjordan, #359)

### Fixed

* Clippy lints (@jjbayer, @stefan-k, #341, #376, #380)
* Fixed wrong example link (@itrumper, #352)
* Correct line search to search over gradient (@DevonMorris, #354)
* SteepestDescent now correctly keeps track of prev_param (@DevonMorris, #362)
* Added a missing feature for testing argmin-math in the docs (@stefan-k, #371)
* Fixed a typo in argmin book (@imeckler, #373)
* Fixed crate versions in book (@stefan-k, #375)

### Changed

* Updated gnuplot to 0.0.39 (@stefan-k, #364)
* Switched to resolver = 2 for entire workspace (@stefan-k, #372)

## argmin [argmin v0.8.1] 2023-02-20

### Added
Expand Down Expand Up @@ -243,6 +265,7 @@ For older versions please see the Git history.

[argmin unreleased]: https://github.com/argmin-rs/argmin/compare/argmin-v0.8.1...HEAD
[argmin-math unreleased]: https://github.com/argmin-rs/argmin/compare/argmin-math-v0.3.0...HEAD
[argmin v0.9.0]: https://github.com/argmin-rs/argmin/compare/argmin-v0.8.1...argmin-v0.9.0
[argmin v0.8.1]: https://github.com/argmin-rs/argmin/compare/argmin-v0.8.0...argmin-v0.8.1
[argmin v0.8.0]: https://github.com/argmin-rs/argmin/compare/argmin-v0.7.0...argmin-v0.8.0
[argmin v0.7.0]: https://github.com/argmin-rs/argmin/compare/argmin-v0.6.0...argmin-v0.7.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
|
<a href="https://argmin-rs.github.io/argmin/argmin/">Docs (main branch)</a>
|
<a href="https://github.com/argmin-rs/argmin/tree/argmin-v0.8.1/argmin/examples">Examples (latest release)</a>
<a href="https://github.com/argmin-rs/argmin/tree/argmin-v0.9.0/argmin/examples">Examples (latest release)</a>
|
<a href="https://github.com/argmin-rs/argmin/tree/main/argmin/examples">Examples (main branch)</a>
</p>
Expand Down
2 changes: 1 addition & 1 deletion argmin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "argmin"
version = "0.8.1"
version = "0.9.0"
authors = ["Stefan Kroboth <stefan.kroboth@gmail.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion media/book/src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ argmin is designed to simplify the implementation of optimization algorithms and

> **IMPORTANT NOTE**
>
> This book covers version 0.8 of argmin! Parts of this book may not apply to versions below 0.8.
> This book covers version 0.9 of argmin! Parts of this book may not apply to versions below 0.9.


## The argmin ecosystem
Expand Down
2 changes: 1 addition & 1 deletion media/book/src/using_argmin.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ In order to use argmin, one needs to add both `argmin` and `argmin-math` to `Car

```toml
[dependencies]
argmin = { version = "0.8" }
argmin = { version = "0.9" }
argmin-math = { version = "0.3", features = ["ndarray_latest-serde", "nalgebra_latest-serde"] }
```

Expand Down
69 changes: 69 additions & 0 deletions media/website/content/blog/version-v0.9.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
+++
title = "argmin 0.9.0 released"
description = ""
date = 2024-01-06T00:00:00+00:00
updated = 2024-01-06T00:00:00+00:00
draft = false
template = "blog/page.html"

[taxonomies]
authors = ["Stefan Kroboth"]

[extra]
+++

<b>argmin</b> is a Rust library which offers a range of numerical optimization methods and a framework for
developing optimization algorithms. For details about the design of argmin and its features I suggest having a look at
[the website](https://argmin-rs.org),
[the book](https://argmin-rs.org/book),
[Github](https://github.com/argmin-rs/argmin),
[crates.io](https://crates.io/crates/argmin) and
[lib.rs](https://lib.rs/crates/argmin).

This is a short summary of the changes in argmin 0.9.0 (and 0.8.1 as this version didn't get its own blog post) compared to 0.8.0.
Feel free to reach out via [Github](https://github.com/argmin-rs/argmin) or the new [Discord server](https://discord.gg/fYB8AwxxMW) if you encounter any issues during the upgrade.

## argmin 0.9.0

* Line search now correctly searches over gradient instead of parameter vector ([@DevonMorris](https://github.com/DevonMorris)) (**Breaking change**)
* SteepestDescent now correctly keeps track of prev_param ([@DevonMorris](https://github.com/DevonMorris))
* `ArgminInv` is now also implemented for 1D matrices ([@sdrap](https://github.com/sdrap))
* [@cjordan](https://github.com/cjordan) added another [example](https://github.com/argmin-rs/argmin/blob/main/argmin/examples/neldermead-cubic.rs) of how to use Nelder-Mead
* Fixed a couple of typos and mistakes in the documentation ([@itrumper](https://github.com/itrumper), [@imeckler](https://github.com/imeckler), [@stefan-k](https://github.com/stefan-k))

## argmin 0.8.1

* The `Serialize` and `Deserialize` derives for `ObserverMode` somehow got lost. This was fixed by [@maoe](https://github.com/maoe)

## Other news

The [`cobyla`](https://crates.io/crates/cobyla) crate was made compatible with argmin (Thanks to [@relf](https://github.com/relf)).

## New Discord server

Since the old Gitter channel didn't get much use we now finally have a [Discord server](https://discord.gg/fYB8AwxxMW)! I'm looking forward to seeing many of you there!

## Thanks

Big thanks to everyone who contributed to these releases:
[@cjordan](https://github.com/cjordan)
[@DevonMorris](https://github.com/DevonMorris)
[@imeckler](https://github.com/imeckler)
[@itrumper](https://github.com/itrumper)
[@jjbayer](https://github.com/jjbayer)
[@maoe](https://github.com/maoe)
[@relf](https://github.com/relf)
[@sdrap](https://github.com/sdrap)
[@stefan-k](https://github.com/stefan-k),
and everyone who opened and responded to issues and discussions!



<br>
<script async defer src="https://buttons.github.io/buttons.js"></script>
<p align="center">
<a class="github-button" href="https://github.com/argmin-rs/argmin" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star argmin-rs/argmin on GitHub">Star</a>
<a class="github-button" href="https://github.com/argmin-rs/argmin/subscription" data-icon="octicon-eye" data-size="large" data-show-count="true" aria-label="Watch argmin-rs/argmin on GitHub">Watch</a>
<a class="github-button" href="https://github.com/argmin-rs/argmin/fork" data-icon="octicon-repo-forked" data-size="large" data-show-count="true" aria-label="Fork argmin-rs/argmin on GitHub">Fork</a>
<a class="github-button" href="https://github.com/sponsors/stefan-k" data-icon="octicon-heart" data-size="large" aria-label="Sponsor @stefan-k on GitHub">Sponsor</a>
</p>
Loading