Skip to main content
Log in

Transforming parts of a differential equations system to difference equations as a method for run-time savings in NONMEM

  • Published:
Journal of Pharmacokinetics and Pharmacodynamics Aims and scope Submit manuscript

Abstract

Computer models of biological systems grow more complex as computing power increase. Often these models are defined as differential equations and no analytical solutions exist. Numerical integration is used to approximate the solution; this can be computationally intensive, time consuming and be a large proportion of the total computer runtime. The performance of different integration methods depend on the mathematical properties of the differential equations system at hand. In this paper we investigate the possibility of runtime gains by calculating parts of or the whole differential equations system at given time intervals, outside of the differential equations solver. This approach was tested on nine models defined as differential equations with the goal to reduce runtime while maintaining model fit, based on the objective function value. The software used was NONMEM. In four models the computational runtime was successfully reduced (by 59–96%). The differences in parameter estimates, compared to using only the differential equations solver were less than 12% for all fixed effects parameters. For the variance parameters, estimates were within 10% for the majority of the parameters. Population and individual predictions were similar and the differences in OFV were between 1 and −14 units. When computational runtime seriously affects the usefulness of a model we suggest evaluating this approach for repetitive elements of model building and evaluation such as covariate inclusions or bootstraps.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3

Similar content being viewed by others

References

  1. Troconiz IF, Naukkarinen TH, Ruottinen HM, Rinne UK, Gordin A, Karlsson MO (1998) Population pharmacodynamic modeling of levodopa in patients with Parkinson’s disease receiving entacapone. Clin Pharmacol Ther 64:106–116

    Article  CAS  PubMed  Google Scholar 

  2. Friberg LE, Henningsson A, Maas H, Nguyen L, Karlsson MO (2002) Model of chemotherapy-induced myelosuppression with parameter consistency across drugs. J Clin Oncol 20:4713–4721

    Article  PubMed  Google Scholar 

  3. Friberg LE, Vermeulen AM, Petersson KJ, Karlsson MO (2009) An agonist-antagonist interaction model for prolactin release following risperidone and paliperidone treatment. Clin Pharmacol Ther 85:409–417

    Article  CAS  PubMed  Google Scholar 

  4. Hamren B, Bjork E, Sunzel M, Karlsson M (2008) Models for plasma glucose, HbA1c, and hemoglobin interrelationships in patients with type 2 diabetes following tesaglitazar treatment. Clin Pharmacol Ther 84:228–235

    Article  CAS  PubMed  Google Scholar 

  5. Hamrén B (2008) Safety and efficacy modelling in anti-diabetic drug development. Paper II in Doctoral thesis, Department of Pharmaceutical Biosciences, Division of Pharmacokinetics and Drug Therapy, Uppsala University, Uppsala

  6. Ribbing J, Hamren B, Svensson MK, Karlsson MO (2010) A model for glucose, insulin, and beta-cell dynamics in participants with insulin resistance and patients with type 2 diabetes. J Clin Pharmacol (in press)

  7. Silber HE, Jauslin PM, Frey N, Gieschke R, Simonsson US, Karlsson MO (2007) An integrated model for glucose and insulin regulation in healthy volunteers and type 2 diabetic patients following intravenous glucose provocations. J Clin Pharmacol 47:1159–1171

    Article  CAS  PubMed  Google Scholar 

  8. Lonnebo A, Grahnen A, Karlsson MO (2007) An integrated model for the effect of budesonide on ACTH and cortisol in healthy volunteers. Br J Clin Pharmacol 64:125–132

    Article  PubMed  Google Scholar 

  9. Sheiner LB, Beal SL (1992) NONMEM users guide. University of California, San Francisco

    Google Scholar 

  10. Jonssonand EN, Karlsson MO (1999) Xpose–an S-PLUS based population pharmacokinetic/pharmacodynamic model building aid for NONMEM. Comput Methods Programs Biomed 58:51–64

    Article  Google Scholar 

  11. Petersson KJ, Hanze E, Savic RM, Karlsson MO (2009) Semiparametric distributions with estimated shape parameters. Pharm Res 26:2174–2185

    Article  CAS  PubMed  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to K. J. F. Petersson.

Appendix

Appendix

See Table 3.

Table 3 Changes made in NM-TRAN control stream for model 3

Rights and permissions

Reprints and permissions

About this article

Cite this article

Petersson, K.J.F., Friberg, L.E. & Karlsson, M.O. Transforming parts of a differential equations system to difference equations as a method for run-time savings in NONMEM. J Pharmacokinet Pharmacodyn 37, 493–506 (2010). https://doi.org/10.1007/s10928-010-9169-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10928-010-9169-x

Keywords

Navigation