NLSolversBase.jl icon indicating copy to clipboard operation
NLSolversBase.jl copied to clipboard

Base package for optimization and equation solver software in JuliaNLSolvers

Results 13 NLSolversBase.jl issues
Sort by recently updated
recently updated
newest added

It seems strange to me that these fields are `Vector{Int}` when the objective types (`OnceDifferentiable` etc.) are already mutable. Is there any use case where a vector is needed to...

xref https://github.com/JuliaNLSolvers/Optim.jl/pull/977, specially point 1 of the TODO list: > The passing of array type for the Jacobian of the constraints is ugly. I made it an argument to IPNewton,...

The `x_of_nans` function gives a `MethodError` for 0-dimensional arrays due to JuliaLang/julia#41643. A workaround is to use `map(Tf, x)` instead of `Tf.(x)`. Before this PR: ```jl julia> x_of_nans(fill(0.0)) ERROR: MethodError:...

For instance, how does one learn how to use `TwiceDifferentiableConstraints`? `?TwiceDifferentiableConstraints` says "No documentation found". The documentation of `Optim.jl` uses it in [the `IPNewton` tutorial](https://julianlsolvers.github.io/Optim.jl/stable/#examples/generated/ipnewton_basics/), but doesn't explain what it...

Based on the discussion at https://discourse.julialang.org/t/surprising-runtime-behaviour-when-wrapping-functions/68140/3 the small test program ``` using BenchmarkTools using NLSolversBase function evaluate(f, x) return f(x) end function evaluate(od::OnceDifferentiable, x) return od.f(x) end function test(f, n)...

Running JET results in the following message ``` ┌ @ C:\Users\Win10\source\repos\julia\NLSolversBase.jl-7.8.1\src\objective_types\incomplete.jl:46 │ ArgumentError: invalid type for argument t in method definition for make_f at C:\Users\Win10\source\repos\julia\NLSolversBase.jl-7.8.1\src\objective_types\incomplete.jl:46 │ Stacktrace: │ [1] evaluate_methoddef(frame::JuliaInterpreter.Frame,...

Hi, it would be nice to have this option available (and propagate it to Optim.jl as well), this setting can have a great impact on performances/allocations in some situations (see...

I was considering extending the autodiff compatibilities of NLSolverBase and PR the result back. I wanted to include ReverseDiff.jl, Zygote.jl and maybe also forward-over-reverse for the Hessian. Is there any...

Text and code refer to Hosaki's function but the math image is Himmelblau's function. ![image](https://user-images.githubusercontent.com/7318249/101292485-02a60900-3810-11eb-929c-7d1fbcabe724.png) Later Himmelblau's function is referenced again ![image](https://user-images.githubusercontent.com/7318249/101292534-4ef14900-3810-11eb-8ab9-7bb43ca84950.png)

This is required for Optim to support zeroth order methods with complex minimizers. A PR for that will follow in a few minutes.