problem.basisstability
problem.basisstability |
Purpose
Returns various measures for the stability of the current basis, including the basis condition number.
Synopsis
x = problem.basisstability(type, norm, ifscaled)
Arguments
type
|
|
||||||||||
norm
|
|
||||||||||
ifscaled
|
If the stability values are to be calculated in the scaled or the unscaled matrix.
|
Further information
1. The condition number (
type =
0) of an invertible matrix is the norm of the matrix multiplied with the norm of its inverse. This number is an indication of how accurate the solution can be calculated and how sensitive it is to small changes in the data. The larger the condition number is, the less accurate the solution is likely to become.
2. The stability measures (
type =
1...4) are using the original matrix and the basis to recalculate the various vectors related to the solution and the duals. The returned stability measure is the norm of the difference of the recalculated vector to the original one.