As part of the new math/deoptim addon there is an example GUI application that lets the user play with different Differential Evolution strategies for deriving coefficients for Chebychev polynomials.
Currently the application gathers the inputs from the form, calls the deoptim routine to optimize the coefficients and then on completion of deoptim displays the resulting polynomial. I would like to change that so that the polynomial plot updates as the optimization progresses. As I see it my options for doing this are: A) integrate custom version of deoptim routine into the demo that updates plot as it progresses. B) add new optional argument to the deoptim routine enabling the user to pass the name of a verb that should be called when reporting progress. Option B seems the obvious choice to me - retains code modularity and provides more future flexibility. Is this a sensible route to take? Are there other better ways? ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
