Sometimes we want to fit a PK/PD model with fixed PK parameters. Currently however, users must pass both PK and PD parameters in the array theta. We should relax this, and allow users to pass variables in the ODE system using x_r and x_i (i.e. real and integer data). This should lead to an appreciable speed-up.
Even more so, in fact, with the mixed solver (for the Friberg-Karlsson model, the theoretical speed-up would be around 70 - 80 %). The coding shouldn't be too bad; we need to make sure we promote variables only when necessary.
The only major drawback I see (other than development effort) is that this would make the function signature heavier. It might be worth thinking about ways around it.
Expected Output
Allow users to pass variables in the ODE system using x_r and x_i (i.e. real and integer data). An example can be found at #17.
Description
Referenced in https://github.com/metrumresearchgroup/math/issues/5
Example
Quote @charlesm93 in above issue
Expected Output
Allow users to pass variables in the ODE system using x_r and x_i (i.e. real and integer data). An example can be found at #17.
Current Version:
v0.87.1