donlp with maxima



Sorry, I hit the send button before the writing was complete:

I'd like to use the optimization library donlp2 with maxima. Has anyone
succeeded in doing this?

I tried to use f2cl on the fortran code, but f2cl doesn't handle include
files. So I pasted them into one big file but now I get an
Error: 0 is not a character designator.

Alternatvely, it may be an idea to use cffi together with the C version
of donlp. But this seem sto be tricky as the function evaluation from
the C code requires callbacks to Lisp.

Any suggestions?

I'm not completely bound to use donlp but I need fast constrained 
optimization.

Reinhard