If the optimizer is becoming important it may be worth trying out a variety from optimx and/or nloptr ...
--
To post to this group, send email to us...@tmb-project.org. Before posting, please check the wiki and issuetracker at https://github.com/kaskr/adcomp/. Please try to create a simple repeatable example to go with your question (e.g issues 154, 134, 51). Use the issuetracker to report bugs.
---
You received this message because you are subscribed to the Google Groups "TMB Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tmb-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tmb-users/ffddab18-7854-4ddd-b934-8ca5ae1dd25fn%40googlegroups.com.
compile("example.cpp", openmp = TRUE, framework = "TMBad")
openmp(ncores, autopar = TRUE)
obj <- MakeADFun(data, parameters, DLL="example")
TMB:::op_table(obj$env$ADFun) #shows how processes are split into separate threads
openmp(1, autopar = FALSE) #switch back to one core
--
To post to this group, send email to us...@tmb-project.org. Before posting, please check the wiki and issuetracker at https://github.com/kaskr/adcomp/. Please try to create a simple repeatable example to go with your question (e.g issues 154, 134, 51). Use the issuetracker to report bugs.
---
You received this message because you are subscribed to the Google Groups "TMB Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tmb-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tmb-users/5b1a5b83-7774-4cc5-884d-c88ecfa6cfaen%40googlegroups.com.
Have you tried the new(ish) autopar feature? See ?openmp
--