chiark / gitweb /
stevenj [Thu, 26 May 2011 17:48:15 +0000 (13:48 -0400)]
version bump to 2.2.2, updated NEWS
darcs-hash:
20110526174815-c8de0-
1d6b6104346ee393bf2f96c9215f0408a49ca4f0.gz
stevenj [Thu, 26 May 2011 17:42:13 +0000 (13:42 -0400)]
report correct count in test program
darcs-hash:
20110526174213-c8de0-
47ec8a3c4bdcd70ffbb0c68a58ef32a4ea8153a3.gz
stevenj [Thu, 26 May 2011 17:37:17 +0000 (13:37 -0400)]
stevenj [Wed, 25 May 2011 19:19:57 +0000 (15:19 -0400)]
make luksan routines re-entrant; thanks to Gert Wollny for the bug report (fixes gentoo bug #368685)
darcs-hash:
20110525191957-c8de0-
474429e4fdda69649248a32806f57f027760b645.gz
stevenj [Tue, 29 Mar 2011 22:59:57 +0000 (18:59 -0400)]
bug fix in cdirect -- typo caused slope to be underestimated in some cases, and will miss some potentially optimal rectangles. Thanks to Sinisa Hristov for the bug report
darcs-hash:
20110329225957-c8de0-
96a76c698ce0a934f7f0c2f5334aa259f073b0ef.gz
stevenj [Tue, 22 Mar 2011 20:13:21 +0000 (16:13 -0400)]
stevenj [Tue, 22 Mar 2011 20:13:00 +0000 (16:13 -0400)]
fixes to windows setup.py; thanks to Robert G for the patch
darcs-hash:
20110322201300-c8de0-
7caeb9ab8e893d3c8ec0be13c96959be1234c8d0.gz
stevenj [Mon, 7 Mar 2011 19:37:28 +0000 (14:37 -0500)]
use elimdim for praxis, nelder mead, and sbplx
darcs-hash:
20110307193728-c8de0-
19aaeaee247e0487cd6a0994c53614506fe7e3af.gz
stevenj [Mon, 7 Mar 2011 19:23:50 +0000 (14:23 -0500)]
check for ub - lb small case for potential minimizers
darcs-hash:
20110307192350-c8de0-
62dfd6579e4c6a0a3e0c9e93f7936203d9e173bf.gz
stevenj [Thu, 3 Mar 2011 00:03:54 +0000 (19:03 -0500)]
elimdim wrappers to handle lb==ub in derivative-free routines (for which it is inconvenient to handle this case directly in the algorithm)
darcs-hash:
20110303000354-c8de0-
c25c18691c4d3ae542c8989375d5e6c113269de4.gz
stevenj [Wed, 2 Mar 2011 21:08:57 +0000 (16:08 -0500)]
stevenj [Sun, 13 Feb 2011 02:53:21 +0000 (21:53 -0500)]
stevenj [Sun, 13 Feb 2011 01:58:59 +0000 (20:58 -0500)]
-b option to fix some params by equating the bounds
darcs-hash:
20110213015859-c8de0-
c548cf8cac5f028a05601f2da9c2f34f8c0acc86.gz
stevenj [Thu, 13 Jan 2011 15:22:48 +0000 (10:22 -0500)]
add missing xtol check to SLSQP (which caused an erroneeous roundoff_limited return code); thanks to Alexander Riess for the bug report
darcs-hash:
20110113152248-c8de0-
70b46f86af4489280ee6df2dc0c3a054e2cd7ecf.gz
stevenj [Thu, 13 Jan 2011 15:14:30 +0000 (10:14 -0500)]
in slsqp make sure that we count only function evals and not other callback steps
darcs-hash:
20110113151430-c8de0-
b375418b8ca98ef138ba2e00da22789b62f998f2.gz
stevenj [Tue, 7 Dec 2010 20:18:02 +0000 (15:18 -0500)]
deprecated API should support xtol_abs==NULL (for 0 tol) for backward compatibility
darcs-hash:
20101207201802-c8de0-
d0e23236914bbfae02d15c5f0c3ee61361a9da79.gz
stevenj [Sat, 20 Nov 2010 18:44:03 +0000 (13:44 -0500)]
default to mf=10 in luksan codes, like in Fortran, not mf=4, and remove pointless -5 from maxeval upper bound, and remove FIXME since this is now user-settable
darcs-hash:
20101120184403-c8de0-
4748332bf66ad0aafc31126b97ffc5a3f105543c.gz
stevenj [Sat, 20 Nov 2010 18:37:59 +0000 (13:37 -0500)]
rename subspace_dim to vector_storage, since not necessarily a subspace (and can be > n)
darcs-hash:
20101120183759-c8de0-
48667b8ad265694082acd9cc926b02c5746941e0.gz
stevenj [Thu, 18 Nov 2010 23:42:23 +0000 (18:42 -0500)]
add get/set subspace dimension for low-storage quasi-Newton methods
darcs-hash:
20101118234223-c8de0-
d7c2ef4736197f0a7e56a568a5987b3a7b5cea7e.gz
stevenj [Thu, 28 Oct 2010 23:04:31 +0000 (19:04 -0400)]
stevenj [Thu, 28 Oct 2010 23:00:02 +0000 (19:00 -0400)]
fix support for maxtime in Luksan algorithms and ORIG_DIRECT; thanks to Jurgen Werner for the bug report
darcs-hash:
20101028230002-c8de0-
c51903a73ffc18f3ddd4e5d68edc3580d1676f3d.gz
stevenj [Sat, 16 Oct 2010 21:00:36 +0000 (17:00 -0400)]
include nlopt_optimize_usage.h in dist tarball, for Windows users; thanks to Per-Olaf Sturesson for the suggestion
darcs-hash:
20101016210036-c8de0-
e090de40c0610862c1bd607e499ee3b1f2796a5d.gz
stevenj [Mon, 6 Sep 2010 18:01:28 +0000 (14:01 -0400)]
stevenj [Mon, 6 Sep 2010 17:56:43 +0000 (13:56 -0400)]
add missing Windows exporting junk for nlopt_algorithm_name; thanks to Ofek Shilon for the bug report
darcs-hash:
20100906175643-c8de0-
dc82178a1444e3cf632cb44d405483d720e82163.gz
stevenj [Wed, 1 Sep 2010 01:18:27 +0000 (21:18 -0400)]
fix compiler warnings about prototype mismatches in options.c; thanks to Benoit Scherrer
darcs-hash:
20100901011827-c8de0-
0671d98605879992d794934fc521518a73c7e98b.gz
stevenj [Mon, 30 Aug 2010 23:55:48 +0000 (19:55 -0400)]
add missing "inline" keywords to C++ functions so that nlopt.hpp can be included in multiple compilation units; thanks to Steve Jaffe for the bug report
darcs-hash:
20100830235548-c8de0-
6d4a9c8ca4900c947b2d0f4361ab6da4756188fb.gz
stevenj [Thu, 19 Aug 2010 07:36:43 +0000 (03:36 -0400)]
fixed bug in set/get xtol_abs, thanks to David Rivest-Hénault for the bug report
darcs-hash:
20100819073643-c8de0-
80e9c5691ef76d73f33255b0b615dced6374467a.gz
stevenj [Fri, 13 Aug 2010 17:39:59 +0000 (13:39 -0400)]
stevenj [Fri, 13 Aug 2010 17:35:48 +0000 (13:35 -0400)]
max/min macros are already defined(!) by stdlib.h(!) in visual studio; thanks to Benoit Scherrer for the report about the compiler warning
darcs-hash:
20100813173548-c8de0-
f0815042dc233cd3279c81517ffdaf9ef247d7e5.gz
stevenj [Thu, 5 Aug 2010 19:49:18 +0000 (15:49 -0400)]
stevenj [Fri, 30 Jul 2010 14:35:20 +0000 (10:35 -0400)]
NLOPT_DLL_EXPORT option to compile with MS dllexport flag, thanks to Benoit for the suggestion
darcs-hash:
20100730143520-c8de0-
4b368e6403b28260a9221769b452f898b6945f5c.gz
stevenj [Fri, 30 Jul 2010 14:34:25 +0000 (10:34 -0400)]
update: Nocedal code is available under GPL
darcs-hash:
20100730143425-c8de0-
b09d1a93d78c8c37456c7ce0b11e3599e776c28d.gz
stevenj [Fri, 30 Jul 2010 02:35:46 +0000 (22:35 -0400)]
handle missing C99/IEEE copysign function, e.g. for WWin32; thanks to Benoit Scherrer for the bug report
darcs-hash:
20100730023546-c8de0-
2d82e58615ba8036734a2b104aefb4a53a88f9b5.gz
stevenj [Fri, 30 Jul 2010 00:54:19 +0000 (20:54 -0400)]
stick to C89 and avoid mixed declarations and code; thanks to Benoit Scherrer for the bug report (fails with MSVC)
darcs-hash:
20100730005419-c8de0-
39dc04e5a2be81512bb3ca87c6fa397192e5bfd7.gz
stevenj [Thu, 29 Jul 2010 01:34:11 +0000 (21:34 -0400)]
lcc doesn't support dllimport, thanks to Laurent Vanbeylen for the bug report
darcs-hash:
20100729013411-c8de0-
d6b68ec8cf89f3ce2a42fdb28f2d934e9448d5d3.gz
stevenj [Thu, 15 Jul 2010 21:51:05 +0000 (17:51 -0400)]
stevenj [Thu, 15 Jul 2010 21:32:58 +0000 (17:32 -0400)]
thread-safety in nlopt_seconds(), assuming we have __thread or equivalent
darcs-hash:
20100715213258-c8de0-
d2cdf53cb97a6abc8c587f00d9027851b8ef6d29.gz
stevenj [Thu, 15 Jul 2010 21:31:24 +0000 (17:31 -0400)]
stevenj [Thu, 15 Jul 2010 21:10:33 +0000 (17:10 -0400)]
stevenj [Thu, 15 Jul 2010 20:44:05 +0000 (16:44 -0400)]
added --without-threadlocal to disable thread-local keyword for MinGW compilation
darcs-hash:
20100715204405-c8de0-
f21292dda1bd153f87aa9d772ddca945a2231a0e.gz
stevenj [Thu, 15 Jul 2010 20:23:15 +0000 (16:23 -0400)]
fix SLSQP to work with unbounded dimensions
darcs-hash:
20100715202315-c8de0-
e93f00932885115f2a0f036bc27f5d8e7334bcfc.gz
stevenj [Thu, 15 Jul 2010 19:37:14 +0000 (15:37 -0400)]
stevenj [Thu, 15 Jul 2010 19:35:04 +0000 (15:35 -0400)]
replace 1e20 with HUGE_VAL in ORIG_DIRECT code (silly hard-coded upper bound)
darcs-hash:
20100715193504-c8de0-
bddb4c45a2839ae5fa41c56d5a6754411c646d1f.gz
stevenj [Thu, 15 Jul 2010 19:34:06 +0000 (15:34 -0400)]
support forced stops in ORIG_DIRECT
darcs-hash:
20100715193406-c8de0-
57853932f731ace7580a80e8fdb66cbb6f753cb6.gz
stevenj [Thu, 15 Jul 2010 18:10:44 +0000 (14:10 -0400)]
stevenj [Thu, 15 Jul 2010 16:20:51 +0000 (12:20 -0400)]
allow BOBYQA and COBYLA to use unequal initial step sizes in different dimensions (internally rescaling the coordinates as needed); thanks to Tom Fiddaman for pointing out the problem when different coordinates have very different units
darcs-hash:
20100715162051-c8de0-
5685b685d14f5042f824bbe5bff7f3aeed0fb808.gz
stevenj [Thu, 15 Jul 2010 16:15:40 +0000 (12:15 -0400)]
fix failure in C++ (and some other front-ends) when de-allocating an nlopt object with a local optimizer; thanks to Jurgen Werner for the bug report
darcs-hash:
20100715161540-c8de0-
8aa02bad85ddebaae8e38e05825c23c3d850a702.gz
stevenj [Tue, 13 Jul 2010 17:09:40 +0000 (13:09 -0400)]
stevenj [Mon, 12 Jul 2010 23:33:39 +0000 (19:33 -0400)]
added python docstring for module; thanks to Sebastian Walter for the suggestion
darcs-hash:
20100712233339-c8de0-
b8da98e494e6441fec52320cbc5408ad83d956d2.gz
stevenj [Mon, 12 Jul 2010 23:01:44 +0000 (19:01 -0400)]
stevenj [Mon, 12 Jul 2010 22:31:17 +0000 (18:31 -0400)]
fix memory leak for error condition
darcs-hash:
20100712223117-c8de0-
1d1a5920fdadab5ae0f7f25154d7b3d823bd6715.gz
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
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
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
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
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
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
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
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
stevenj [Thu, 8 Jul 2010 21:23:40 +0000 (17:23 -0400)]
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
stevenj [Thu, 8 Jul 2010 19:36:54 +0000 (15:36 -0400)]
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
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
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
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
stevenj [Wed, 7 Jul 2010 15:21:34 +0000 (11:21 -0400)]
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
stevenj [Tue, 6 Jul 2010 23:51:46 +0000 (19:51 -0400)]
missing nlopt- prefix for version_* functions
darcs-hash:
20100706235146-c8de0-
37ee2ead46ceae2a966292480f9c89e34793f252.gz
stevenj [Tue, 6 Jul 2010 21:16:17 +0000 (17:16 -0400)]
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
stevenj [Tue, 6 Jul 2010 20:58:19 +0000 (16:58 -0400)]
python interface for mconstraint feature
darcs-hash:
20100706205819-c8de0-
4544309b57ae3e6abec33e0b145ca178ffbeee2c.gz
stevenj [Tue, 6 Jul 2010 20:37:01 +0000 (16:37 -0400)]
added mconstraint functions to C++ API
darcs-hash:
20100706203701-c8de0-
aae90a6c4ed5df0424c4e346bad33792d70dc81e.gz
stevenj [Tue, 6 Jul 2010 19:51:54 +0000 (15:51 -0400)]
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
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
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
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
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
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
stevenj [Thu, 17 Jun 2010 15:52:39 +0000 (11:52 -0400)]
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
stevenj [Thu, 17 Jun 2010 04:26:35 +0000 (00:26 -0400)]
stevenj [Wed, 16 Jun 2010 23:24:29 +0000 (19:24 -0400)]
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
stevenj [Wed, 16 Jun 2010 23:04:11 +0000 (19:04 -0400)]
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
stevenj [Wed, 16 Jun 2010 21:47:52 +0000 (17:47 -0400)]
fixed get_array functions in Fortran
darcs-hash:
20100616214752-c8de0-
6806563b789b0b6e62652ee39c6c68755567d080.gz
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
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
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
stevenj [Tue, 15 Jun 2010 23:06:44 +0000 (19:06 -0400)]
stevenj [Tue, 15 Jun 2010 22:29:11 +0000 (18:29 -0400)]
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
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
stevenj [Mon, 14 Jun 2010 22:51:38 +0000 (18:51 -0400)]
add AUGLAG constants to other langs
darcs-hash:
20100614225138-c8de0-
6c10fbcfd0f55f1639c42c3c1bcbe4be66d0c8af.gz
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
stevenj [Mon, 14 Jun 2010 22:29:55 +0000 (18:29 -0400)]
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
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