Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
2e599f0
refactor: rename Minimizer->Engine and Solver->Algorithm
denehoffman Apr 18, 2025
ab6b250
refactor: rename solvers->algorithms
denehoffman Apr 18, 2025
3fddafe
docs: fix a few more doc links
denehoffman Apr 18, 2025
9a271e5
feat: preliminary step of moving MCMC methods to unified API
denehoffman Apr 18, 2025
083f90a
feat: ensure any message added to a `Status` by an `Observer` during …
denehoffman Apr 20, 2025
c3af16a
feat: add message to `EnsembleStatus`
denehoffman Apr 20, 2025
16744f5
feat: add messages to MCMC samplers to track the current move type
denehoffman Apr 20, 2025
531ea57
feat: add associated type to `Algorithm` to allow for custom structs …
denehoffman Apr 21, 2025
aaf46a0
refactor: rename `add_observer` to `with_observer` and `minimize` to …
denehoffman Apr 21, 2025
f1e24ae
feat: add `n_f_evals` and `n_g_evals` to `EnsembleStatus` (currently …
denehoffman Apr 21, 2025
524520f
refactor: change `new` to `with_walkers` to make is more conducive to…
denehoffman Apr 21, 2025
d926f5c
feat: port `AutocorrelationObserver` from legacy code
denehoffman Apr 21, 2025
a5ed8b7
feat: port `TrackingSwarmObserver` from legacy code
denehoffman Apr 21, 2025
d83b757
refactor: remove legacy code now that everything has been ported
denehoffman Apr 21, 2025
899763b
tests: update/fix all tests/doctests, examples, and benchmarks
denehoffman Apr 21, 2025
68c5fec
fix: remove unnecessary (and unlogged) function evaluation in `LBFGSB…
denehoffman Apr 22, 2025
824c679
fix: add `Bounds` back into line searches
denehoffman Apr 22, 2025
fa75a7a
fix: add a `reset` method to `Algorithm` to make sure any intermediat…
denehoffman Apr 23, 2025
ce24d44
style: make the `DebugObserver` pretty-print the `Status`
denehoffman Apr 23, 2025
1197da0
feat: add the Conjugate Gradient algorithm
denehoffman Apr 23, 2025
e65feed
feat: add warnings which can be disabled by the user
denehoffman Apr 23, 2025
59c6bfb
fix: actually remove legacy code files
denehoffman Apr 23, 2025
823fc84
docs: update README and toplevel documentation
denehoffman Apr 28, 2025
e96a96d
fix: improve readability in the method for equation 6.1 by using x_mi…
denehoffman Jun 27, 2025
3b51759
docs: fix documentation for L-BFGS-B to actually refer to L-BFGS-B an…
denehoffman Jun 27, 2025
9db371f
fix: a few aesthetic corrections and use of expect rather than unwrap
denehoffman Jun 27, 2025
e6c0c32
style: ignore `unnecessary_cast` warnings
denehoffman Jun 27, 2025
b9adf69
feat: implement Adam algorithm
denehoffman Jun 27, 2025
217846f
feat: Formalize internal configuration structs in each algorithm. Thi…
denehoffman Jul 15, 2025
be6c4b3
refactor: remove `Configuration` trait and implement it at the `Algor…
denehoffman Jul 16, 2025
f958f9d
docs: use cargo-rdme to generate README.md
denehoffman Jul 16, 2025
b90ac62
ci: add check for cargo-rdme to ensure it stays in sync
denehoffman Jul 16, 2025
703f4b8
docs: update README
denehoffman Jul 16, 2025
b233a0c
docs: update TOC in README
denehoffman Jul 16, 2025
ba767eb
ci: run build checks on all PRs and pushes
denehoffman Jul 16, 2025
cadc140
test: fix doctests after was moved
denehoffman Jul 16, 2025
67a19c7
ci: checkout repo in part of CI that checks the README
denehoffman Jul 16, 2025
c9ed1ba
perf: improve L-BFGS-B performance by trading a matrix inverse for a …
denehoffman Jul 16, 2025
af42049
perf: improve Nelder-Mead performance by tracking centroid updates ra…
denehoffman Jul 16, 2025
2822aaf
chore: bump dependency versions
denehoffman Jul 16, 2025
ba84213
fix: rename Adam test
denehoffman Jul 16, 2025
488c1e9
refactor: remove ConjugateGradient method
denehoffman Jul 16, 2025
1f4e4ae
refactor: make input problems mutable so users can define a method th…
denehoffman Jul 24, 2025
074c531
fix: remove unused parentheses
denehoffman Aug 21, 2025
6a8ace5
feat: clean up how `Bounds` are implemented
denehoffman Aug 21, 2025
495e8b2
test: fix tests which were broken when problems were made mutable
denehoffman Aug 21, 2025
d695778
Remove `Engine` and add `Input` associated type to `CostFunction` (#77)
denehoffman Aug 30, 2025
2052224
feat: add `LogDensity` trait to differentiate MCMC functions from min…
denehoffman Aug 31, 2025
49178f8
feat: add a `SimulatedAnnealingSummary`
denehoffman Aug 31, 2025
099ddeb
fix: get rid of the log in the multimodal example
denehoffman Aug 31, 2025
8e5b238
feat: switch to `uv` for all examples and add inline script requirements
denehoffman Aug 31, 2025
7149595
fix: clippy lints
denehoffman Aug 31, 2025
06354a7
feat: move `AbortSignal` impls to the module for the trait
denehoffman Sep 1, 2025
b2a6b1b
fix: remove `Default` impl of `Callbacks` to encourage use of `const`…
denehoffman Sep 1, 2025
fb852a8
test: add unit tests for utils, rosenbrock, point, and bound modules
denehoffman Sep 1, 2025
7c2a001
test: add unit tests for MCMC algorithms and the main lib.rs warning …
denehoffman Sep 1, 2025
ff42952
test: remove tests which set environment variables
denehoffman Sep 1, 2025
23216d3
fix: correct ensemble mean and add more ESS tests
denehoffman Sep 1, 2025
0a23471
style: comment out std::env in warnings tests until we can figure tho…
denehoffman Sep 1, 2025
93c6426
test: use unwraps in test to eliminate uncovered lines
denehoffman Sep 3, 2025
a373836
test: extensive tests of the Nelder-Mead algorithm
denehoffman Sep 3, 2025
0948b00
test: update and enhance nelder_mead.rs unit tests
denehoffman Sep 3, 2025
85c6be5
test: re-implement autocorrelation terminator doctest
denehoffman Sep 3, 2025
44eab85
style: remove DebugObserver import from Nelder-Mead
denehoffman Sep 3, 2025
4db7dcc
test: add explicit test for autocorrelation-terminator
denehoffman Sep 3, 2025
60f2e14
test: remove tau calculation as this seems to not be as deterministic…
denehoffman Sep 3, 2025
263aa8f
feat: move trait implementations and `utils` into `core`, finalize do…
denehoffman Sep 3, 2025
bffb489
test: fix doctest for autocorrelation terminator by removing the tau …
denehoffman Sep 3, 2025
5ed8f75
feat: add method to make `Bound` from `&Bound`
denehoffman Sep 5, 2025
f3aac1f
feat: make `MinimizationSummary` fields `DVectors` and add `n_f_evals…
denehoffman Sep 5, 2025
416c572
refactor: remove the option to set a `LineSearch` in `LBFGSB`
denehoffman Sep 5, 2025
580e7d4
feat: update with_parameter_names signature
denehoffman Sep 6, 2025
8f54353
style: some clippy lints for the `&Bound` to `Bound` conversion
denehoffman Sep 6, 2025
e5aa296
style: change `_i_step` to `_current_step` to match other signatures
denehoffman Sep 6, 2025
fc38f71
feat: add Default implementation for `SimulatedAnnealingConfig`
denehoffman Sep 6, 2025
f304350
feat: add `process_default` method to `Algorithm` trait
denehoffman Sep 6, 2025
9b6840d
fix: add `config` argument back in to `process_default`
denehoffman Sep 6, 2025
b08da9f
Squashed commit of the following:
denehoffman Sep 6, 2025
de98eed
fix: remove `mut`s in tests, benchmarks, and examples
denehoffman Sep 6, 2025
7272e54
feat: decouple configs from algorithms and provide `new` methods to a…
denehoffman Sep 7, 2025
ac9133b
feat: add Hager-Zhang line search
denehoffman Sep 8, 2025
d5c1447
docs: correct old documentation where `Point` destructuring referred …
denehoffman Sep 8, 2025
e2cab61
docs: sync README.md with crate docs
denehoffman Sep 8, 2025
c92ace4
chore: update dependencies
denehoffman Sep 10, 2025
c5d2fee
refactor: remove mut from problem in `Algorithm` methods
denehoffman Sep 10, 2025
ab24ff9
test: fix autocorrelation test (change seed) and remove mut from prob…
denehoffman Sep 10, 2025
8363603
perf: add profiling build profile and ensure non-criterion benches ar…
denehoffman Sep 11, 2025
552733b
fix: remove binary reference in Cargo.toml
denehoffman Sep 12, 2025
bc00171
Transform API (#78)
denehoffman Sep 20, 2025
b8bcf71
perf: replace M inverse method by storing LU decomposition and applyi…
denehoffman Sep 20, 2025
929fc1f
perf: stop reallocating w_mat every step
denehoffman Sep 21, 2025
651acc5
perf: remove potential dx clone
denehoffman Sep 21, 2025
db7b4ec
fix: guard against free_indices being empty
denehoffman Sep 21, 2025
ab03a0a
perf: stop constructing z matrix and just do the math manually
denehoffman Sep 21, 2025
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
14 changes: 9 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Rust

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
on: [pull_request, push]

env:
CARGO_TERM_COLOR: always
Expand All @@ -18,3 +14,11 @@ jobs:
run: cargo build -r --verbose
- name: Run tests
run: cargo test -r --verbose
check-readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check if the README.md is up to date.
run: |
cargo install cargo-rdme
cargo rdme --check
Loading
Loading