NOAA-FIMS / FIMS

The repository for development of FIMS
https://noaa-fims.github.io/FIMS/
GNU General Public License v3.0
13 stars 9 forks source link

[Developer Issue]: wrapper function to run a FIMS model #621

Open kellijohnson-NOAA opened 3 months ago

kellijohnson-NOAA commented 3 months ago

Issue details

It would be nice to have a single function to run a FIMS model where everything is ran in an environment inside the wrapper function so your working environment is not polluted and you do not have to make multiple calls to non-FIMS functions, i.e., MakeADFun() and optim(). This wrapper function will help make FIMS more accessible to non-power users. Good examples exist in {sdmTMB} and {glmmTMB}. This topic is touched on in the following issues

The timeline for the development of this R function is still underway but research is currently being conducted.

Notes for the development of this function can be found here on Google Drive.

Andrea-Havron-NOAA commented 3 months ago

The Kristensen et al. 2016 paper performed a comparison between optim and nlminb and found nlminb to be more stable and faster.

Bai-Li-NOAA commented 3 months ago

Thanks @Andrea-Havron-NOAA, we will use nlminb in the wrapper function as suggested.