3 ms·
I'm surprised not to see a single mention of NLopt [0] in the discussion. I was under the impression most algorithms implemented in NLopt are in C and not using
by V1ndaar 3y ago
I'm surprised not to see a single mention of NLopt [0] in the discussion. I was under the impression most algorithms implemented in NLopt are in C and not using any Fortran77. But I'm sure the author knows something I don't (I've never really looked at NLopt's sources, but I've been using it for years).
Anyhow, the more alternatives the merrier I suppose!
[0]: https://nlopt.readthedocs.io/en/latest/ https://nlopt.readthedocs.io/en/latest/
- zaikunzhang 3y agoExtraction from https://github.com/libprima/prima https://github.com/libprima/prima “There do exist "translations" of Powell's Fortran 77 code into other languages. For example, NLopt contains a C version of COBYLA, NEWUOA, and BOBYQA, but the C code in NLopt is translated from the Fortran 77 code straightforwardly, if not automatically by f2c, and hence inherits the style, structure, and probably bugs of the original Fortran 77 implementation.” See also https://github.com/stevengj/nlopt/issues/501 https://github.com/stevengj/nlopt/issues/501 , where the author of NLopt talks.
- V1ndaar 3y agoAh, thanks!