Skip to content

Update Optim requirement to 2.0.1 in /docs#210

Merged
gdalle merged 2 commits intomainfrom
dependabot/julia/docs/Optim-2.0.1
Apr 16, 2026
Merged

Update Optim requirement to 2.0.1 in /docs#210
gdalle merged 2 commits intomainfrom
dependabot/julia/docs/Optim-2.0.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Feb 6, 2026

Updates the requirements on Optim to permit the latest version.

Release notes

Sourced from Optim's releases.

v2.0.1

Optim v2.0.1

Diff since v2.0.0

Merged pull requests:

  • Re-instate old behavior for Fminbox in terms of convergence calculati… (#1232) (@​pkofod)

Closed issues:

  • Default options in Optim.jl v2.0 don't seem appropriate (#1228)
  • value_gradient! returns the wrong thing for ManifoldObjective in v1.9.4 (#1229)
Changelog

Sourced from Optim's changelog.

Optim master release notes

  • Fix Preconditioning example for v1.0 syntax
  • Improve handling of alternative number types in univariate optimization
  • Add conditional likelihood example to docs
  • Improve Fminbox trace printing.

Optim v0.17.2 release notes

  • Fix some typos
  • Fix doc building

Optim v0.17.0 release notes

  • Drop support for Julia versions less 1.0. Optim v.17.1 is also out.

Optim v0.11.0 release notes

  • Optional scaling for inverse Hessian in L-BFGS
  • Support for initial step length guesses via LineSearches

Optim v0.10.0 release notes

  • Support for optimization on Riemannian manifolds
  • Support for optimization of functions of complex variables
  • New experimental KrylovTrustRegion method useful when cheap Hessian-vector products are available.
  • Improved support for BigFloats
  • Add doc strings to methods
  • Drop support for Julia versions less than v0.6.0-pre

Optim v0.9.0 release notes

  • Fminbox: If an initial guess is on the boundary of the box, the guess is moved inside the box and a warning is produced, as opposed to crashing with an error.
  • Significant changes to the Non-, Once-, and TwiceDifferentiable setup; these now hold temporaries relevant to the evaluation of objectives, gradients, and Hessians. They also hold f-, g-, and h_calls counters.
  • Refactor tests
  • Drop v0.4 support
  • Add limits to f-, g-, and h_calls
  • Improve trace for univariate optimization
  • Changed order of storage arrays and evaluation point arrays in gradient and Hessian calls
  • Skip v0.8.0 to allow fixes on Julia v0.5.0

Optim v0.7.6 release notes

  • Fix deprecations for *Function constructors
  • Fix depwarns on Julia master (v0.6)
  • Update references to new JuliaNLSolvers home for Optim+family

Optim v0.7.5 release notes

  • Various bug fixes
  • Deprecate DifferentiableFunction, TwiceDifferentiable in favor of OnceDifferentiable, TwiceDifferentiable
  • widen some type annotations (e.g. allow for multidimensional arrays as inputs again)
  • introduce allow_f_increases keyword in Optim.Options to allow objective to increase between iterations
  • New option in Optim.Options: allow_f_increases. Defaults to false, but if set to true, the solver will not stop even if a step leads to an increase in the objective.
  • Newton and BFGS: set initial step length to one. See 328.

Optim v0.7.3 release notes

... (truncated)

Commits
  • 4bcd6a6 Update Project.toml
  • 9b664c2 Re-instate old behavior for Fminbox in terms of convergence calculation and c...
  • d0f5e0e Update Project.toml
  • 286aeed Compute JVP in line searches (#1210)
  • d3ccb73 CompatHelper: bump compat for JET in [extras] to 0.11, (keep existing compat)...
  • 9483bd8 Document optimization state and callback functionality. Change initia… (#1226)
  • 7934f7b Pass optimization state to callbacks (#1224)
  • 540c97b Depend on Statistics instead of StatsBase (#1221)
  • bc25e2c Fix bounds errors in default x_abschange and x_relchange (#1222)
  • 3e3d33e As default use a minimum trust region radius of 0 (#1219)
  • Additional commits viewable in compare view

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file julia Pull requests that update julia code labels Feb 6, 2026
Updates the requirements on [Optim](https://github.com/JuliaNLSolvers/Optim.jl) to permit the latest version.
- [Release notes](https://github.com/JuliaNLSolvers/Optim.jl/releases)
- [Changelog](https://github.com/JuliaNLSolvers/Optim.jl/blob/master/NEWS.md)
- [Commits](JuliaNLSolvers/Optim.jl@v0.2.0...v2.0.1)

---
updated-dependencies:
- dependency-name: Optim
  dependency-version: 2.0.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/julia/docs/Optim-2.0.1 branch from d10363d to 8cae658 Compare February 18, 2026 11:02
@tpapp
Copy link
Copy Markdown

tpapp commented Feb 24, 2026

CI failure here looks like a glitch with codecov.io, maybe close and open to rerun?

@gdalle
Copy link
Copy Markdown
Member

gdalle commented Feb 24, 2026

Yeah but the documentation failure is legit and I haven't had time to look into it. Have you seen it before?

@penelopeysm
Copy link
Copy Markdown

Optim 2.0.1 requires NLSolversBase@8, but NLSolve requires NLSolversBase@7, so the docs build is blocked by JuliaNLSolvers/NLsolve.jl#295

@gdalle
Copy link
Copy Markdown
Member

gdalle commented Apr 14, 2026

Thanks for the investigation!

@gdalle
Copy link
Copy Markdown
Member

gdalle commented Apr 14, 2026

The last commit to NLsolve was 5 years ago, I think I'll get rid of it

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gdalle gdalle merged commit 9a5a65a into main Apr 16, 2026
5 checks passed
@dependabot dependabot bot deleted the dependabot/julia/docs/Optim-2.0.1 branch April 16, 2026 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file julia Pull requests that update julia code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants