nlopt
nlopt copied to clipboard
library for nonlinear optimization, wrapping many algorithms for global and local, constrained or unconstrained, optimization
Not so much an issue as a gotcha. Suppose I have: `CALL nlo_set_xtol_rel(ires, opt, 1.0E-4)` Then the algoritm (I was using for example `NLOPT_GN_CRS2_LM`) will not stop unless it hits...
Hello team We are using the COBYLA algorithm for minimizing a function with around 12 inequality constraints. We have implemented the algorithm in both R and Python but the target...
Hi, ### Description I'm trying to use the **SLSQP** optimizer with equality and inequality constraints to port a code from python (using **scipy**) to C# (using [NLoptNet](https://github.com/BrannonKing/NLoptNet) **nlopt** wrapper). When...
I am receiving a symbol lookup error (undefined symbol: nlopt_get_errmsg) at runtime. I have tried LN_NELDERMEAD, LD_MMA, and LD_CCSAQ and have received the error with each. Each algorithm is able...
Hi! I'm using the (wonderful) nlopt library and its MMA algorithm to solve topology optimization problem using the SIMP approach. As I start to master simple problems, I am now...
I am new to the excellent library. I go through the manual and wonder what is the best practice for parameterized optimization problems? As the example in [tutorial](https://nlopt.readthedocs.io/en/latest/NLopt_Tutorial/#example-nonlinearly-constrained-problem). Different choice...
From Nlopt's Python API it is not possible to stop MLSL and StoGo via the x_rel, x_abs, f_rel and f_abs tolerances. In all my experiments they always run until maxeval...
Hi All, I'm the developer for an R package that uses SLSQP, and the CRAN team has taken issue with a warning within SLSQP. ``` slsqp.c:862:5: warning: array subscript -1...
Setting xtol_abs and xtol_rel negative disables the criterions as per: https://nlopt.readthedocs.io/en/latest/NLopt_Reference/#stopping-criteria However, the code that computes rhoend does not seem to take this into account: https://github.com/stevengj/nlopt/blob/master/src/algs/cobyla/cobyla.c#L221-L225 If both are disabled...
Uncaught exception if algo name is wrong causes python session to crash. >>> import nlopt >>> algorithm = "nlopt_ln_cobyla" >>> n_dim = 3 >>> opt = nlopt.opt(algorithm, n_dim) libc++abi.dylib: terminating...