chiark / gitweb /
nlopt.git
13 years agofix memory leak for error condition
stevenj [Mon, 12 Jul 2010 22:31:17 +0000 (18:31 -0400)]
fix memory leak for error condition

darcs-hash:20100712223117-c8de0-1d1a5920fdadab5ae0f7f25154d7b3d823bd6715.gz

13 years agoprint out which bound was violated for bounds violation
stevenj [Mon, 12 Jul 2010 22:30:58 +0000 (18:30 -0400)]
print out which bound was violated for bounds violation

darcs-hash:20100712223058-c8de0-28424889fa63e686e5377c0625b0891bc2446b84.gz

13 years agobug fixes to slsqp, now seems to work
stevenj [Mon, 12 Jul 2010 22:30:28 +0000 (18:30 -0400)]
bug fixes to slsqp, now seems to work

darcs-hash:20100712223028-c8de0-5102cafe2ad38f4e100fb986cb3085cb0e7f2aba.gz

13 years agoadded slsqp code (compiles, not yet tested)
stevenj [Sat, 10 Jul 2010 21:59:47 +0000 (17:59 -0400)]
added slsqp code (compiles, not yet tested)

darcs-hash:20100710215947-c8de0-2175b5e6e4b4518814a525d95ce2a4643eac9104.gz

13 years agoprepare to handle forced-stop in ORIG_DIRECT (not done yet)
stevenj [Sat, 10 Jul 2010 21:59:37 +0000 (17:59 -0400)]
prepare to handle forced-stop in ORIG_DIRECT (not done yet)

darcs-hash:20100710215937-c8de0-b67e75ac8c2281b62aff33d86556069b4dc33c95.gz

13 years agoadd missing %catches statements for recent C++ API additions, especially the add_...
stevenj [Fri, 9 Jul 2010 16:56:46 +0000 (12:56 -0400)]
add missing %catches statements for recent C++ API additions, especially the add_*constraint functions; thanks to Dmitrey Kroshko for the bug report

darcs-hash:20100709165646-c8de0-f7dab6f3bc3dc7900a26674a3ba6f98bdb78a3ef.gz

13 years agoif user specifies OCT_INSTALL_DIR, make M_INSTALL_DIR (if unspecified) default to...
stevenj [Fri, 9 Jul 2010 16:34:03 +0000 (12:34 -0400)]
if user specifies OCT_INSTALL_DIR, make M_INSTALL_DIR (if unspecified) default to the same directory

darcs-hash:20100709163403-c8de0-5a5f3e0c9f02e3f9995138880a3d74883f96896d.gz

13 years agoadded GUILE_INSTALL_DIR var to change Guile installation directory
stevenj [Fri, 9 Jul 2010 15:14:55 +0000 (11:14 -0400)]
added GUILE_INSTALL_DIR var to change Guile installation directory

darcs-hash:20100709151455-c8de0-7f3529d9594bc00f7e7c7fa08a5eeb6314c39aba.gz

13 years agoin functions with constraints, make sure forced_stop stops immediately, before evalua...
stevenj [Thu, 8 Jul 2010 21:23:53 +0000 (17:23 -0400)]
in functions with constraints, make sure forced_stop stops immediately, before evaluating any more user callbacks

darcs-hash:20100708212353-c8de0-5060b668f7e91e93ca182f3c2a8ee7618b4d5032.gz

13 years agoupdate NEWS
stevenj [Thu, 8 Jul 2010 21:23:40 +0000 (17:23 -0400)]
update NEWS

darcs-hash:20100708212340-c8de0-0884ceb17ed4027098cf3d880f17f98ec7f5bd4c.gz

13 years agouse 2-dimensional array for grad arg of python mconstraint
stevenj [Thu, 8 Jul 2010 20:26:02 +0000 (16:26 -0400)]
use 2-dimensional array for grad arg of python mconstraint

darcs-hash:20100708202602-c8de0-815718d964a5c6e92ca5e254ba519a65c0f921e2.gz

13 years agoversion bump (2.1.2)
stevenj [Thu, 8 Jul 2010 19:36:54 +0000 (15:36 -0400)]
version bump (2.1.2)

darcs-hash:20100708193654-c8de0-e2f66460c870785eebbb7906339abdc4c01ffd83.gz

