Closed stevencarlislewalker closed 2 years ago
Any thoughts @bbolker?
not off the top of my head. Can you do what you want with appropriate use of SIMULATE or analogous macros? (I don't know if !(SIMULATE) works but suspect it would, i.e. wrap objective function computations in if (!SIMULATE) ?
Implemented different flexmodel
classes for different purposes, each of which makes the appropriate links with c++/tmb.
There are two possible approaches:
I like the second one better because it will reduce the complexity of the C++ code and I have found that generating AD functions is quite cheap computationally.