Skip to content
Prev 247992 / 398503 Next

nlminb doesn't converge and produce a warning

Hi,

It is indeed annoying that each optimization code has different names for the parameters that control the behavior of the algorithms.  This is one of the reasons that we have developed "optimx" - to unify the calling convention for the various algorithms.  You can call the optimization algorithm of your choice without having to worry about the names of the control parameters. 

Ravi.

-------------------------------------------------------
Ravi Varadhan, Ph.D.
Assistant Professor,
Division of Geriatric Medicine and Gerontology School of Medicine Johns Hopkins University

Ph. (410) 502-2619
email: rvaradhan at jhmi.edu

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Karl Ove Hufthammer
Sent: Friday, January 21, 2011 6:48 AM
To: r-help at stat.math.ethz.ch
Subject: Re: [R] nlminb doesn't converge and produce a warning
kamel gaanoun wrote:

            
Just increase the maximum number of iterations. Which you tried to do, but 
didn?t succeed in, as the above warnings shows. The argument is called 
?iter.max?, not ?max.iter?.