nlopt

Free/open-source library for nonlinear optimization problems

brewmacoslinux
Try with needOr install directly
Source

About

Free/open-source library for nonlinear optimization

Commands

nlopt

Examples

Link nlopt library in C/C++ compilation with pkg-config$ gcc myprogram.c -o myprogram $(pkg-config --cflags --libs nlopt)
Use nlopt in Python after installing python-nlopt$ python3 -c "import nlopt; opt = nlopt.opt(nlopt.LN_COBYLA, 2)"
Check nlopt version and installation$ pkg-config --modversion nlopt