NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #4886 most downloaded on crates.io
Numerical optimization in pure Rust
Latest stable
0.11.0
Last release 1 years ago
28 Sep 2025
Release timing varies
gaps range from 9 days to 1.6 years
Some releases are documented
notes for 26 of 45 stable releases
1 version withdrawn
withdrawn after publishing
9 years old
47 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
Finally released v0.11.0. Sincere and huge thank you to everyone who contributed, to those who pushed me to make a release, and to those who supported
Finally released v0.11.0. Sincere and huge thank you to everyone who contributed, to those who pushed me to make a release, and to those who supported me in getting the release over the finish line.
This release, together with argmin-math v0.5.0 brings support for new ndarray and algebra versions as well as faer.
Even though I tried hard, due to the long time since the last release, I might have overlooked contributions. If that is the case, please get in touch and I'll update the release notes as well as the changelog accordingly.
Full Changelog: https://github.com/argmin-rs/argmin/compare/argmin-v0.10.0...argmin-v0.11.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Remove vulnerable ip package from website by @stefan-k in https://github.com/argmin-rs/argmin/pull/466
IterState, adapted GaussNewton accordingly by @gmilleramilar in https://github.com/argmin-rs/argmin/pull/343GaussNewton by @stefan-k in https://github.com/argmin-rs/argmin/pull/392FileCheckpoint, removed SerializeAlias and DeserializeOwnedAlias by @stefan-k in https://github.com/argmin-rs/argmin/pull/395Executor by @stefan-k in https://github.com/argmin-rs/argmin/pull/405KeyboardInterrupt to Interrupt by @stefan-k in https://github.com/argmin-rs/argmin/pull/413crates directory by @stefan-k in https://github.com/argmin-rs/argmin/pull/415Full Changelog: https://github.com/argmin-rs/argmin/compare/argmin-v0.9.0...argmin-v0.10.0
SlogLogger moved into argmin-observer-slog (@stefan-k, #311)WriteToFile was renamed to ParamWriter and moved into argmin-observer-paramwriter (@stefan-k, #395)FileCheckpoint moved into argmin-checkpointing-file (@stefan-k, #311)state to observe_init of Observe trait (@stefan-k, #311)crates directory (@stefan-k, #415)examples directory. (@stefan-k, #387)SerializeAlias and DeserializeAlias traits since they are not necessary anymore (@stefan-k, #395)IterState (@stefan-k, #408)SIGINT, SIGTERM and SIGHUP and KeyboardInterrupt was renamed to Interrupt (@stefan-k, #413)LBFGS was slightly improved (@stefan-k, #416)KvValue::get_float(&self) now works for all kinds of KvValue (@stefan-k, #311)GaussNewton (@gmilleramilar, @stefan-k, #343, #392)Nightly lints by @jjbayer in https://github.com/argmin-rs/argmin/pull/341
Full Changelog: https://github.com/argmin-rs/argmin/compare/argmin-v0.8.1...argmin-v0.9.0
Mention cobyla in docs and README by @relf in https://github.com/argmin-rs/argmin/pull/330
Full Changelog: https://github.com/argmin-rs/argmin/compare/argmin-v0.8.0...argmin-v0.8.1
cobyla in docs and README (@relf)Update version in book and make blog post active by @stefan-k in https://github.com/argmin-rs/argmin/pull/254
full and _full_dev features for argmin by @stefan-k in https://github.com/argmin-rs/argmin/pull/261KVType to KvValue by @stefan-k in https://github.com/argmin-rs/argmin/pull/322target_cost in book (related to #318) by @stefan-k in https://github.com/argmin-rs/argmin/pull/325Full Changelog: https://github.com/argmin-rs/argmin/compare/argmin-v0.7.0...argmin-v0.8.0
full feature which enables all features (@stefan-k)nalgebra math backend (@stefan-k)nalgebra math backend (@stefan-k)TerminationStatus which can either be Terminated(TerminationReason) or NotTerminatedTerminationReason enum were reduced to cases potentially relevant to any solver. Solver-specific cases can be handled with SolverExit(String).TerminationReason::KeyboardInterrupt and TerminationReason::ConvergedKvValue), which means that observers can now use the actual numbers (in the past those values were only dyn Display and as such could only be printed)make_kv! renamed to kv!Serialize anymore when serde1 feature is enabled. This was an oversight reported by @relf and fixed by @stefan-kExecutor (@TheIronBorn)Use alias type names in examples by @vbkaisetsu in https://github.com/argmin-rs/argmin/pull/245
Full Changelog: https://github.com/argmin-rs/argmin/compare/argmin-math-v0.1.0...argmin-v0.7.0
ArgminL1Norm trait was added by @vbkaisetsu for the L1 regularization in L-BFGS. In order to make the L2 norm more consistent, the corresponding trait was renamed from ArgminNorm to ArgminL2Norm and the norm method was renamed to l2_norm. (#253, @stefan-k)ndarray-linalg dependency in argmin-math. This leads to problems in downstream crates which do not need the functionality of ndarray-linalg and want to avoid linking angainst a BLAS. In this version, this functionality was added again. Please consult the documentation of argmin-math for details on the available backends and their configuration. (#243, #249, @stefan-k)Fixed minor problems in CHANGELOG.md by @stefan-k in https://github.com/argmin-rs/argmin/pull/237
termination_reason method of State to terminate_with by @stefan-k in https://github.com/argmin-rs/argmin/pull/239*latest* features in argmin-math docs by @stefan-k in https://github.com/argmin-rs/argmin/pull/240Full Changelog: https://github.com/argmin-rs/argmin/compare/argmin-math-v0.1.0-rc.1...argmin-v0.6.0
This is a rather large release with many (breaking) changes.
argmin-math crate. This crate offers now the traits related to math operations as well as their implementations for various backends (vec, ndarray, nalgebra). The backends can be turned on and off as needed. It also supports different versions of the backends.serde dependency is now optional and feature-gated via serde1. Disabling the serde1 feature disables checkpointing and some logging.ArgminOp trait was removed and replaced with more specialized traits such as Operator, CostFunction, Gradient, Jacobian, Hessian, Anneal.
All of the above mentioned traits come with bulk_* methods which allow one to compute cost function, gradients,... in parallel as long as the rayon feature is enabled. This is so far used in Particle Swarm Optimization.State trait now which defines the basic functionality that a state must offer.ArgminResult was renamed to OptimizationResult and also has a more useful API now. It returns the solver, the problem and the final internal state.Solver trait was redesignedconfigure method on Executordyn Display. This avoids unnecessarily stringifying variables when no observer is used.OpWrapper was renamed to Problem and has now a more consistent interface. It still keeps track of the function evaluations, but to be flexible enough to support future or user-defined traits, these are stored in a HashMap now.PopulationState was introduced which replaces IterState in PSOunwraps and instead return errors with meaningful error messages (for instance when something isn't initialized properly)stdweb dependency was removedlib.rs file anymore.ArgminError is now non_exhaustive.termination_reaosn method of State to terminate_with*grad* methods of IterState to *gradient*Second release candidate for argmin v0.6.0. For details please consult CHANGELOG.md.
Second release candidate for argmin v0.6.0. For details please consult CHANGELOG.md.
cargo audit to CI by @stefan-k in https://github.com/argmin-rs/argmin/pull/191init_inv_hessian in DFP and SR1 optional to avoid cloning by @stefan-k in https://github.com/argmin-rs/argmin/pull/196IterState by @stefan-k in https://github.com/argmin-rs/argmin/pull/194State, IterState and LinearProgramState by @stefan-k in https://github.com/argmin-rs/argmin/pull/200ConjugateGradient and NonlinearConjugateGradient by @stefan-k in https://github.com/argmin-rs/argmin/pull/202GaussNewton and GaussNewtonLS by @stefan-k in https://github.com/argmin-rs/argmin/pull/203with_tol methods to with_tolerance by @stefan-k in https://github.com/argmin-rs/argmin/pull/204GoldenSectionSearch and added tests by @stefan-k in https://github.com/argmin-rs/argmin/pull/205SteepestDescent and added doc and unit tests by @stefan-k in https://github.com/argmin-rs/argmin/pull/206argmin_error! and argmin_error_closure! macros for easier error creation by @stefan-k in https://github.com/argmin-rs/argmin/pull/207Landweber, added doc and unit tests by @stefan-k in https://github.com/argmin-rs/argmin/pull/209ArgminError non_exhaustive by @stefan-k in https://github.com/argmin-rs/argmin/pull/213PopulationState by @stefan-k in https://github.com/argmin-rs/argmin/pull/216SimulatedAnnealing, added doc and unit tests by @stefan-k in https://github.com/argmin-rs/argmin/pull/224ndarrayl and nalgebral are not to be used by users by @stefan-k in https://github.com/argmin-rs/argmin/pull/229Full Changelog: https://github.com/argmin-rs/argmin/compare/v0.5.0...argmin-v0.6.0-rc.2
Nothing published for this version
Fixed Bug in HagerZhang line search (#2, #184, @wfsteiner)
Full Changelog: https://github.com/argmin-rs/argmin/compare/v0.5.0...v0.5.1
Full Changelog: argmin-math-v0.5.0...argmin-math-v0.5.1
Added compatibility with ndarray 0.16 with the ndarray_v0_16 and ndarray_v0_16-nolinalg features, updating latest. [ @npatsakula and @amfaber #546 ]
Full Changelog: argmin-math-v0.4.0...argmin-math-v0.5.0
slog a feature by @ThatGeoGuy in https://github.com/argmin-rs/argmin/pull/136Readme.md by @Glitchy-Tozier in https://github.com/argmin-rs/argmin/pull/167cargo clean by @stefan-k in https://github.com/argmin-rs/argmin/pull/179Full Changelog: https://github.com/argmin-rs/argmin/compare/v0.4.7...v0.5.0
github actions and updated changelog by @stefan-k in https://github.com/argmin-rs/argmin/pull/130
Full Changelog: https://github.com/argmin-rs/argmin/compare/v0.4.6...v0.4.7
updated dependencies (#121, #123, #129, @stefan-k):
Full Changelog: https://github.com/argmin-rs/argmin/compare/v0.4.5...v0.4.6
Squash warnings for Nalgebra 0.26.x (#118, #117, @CattleProdigy)
Performance Enhancements by @sdd in https://github.com/argmin-rs/argmin/pull/112
Full Changelog: https://github.com/argmin-rs/argmin/compare/v0.4.3...v0.4.4
downgrade ndarray-rand to 0.13 (to match ndarray 0.14), version bump by @stefan-k in https://github.com/argmin-rs/argmin/pull/109
Full Changelog: https://github.com/argmin-rs/argmin/compare/v0.4.2...v0.4.3
Update nalgebra requirement from 0.24.1 to 0.25.0 by @dependabot-preview in https://github.com/argmin-rs/argmin/pull/98
Full Changelog: https://github.com/argmin-rs/argmin/compare/v0.4.1...v0.4.2
bump to version 0.4.0 by @stefan-k in https://github.com/argmin-rs/argmin/pull/97
Full Changelog: https://github.com/argmin-rs/argmin/compare/v0.4.0...v0.4.1
Update gnuplot requirement from 0.0.36 to 0.0.37 by @dependabot-preview in https://github.com/argmin-rs/argmin/pull/64
Full Changelog: https://github.com/argmin-rs/argmin/compare/v0.3.1...v0.4.0
ArgminRandom::rand_from_range(..) now also takes a random number generator. This allows for setting the seed manually (@jonboh, #383)*-serde features were removed, as they are not necessary anymore. (@stefan-k, #387)MoreThuente: Added error check for NaN or Inf by @MattBurn in https://github.com/argmin-rs/argmin/pull/57
finitediff from ndarrayl feature by @optozorax in https://github.com/argmin-rs/argmin/pull/61Full Changelog: https://github.com/argmin-rs/argmin/compare/v0.3.0...v0.3.1
(BREAKING) Fixed typo McCorminck to McCormick ( @JosiahKane , #616 , typo found by @airwoodix )
work-in-progress from README by @stefan-k in https://github.com/argmin-rs/argmin/pull/27argmin_core crate into core module by @stefan-k in https://github.com/argmin-rs/argmin/pull/30op and state fields of ArgminResult more accessible by @stefan-k in https://github.com/argmin-rs/argmin/pull/45argmin_testfunctions by @stefan-k in https://github.com/argmin-rs/argmin/pull/46Serialize trait bound on ArgminOp by @stefan-k in https://github.com/argmin-rs/argmin/pull/36Clone trait bound from ArgminOp by @stefan-k in https://github.com/argmin-rs/argmin/pull/48Full Changelog: https://github.com/argmin-rs/argmin/compare/v0.2.6...v0.3.0
Brent's method by @xemwebe in https://github.com/argmin-rs/argmin/pull/22
Full Changelog: https://github.com/argmin-rs/argmin/compare/v0.2.5...v0.2.6
MAINT Lint with CircleCI by @rth in https://github.com/argmin-rs/argmin/pull/11
Full Changelog: https://github.com/argmin-rs/argmin/compare/v0.2.4...v0.2.5
Full Changelog: https://github.com/argmin-rs/argmin/compare/v0.2.3...v0.2.4
Full Changelog: https://github.com/argmin-rs/argmin/compare/v0.2.3...v0.2.4
Nothing published for this version
Nothing published for this version
Added ArgminMinMax and ArgminSignum implementation for nalgebra types. Now the L-BFGS should work work with the nalgebra backend again. (#257, #258, @
[BREAKING] Moved to Result based error handling [ @stefan-k , #481 ]
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Initial release.
Initial release.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
The first version of a Python wrapper around argmin_testfunctions was released.
argmin_testfunctions was released.argmin_testfunctions' version number.One column per quarter.