[SciPy-user] OpenOpt : how to avoid output

dmitrey dmitrey.kroshko at scipy.org
Wed Aug 6 01:45:04 EDT 2008


hi Eli,
rtfm
http://scipy.org/scipy/scikits/wiki/OpenOptFAQ
(or help(NLP))

Regards, D.

Eli Brosh wrote:
> Hello,
> When OpenOpt is called without graphical output as:
>  r=p.solve('solver',plot=False)
> I still get lots of output to the screen in the python interpreter.
> Is it possible to silence this output ?
> i.e. to cancel the printing of iterations etc. into the interpreter 
> prompt.
>
> I only need to get the final result and to put it in other variables like
> finalf=r.ff
> finalx=r.xf
>
> Thanks
> Eli
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>   




More information about the SciPy-User mailing list