Conversation
…ves the issue with byrd and hs015
|
Oh dear! Amateur issues! Good spot! Very strange that valgrind didn't notice the size issue. I noticed that we're now copying the entries of the matrix into the factor array twice. We call |
Absolutely! It turns out we actually get the sparsity pattern from the ASL function |
… at every iteration + minor changes
|
The while loop is a good idea! However, I would introduce an upper limit on how often it can reallocate memory. When Hessians have illegal values in them e.g. a |
|
Good idea. I would set an upper bound of (say) 5 factorization attempts, and I would check the Hessian values beforehand ;) |
Fixed following bugs:
ikeephas size3n, not3nnz;factorthat initially contains the matrix entries, then the factors after a call toMA27BD, must be initialized indo_numerical_factorization(). This solves the issue with thebyrdpreset onhs015mentioned in MA27 interface #115.Cleaned up the factorization function (replaced recursive calls with while loop).
cc @worc4021