Hi,
I think there is a bug in sqp() in 3.0.1 (and perhaps earlier revisions) in the way it handles the vector 'lambda' returned from qp().
Concretely, the removal of entries from C at sqp.m:392 corresponding to -inf inequality bounds is inconsistent with the computation of C_new at sqp.m:416.
The C calculated at 392 has the bounds removed, while C_new does not. This causes the multiplication by lambda at line 455 to error out due to nonformant arguements
because the size of lambda (reflecting the removed entries) does not match the matrix A (derived from C_new)......
Josh
_______________________________________________
Bug-octave mailing list
Bug-octave@...
https://www.cae.wisc.edu/mailman/listinfo/bug-octave