13 years agoelim. memory leaks in C++/Python/Guile/Fortran interfaces if add_constraint gives...
stevenj [Thu, 8 Jul 2010 19:16:46 +0000 (15:16 -0400)]
elim. memory leaks in C++/Python/Guile/Fortran interfaces if add_constraint gives an error or you set the objective multiple times

darcs-hash:20100708191646-c8de0-4f06d4e9c27831699b6bd7add1291be14a348197.gz

13 years agofix memory leak in python wrapper on exception
stevenj [Thu, 8 Jul 2010 19:04:36 +0000 (15:04 -0400)]
fix memory leak in python wrapper on exception

darcs-hash:20100708190436-c8de0-0b50fd5776481816285a42d5b06679666377d0ea.gz

13 years agoreturn error if more than n equality constraints are specified
stevenj [Wed, 7 Jul 2010 23:10:56 +0000 (19:10 -0400)]
return error if more than n equality constraints are specified

darcs-hash:20100707231056-c8de0-74c179fa38352cee82f7ee5e209602be5aafe27b.gz

13 years agoyikes, fix argument check for tol argument in add_constraint functions
stevenj [Wed, 7 Jul 2010 23:10:33 +0000 (19:10 -0400)]
yikes, fix argument check for tol argument in add_constraint functions

darcs-hash:20100707231033-c8de0-d1d4a50c4e1ac45220449d5b0057a758b9441dff.gz

13 years agoversion bump 2.1.1
stevenj [Wed, 7 Jul 2010 15:21:34 +0000 (11:21 -0400)]
version bump 2.1.1

darcs-hash:20100707152134-c8de0-11f82ef082055c3fa12bc71200cded7bb6ef3057.gz

13 years agobetter checking for Python and Numpy include directories; thanks to Nathaniel Smith...
stevenj [Wed, 7 Jul 2010 15:17:05 +0000 (11:17 -0400)]
better checking for Python and Numpy include directories; thanks to Nathaniel Smith for the tip about numpy.get_include()

darcs-hash:20100707151705-c8de0-ce47965d05109ef499e8cbe8b395a682818c0804.gz

13 years agomissing nlopt- prefix for version_* functions
stevenj [Tue, 6 Jul 2010 23:51:46 +0000 (19:51 -0400)]
missing nlopt- prefix for version_* functions

darcs-hash:20100706235146-c8de0-37ee2ead46ceae2a966292480f9c89e34793f252.gz

13 years agoversion bump for 2.1
stevenj [Tue, 6 Jul 2010 21:16:17 +0000 (17:16 -0400)]
version bump for 2.1

darcs-hash:20100706211617-c8de0-1ad67e7f363e8a81fb9e94f5b5c69d646de00757.gz

13 years agofix python mconstraint, change C++ mconstraint to infer m from tol.size()
stevenj [Tue, 6 Jul 2010 21:14:18 +0000 (17:14 -0400)]
fix python mconstraint, change C++ mconstraint to infer m from tol.size()

darcs-hash:20100706211418-c8de0-cd6dc26c140e257683b533f02d497ffa132db1e1.gz

13 years agopython interface for mconstraint feature
stevenj [Tue, 6 Jul 2010 20:58:19 +0000 (16:58 -0400)]
python interface for mconstraint feature

darcs-hash:20100706205819-c8de0-4544309b57ae3e6abec33e0b145ca178ffbeee2c.gz

13 years agoadded mconstraint functions to C++ API
stevenj [Tue, 6 Jul 2010 20:37:01 +0000 (16:37 -0400)]
added mconstraint functions to C++ API

darcs-hash:20100706203701-c8de0-aae90a6c4ed5df0424c4e346bad33792d70dc81e.gz

13 years agofix mma mconstraints
stevenj [Tue, 6 Jul 2010 19:51:54 +0000 (15:51 -0400)]
fix mma mconstraints

darcs-hash:20100706195154-c8de0-126475272c5018ef183651a9a52582e6f83629c5.gz

13 years agobug fixes to auglag in new mconstraint, don't use stopval in subopt unless no constraints
stevenj [Tue, 6 Jul 2010 19:14:26 +0000 (15:14 -0400)]
bug fixes to auglag in new mconstraint, don't use stopval in subopt unless no constraints

