Re: [R] box-constrained

From: Paul Smith <phhs80_at_gmail.com>
Date: Mon, 10 Mar 2008 20:10:13 +0000

On Mon, Mar 10, 2008 at 4:02 PM, Gustave Lefou <gustave5000_at_gmail.com> wrote:
> 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.

Gustave,

It would be useful if you gave us a concrete function (with its functional form defined) as an example.

Paul

> 2008/3/10, Paul Smith <phhs80@gmail.com>:
> >
> >
> >
> > On Sun, Mar 9, 2008 at 9:10 PM, Gustave Lefou <gustave5000_at_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_at_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.
> >
>
>



R-help_at_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. Received on Mon 10 Mar 2008 - 20:12:23 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 10 Mar 2008 - 20:30:21 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive