Alexis Montoison
Alexis Montoison
@tmigot Can you try this function to see if it allocates please. ```julia function hess_op!( nlp::AbstractNLPModel, x::AbstractVector, Hv::AbstractVector, obj_weight::Real = one(eltype(x)), ) @lencheck nlp.meta.nvar x Hv prod = (res, v)...
The creation of a linear operator structure just allocates maybe and it can't be avoided.
All the allocations are in LinearOperators.jl. The main issue is this line: https://github.com/JuliaSmoothOptimizers/LinearOperators.jl/blob/main/src/abstract.jl#L75 We also always allocate two empty vectors: https://github.com/JuliaSmoothOptimizers/LinearOperators.jl/blob/main/src/abstract.jl#L74 ```julia using NLPModelsTest nlp = eval(Meta.parse(NLPModelsTest.nlp_problems[1]))() test_allocs_nlpmodels(nlp) using Profile,...
The issue was Aqua.jl. I created a workflow to avoid some issues with it. It should be fixed now. You could merge #251 before the new release.
> Can we test with MKL on CI machines? Yes, you just need to add `MKL_jll` as a test dependency. This simple modification should work. ``` @testset "C" begin include("C_wrapper.jl")...
> Windows segfault seems related: https://github.com/jump-dev/Ipopt.jl/runs/7986459839?check_suite_focus=true > > Does LBT not work on Windows? I never tested LBT on Windows. I don't know if it's related to the new version...
> Windows segfault seems related: https://github.com/jump-dev/Ipopt.jl/runs/7986459839?check_suite_focus=true > > Does LBT not work on Windows? It seems to be related to OpenBLAS32. We should test with `v0.3.10` and `v0.3.12` to see...
> Also, perhaps we want to only forward if the user has not already set up a forward. Otherwise you have to load packages in the right order so that...
> Yes, I see what you were doing. It suggests the problem is perhaps elsewhere with Ipopt. Do we know if this version of Ipopt works on windows? Perhaps we...
It should be my last wave of comments!