(function from pyomo.contrib.doe.utils)
pyomo.contrib.doe.utils
Add the smallest diagonal shift needed for a stable Cholesky factorization.
FIM (ndarray) – Fisher information matrix to regularize before Cholesky factorization.
Pair (fim_pd, jitter) where fim_pd is the regularized matrix and jitter is the nonnegative diagonal shift used to make the smallest symmetric eigenvalue at least _SMALL_TOLERANCE_DEFINITENESS.
(fim_pd, jitter)
fim_pd
jitter
_SMALL_TOLERANCE_DEFINITENESS
tuple