A place to discuss mxRun
Is it possible for mxRun to give some help in locating an error?
i did this
Error in mxRun(model) : Non-conformable matrices in Matrix Subtract.
I don't think I am using matrix subtraction, so it would be v.handy to have the error generator tag the message with where it was up to, like
"I was checking model ‘share’ when I felt I had to tell you:..."
I ran trackback() and got this, which didn't much enlighten me unfortunately.
2: .Call("callNPSOL", objective, startVals, constraints, matrices,
parameters, algebras, data, options, state, PACKAGE = "OpenMx")
Are you running the latest revision from the subversion trunk? This error should have been detected by the front-end.
Oh I see the ticket request. Yes constraints are currently not checked for dimensional equality. This can be fixed.
OK try the same script in revision 831.
Thanks Michael: this program is going to be bullet proof!
> fit = mxRun(model)
Error: The algebras/matrices 'all.L' and 'all.nFac_IMatrix' in model 'common_path_constraint_ACE' are in constraint 'all.constraint1' and are not of identical dimensions
Yeah, that would be a subtraction behind the scenes. Good catch, Michael!