NLopt is a nonlinear optimization library written in C by Steven G. Johnson and licensed under the LGPL.
Questions tagged [nlopt]
127 questions
0
votes
0 answers
link .dll files from Visual C++
I am a beginner in c++ and I am trying to install NLOPt library on windows. That requires me to "create a .lib import libraries for it" in order to link .dll to visual studio 2010 C++.
Can anyone tells me step by step how to "create a .lib import…
![](../../users/profiles/3725964.webp)
user3725964
- 11
- 2
0
votes
1 answer
How to pass arguments in constrain and objective function in isres function in R?
I wants to pass argument values for constrain and objective function in isres function in r.
Since I might need to use nonlinear functional I am using isres function.
My codes are as below.
############## DATA PREPARETION ##########
per1 <-…
![](../../users/profiles/3627246.webp)
Darshan
- 1
0
votes
1 answer
C++ : NLopt COBYLA as compared to Matlab fmincon
I am using NLopt library, COBYLA algorithm, in C++ for minimizing a log based cost function. I have already implemented the same using fmincom in Matlab.
The Matlab function performs much better than NLopt. It requires a much smaller number of…
![](../../users/profiles/3302133.webp)
MonsieurBeilto
- 708
- 8
- 15
0
votes
1 answer
Vector-valued Constraints in NLOpt
I'm trying to add some equality and inequality constraints to my minimization problem.
I am using nlopt Python API.
In particular I would like to add some vector-valued constraints.
My code looks like this example:
def eqconstr(result,x,grad):
…
![](../../users/profiles/2568586.webp)
davrandom
- 21
- 8
0
votes
1 answer
Import _nlopt.pyd error in OSX
I followed step with nlopt
and get a _nlopt.pyd
When i try to use nlopt.py(it's have code like follow)
import _nlopt
and it's gives
ImportError: No module named _nlopt
I am sure the _nlopt.pyd is in the folder
And it's work in Windows7
Any help?
![](../../users/profiles/2130601.webp)
blueman010112
- 446
- 1
- 7
- 16
0
votes
0 answers
NLOpt with windows forms
I am suffering serious problems while trying to use nlopt library (http://ab-initio.mit.edu/wiki/index.php/NLopt_Tutorial) in windows forms application. I have created following namespace which runs perfectly in console application.
#include…
![](../../users/profiles/1246743.webp)
Peter Kottas
- 733
- 9
- 23
-1
votes
1 answer
Nlopt libraries not find on Ubuntu (WSL)
I've installed the NLOPT library using apt and also from the source :
git clone git://github.com/stevengj/nlopt
cd nlopt
mkdir build
cd build
cmake ..
make
sudo make install
The problem is when trying to compile an open-source project with CMake…
![](../../users/profiles/11107590.webp)
ananass
- 55
- 8