[SciPy-User] COBYLA

The Helmbolds helmrp@yahoo....
Fri Sep 28 22:20:43 CDT 2012


Paul Virtanen writes:
>>Date: Thu, 27 Sep 2012 23:57:42 +0300
>>From: Pauli Virtanen <pav@iki.fi>
>>Subject: Re: [SciPy-User] Flaws in fmin_cobyla
 (SNIP)
>>Ideally, Ipython consoles et al. would redirect stdout/stderr file
>>handles so that also the output that comes outside from Python land
>>would be shown to the user. However, the correct behavior for Scipy
>>routines would be to print via Python's I/O.

That's OK for "one-shot" optimizations. Not so good for real-world "mutli-shot" optimizations -- unless I'm missing something here. By multi-shot optimizations I mean something like the following:

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.

Bob and Paula H
"Many of life's failures are people who did not realize how close they were to success when they gave up." (Thomas Edison)



More information about the SciPy-User mailing list