On 2012-09-09, Mixon, Wilson <wmixon at berry.edu> wrote:
> Might it be possible to incorporate the material described here:
> http://ab-initio.mit.edu/wiki/index.php/NLopt_Installation, along with
> cobyla, into Maxima?
Aside from directly calling NLopt functions, I think it's also worth
considering running NLopt as a separate program. The idea would be to
construct a problem description, submit it to NLopt, NLopt produces its
output, then read and parse the output back in Maxima. That's a little
clumsy, but it's probably still simpler than trying to call NLopt
directly.
After glancing at the NLopt wiki pages, I gather that it is mostly or
entirely a programmatic interface. No problem there -- formulate the
problem in Maxima, generate C or Fortran code for it, execute GCC to
compile & link the program with NLopt, run it, parse the output.
Hope this helps,
Robert Dodier