I have a GA running a stiffness matrix. This involves inverting a large matrix. Using the function inv() in some cases the warning message is returned from inv()
"Matrix is close to singular or badly scaled"
I understand the error and i know the why this error occurs. (The GA choses a extreme solution) is there a way of testing for this.
if Matrix is close to singular or badly scaled == true %throw out solution end
As sometime a badly scaled solution becomes the optimum i would simply like to remove all badly scaled solutions but i need a way of testing for the condition.
No products are associated with this question.
Play games and win prizes!Learn more