[SciPy-User] scipy.sparse.linalg.cg statistics?

Pauli Virtanen pav@iki...
Sun Oct 10 06:34:23 CDT 2010

Sat, 09 Oct 2010 23:05:58 -0400, josef.pktd wrote:
> A related idea:
> Is it possible or is there a trick to tell an optimizer from a callback
> function to stop?
> I never used callback function, so I don't know what's possible.

Raising an exception will at least bail out from the optimizer.

Pauli Virtanen

More information about the SciPy-User mailing list