If you are using NONMEM 7.2, IMAX can be increased by setting MAXFCN, by 
inserting as the first executable line in the control stream file:

$SIZES MAXFCN=1000000000

Keep in mind that as a 4 byte integer, MAXFCN cannot exceed 2**31=2147483648.
 


Robert J. Bauer, Ph.D.
Vice President, Pharmacometrics
ICON Development Solutions 
Tel: (215) 616-6428
Mob: (925) 286-0769
Email: [email protected]
Web: www.icondevsolutions.com 
 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Wenjun
Sent: Wednesday, June 22, 2011 4:53 PM
To: Li Li
Cc: [email protected]
Subject: Re: [NMusers] How to Increase Maximum NO. of Evaluations of 
Differential Equation in NONMEM 7

Dear lili,
You can try following code:

" FIRST
" USE PRCOM_INT,ONLY:MITER,METH,IMAX,ISTFLG,INTFLG
" MAIN
" IMAX=10000000000000

Hope it helps.

Wenjun Ni, Ph.D.
Division of Pharmaceutics
College of Pharmacy
The Ohio State University
500 W 12th Ave
Columbus, OH 43210


On Wed, Jun 22, 2011 at 4:17 PM, Li Li <[email protected]> wrote:
> 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
ICON plc made the following annotations.
------------------------------------------------------------------------------
This e-mail transmission may contain confidential or legally privileged 
information
that is intended only for the individual or entity named in the e-mail address. 
If you
are not the intended recipient, you are hereby notified that any disclosure, 
copying,
distribution, or reliance upon the contents of this e-mail is strictly 
prohibited. If
you have received this e-mail transmission in error, please reply to the 
sender, so that
ICON plc can arrange for proper delivery, and then please delete the message.
Thank You,
ICON plc
South County Business Park
Leopardstown
Dublin 18
Ireland
Registered number: 145835

Reply via email to