ADNLPModels
This package provides AD-based model implementations that conform to the NLPModels API. The following packages are supported:
ForwardDiff.jl
: default choice.Zygote.jl
: you must loadZygote.jl
separately and passADNLPModels.ZygoteAD()
as theadbackend
keyword argument to theADNLPModel
orADNLSModel
constructor.ReverseDiff.jl
: you must loadReverseDiff.jl
separately and passADNLPModels.ReverseDiffAD()
as theadbackend
keyword argument to theADNLPModel
orADNLSModel
constructor.
How to Cite
If you use ADNLPModels.jl in your work, please cite using the format given in CITATION.bib.
Installation
pkg> add ADNLPModels