On 8/2/07, André Rossi <[EMAIL PROTECTED]> 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 ______________________________________________ R-help@stat.math.ethz.ch 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.