On Wed, May 2, 2012 at 7:58 AM, Arnaud Mosnier <a.mosn...@gmail.com> wrote:
> Dear UseRs,
>
> Is there a way to define the lower-upper bounds for parameters fitted by
> optim using the Nelder-Mead method ?
>

It depends a bit on whether it's plausible that the solution is on the
boundary.  If not, simply returning Inf for values outside the range
will work.

    -thomas

-- 
Thomas Lumley
Professor of Biostatistics
University of Auckland

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to