JuliaNLSolvers/Optim.jl: Breaking Release: JVP, cleanup, AD and callbacks

Read full text
Authors: Patrick Kofod Mogensen, John Myles White, Asbjørn Nilsen Riseth, Tim Holy, David Müller-Widmann, Miles Lubin, Christof, Andreas Noack, Antoine Levitt, Benoît Legat, Christoph Ortner, Blake Johnson
+15 more Christopher Rackauckas, Yichao Yu, Kristoffer Carlsson, Dahua Lin, Arno Strouwen, Josua Grawitter, Takafumi Arakaki, Benoît Pasquier, abhro, Thomas Covert, Ron Rock, Michael Creel, cossio, Jeffrey Regier, Ben Kuhn
Cited by: 0

Abstract

What's Changed Bump codecov/codecov-action from 4 to 5 by @dependabot[bot] in https://github.com/JuliaNLSolvers/Optim.jl/pull/1122 Bump peter-evans/find-comment from 2 to 3 by @dependabot[bot] in https://github.com/JuliaNLSolvers/Optim.jl/pull/1162 Bump peter-evans/create-or-update-comment from 3 to 4 by @dependabot[bot] in https://github.com/JuliaNLSolvers/Optim.jl/pull/1161 Bump julia-actions/cache from 1 to 2 by @dependabot[bot] in https://github.com/JuliaNLSolvers/Optim.jl/pull/1160 Fix typos and use syntax sugar in bfgs.jl by @Moelf in https://github.com/JuliaNLSolvers/Optim.jl/pull/1179 BUGFIX: Update preconditioner in cg by @IvanBioli in https://github.com/JuliaNLSolvers/Optim.jl/pull/1177 add Options(options; kws...) for inheriting from an existing options set by @thchr in https://github.com/JuliaNLSolvers/Optim.jl/pull/1172 Bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/JuliaNLSolvers/Optim.jl/pull/1181 Bump peter-evans/find-comment from 3 to 4 by @dependabot[bot] in https://github.com/JuliaNLSolvers/Optim.jl/pull/1182 Always call callback by @pkofod in https://github.com/JuliaNLSolvers/Optim.jl/pull/1184 Bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in https://github.com/JuliaNLSolvers/Optim.jl/pull/1190 Bump peter-evans/create-or-update-comment from 4 to 5 by @dependabot[bot] in https://github.com/JuliaNLSolvers/Optim.jl/pull/1191 Remove kwargs for options by @pkofod in https://github.com/JuliaNLSolvers/Optim.jl/pull/1186 Update benchmark workflow based on AirspeedVelocity docs by @devmotion in https://github.com/JuliaNLSolvers/Optim.jl/pull/1192 Define Base.summary with IO argument by @devmotion in https://github.com/JuliaNLSolvers/Optim.jl/pull/1193 Fix unnecessary allocations in maximization due to insufficient broadcasting by @devmotion in https://github.com/JuliaNLSolvers/Optim.jl/pull/1189 Some type annotations inspired by some JET errors. by @pkofod in https://github.com/JuliaNLSolvers/Optim.jl/pull/1194 Work around upstream issue by running benchmarks on Julia LTS by @devmotion in https://github.com/JuliaNLSolvers/Optim.jl/pull/1201 More JET by @pkofod in https://github.com/JuliaNLSolvers/Optim.jl/pull/1197 More efficient isinterior and isfeasible by @devmotion in https://github.com/JuliaNLSolvers/Optim.jl/pull/1200 Define eltype only for type not instance by @devmotion in https://github.com/JuliaNLSolvers/Optim.jl/pull/1199 Add tests with Aqua, ExplicitImports and JET by @devmotion in https://github.com/JuliaNLSolvers/Optim.jl/pull/1198 Add missing bracket in summary of NGMRES and O-ACCEL by @devmotion in https://github.com/JuliaNLSolvers/Optim.jl/pull/1204 Use gradient!(d, x). in perform_linesearch by @pkofod in https://github.com/JuliaNLSolvers/Optim.jl/pull/1207 Stop overloading Base.minimum and Base.maximum by @devmotion in https://github.com/JuliaNLSolvers/Optim.jl/pull/1205 Update ngmres.jl to increase iterations for Polynomial by @pkofod in https://github.com/JuliaNLSolvers/Optim.jl/pull/1208 Update CI: Test min + LTS and test macOS with native binaries by @devmotion in https://github.com/JuliaNLSolvers/Optim.jl/pull/1196 Fix JET tests by @devmotion in https://github.com/JuliaNLSolvers/Optim.jl/pull/1209 Use autodiff API based on ADTypes instead of symbols by @devmotion in https://github.com/JuliaNLSolvers/Optim.jl/pull/1195 Add Julia 1.12 to benchmarks by @devmotion in https://github.com/JuliaNLSolvers/Optim.jl/pull/1211 Apply fix in #1213 to master by @devmotion in https://github.com/JuliaNLSolvers/Optim.jl/pull/1216 Improve NewtonTrustRegion by @devmotion in https://github.com/JuliaNLSolvers/Optim.jl/pull/1215 Do not (mis)use objective as state by @devmotion in https://github.com/JuliaNLSolvers/Optim.jl/pull/1212 Bump actions/checkout from 5 to 6 by @dependabot[bot] in https://github.com/JuliaNLSolvers/Optim.jl/pull/1217 As default use a minimum trust region radius of 0 by @devmotion in https://github.com/JuliaNLSolvers/Optim.jl/pull/1219 Fix bounds errors in default x_abschange and x_relchange by @devmotion in https://github.com/JuliaNLSolvers/Optim.jl/pull/1222 Depend on Statistics instead of StatsBase by @devmotion in https://github.com/JuliaNLSolvers/Optim.jl/pull/1221 Pass optimization state to callbacks by @devmotion in https://github.com/JuliaNLSolvers/Optim.jl/pull/1224 Document optimization state and callback functionality. Change initia… by @pkofod in https://github.com/JuliaNLSolvers/Optim.jl/pull/1226 CompatHelper: bump compat for JET in [extras] to 0.11, (keep existing compat) by @github-actions[bot] in https://github.com/JuliaNLSolvers/Optim.jl/pull/1223 Compute JVP in line searches by @devmotion in https://github.com/JuliaNLSolvers/Optim.jl/pull/1210 New Contributors @Moelf made their first contribution in https://github.com/JuliaNLSolvers/Optim.jl/pull/1179 @IvanBioli made their first contribution in https://github.com/JuliaNLSolvers/Optim.jl/pull/1177 @thchr made their first contribution in https://github.com/JuliaNLSolvers/Optim.jl/pull/1172 Full Changelog: https://github.com/JuliaNLSolvers/Optim.jl/compare/v1.13.3...v2.0.0

Publication details

Journal / source
Zenodo (CERN European Organization for Nuclear Research)
Publication date
9 January 2026