Skip to content
Prev 278904 / 398502 Next

Parameters setting in functions optimization

optimx does allow you to use bounds. The default is using only methods from optim(), but
even though I had a large hand in those methods, and they work quite well, there are other
tools available within optimx that should be more appropriate for your problem.

For example, the current version of optimx should work quite well with lower and upper
bounds specified, and you can see which methods work well by putting
control=list(all.methods=TRUE). all.methods would be overkill for general use of course.

I am hoping to have a new version of optimx up on R-forge within a week -- there are so
many options to check -- that traps the NaNs etc. if it can, and also allows parameter and
function scaling as well as several other new features. This is all experimental at the
moment, but initial results are promising. This is less about "better methods" than about
trapping errors and bad scaling etc. However, if you are able to share your script and
data, I'll be happy to use it as a test and report back to you  if you can communicate it
to me off-list.

Best, JN
On 11/30/2011 06:00 AM, r-help-request at r-project.org wrote: