Skip to content

Commit 3bb2b42

Browse files
committed
Changelog
1 parent 676f11e commit 3bb2b42

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

HISTORY.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@ As long as the above functions are defined correctly, Turing will be able to use
1818

1919
The `Turing.Inference.isgibbscomponent(::MySampler)` interface function still exists, but in this version the default has been changed to `true`, so you should not need to overload this.
2020

21+
## Optimisation interface
22+
23+
The Optim.jl interface has been removed (so you cannot call `Optim.optimize` directly on Turing models).
24+
You can use the `maximum_likelihood` or `maximum_a_posteriori` functions with an Optim.jl solver instead (via Optimization.jl: see https://docs.sciml.ai/Optimization/stable/optimization_packages/optim/ for documentation of the available solvers).
25+
26+
## Internal changes
27+
28+
The constructors of `OptimLogDensity` have been replaced with a single constructor, `OptimLogDensity(::DynamicPPL.LogDensityFunction)`.
29+
2130
# 0.41.1
2231

2332
The `ModeResult` struct returned by `maximum_a_posteriori` and `maximum_likelihood` can now be wrapped in `InitFromParams()`.

0 commit comments

Comments
 (0)