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

SciPy Trac scipy-tickets@scipy....
Mon Dec 20 13:11:19 CST 2010


#1350: fmin_cobyla does not return useful information along with outputs
----------------------------+-----------------------------------------------
 Reporter:  darrylwally     |       Owner:  somebody
     Type:  enhancement     |      Status:  new     
 Priority:  normal          |   Milestone:  0.9.0   
Component:  scipy.optimize  |     Version:  0.8.0   
 Keywords:                  |  
----------------------------+-----------------------------------------------
 The standard outputs of fmin_cobyla that are printed to the screen,
 include: NFVALS, F, MAXCV and the function minimum.

 These values could be useful to another program if they were captured and
 output as variables.

 The attached patch affects the following files: cobyla.py, cobyla.f, and
 cobyla.pyf.

 A new 4 element array variable is passed into the Fortran code which holds
 the information data (NFVALS, F, MaxCV and a new SUCCESS value) that is
 manipulated and returned.  fmin_cobyla now returns the minimum, SUCCESS
 (True/False), NFVALS, F, and MAXCV.

 This patch satisfies my requirements so I thought I would submit it to the
 community.

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


More information about the Scipy-tickets mailing list