andrewhooker / PopED

Population Experimental Design (PopED) in R
https://andrewhooker.github.io/PopED/
GNU Lesser General Public License v3.0
33 stars 21 forks source link

Gradient function #63

Open mattfidler opened 2 years ago

mattfidler commented 2 years ago

Hi @andrewhooker

Is there a place to provide a gradient to speed up the calculation?

Thanks in advance,

Matt

andrewhooker commented 2 years ago

Hi Matt,

There are a number of places a gradient can be supplied. Were you thinking for the FIM calculation, for improving gradient based search algorithms or something else?

Andy

mattfidler commented 2 years ago

Thanks Andy,

Possibly for both. rxode2 calculates these for nlmixr2 focei and I thought they would be useful in both FIM calculation. I didn't see a hook so I didn't know if this was possible.

I was thinking of taking a nlmixr-style model and translating it to PopED, and was wondering if this would be useful and speed up the computation or increase the accuracy. This is currently mostly a development idea, but something I think may be useful.

Matt