NLopt Fortran bindings

I just started a new project to provide Fortran bindings for the NLopt library, which provides implementations of many different global and local non-linear optimization algorithms. While NLopt provides a Fortran API itself, this API is using implicit interfaces, which makes it quite error-prone to work with.

Therefore, I created nlopt-f to provide interfaces to NLopt’s C API and wrappers to make the project more accessible from Fortran:

Features so far:

  • all NLopt versions from 2.0.0 to 2.7.0 are supported
  • supports integration with fpm, meson and cmake
  • GFortran 5 to 11 as well as Intel 2021 are supported and tested

The project is still work in progress and help is more than welcome. Feel free to suggest improvements or send patches.


Thank you! We need more projects like that.