[Scipy-tickets] [SciPy] #1350: fmin_cobyla does not return useful information along with outputs

SciPy Trac scipy-tickets@scipy....
Mon Jan 3 08:03:34 CST 2011

#1350: fmin_cobyla does not return useful information along with outputs
 Reporter:  darrylwally     |       Owner:  somebody    
     Type:  enhancement     |      Status:  needs_review
 Priority:  normal          |   Milestone:  0.9.0       
Component:  scipy.optimize  |     Version:  0.8.0       
 Keywords:                  |  

Comment(by darrylwally):

 My experience is that data written to the console via the system stdout
 and stderr cannot be captured by Python as reassigning the stdout/stderr
 in Python does not reassign the stdout/stderr from compiled extensions
 (C/C++, Fortran), see the following threads:



 It looks like the the only way to redirect the stdout within the
 extensions themselves via PySys_WriteStdout.  I'm not sure how to handle
 this with the wrapped fortan code.

 The other issue I have is that Intel Fortran coughs and complains when
 setting the iprint>0 if no console is displayed on the screen (i.e. via a
 Windows program).

Ticket URL: <http://projects.scipy.org/scipy/ticket/1350#comment:3>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.

More information about the Scipy-tickets mailing list