From: Michael C. <mic...@ua...> - 2004-03-11 12:02:34
|
There has clearly been a lot of work by people like Ben Sapp and Etienne Grossman behind the files in main/optim, but some of this is getting out of date in that it generates error messages due to use of deprecated functions, or has been superceded by improved versions. I'm offering to try to clean up main/optim by moving files that generate error messages to main/optim/deprecated, and eliminating files that are superceded by improved versions, even if it will break things that go to deprecated. I suggest that any function for optimization that gets into main/optim should be able to deal with objective functions of the form [obj_value, whatever_else,...] = f(args) where args is a cell array that must include the parameter to be minimized over, and which may include data and other fixed parameters. args may be defined as a vector (or scalar) if there is only one argument. By default, minimization should be with respect to the first element of args, but with the possibility to select other elements. If we can agree on a function interface, it will be a lot easier to agree upon what goes into main/optim, and code re-use will be a lot more simple. Comments? Michael |