JuliaNLSolvers / Optim.jl

Optimization functions for Julia
Other
1.11k stars 213 forks source link

Univariate optimisation options #1008

Closed mahaa2 closed 1 year ago

mahaa2 commented 1 year ago

Hi,

In a simple example say,

optimize(x -> x^2.0, eps(), 1e6, Brent(), Optim.Options(g_tol = 1e-12))

it returns an error.

Is it possible to select different options for univariate optimisation ?

mahaa2 commented 1 year ago

Found it.