chiark / gitweb /
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
stevenj [Wed, 29 Aug 2007 23:49:28 +0000 (19:49 -0400)]
K can be arbitrarily large for rightmost point in hull
darcs-hash:
20070829234928-c8de0-
b0128297e8ddf4c7e169cf2569e7200d55e36572.gz
stevenj [Wed, 29 Aug 2007 23:41:11 +0000 (19:41 -0400)]
support calling both original and new DIRECT code, make direct limits more dynamic, eps != ftol in direct, fixed bugs in convex hull code for identical points
darcs-hash:
20070829234111-c8de0-
2ce2867d6444a75b3434ec6b971c0aafefd3d6b2.gz
stevenj [Wed, 29 Aug 2007 06:19:39 +0000 (02:19 -0400)]
add options to use either original Fortran-derived DIRECT code or new C version, use 1e-4 magic epsilon parameter of Jones, dynamically set max #func evals in direct code and increase defaults, and add another performance hack to cdirect
darcs-hash:
20070829061939-c8de0-
1294a9cc044efa3cb7b13e65aae18b45e18d1237.gz
stevenj [Wed, 29 Aug 2007 05:43:23 +0000 (01:43 -0400)]
fixed comment, added some basic argument checks
darcs-hash:
20070829054323-c8de0-
df6dfb55434e77aa9fb87aa0cdb7f14a516379e5.gz
stevenj [Wed, 29 Aug 2007 05:31:37 +0000 (01:31 -0400)]
return more descriptive error code
darcs-hash:
20070829053137-c8de0-
85589d746420853b8a4b73042e291455539e8801.gz
stevenj [Wed, 29 Aug 2007 05:26:15 +0000 (01:26 -0400)]
stevenj [Wed, 29 Aug 2007 05:24:35 +0000 (01:24 -0400)]
performance hack: exploit the fact that the x coordinates (diameters) of the hull in DIRECT fall into only a few different values (although this may change in future modifications); also, we weren't handling the case of equal (x,y) points correctly in the hull code
darcs-hash:
20070829052435-c8de0-
4d2204875b3f788d8884aa57f55cc76a5907bace.gz
stevenj [Wed, 29 Aug 2007 04:52:01 +0000 (00:52 -0400)]
only check ftol on iterations where fmin decreased; seems to make this stopping condition much more useful
darcs-hash:
20070829045201-c8de0-
241983936b8a9a08b449d4018baa6d6a9d226c22.gz
stevenj [Wed, 29 Aug 2007 04:45:08 +0000 (00:45 -0400)]
saner memory management (and better performance), improved handling of case when no potentially optimal rects are found (choose largest rect with smallest function val, greatly improving many test cases!)
darcs-hash:
20070829044508-c8de0-
635e1db270782d6b6741c27994cdc596c4cdde2c.gz
stevenj [Tue, 28 Aug 2007 16:48:06 +0000 (12:48 -0400)]
changed rect so that (x,y) = (d,f) are in order
darcs-hash:
20070828164806-c8de0-
afc6dd08e3d1e674ed6c4d202d165d2f3ee51994.gz
stevenj [Tue, 28 Aug 2007 04:06:52 +0000 (00:06 -0400)]
stevenj [Tue, 28 Aug 2007 04:03:49 +0000 (00:03 -0400)]
stevenj [Tue, 28 Aug 2007 03:47:29 +0000 (23:47 -0400)]
bug fix in cdirect - handle case where different indices have same (x,y)
darcs-hash:
20070828034729-c8de0-
af82fa8b6d60721808387791951cddc46e154067.gz
stevenj [Mon, 27 Aug 2007 15:14:07 +0000 (11:14 -0400)]
added f2c of Schabel tensor algorithm (still needs to be cleaned up for inclusion in NLopt api)
darcs-hash:
20070827151407-c8de0-
2f9b10f11a797034c8b8731d4eb76e7324eeaf1b.gz
stevenj [Mon, 27 Aug 2007 14:49:28 +0000 (10:49 -0400)]
use red-black tree in cdirect instead of repeatedly resorting ... convex_hull is still O(N), though, and needs to be changed to a dynamic-hull algorithm to reduce the overall complexity below O(N^2), ugh
darcs-hash:
20070827144928-c8de0-
1d7b7b1b20a5f1ca81fc7e9b31a79ee2bd4479c8.gz
stevenj [Sun, 26 Aug 2007 20:53:29 +0000 (16:53 -0400)]
stevenj [Sun, 26 Aug 2007 20:50:11 +0000 (16:50 -0400)]
implemented a couple more division strategies
darcs-hash:
20070826205011-c8de0-
cdd9659e0e0450c88566d5ceeabdbfbc7d04ec26.gz
stevenj [Sun, 26 Aug 2007 20:36:25 +0000 (16:36 -0400)]
bug fix in Gablonsky measure for cdirect
darcs-hash:
20070826203625-c8de0-
e0701d1fb83a9aacfcf1101042106fb22b7c85a2.gz
stevenj [Sun, 26 Aug 2007 14:49:57 +0000 (10:49 -0400)]
added option to StoGO (currently disabled) to use NLopt LBFGS for local minimization instead of StoGO's version
darcs-hash:
20070826144957-c8de0-
e4a51850c52e7b716ab954be83869a5e714de814.gz
stevenj [Sun, 26 Aug 2007 14:47:51 +0000 (10:47 -0400)]
add initial re-implementation of DIRECT (still too slow because convex hull is re-created from scratch each iter)
darcs-hash:
20070826144751-c8de0-
88f748e6b9430e210eac28a0258f5a03389b8865.gz
stevenj [Sat, 25 Aug 2007 19:43:42 +0000 (15:43 -0400)]
use HUGE_VAL instead of 1e6 for "infinity" in DIRECT
darcs-hash:
20070825194342-c8de0-
af10ca4f976f39dd3897e612d4554d1b1c1488f1.gz
stevenj [Sat, 25 Aug 2007 17:34:59 +0000 (13:34 -0400)]
added simple convex test function
darcs-hash:
20070825173459-c8de0-
c8c1a7b35e0a485dbc9dd535fd18fdab7cef9d00.gz
stevenj [Sat, 25 Aug 2007 17:34:33 +0000 (13:34 -0400)]
some rearrangement to allow us to swap in a different local optimizer
darcs-hash:
20070825173433-c8de0-
f7b21720bd8156639b7bae66482d73cff6e57bee.gz
stevenj [Sat, 25 Aug 2007 16:51:55 +0000 (12:51 -0400)]
use nlopt_stopping in StoGO (currently only for maxevals and maxtime)
darcs-hash:
20070825165155-c8de0-
f3a61c73a2e539e9751e4cacfa7fd03d1fe5aeb9.gz
stevenj [Sat, 25 Aug 2007 16:23:49 +0000 (12:23 -0400)]
prevent StoGO from redundant function evaluations
darcs-hash:
20070825162349-c8de0-
10254b27734bc071e6ec849bd333b858e79a6bbf.gz
stevenj [Sat, 25 Aug 2007 16:01:46 +0000 (12:01 -0400)]
recenter coords so that starting guess is utilized by global routines
darcs-hash:
20070825160146-c8de0-
27bd7e71a2e8ddcc6ab8e73c21f05e9e98a5dc8e.gz
stevenj [Sat, 25 Aug 2007 04:09:43 +0000 (00:09 -0400)]
support both randomized and deterministic versions of StoGO
darcs-hash:
20070825040943-c8de0-
dae271fcbf9097b206b94be55369be426b286935.gz
stevenj [Sat, 25 Aug 2007 03:42:29 +0000 (23:42 -0400)]
bug fix in stogo - rm uninitialized read (doesn't change results since result wasn't used, but still...)
darcs-hash:
20070825034229-c8de0-
170b718754d4e4401356876419d6cdb420da9b63.gz
stevenj [Sat, 25 Aug 2007 03:05:26 +0000 (23:05 -0400)]
transpose [*][maxfuncs] arrays to [maxfuncs][*], so that we can grow them dynamically using realloc in the future
darcs-hash:
20070825030526-c8de0-
286b58eb4ca2d434a1ad9a2294ef806ad0df0786.gz
stevenj [Fri, 24 Aug 2007 21:52:20 +0000 (17:52 -0400)]
remove hard-coded limit on number of dimensions from DIRECT
darcs-hash:
20070824215220-c8de0-
0401f9ca597c5fbfacd7e38546a96a705278f283.gz
stevenj [Fri, 24 Aug 2007 21:37:20 +0000 (17:37 -0400)]
clearer constants (but still hard-coded, ugh)
darcs-hash:
20070824213720-c8de0-
bc5d6b07322abcdfa4a992451fd6e6d97c87940e.gz
stevenj [Fri, 24 Aug 2007 21:29:19 +0000 (17:29 -0400)]
label maxfunc and maxdeep clearly
darcs-hash:
20070824212919-c8de0-
22ec8c1354172455716596bd0da168e9954261e5.gz
stevenj [Fri, 24 Aug 2007 21:26:29 +0000 (17:26 -0400)]
stevenj [Fri, 24 Aug 2007 21:15:57 +0000 (17:15 -0400)]
supported more stopping criteria in subplex (still a little too pessimistic)
darcs-hash:
20070824211557-c8de0-
f0f5566b654f5fd185b9459652ef0ea638d58707.gz
stevenj [Fri, 24 Aug 2007 17:49:12 +0000 (13:49 -0400)]
stevenj [Fri, 24 Aug 2007 17:27:32 +0000 (13:27 -0400)]
stevenj [Fri, 24 Aug 2007 17:24:59 +0000 (13:24 -0400)]
stevenj [Fri, 24 Aug 2007 16:54:54 +0000 (12:54 -0400)]
stevenj [Fri, 24 Aug 2007 16:36:19 +0000 (12:36 -0400)]
stevenj [Fri, 24 Aug 2007 16:35:15 +0000 (12:35 -0400)]
added common random-number generation and timer utilities
darcs-hash:
20070824163515-c8de0-
a83acc3d0d58d0e818fa27585dcefbc0c6a578b4.gz
stevenj [Fri, 24 Aug 2007 14:30:55 +0000 (10:30 -0400)]
support for bound constraints in NLOPT_LOCAL_SUBPLEX
darcs-hash:
20070824143055-c8de0-
048dcf3945ed5dfeba4bbc35ef754bc4459caa3b.gz
stevenj [Fri, 24 Aug 2007 13:37:27 +0000 (09:37 -0400)]
support both Jones and Gablonsky direct variants
darcs-hash:
20070824133727-c8de0-
7bc31c4491e8d18853f961ed48aba7c4c6c3ab77.gz
stevenj [Fri, 24 Aug 2007 13:10:28 +0000 (09:10 -0400)]
got MIT-license permission from K. Madsen, author of StooGO
darcs-hash:
20070824131028-c8de0-
5431d22d1dc66583f44192b6fac001e5dce42b02.gz
stevenj [Fri, 24 Aug 2007 03:51:20 +0000 (23:51 -0400)]
stevenj [Fri, 24 Aug 2007 03:41:51 +0000 (23:41 -0400)]
stevenj [Fri, 24 Aug 2007 02:53:47 +0000 (22:53 -0400)]
stevenj [Thu, 23 Aug 2007 22:02:38 +0000 (18:02 -0400)]
stevenj [Thu, 23 Aug 2007 20:25:06 +0000 (16:25 -0400)]
include copies of (unpublished) paper and technical report graciously sent to me by K. Madsen
darcs-hash:
20070823202506-c8de0-
6b6c8fd3051839bb40beb3118e7528c38b3bb7eb.gz
stevenj [Thu, 23 Aug 2007 20:17:09 +0000 (16:17 -0400)]
added test program and some test objectives
darcs-hash:
20070823201709-c8de0-
e8894aceee594f8bd61b5d13d85c7ae5d0692dfa.gz
stevenj [Thu, 23 Aug 2007 15:12:41 +0000 (11:12 -0400)]
autoconfiscated, and got to compile
darcs-hash:
20070823151241-c8de0-
892dec20933e93b9811997c9da167f4e2e40e16c.gz
stevenj [Thu, 23 Aug 2007 03:55:44 +0000 (23:55 -0400)]
stevenj [Wed, 22 Aug 2007 22:10:32 +0000 (18:10 -0400)]