Hello,

 a few weeks ago I discovered nlopt. It is really a very useful library.
Currently I use it to implement some programs in C++ under Windows. I have
been using nlopt under a 32bit target system and everything worked fine.
However, compiling on a 64bit architecture gives some warnings, because the
add_constraints and similar C++ wrappers take amongst others an unsigned
argument m. In the wrapper, this m is given by the size of an object with
opt.size(), which results in an size_t kind of variable, which might have
larger values than an unsigned int in case of a 64bit compilation.

Unfortunately I have not found a very simple solution to this problem,
otherwise I would have sent you a patch.

Regards,
Flo

-------
Dr. rer. nat. Florian Dommert

Institut für Computerphysik
Universität Stuttgart
Allmandring 3
D-70569 Stuttgart

Tel.: 0711-68563613
Fax: 0711-68563658




_______________________________________________
NLopt-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss

Reply via email to