[SciPy-User] COBYLA

Pauli Virtanen pav@iki...
Sat Sep 29 06:09:03 CDT 2012

29.09.2012 06:20, The Helmbolds kirjoitti:
> An engine designer has an 18-dimensional design variable, with
> 24 constraints and 60 args, and wants to run 70 to 100 cases
> by varying the args. She writes a Python program that reads
> the args from a file of cases, prepares the inputs to cobyla,
> turns the cobyla crank and saves its outputs to a file for
> further analysis. She wants to save all of the Results information
from each run to this output file.
> That's not convenient to do if the Results information is not actually
_returned_ by COBYLA.

Good point. This is a good reason why library routines should never
print anything. Luckily, it is not more difficult to implement than
performing I/O via Python.

Pauli Virtanen

More information about the SciPy-User mailing list