Hello Paul,

It is just a negative log-likelihood with two parameters belonging to [0,1]
and [0,Inf].

constrOptim is valid for all linear inequality constraints. My constraints
(box-constrained) are as simple as possible, but maybe the methods used by
constrOptim are useful too. My question is whether constrOptim is useful for
boundary problems, or if optim is sufficient for box-constrained
optimization.

Thank you.


2008/3/10, Paul Smith <phhs80@gmail.com>:
>
> On Sun, Mar 9, 2008 at 9:10 PM, Gustave Lefou <gustave5000@gmail.com>
> wrote:
> >  I have another question.
> >
> >  I have seen there is a function called "constrOptim" in R.
> >
> >  Is it better than "optim", for example to optimize a function f of two
> >  parameters belonging to [0,1] and [0,Infinity] ? Do the methods
> >  supplied like Nelder-Mead are better than those of optim ?
>
> Could you please give us a concrete example of what you are trying to
> optimize?
>
> Paul
>
> ______________________________________________
> 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.
>

	[[alternative HTML version deleted]]

