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.
If you use ADNLPModels.jl in your work, please cite using the format given in CITATION.bib.
pkg> add ADNLPModels