Skip to content
Back to formatted view

Raw Message

Message-ID: <ihbrp3$fki$2@dough.gmane.org>
Date: 2011-01-21T11:47:55Z
From: Karl Ove Hufthammer
Subject: nlminb doesn't converge and produce a warning

kamel gaanoun wrote:

> I use nlminb like this :
> res1<-nlminb(vect, V, lower=c(rep(0.01, 12), rep(0.01, 3), rep(-Inf,
> n-15)), upper=c(rep(Inf, 12), rep(0.99, 3), rep(Inf, n-15)), control =
> list(maxit=1000) )
> 
> and that's the result :
> 
> Message d'avis :
> In nlminb(vect, V, lower = c(rep(0.01, 12), rep(0.01, 3), rep(-Inf,  :
> unrecognized control element(s) named `maxit' ignored

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?.

-- 
Karl Ove Hufthammer