If JuMP is used to compute the Hessian, does it use ReverseDiffSparse? If JuMP is used to only compute the gradient, does it instead use ForwardDiff? The JuMP documentation (https://jump.readthedocs.io/en/latest/nlp.html#) indicates that both packages are used to compute automatic derivatives.
If JuMP is used to compute the Hessian, does it use ReverseDiffSparse? If JuMP is used to only compute the gradient, does it instead use ForwardDiff? The JuMP documentation (https://jump.readthedocs.io/en/latest/nlp.html#) indicates that both packages are used to compute automatic derivatives.