Fix various issues in initializing nimOptim, plus use of Laplace updateSettings#1581
Fix various issues in initializing nimOptim, plus use of Laplace updateSettings#1581
Conversation
Ensure fnscale=-1 in inner Laplace when using updateSettings. Use `working_maxit` consistently in nimOptim solve.
|
Note that in Laplace we should only set fnscale to -1 if it is set to the default value of 1, so as to allow users to set it to something different (e.g., -10). I've done that in |
|
@paciorek Thanks for catching the needs for My idea with allowing replacement of the optimControlList was that it is an advanced thing to do, and so if a user does it, they must attend to all elements of the optimControlList. I did not want to put in the effort to somehow allow changing just individual elements, and I suspect it would get clunky. So it could be little discordant to stick in |
|
@perrydv sorry to be confusing about the |
See NCT 571 for a full description of the bug and the necessary changes.