NONMEM Users Network Archive

Hosted by Cognigen

Re: How to Increase Maximum NO. of Evaluations of Differential Equation in NONMEM 7

From: Sebastian Ueckert <sebastian.ueckert>
Date: Wed, 22 Jun 2011 23:10:41 +0200

Hi Li,

before you increase the number of maximal evaluations you should try the
ADVAN8 or ADVAN13 solvers. It is typically a sign for a stiff differential
equation if a high number of steps is needed to meet the specified
integration tolerance.
ADVAN8 is using more complicated numerical methods to solve the ODE. For a
non-stiff ODE those additional efforts lead to longer run times with no
additional benefits. For a stiff ODE these efforts lead to a quicker
solution.
ADVAN13 is a hybrid version between stiff and non-stiff solver which tries
to determine automatically what method is most adapted.

Hope that help

Sebastian

Sebastian Ueckert, MSc, PhD student
-----------------------------------------------
Pharmacometrics Research Group,
Department of Pharmaceutical Biosciences,
Uppsala University
-----------------------------------------------
P.O. Box 591
SE-751 24 Uppsala
Sweden
-----------------------------------------------
sebastian.ueckert
-----------------------------------------------
Work: +46-(0)18-471 4437


On Wed, Jun 22, 2011 at 10:17 PM, Li Li <lili.uf2009

> Hi,
>
> I am using ADVAN 6 to do some PKPD modeling and got this error message:
> NUMERICAL DIFFICULTIES WITH INTEGRATION
> ROUTINE.
>
> MAXIMUM NO. OF EVALUATIONS OF DIFFERENTIAL EQUATIONS, 1000000,
> EXCEEDED.
>
> I know in NONMEM 6 you may use following code to increase maximum number of
> integration of differential equation:
> "FIRST
> " COMMON /PRCOMG/ IDUM1,IDUM2,IMAX,IDUM4,IDUM5
> " INTEGER IDUM1,IDUM2,IMAX,IDUM4,IDUM5
> " IMAX=100000000
> But in NONMEM 7 it gave error message:
> (WARNING 113) VERBATIM CODE CONTAINS "COMMON". IF THIS IS NOT A
> USER-DEFINED COMMON, IT SHOULD BE REPLACED BY THE APPROPRIATE MODULE.
> CREATING MUMODEL ROUTINE...
>
> Thus, how can I increase maximum number of integration of differential
> equation in NONMEM 7?
>
> Thank you.
>
> lili
>

Received on Wed Jun 22 2011 - 17:10:41 EDT

The NONMEM Users Network is maintained by ICON plc. Requests to subscribe to the network should be sent to: nmusers-request@iconplc.com.

Once subscribed, you may contribute to the discussion by emailing: nmusers@globomaxnm.com.