This is the mail archive of the gsl-discuss@sourceware.org mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: alternate multimin api


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]