LineSearches.jl
LineSearches.jl copied to clipboard
Line search methods for optimization and root-finding
For a line search of a line a warning is printed which is not desirable: `Optim.optimize(xs -> xs[1], [0.0], [1.0], [nextfloat(0.0)], Optim.Fminbox(Optim.BFGS()))` The warning: ``` ┌ Warning: Failed to achieve...
Hi, I have seen, that this issue has come up before, but since this was some time ago I thought it might be helpful to start another issue: I am...
This line https://github.com/JuliaNLSolvers/LineSearches.jl/blob/62ffafe6f4dd68032e42b11c31b8e4e24c4c9ae4/src/hagerzhang.jl#L503 is raising an `AssertionError` in my code. ```jl AssertionError: isfinite(phi_d) && isfinite(gphi) Stacktrace: [1] bisect!(ϕdϕ::LineSearches.var"#ϕdϕ#6"{Optim.ManifoldObjective{OnceDifferentiable{Float64, Vector{Float64}, Vector{Float64}}}, Vector{Float64}, Vector{Float64}, Vector{Float64}}, alphas::Vector{Float64}, values::Vector{Float64}, slopes::Vector{Float64}, ia::Int64, ib::Int64, phi_lim::Float64, display::Int64)...
While doing a benchmark for Julia vs Python in https://github.com/JuliaNLSolvers/Optim.jl/issues/922, I have found scipy.optimize's `dcsrch` (so I use PyCall to do scipy.optimize.minimize on a Julia model) to be faster than...
Hi, I am running LBFGS optimization algorithm with MoreThuente linesearch algorithm. I track the execution of the algorithm by damping the output of the trace into the terminal. In some...
https://github.com/JuliaNLSolvers/Optim.jl/issues/802
Specifically, all the links on [this page](https://julianlsolvers.github.io/LineSearches.jl/stable/reference/linesearch.html) link to https://github.com/JuliaLang/julia/blob/0d713926f85dfa3e4e0962215b909b8e47e94f48/base/#L0-L12 with the last bit changing occasionally. I clicked on Edit on GitHub, but it appears the docs were created with...
Here's a reproduction along with the error message: https://gist.github.com/samuela/d53088b8aa7403a77ec5b6e51166c0f3
We should create documentation, or at the very least explain the input and output structure for the linesearch algorithms.
Hey, I'm the author of [MultiFloats.jl](https://github.com/dzhang314/MultiFloats.jl), a new Julia package for extended precision arithmetic. I'd like to make my `MultiFloat{T,N}` type compatible with Optim.jl, but unfortunately I don't have an...