nlopt
nlopt copied to clipboard
library for nonlinear optimization, wrapping many algorithms for global and local, constrained or unconstrained, optimization
Void add_ Inequality_ Constraint (vfunc vf, void * f_data, double tool=0) I think void * f_ data can easily cause errors for users, as they may use the same variable...
COBYLA returns the wrong value for minimum. It returns the last evaluated function value, but that last value might not be the return value. Attached is an example of minimizing...
Hi all, I am using several optimizers from nlopt in Python. I sometimes encounter an unexpected result when using the COBYLA optimizer. I am trying to minimize a function subject...
Added step-by-step instructions on how to install NLopt on Windows and properly configure the project to all the required files
I noticed that the python and C++ tutorials gave different answers when used with SLSQP: SLSQP was giving the wrong answer on the tutorial in 't_python.py': ``` optimum at [0.50777849...
Hi, I could not locate any reference to parallel computation of objective functions in the documentation. Are all the optimization codes serial? Thanks, Jyoti
Currently, it seems that the Python API does not expose the last value of the optimization parameters when exiting early due to an exception. This is in contrast to the...
As of now, MLSL does not print anything that would inform the user of its progress. This is irritating as such an optimization may easily be running for days without...
on fedora 38 the following example fails when compiled with -D_FORTIFY_SOURCE=3 (fedora default flags): ``` #!/usr/bin/env python from __future__ import print_function import nlopt import numpy as np def myfunc(x, grad):...
The NLopt optimizer returns NLOPT_INVALID_ARGS if you give more than n equality constraints in a problem with n variables. This is totally reasonable in linear settings but not necessarily in...