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

Pauli Virtanen pav at iki.fi
Sun Oct 10 07:34:23 EDT 2010


Sat, 09 Oct 2010 23:05:58 -0400, josef.pktd wrote:
[clip]
> 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