OpenMx 2.2.3 with SLSQP optimizer

Posted on
Picture of user. Mike Cheung Joined: 10/08/2009

I am testing the SLSQP optimizer in the GitHub version (OpenMx 2.2.3). It seems that it will return an error code 6 when the estimates hit the lower bounds. The NPSOL optimizer seems to work fine in this case. The -2logLikelihoods of both solutions are equal (up to 4 decimal places). Please see the attached examples.

Replied on Sun, 05/24/2015 - 23:44
Picture of user. jpritikin Joined: 05/23/2012

The gradient of this model is clearly not close to zero,

My model.M[1,1] My model.V[1,1] 
   1.939242e-07    7.424089e+00 

Hence, I argue that the behavior of SLSQP is correct and NPSOL is wrong. Don't we want a code 6 in this circumstance?