darcs-hash:20100706191426-c8de0-9fada98c48e716edc702db31138b364f9b4121e7.gz

13 years agoadd mconstraint to C API (not yet tested), thanks to Dmitrey of OpenOpt for the sugge...
stevenj [Thu, 1 Jul 2010 22:24:52 +0000 (18:24 -0400)]
add mconstraint to C API (not yet tested), thanks to Dmitrey of OpenOpt for the suggestion

darcs-hash:20100701222452-c8de0-c653c88d49348e7d42440283baf3e0dd90d1588d.gz

13 years agosupport equality constraints in COBYLA (internally, just a pair of inequality constra...
stevenj [Thu, 24 Jun 2010 23:29:26 +0000 (19:29 -0400)]
support equality constraints in COBYLA (internally, just a pair of inequality constraints: since COBYLA solves a sequence of LPs, and LPs have no problem with such pairs, it seems to converge just fine)

darcs-hash:20100624232926-c8de0-6baa8f1caf2967dca27635be396fd510701580ab.gz

13 years ago-mthreads forces mingwm10.dll dependency, remove; thanks to Jurgen Werner for the...
stevenj [Tue, 22 Jun 2010 13:48:44 +0000 (09:48 -0400)]
-mthreads forces mingwm10.dll dependency, remove; thanks to Jurgen Werner for the bug report

darcs-hash:20100622134844-c8de0-7e22443d400d69e9393e276a4a9a9767ac79eaa9.gz

13 years agoapparently the @ really is part of the identifier with stdcall functions...thanks...
stevenj [Mon, 21 Jun 2010 15:18:09 +0000 (11:18 -0400)]
apparently the @ really is part of the identifier with stdcall functions...thanks to Juergen Werner for the bug report

darcs-hash:20100621151809-c8de0-c4dfb1306f75d675856067058479cb6f53a52e55.gz

13 years agoguard against multiple inclusion in nlopt.hpp; thanks to Saul Thurrowgood for the...
stevenj [Thu, 17 Jun 2010 23:47:43 +0000 (19:47 -0400)]
guard against multiple inclusion in nlopt.hpp; thanks to Saul Thurrowgood for the suggestion

darcs-hash:20100617234743-c8de0-d51fc34a1b673496e780c40c6f9dcde6b8e94f93.gz

13 years agoversion bump (2.0.2)
stevenj [Thu, 17 Jun 2010 15:52:39 +0000 (11:52 -0400)]
version bump (2.0.2)

darcs-hash:20100617155239-c8de0-440c88bc719476982cb898fb959d3389d3447b84.gz

13 years agoSTDCALL needs to go after return type for MSVC++; thanks to Dave Katz for the bug...
stevenj [Thu, 17 Jun 2010 15:50:09 +0000 (11:50 -0400)]
STDCALL needs to go after return type for MSVC++; thanks to Dave Katz for the bug report

darcs-hash:20100617155009-c8de0-a0de840fc8e724787c233ceeb367925776201937.gz

13 years agofixed mingw .def file
stevenj [Thu, 17 Jun 2010 04:26:35 +0000 (00:26 -0400)]
fixed mingw .def file

darcs-hash:20100617042635-c8de0-5aee09684188626af74b04feb9187b729c51ea97.gz

13 years agoversion bump (2.0.1)
stevenj [Wed, 16 Jun 2010 23:24:29 +0000 (19:24 -0400)]
version bump (2.0.1)

darcs-hash:20100616232429-c8de0-799eaee381a4c708ef7ece3f20b8db217d1242e7.gz

13 years agoadded --with-mthreads option to use -mthreads flag when building MinGW, since that...
stevenj [Wed, 16 Jun 2010 23:10:06 +0000 (19:10 -0400)]
added --with-mthreads option to use -mthreads flag when building MinGW, since that is reportedly needed for __thread to give threadlocal storage

darcs-hash:20100616231006-c8de0-4b0e74542f7fc4a99d65d452be1bb9393d9514ae.gz

13 years agofixed MinGW build
stevenj [Wed, 16 Jun 2010 23:04:11 +0000 (19:04 -0400)]
fixed MinGW build

darcs-hash:20100616230411-c8de0-461279310c1fc9fc5d63128cc9b25aecf41960d0.gz

13 years agoadded --without-python and --without-guile options
stevenj [Wed, 16 Jun 2010 22:17:07 +0000 (18:17 -0400)]
added --without-python and --without-guile options

darcs-hash:20100616221707-c8de0-d313274f5c6f2663debde1db97ca180f794e672f.gz

13 years agofixed get_array functions in Fortran
stevenj [Wed, 16 Jun 2010 21:47:52 +0000 (17:47 -0400)]
fixed get_array functions in Fortran

darcs-hash:20100616214752-c8de0-6806563b789b0b6e62652ee39c6c68755567d080.gz

13 years agowhoops, fixed to configure with --disable-shared
stevenj [Wed, 16 Jun 2010 21:35:17 +0000 (17:35 -0400)]
whoops, fixed to configure with --disable-shared

darcs-hash:20100616213517-c8de0-d0dacca994721dfbd3e1b65e221d20fa206a1607.gz

13 years agodoc update -- main MLSL no longer has default sub-algorithm
stevenj [Wed, 16 Jun 2010 18:57:31 +0000 (14:57 -0400)]
doc update -- main MLSL no longer has default sub-algorithm

darcs-hash:20100616185731-c8de0-442e58dd00cc159038bbbe7deca4defb0171fd7c.gz

13 years agochange lb/ub field in Matlab interface to lower_bounds/upper_bounds, for consistency
stevenj [Wed, 16 Jun 2010 00:45:10 +0000 (20:45 -0400)]
change lb/ub field in Matlab interface to lower_bounds/upper_bounds, for consistency

darcs-hash:20100616004510-c8de0-9ef715297bbfeaf62e5ee94485294500f41dd1cf.gz

13 years agocheck for numpy
stevenj [Tue, 15 Jun 2010 23:06:44 +0000 (19:06 -0400)]
check for numpy

darcs-hash:20100615230644-c8de0-14908910d6294503322a0a0c09262c3e6b9b7895.gz

13 years agotentative 2.0 release date
stevenj [Tue, 15 Jun 2010 22:29:11 +0000 (18:29 -0400)]
tentative 2.0 release date

darcs-hash:20100615222911-c8de0-0f8138ef016791b7e68d2d6bd4efa7bd54c2f401.gz

13 years agoadd NLOPT_G_MLSL variants that require local_opt to be specified
stevenj [Tue, 15 Jun 2010 22:25:04 +0000 (18:25 -0400)]
add NLOPT_G_MLSL variants that require local_opt to be  specified

darcs-hash:20100615222504-c8de0-5f416d50c5d8431fe641785cc1458a78178b13db.gz

13 years agomove new AUGLAG constants to end of list in order to preserve backwards compatibility
stevenj [Mon, 14 Jun 2010 22:53:07 +0000 (18:53 -0400)]
move new AUGLAG constants to end of list in order to preserve backwards compatibility

darcs-hash:20100614225307-c8de0-92350fe85ba959cce1d7d25007eb6ce768a20603.gz

13 years agoadd AUGLAG constants to other langs
stevenj [Mon, 14 Jun 2010 22:51:38 +0000 (18:51 -0400)]
add AUGLAG constants to other langs

darcs-hash:20100614225138-c8de0-6c10fbcfd0f55f1639c42c3c1bcbe4be66d0c8af.gz

13 years agoadd numpy.i to dist, since it isn't shipped in a standard location I can rely on
stevenj [Mon, 14 Jun 2010 22:38:23 +0000 (18:38 -0400)]
add numpy.i to dist, since it isn't shipped in a standard location I can rely on

darcs-hash:20100614223823-c8de0-d739ffa9cb40287ddd2dd9439c52f318bb66fb87.gz

13 years agoadd TODO for more wrappers
stevenj [Mon, 14 Jun 2010 22:29:55 +0000 (18:29 -0400)]
add TODO for more wrappers

darcs-hash:20100614222955-c8de0-1e902b20d419b17a60f5ebe2151906e9bff46a93.gz

13 years agoscheme callbacks now take grad as vector argument, and must use side-effects to modify it
stevenj [Mon, 14 Jun 2010 22:27:41 +0000 (18:27 -0400)]
scheme callbacks now take grad as vector argument, and must use side-effects to modify it

darcs-hash:20100614222741-c8de0-d8e26b0d530e3644688b4170c5760abea7985c4f.gz

13 years agodetect a roundoff error condition in COBYLA
stevenj [Mon, 14 Jun 2010 22:04:16 +0000 (18:04 -0400)]
detect a roundoff error condition in COBYLA

darcs-hash:20100614220416-c8de0-ac9ecd7d4180261175fac3db4db73bc491bc37ad.gz

13 years agocopy initial_step (if any) from opt to local_opt
stevenj [Mon, 14 Jun 2010 20:55:27 +0000 (16:55 -0400)]
copy initial_step (if any) from opt to local_opt

darcs-hash:20100614205527-c8de0-045ada4f1a8285d48c3b50339928fcab59e3c2d2.gz

13 years agoset_initial_step(opt, NULL) resets to default
stevenj [Mon, 14 Jun 2010 20:42:37 +0000 (16:42 -0400)]
set_initial_step(opt, NULL) resets to default

darcs-hash:20100614204237-c8de0-cd7a3a4bdbbd4d67c592fd103779f3a97aa51fc8.gz

13 years agodocument NLOPT_AUGLAG
stevenj [Mon, 14 Jun 2010 20:38:57 +0000 (16:38 -0400)]
document NLOPT_AUGLAG

darcs-hash:20100614203857-c8de0-2bedca71404918d8cf21d192768a3a082fd5895e.gz

13 years agoturn off auglag_verbose by default
stevenj [Mon, 14 Jun 2010 20:29:46 +0000 (16:29 -0400)]
turn off auglag_verbose by default

darcs-hash:20100614202946-c8de0-3af042b584be591df33cb5bd8eb6145c502d5f7c.gz

13 years agoNLOPT_AUGLAG, no LN/LD, which requires local-opt algorithm to be specified; remove...
stevenj [Mon, 14 Jun 2010 20:26:11 +0000 (16:26 -0400)]
NLOPT_AUGLAG, no LN/LD, which requires local-opt algorithm to be specified; remove "convergence" tests for no progress towards feasibility in auglag, which seem to cause incorrect termination ....

darcs-hash:20100614202611-c8de0-2ee921f6892ca3d1824974367eba310ec6d21612.gz

13 years agoupdated NEWS with new 2.0 features
stevenj [Mon, 14 Jun 2010 18:40:16 +0000 (14:40 -0400)]
updated NEWS with new 2.0 features

darcs-hash:20100614184016-c8de0-d4aa6956ca06f17ef1aca932d97bcbc968cc16dc.gz

13 years agodisable Python/Guile wrappers unless --enable-shared
stevenj [Mon, 14 Jun 2010 18:37:16 +0000 (14:37 -0400)]
disable Python/Guile wrappers unless --enable-shared

darcs-hash:20100614183716-c8de0-9cba4159abbf8bc1d3e73c76341331116b6bfbb3.gz

13 years agoC++, STOGO, and nocedal fixes
stevenj [Mon, 14 Jun 2010 18:21:29 +0000 (14:21 -0400)]
C++, STOGO, and nocedal fixes

darcs-hash:20100614182129-c8de0-4877a5f93a8e37ad69984339f01830c9bb35a7d2.gz

13 years agoremoved finished TODO
stevenj [Mon, 14 Jun 2010 16:32:08 +0000 (12:32 -0400)]
removed finished TODO

darcs-hash:20100614163208-c8de0-ab1986a737b069832b3423ae34ec8d76ffef9181.gz

13 years agomap NLopt's C++ exceptions to more Scheme-like equivalents
stevenj [Sun, 13 Jun 2010 02:07:45 +0000 (22:07 -0400)]
map NLopt's C++ exceptions to more Scheme-like equivalents

darcs-hash:20100613020745-c8de0-0eefd9e80ec3fab27aed5991ee9f1b364b2bae32.gz

13 years agobug fix in guile wrapper, to match latest C++ api
stevenj [Sun, 13 Jun 2010 02:07:26 +0000 (22:07 -0400)]
bug fix in guile wrapper, to match latest C++ api

darcs-hash:20100613020726-c8de0-c70e2d5c022756ef40e0b493e46dbfb9dcd37849.gz

13 years agohandle/throw Python exceptions
stevenj [Sun, 13 Jun 2010 01:39:28 +0000 (21:39 -0400)]
handle/throw Python exceptions

darcs-hash:20100613013928-c8de0-d1e6780ef8c07f7d9f49e0d4636661df1d5a2890.gz

13 years agocatch and rethrow nlopt exceptions from objective
stevenj [Sat, 12 Jun 2010 14:15:30 +0000 (10:15 -0400)]
catch and rethrow nlopt exceptions from objective

darcs-hash:20100612141530-c8de0-c91903c5377395424f255f5983b49d5095bdd3e3.gz

13 years agobug fix - python strides are in bytes, not in doubles (thanks to Zhichao for the...
stevenj [Sat, 12 Jun 2010 04:34:14 +0000 (00:34 -0400)]
bug fix - python strides are in bytes, not in doubles (thanks to Zhichao for the bug report)

darcs-hash:20100612043414-c8de0-be0b85376f235b5e48551c6c917ad687ec41eaeb.gz

13 years agomake prepending nlopt_ the exception, not the rule
stevenj [Fri, 11 Jun 2010 04:44:42 +0000 (00:44 -0400)]
make prepending nlopt_ the exception, not the rule

darcs-hash:20100611044442-c8de0-ab8bc3e581c5809c5d321b4db90a741997b3de31.gz

13 years agoversion bump
stevenj [Fri, 11 Jun 2010 04:44:33 +0000 (00:44 -0400)]
version bump

darcs-hash:20100611044433-c8de0-d94669eb8aea57e9c091e9727bcb8d813af2bfb8.gz

13 years agosilence compiler warning
stevenj [Fri, 11 Jun 2010 04:31:35 +0000 (00:31 -0400)]
silence compiler warning

darcs-hash:20100611043135-c8de0-825ee0c5230607c6c9f85db0e7ff1435949a40da.gz

13 years agofixed python shared-lib name
stevenj [Fri, 11 Jun 2010 04:15:52 +0000 (00:15 -0400)]
fixed python shared-lib name

darcs-hash:20100611041552-c8de0-828d1699c0ffbb0269cfc5a01611a9432d62eefb.gz

13 years agofixed(?) python interface
stevenj [Fri, 11 Jun 2010 04:12:12 +0000 (00:12 -0400)]
fixed(?) python interface

darcs-hash:20100611041212-c8de0-a7d26c0ef81f5db2b808c69fed034cbabacece4d.gz

13 years agopython plugin compiles (untested)
stevenj [Mon, 7 Jun 2010 03:30:53 +0000 (23:30 -0400)]
python plugin compiles (untested)

darcs-hash:20100607033053-c8de0-9dd5b50f08cc6ae4708bf76a1dd75dd42b84aa2b.gz

14 years agoreplace free_f_data flag with more general munging feature, use for proper refcountin...
stevenj [Sat, 5 Jun 2010 00:19:16 +0000 (20:19 -0400)]
replace free_f_data flag with more general munging feature, use for proper refcounting of function pointers in SWIG guile/python wrappers

darcs-hash:20100605001916-c8de0-37678738283a4bc9aa454687ec1bf49ecc7adca7.gz

14 years agobeginnings of Python wrapper (not tested, not compiled, memory leak still in callback...
stevenj [Fri, 4 Jun 2010 22:51:47 +0000 (18:51 -0400)]
beginnings of Python wrapper (not tested, not compiled, memory leak still in callback reference)

darcs-hash:20100604225147-c8de0-110484f6dd1de418e3e3db7cfb7c16bc2988e29b.gz

14 years agorm blank line
stevenj [Fri, 4 Jun 2010 22:45:23 +0000 (18:45 -0400)]
rm blank line

darcs-hash:20100604224523-c8de0-7b20e0beee3f3b4b85adc2229d645862a3f945fd.gz

14 years agofix shadowed overloading
stevenj [Fri, 4 Jun 2010 20:44:31 +0000 (16:44 -0400)]
fix shadowed overloading

darcs-hash:20100604204431-c8de0-cdb649749d72bf29f57afe5c63d1779d984fe6c8.gz

14 years agosupport exceptions in SWIG wrappers
stevenj [Fri, 4 Jun 2010 02:03:46 +0000 (22:03 -0400)]
support exceptions in SWIG wrappers

darcs-hash:20100604020346-c8de0-b94b0853daeba61580499c4385089737b6d9d221.gz

14 years agoprovide alternate optimize() method that does not areturn results via reference argum...
stevenj [Thu, 3 Jun 2010 23:14:01 +0000 (19:14 -0400)]
provide alternate optimize() method that does not areturn results via reference arguments, to make it easier for SWIG to translate

darcs-hash:20100603231401-c8de0-f74e227905ebfc20c7bb432282a5f52bdc9349ae.gz

14 years agouse thread_id, if available, in nlopt_srand_time to ensure that different threads...
stevenj [Thu, 3 Jun 2010 22:55:50 +0000 (18:55 -0400)]
use thread_id, if available, in nlopt_srand_time to ensure that different threads get different seed even if they are called simultaneously

darcs-hash:20100603225550-c8de0-963cf98deef902085d264eb09e4067f0e8e32742.gz

14 years agolibnlopt_guile has no inter-library dependencies
stevenj [Thu, 3 Jun 2010 13:26:30 +0000 (09:26 -0400)]
libnlopt_guile has no inter-library dependencies

darcs-hash:20100603132630-c8de0-b7f58c6b0bb073d28cbeae2f157c32c8ae4d6ee8.gz

14 years agoGuile wrapper seems mostly functional, sans exceptions (needed wrapper around opt...
stevenj [Thu, 3 Jun 2010 02:58:24 +0000 (22:58 -0400)]
Guile wrapper seems mostly functional, sans exceptions (needed wrapper around opt::optimize to return triplet)

darcs-hash:20100603025824-c8de0-bfd2efa65d9993029b48081e35b7fb28fb331a22.gz

14 years agoinitial stab at guile-wrapper/SWIG Makefile
stevenj [Thu, 3 Jun 2010 02:06:55 +0000 (22:06 -0400)]
initial stab at guile-wrapper/SWIG Makefile

darcs-hash:20100603020655-c8de0-45c3100538d44d29af80f43ac4c3d88cb06f148e.gz

14 years agono way to rethrow last-caught exception outside of "catch" block
stevenj [Wed, 2 Jun 2010 17:39:26 +0000 (13:39 -0400)]
no way to rethrow last-caught exception outside of "catch" block

darcs-hash:20100602173926-c8de0-c802cf401c6123da9638d637599d1e2d293938ed.gz

14 years agouse memcpy, return inf on exception from objective
stevenj [Wed, 2 Jun 2010 17:23:33 +0000 (13:23 -0400)]
use memcpy, return inf on exception from objective

darcs-hash:20100602172333-c8de0-6b496612c4caef9edcf942e4a6397431223173af.gz

14 years agoslight optimization in std::vector<double> wrappers (alllocate temporaries only once)
stevenj [Wed, 2 Jun 2010 17:13:17 +0000 (13:13 -0400)]
slight optimization in std::vector<double> wrappers (alllocate temporaries only once)

darcs-hash:20100602171317-c8de0-7e2e715b15d5222bc52bb2b35a56691008dcc254.gz

14 years agofirst stab at SWIG wrappers (unfinished Makefile), starting with Guile
stevenj [Wed, 2 Jun 2010 06:22:44 +0000 (02:22 -0400)]
first stab at SWIG wrappers (unfinished Makefile), starting with Guile

darcs-hash:20100602062244-c8de0-d776ad5f27c68cc6b6d5799d341d4bb0b0264c58.gz

14 years agono need for opt::reinit since we have = operator
stevenj [Wed, 2 Jun 2010 05:25:37 +0000 (01:25 -0400)]
no need for opt::reinit since we have = operator

darcs-hash:20100602052537-c8de0-526082e36d2563e1506b393e5564b7b0129a89d4.gz

14 years agoadded fortran wrapper for nlopt_copy
stevenj [Wed, 2 Jun 2010 03:50:21 +0000 (23:50 -0400)]
added fortran wrapper for nlopt_copy

darcs-hash:20100602035021-c8de0-d1fabb203b45275b539e487a4868933cf9551be9.gz

14 years agotake f_data in std::vector-style objective/constraints
stevenj [Wed, 2 Jun 2010 02:44:02 +0000 (22:44 -0400)]
take f_data in std::vector-style objective/constraints

darcs-hash:20100602024402-c8de0-d24dad28db4a9059944be55dd5870d6ecc7aceaf.gz

14 years agostreamlined C++ header by using only std::vector and little or no double*; also,...
stevenj [Wed, 2 Jun 2010 01:45:55 +0000 (21:45 -0400)]
streamlined C++ header by using only std::vector and little or no double*; also, try to be somewhat exception-safe

darcs-hash:20100602014555-c8de0-8b4cefb5e66fddd028f137a6d6b7b19ebca5445b.gz

14 years agoadded API for free_f_data
stevenj [Wed, 2 Jun 2010 00:36:32 +0000 (20:36 -0400)]
added API for free_f_data

darcs-hash:20100602003632-c8de0-b834db82c3ae5ccebd59fb656dd52f6d13f3bdb1.gz

14 years agoadd C++ header
stevenj [Tue, 1 Jun 2010 22:47:59 +0000 (18:47 -0400)]
add C++ header

darcs-hash:20100601224759-c8de0-551289eff93a76b24740d2a8e5bea2147202e1ab.gz

14 years agoadded new Fortran API, removed unnecessary --with-windows-f77-mangling
stevenj [Tue, 1 Jun 2010 15:17:31 +0000 (11:17 -0400)]
added new Fortran API, removed unnecessary --with-windows-f77-mangling

darcs-hash:20100601151731-c8de0-094eca40a2ca0b04dbb029cb111b2284ede822da.gz

14 years agofixed generation of nlopt.f (again)
stevenj [Mon, 31 May 2010 21:49:14 +0000 (17:49 -0400)]
fixed generation of nlopt.f (again)

darcs-hash:20100531214914-c8de0-0bd388d69350800bad22d18211e5def40a0121e1.gz

14 years agoimprove C++ header exceptions, rename NLOPT_FORCE_STOP to NLOPT_FORCED_STOP
stevenj [Mon, 31 May 2010 16:59:10 +0000 (12:59 -0400)]
improve C++ header exceptions, rename NLOPT_FORCE_STOP to NLOPT_FORCED_STOP

darcs-hash:20100531165910-c8de0-347b8ba2ff62d825467d4baf6b21508f5364d1e0.gz

14 years agouse thread-local storage for Mersenne twister to make thread-safe (for compilers...
stevenj [Fri, 28 May 2010 21:41:12 +0000 (17:41 -0400)]
use thread-local storage for Mersenne twister to make thread-safe (for compilers supporting __thread or __declspec(thread))

darcs-hash:20100528214112-c8de0-4ca1313eec0a24eb1bc4e0b4aea0bc0c93c75788.gz

14 years agoC++ compilation fixes
stevenj [Fri, 28 May 2010 16:44:40 +0000 (12:44 -0400)]
C++ compilation fixes

darcs-hash:20100528164440-c8de0-870eb4a31ef2c3a9f0633b8be912b0f2c3156b70.gz

14 years agoa few int -> unsigned fixes
stevenj [Fri, 28 May 2010 16:37:37 +0000 (12:37 -0400)]
a few int -> unsigned fixes

darcs-hash:20100528163737-c8de0-c889ae8574dbe08c7bd3e5af247574f8a3fc0c3e.gz

14 years agoadded nlopt_force_stop termination
stevenj [Fri, 28 May 2010 16:36:00 +0000 (12:36 -0400)]
added nlopt_force_stop termination

darcs-hash:20100528163600-c8de0-aa1d026191abea2ffd7870265933673fe18ab890.gz

14 years agoremove obsolete TODO
stevenj [Wed, 12 May 2010 15:18:12 +0000 (11:18 -0400)]
remove obsolete TODO

darcs-hash:20100512151812-c8de0-67f64550b5b5fa892638c3f1111dc1179755b71e.gz

14 years agofixed Matlab plugin
stevenj [Wed, 12 May 2010 15:01:53 +0000 (11:01 -0400)]
fixed Matlab plugin

darcs-hash:20100512150153-c8de0-b50f3e7a70cd3b834eef51b8b3123df0ee83dacb.gz

14 years agostab at Matlab nlopt_optimize interface
stevenj [Wed, 12 May 2010 04:00:09 +0000 (00:00 -0400)]
stab at Matlab nlopt_optimize interface

darcs-hash:20100512040009-c8de0-edd99ecc6904eca7c0fbb4d42a263b0ddb8cd00e.gz