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

Warning of ill-conditioned matrix only showed in terminal #9590

Open
eivindjahren opened this issue Dec 18, 2024 · 0 comments
Open

Warning of ill-conditioned matrix only showed in terminal #9590

eivindjahren opened this issue Dec 18, 2024 · 0 comments

Comments

@eivindjahren
Copy link
Contributor

eivindjahren commented Dec 18, 2024

The following warning is shown for the update step sometimes:

iterative_ensemble_smoother/esmda_inversion.py:229: Lin
AlgWarning: Ill-conditioned matrix (rcond=1.00742e-17): result may not be accurate.
  T = sp.linalg.solve(C_DD, D - Y, **solver_kwargs)

It seems to be neither logged nor displayed in any way in the gui, although it may cause the resulting update to be inaccurate.

This situation may arise from differing magnitude of numbers between realizations. It might be that we want to implement outlier detection to reduce how often this happens.

Can be reproduced with the following setup: https://github.com/eivindjahren/ert/tree/update_err_msgs/test-data/ert/counter_examples/ill-conditioned-matrix-0

@eivindjahren eivindjahren changed the title Warning of ill-conditioned matrix only showed in Warning of ill-conditioned matrix only showed in terminal Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant