[R] constraint in constrOptim

Paul Smith phhs80 at gmail.com
Thu Aug 2 21:50:50 CEST 2007


On 8/2/07, André Rossi <andrerossidc at yahoo.com.br> wrote:
> I'm using the function constrOptim together with the "SANN" method and
> my objective function (f) has two parameters. One of the parameters
> needs be into (2^(-10), 2^4) range and the other into (2^(-2), 2^12)
> range. How can I do it using constrOptim??

I think that you, André, do not need constrOptim; optim is enough. See

?optim

Paul



More information about the R-help mailing list