NONMEM Users Network Archive

Hosted by Cognigen

RE: help on a minimization problem

From: Ludden, Thomas <Thomas.Ludden>
Date: Tue, 22 Jun 2010 14:10:52 -0400

Ethan and Nick,
 
To change the maximum number of calls during an integration interval for
NM7 try placing the following at the beginning of $PK.

"FIRST
" USE PRCOM_INT, ONLY: IMAX
 
and somewhere after all MU-referencing specify the IMAX value.
 
For example,

" IMAX=3000000
 
Beginning with version VI the default value is 1000000.
 
To change the default value, redefine MAXFCN in SIZES and recompile.
 
Tom

 
________________________________

From: owner-nmusers
On Behalf Of Nick Holford
Sent: Friday, June 18, 2010 4:29 PM
To: nmusers
Subject: Re: [NMusers] help on a minimization problem


Ethan,

There are (at least) two kinds of evaluations/iterations you need to be
aware of when using NONMEM.

1. The number of function evaluations which is a way of limiting the
total work that NONMEM tries to make during estimation. It is determined
by the estimation option MAXEVAL.

2. The number of iterations used by the differential equation solver
when trying to make a step from one data record to the next.

The problem you report is with the number of function evaluations. In
NM7 you can specify a number larger than 10000 to ask NONMEM to do more
work.

The verbatim code trick you tried works with NMVI but not with NM7 to
increase the number of differential equation solver iterations. Does
anybody know how to get NM7 to try harder to solve differential
equations?

Nick


Ethan Wu wrote:

        Hi users,
          I ran into this error with a analyis using PRED routine.
        0MINIMIZATION TERMINATED
         DUE TO MAX. NO. OF FUNCTION EVALUATIONS EXCEEDED
         NO. OF FUNCTION EVALUATIONS USED: 10093
         NO. OF SIG. DIGITS UNREPORTABLE
        
        I did find in previous discussion, people suggested to do by
adding this under $PK
        " FIRST
        " COMMON /PRCOMG/ IDUM1,IDUM2,IMAX,IDUM4,IDUM5
        " INTEGER IDUM1,IDUM2,IMAX,IDUM4,IDUM5
        " IMAX=100000
        
        but, when I added above below $PRED, it didn't work.
        Any suggestion? Thanks.



--
Nick Holford, Professor Clinical Pharmacology
Dept Pharmacology & Clinical Pharmacology
University of Auckland,85 Park Rd,Private Bag 92019,Auckland,New Zealand
tel:+64(9)923-6730 fax:+64(9)373-7090 mobile:+64(21)46 23 53
email: n.holford
http://www.fmhs.auckland.ac.nz/sms/pharmacology/holford

ICON plc made the following annotations.
-------------------------------------------------------------------------=
-----
This e-mail transmission may contain confidential or legally privileged i=
nformation
that is intended only for the individual or entity named in the e-mail ad=
dress. If you
are not the intended recipient, you are hereby notified that any disclosu=
re, copying,
distribution, or reliance upon the contents of this e-mail is strictly pr=
ohibited. 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 mess=
age.
Thank You,
ICON plc
South County Business Park
Leopardstown
Dublin 18
Ireland
Registered number: 145835

Received on Tue Jun 22 2010 - 14:10:52 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.