Skip to content
Prev 247991 / 398503 Next

nlminb doesn't converge and produce a warning

On Fri, Jan 21, 2011 at 3:51 AM, kamel gaanoun <kamel.gaanoun at gmail.com> wrote:
Hmm, the length of the parameter vector shown below is 189, which is
neither 31*6 nor 2 + 29*6.

I suppose it is possible to do nonlinear optimization with box
constraints on such a large number of parameters but you should expect
it to take a long time and perhaps a lot of memory.  Even if the
optimizer converges, it would be optimistic to expect that the
parameter value returned is necessarily the global optimum.  I would
recommend trying to simplify the optimization problem.  A method like
this is just using the computer as a blunt instrument with which to
bludgeon the problem to death (sometimes called the "SAS approach").