docs(0.9): release notes, cookbook recipe, README polish
Companion to the feat(explorer) commit. Bumps the version and brings every cross-referencing doc up to v0.9 currency. - Cargo.toml: version 0.8.0 -> 0.9.0. - CHANGELOG: 0.9.0 entry covering the explorer export, the Problem-side metadata additions, the AlgorithmInfo trait, the pick_a_car example, and the new cookbook recipe. - README: closing paragraph of the PickACar example points users at the explorer with a one-call snippet (`ExplorerExport::from_result(...).with_algorithm_info(...) .to_file(...)?`). Version snippets bumped 0.8 -> 0.9. - New cookbook recipe at docs/book/src/cookbook/explorer.md covering: enabling the serde feature, enriching Problem with labels/units/decision-schema, the export call, the JSON schema, and custom decision-type handling. - SUMMARY.md and cookbook.md link the new recipe. - migration.md: new "To 0.9" section documenting the additive changes (purely backwards-compatible upgrade from 0.8.x). - introduction.md, comparison.md, choosing-an-algorithm.md, stability.md: version refs bumped 0.8 -> 0.9. - cookbook/parallel.md, cookbook/async.md: version refs bumped 0.8 -> 0.9. - getting-started.md: version refs bumped, serde feature description expanded to mention the explorer module. - SECURITY.md: supported-versions table moves to 0.9.x.
This commit is contained in:
@@ -13,7 +13,7 @@ evaluation path.
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
heuropt = { version = "0.8", features = ["async"] }
|
||||
heuropt = { version = "0.10", features = ["async"] }
|
||||
|
||||
# Pick whatever async runtime you want; heuropt itself depends only on
|
||||
# `futures`. The example below uses tokio.
|
||||
@@ -112,8 +112,8 @@ results back to the algorithm.
|
||||
|
||||
## What the worked example shows
|
||||
|
||||
`examples/async_eval.rs` runs `RandomSearch` (200 evaluations × 20 ms
|
||||
each) at `concurrency = 1, 4, 16` and `DifferentialEvolution` at
|
||||
`examples/async_eval.rs` runs Random Search (200 evaluations × 20 ms
|
||||
each) at `concurrency = 1, 4, 16` and Differential Evolution at
|
||||
`concurrency = 8`. On a recent machine:
|
||||
|
||||
```text
|
||||
|
||||
Reference in New Issue
Block a user