JuliaSmoothOptimizers / NLPModels.jl

Data Structures for Optimization Models
Other
173 stars 35 forks source link

Add an API for third order tensor products #482

Open amontoison opened 1 month ago

amontoison commented 1 month ago

It will be great to have a few routines to compute tensor products. We can do that with Enzyme.jl and add a backend for it in ADNLPModels.jl.

tmigot commented 1 month ago

I have the code, for third order products so I can upload it and see how can improve it :).

tmigot commented 1 month ago

@amontoison Do you have a link to what Enzyme is doing for this?

amontoison commented 1 month ago

@wsmoses and @michel2323 can probably better explain than me. The first step is to add it in the API on Enzyme.jl, I discussed about it with Michel this morning. I hope that we can discuss about that all together next week during AD2024.