Eli Brosh | 5 Aug 22:07

OpenOpt : how to avoid output

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
dmitrey | 6 Aug 07:45
Favicon

Re: OpenOpt : how to avoid output

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
>   

Gmane