Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How good is the HiGHS condition estimate? #1944

Open
jajhall opened this issue Sep 23, 2024 · 3 comments
Open

How good is the HiGHS condition estimate? #1944

jajhall opened this issue Sep 23, 2024 · 3 comments
Assignees

Comments

@jajhall
Copy link
Member

jajhall commented Sep 23, 2024

HiGHS uses the basis condition estimate in Hager84 . All that's required is five solves with each of B and B^T for a full RHS

The value is extracted using Highs::getKappa (see #1869)

Hager only tests on random matrices.

How accurate is it?

@jajhall jajhall self-assigned this Sep 23, 2024
@kbrix2000
Copy link

The method by Hager84 (DOI: 10.1137/0905023) estimates the condition number with respect to the l_1 norm. Out of curiosity: Is that what we need?

HighamTisseur2000 (DOI: 10.1137/S0895479899356080, eprint) propose a modification of Hager's algorithm, which is also implemented in LAPACK. Furthermore, the authors also refer to other estimators including that by Cline, Moler, Stewart, and Wilkinson available in LINPACK.
@jajhall Concerning the accuracy on page 1185 Higham and Tisseur write "The LINPACK and LAPACK estimators both produce estimates that in practice are almost always within a factor 10 and 3, respectively, of the quantities they are estimating.". They provide references for these results, which might also be of interest, and there are also further discussions on the accuracy in the paper.

@jajhall
Copy link
Member Author

jajhall commented Sep 27, 2024

The 1-norm (or \infty-norm) is all that's required

Thanks for the other references. I'll stick with the Hager estimate for now, particularly if more extensive experiments show it to be accurate enough. However, as a NLA fan, I'll be sure to look at the others sometime!

@kbrix2000
Copy link

Ok, just let me know if I can help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants