alternate multimin api

Brian Gough
Tue May 30 10:14:00 GMT 2006

James Bergstra writes:
 >         while (! m->giveup )
 >         {
 >             minalgo_suggest(m);
 >             if (m->want_y)
 >             {
 >                 ... calculate m->test.y from m->test.x;
 >             }

This type of API is called 'reverse communication'.  It is more
flexible but traditionally hasn't been used as much due to the user
having to provide more information (we have't used it in GSL).  There
are a number of ACM TOMS papers which discuss it.

Having access to a reverse communication interface can be useful, as
there are some types of problems which can only be solved that way.
I'm looking at the linesearch in multimin at the moment to improve it
so I'll keep this in mind.

Brian Gough

More information about the Gsl-discuss mailing list