[SciPy-User] cobyla return status flag
Fri Oct 5 10:47:45 CDT 2012
I notice that when using 'minimize' with method = 'COBYLA' on my system, the Result object's status flag reads "1.0", although the documentation describes this as an 'int' type.
Line 238 in the cobyla.py routine reads: status=info
Perhaps info is getting a float from the wrapped Fortran routine. Maybe a simple and unobtrusive fix would be to change that line to: status=int(info) #??
More information about the SciPy-User