Hi,
I'd like to use NPSOL optimizer. I tried to switch from CSOLNP to NPSOL optimizer using mxOption but it doesn't work. Also, I was not able to install NPSOL by applying omxGetNPSOL() function. What should I do to use NPSOL optimizer? I use Windows 10, and my version of R is 3.5.1, and OpenMx 2.10.
best regards,
Krzysiek
if you're using umx
install.OpenMx("NPSOL")
will grab the NPSOL version for you.umx_set_optimizer()
will show your available options, and let you set themumx_set_optimizer("NPSOL")
Best, tim
Thank you for the information. Unfortunately, I can not do this because install.OpenMx ("NPSOL") function comes from the umx package, which requires OpenMx package. I can not modify the package that is currently in use.
best,
Krzysiek
Restart R (or at least, unload OpenMx) and follow the instructions here. Basically, copy-paste this,
, into the R prompt and hit the Enter key. You may then want to restart R before trying to load OpenMx. You are indeed correct that Windows will not allow a package that's currently loaded to be overwritten on disk.
Thank you! It works!
Krzysiek
Glad to hear it.