Would it be well defined? Say I have a matrix $\bf A$ which I know is not invertible. Is there some way to define the "minimal added contribution" $\bf B$ that will make it invertible?
Own work: I've been thinking maybe something like this will make it well defined in some sense: $$\min_{\bf B,P}\{\epsilon_1\|(\bf A+ B)P-I\|+ \epsilon_2\|B\|\}$$ Where $\bf P$ is the candidate inverse. But I doubt it would be very well behaved since $\bf B$ and $\bf P$ are multiplied together.
For any matrix $A$, $A + \epsilon I$ will be invertible for sufficiently small nonzero $|\epsilon|$.