# Generic code, iterative methods and automatic differentiation

**URL:** <https://discourse.julialang.org/t/generic-code-iterative-methods-and-automatic-differentiation/15528>\
**Category:** Optimization (Mathematical)\
**Created:** [September 26, 2018, 7:17pm UTC](https://discourse.julialang.org/t/generic-code-iterative-methods-and-automatic-differentiation/15528 "2018-09-26T19:17:41Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [September 28, 2018, 4:37pm UTC](https://discourse.julialang.org/t/generic-code-iterative-methods-and-automatic-differentiation/15528/4 "2018-09-28T16:37:08Z")

</div>

> [@Bernard\_GODARD](#):
>
> In your comparison are you using AD to obtain the coefficients of the linear sensitivity ODE (if so I guess the same AD technique against which you are benchmarking?)

Yes, we are using ForwardDiff to generate the Jacobian if the user doesn’t supply one. You can take a look at our code here:

[https://github.com/JuliaDiffEq/DiffEqSensitivity.jl/blob/master/src/local\_sensitivity.jl#L36-L66](https://github.com/JuliaDiffEq/DiffEqSensitivity.jl/blob/master/src/local_sensitivity.jl#L36-L66)

and it ties into DiffEqDiffTools. We’re going to take one last pass through checking for optimizations before really committing to the conclusion, but so far haven’t found anything.

> [@Bernard\_GODARD](#):
>
> In which journal will you be publishing?

> [@\[ANN\] Julia Special Issue in Advances in Engineering Software](https://discourse.julialang.org/t/ann-julia-special-issue-in-advances-in-engineering-software/11874):
>
> The [Julia special issue](https://discourse.julialang.org/t/special-issue-on-julia/6839) in the [Advances in Engineering Software Journal](https://www.sciencedirect.com/journal/advances-in-engineering-software) (Elsevier) is now open for submission. The timing is as follows: Open submission portal 21-June-2018. Submission deadline 15-October-2018. Acceptance deadline 15-March-2019. If you’d like to see samples of the publications in special issues, follow [this link](https://www.journals.elsevier.com/advances-in-engineering-software/special-issues), and in particular the [exascale computing special issue](https://www.sciencedirect.com/journal/advances-in-engineering-software/vol/111) may be of interest. The manuscript should be submitted through the [regular portal](https://www.evise.com/profile/api/navigate/ADES). Please select the “VSI: …

Hopefully it gets done by then!

---

_[View the full topic](https://discourse.julialang.org/t/generic-code-iterative-methods-and-automatic-differentiation/15528)._
