[MMTK] Supress minimizer output

Ramon Crehuet rcrehuet at gmail.com
Tue May 29 10:22:30 UTC 2012


Dear all,
I'd like to silence MMTK minimizer to avoid printing lines such as:

Step 0
Potential energy: -16240.727082, Gradient norm: 3597.640768

I've tried something like the following, but I still get the step 0 line.

minimizer = ConjugateGradientMinimizer(universe,
                                       actions=[StandardLogOutput(10000)])

Thanks in advance,

Ramon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://starship.python.net/pipermail/mmtk/attachments/20120529/46138981/attachment.html>


More information about the mmtk mailing list