There seems to be two issues in using omxSetParameters to reset bounds. Please see below.
Now I would like to remove the lower bound
This gives an error: " 'lbound' argument must either be NA or a numeric vector. "
But I was using NA exactly.
This time the reset is successful, though the previous error message suggests using NA.
The minimization is not successful. You can check the estimate.
There is a warning saying: "In model 'model' NPSOL returned a non-zero status code 9. An input parameter ### was invalid "
A question: If I simply use -Inf instead of NaN, the reset is also successful, but the state of the model is different from one where the lbound is not set. Would there be numerical issues?