chiark / gitweb /
nlopt.git
16 years agoadded PLIS variable-metric methods
stevenj [Mon, 3 Sep 2007 20:42:10 +0000 (16:42 -0400)]
added PLIS variable-metric methods

darcs-hash:20070903204210-c8de0-428d0689b27e43df180260d820e68000db8bdc3a.gz

16 years agoadded original .for files; this will make it easier to diff the changes if upstream...
stevenj [Mon, 3 Sep 2007 20:32:24 +0000 (16:32 -0400)]
added original .for files; this will make it easier to diff the changes if upstream changes

darcs-hash:20070903203224-c8de0-be15e46393143c4d1c400ecacef548ff1fb4a01d.gz

16 years agoadded more time checks
stevenj [Mon, 3 Sep 2007 20:05:05 +0000 (16:05 -0400)]
added more time checks

darcs-hash:20070903200505-c8de0-9e8929452a50483ad0d627fbbc04ed17bbe94320.gz

16 years agogot plip_ to compile, basic changes for NLopt, no wrapper yet
stevenj [Mon, 3 Sep 2007 20:01:21 +0000 (16:01 -0400)]
got plip_ to compile, basic changes for NLopt, no wrapper yet

darcs-hash:20070903200121-c8de0-75721dba7e4c5dd4d21602f8335573d8bd81f670.gz

16 years agoadded plip/pnet .txt files
stevenj [Mon, 3 Sep 2007 19:46:01 +0000 (15:46 -0400)]
added plip/pnet .txt files

darcs-hash:20070903194601-c8de0-8315f01aaf5007f7bd663b6c5e643c969ffc39b9.gz

16 years agoadded initial f2c conversions of plip and pnet
stevenj [Mon, 3 Sep 2007 19:45:32 +0000 (15:45 -0400)]
added initial f2c conversions of plip and pnet

darcs-hash:20070903194532-c8de0-725aba9fd7b6e3d4cba7c7f0f89f051a7fa2e60e.gz

16 years agoadded luksan/ directory, which will eventually contain several routines written by...
stevenj [Mon, 3 Sep 2007 19:38:15 +0000 (15:38 -0400)]
added luksan/ directory, which will eventually contain several routines written by Prof. Luksan and made available under the LGPL.  currently, I've converted the PLIN.FOR subroutine, which is a reimplementation of the LBFGS algorithm (and removed the lbfgs/ directory, since the code turns out to be non-free)

darcs-hash:20070903193815-c8de0-7428452045bf7147a8424cbd56af89de2e3efa66.gz

16 years agobug fix in grosenbrock gradient (no wonder StoGO etc. were so bad for this functioon)
stevenj [Mon, 3 Sep 2007 19:22:07 +0000 (15:22 -0400)]
bug fix in grosenbrock gradient (no wonder StoGO etc. were so bad for this functioon)

darcs-hash:20070903192207-c8de0-cef32242ac0bc7308b24d07ae31e2e9e1c6c463a.gz

16 years agorename fmin to minf to avoid conflict with C99 fmin() function
stevenj [Mon, 3 Sep 2007 15:53:55 +0000 (11:53 -0400)]
rename fmin to minf to avoid conflict with C99 fmin() function

darcs-hash:20070903155355-c8de0-573f0e3548646f08a7a2c2c2712375ff69307219.gz

16 years agowhoops, fix gradient
stevenj [Sun, 2 Sep 2007 02:10:52 +0000 (22:10 -0400)]
whoops, fix gradient

darcs-hash:20070902021052-c8de0-a9be63facbd050d1e2a61a62cce45c0175fca451.gz

16 years agoadded 1d test function
stevenj [Sun, 2 Sep 2007 01:53:59 +0000 (21:53 -0400)]
added 1d test function

darcs-hash:20070902015359-c8de0-6debf4722defcdd64dad8ff6eb3770c7002d5f5f.gz

16 years agosupport all termination conditions in praxis
stevenj [Sun, 2 Sep 2007 01:40:00 +0000 (21:40 -0400)]
support all termination conditions in praxis

darcs-hash:20070902014000-c8de0-62c7656d09bbdf241c57fcce96352d0a67f27e73.gz

16 years agominor bug fixes, praxis now supports maxeval/maxtime/fmin_max
stevenj [Sun, 2 Sep 2007 00:55:53 +0000 (20:55 -0400)]
minor bug fixes, praxis now supports maxeval/maxtime/fmin_max

darcs-hash:20070902005553-c8de0-36bf93ff122a2ee40cb6f80b748a0b0269170cdb.gz

16 years agodynamic allocation in praxis, pass stop parameter (not used yet)
stevenj [Sun, 2 Sep 2007 00:19:03 +0000 (20:19 -0400)]
dynamic allocation in praxis, pass stop parameter (not used yet)

darcs-hash:20070902001903-c8de0-4e82ae47b3eaf665dc3185dc38ff75c6d323a74b.gz

16 years agoupdate symbol names
stevenj [Sat, 1 Sep 2007 21:06:25 +0000 (17:06 -0400)]
update symbol names

darcs-hash:20070901210625-c8de0-518c86ef7ae04d00c7ce24954db63644aeac024b.gz

16 years agoadded first cut at Praxis, renamed constants
stevenj [Sat, 1 Sep 2007 20:51:35 +0000 (16:51 -0400)]
added first cut at Praxis, renamed constants

darcs-hash:20070901205135-c8de0-23fc5194f42a4bb5c52b8ecb88ab2f404af2907f.gz

16 years agoadded octave plug-in
stevenj [Thu, 30 Aug 2007 21:09:14 +0000 (17:09 -0400)]
added octave plug-in

darcs-hash:20070830210914-c8de0-2ff67f1fb7eb4ac60968712d7b4259742593c445.gz

16 years agosuccess message
stevenj [Thu, 30 Aug 2007 17:42:13 +0000 (13:42 -0400)]
success message

darcs-hash:20070830174213-c8de0-14c5471918d19044ca95f59d20f80908afa8d834.gz

16 years agoadded 3 more test functions
stevenj [Thu, 30 Aug 2007 03:38:08 +0000 (23:38 -0400)]
added 3 more test functions

darcs-hash:20070830033808-c8de0-58085c97cc5f62162f85879266ac1b4e64d65ac7.gz

16 years agoreset age whenever we change a hyperrect
stevenj [Thu, 30 Aug 2007 03:01:26 +0000 (23:01 -0400)]
reset age whenever we change a hyperrect

darcs-hash:20070830030126-c8de0-b7e915fb8c8e628b8a2eb186e2df4c44b5c634a5.gz

16 years agoswitch to "standard" DIRECT-L where we only pick one rect for each diameter in the...
stevenj [Thu, 30 Aug 2007 02:50:59 +0000 (22:50 -0400)]
switch to "standard" DIRECT-L where we only pick one rect for each diameter in the hull, preferring older rects

darcs-hash:20070830025059-c8de0-e28f88821842469693ed466eae4669854f36d6f7.gz

16 years ago-m option is now relative to exact minimum
stevenj [Thu, 30 Aug 2007 01:58:00 +0000 (21:58 -0400)]
-m option is now relative to exact minimum

darcs-hash:20070830015800-c8de0-36f49c5b05115ff4316955525f8f2eceb60122e7.gz

16 years agogot rid of buggy f_recenter (Lagrange interpolation isn't guaranteed to be monotonic)
stevenj [Thu, 30 Aug 2007 01:07:20 +0000 (21:07 -0400)]
got rid of buggy f_recenter (Lagrange interpolation isn't guaranteed to be monotonic)

darcs-hash:20070830010720-c8de0-19c1e18baffbe16a121a8c968f2c0d2a31f27058.gz

16 years agochange MAXDEEP (maxiter) more dynamically
stevenj [Thu, 30 Aug 2007 00:00:41 +0000 (20:00 -0400)]
change MAXDEEP (maxiter) more dynamically

darcs-hash:20070830000041-c8de0-33d70f5acd6d321365e0682e49a143b936528f48.gz

16 years agoK can be arbitrarily large for rightmost point in hull
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

16 years agosupport calling both original and new DIRECT code, make direct limits more dynamic...
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

16 years agoadd options to use either original Fortran-derived DIRECT code or new C version,...
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

16 years agofixed comment, added some basic argument checks
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

16 years agoreturn more descriptive error code
stevenj [Wed, 29 Aug 2007 05:31:37 +0000 (01:31 -0400)]
return more descriptive error code

darcs-hash:20070829053137-c8de0-85589d746420853b8a4b73042e291455539e8801.gz

16 years agowhoops!
stevenj [Wed, 29 Aug 2007 05:26:15 +0000 (01:26 -0400)]
whoops!

darcs-hash:20070829052615-c8de0-fa4b9d4c70043d41c0c6f2325ea01012c299bb50.gz

16 years agoperformance hack: exploit the fact that the x coordinates (diameters) of the hull...
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

16 years agoonly check ftol on iterations where fmin decreased; seems to make this stopping condi...
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

16 years agosaner memory management (and better performance), improved handling of case when...
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

16 years agochanged rect so that (x,y) = (d,f) are in order
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

16 years agoadded printf
stevenj [Tue, 28 Aug 2007 04:06:52 +0000 (00:06 -0400)]
added printf

darcs-hash:20070828040652-c8de0-9406c8411158da9e4f472bfb01758f69179bb68d.gz

16 years agoadded rb_tree_find_le/gt test
stevenj [Tue, 28 Aug 2007 04:03:49 +0000 (00:03 -0400)]
added rb_tree_find_le/gt test

darcs-hash:20070828040349-c8de0-46098c86b9fb26fab2d96ff0c6bf34cd0b973828.gz

16 years agobug fix in cdirect - handle case where different indices have same (x,y)
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

16 years agoadded f2c of Schabel tensor algorithm (still needs to be cleaned up for inclusion...
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

16 years agouse red-black tree in cdirect instead of repeatedly resorting ... convex_hull is...
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

16 years agocomment
stevenj [Sun, 26 Aug 2007 20:53:29 +0000 (16:53 -0400)]
comment

darcs-hash:20070826205329-c8de0-4fd85617bec82e0691296fdc88d4848ac456fe8e.gz

16 years agoimplemented a couple more division strategies
stevenj [Sun, 26 Aug 2007 20:50:11 +0000 (16:50 -0400)]
implemented a couple more division strategies

darcs-hash:20070826205011-c8de0-cdd9659e0e0450c88566d5ceeabdbfbc7d04ec26.gz

16 years agobug fix in Gablonsky measure for cdirect
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

16 years agoadded option to StoGO (currently disabled) to use NLopt LBFGS for local minimization...
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

16 years agoadd initial re-implementation of DIRECT (still too slow because convex hull is re...
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

16 years agouse HUGE_VAL instead of 1e6 for "infinity" in DIRECT
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

16 years agoadded simple convex test function
stevenj [Sat, 25 Aug 2007 17:34:59 +0000 (13:34 -0400)]
added simple convex test function

darcs-hash:20070825173459-c8de0-c8c1a7b35e0a485dbc9dd535fd18fdab7cef9d00.gz

16 years agosome rearrangement to allow us to swap in a different local optimizer
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

16 years agouse nlopt_stopping in StoGO (currently only for maxevals and maxtime)
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

16 years agoprevent StoGO from redundant function evaluations
stevenj [Sat, 25 Aug 2007 16:23:49 +0000 (12:23 -0400)]
prevent StoGO from redundant function evaluations

darcs-hash:20070825162349-c8de0-10254b27734bc071e6ec849bd333b858e79a6bbf.gz

16 years agorecenter coords so that starting guess is utilized by global routines
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

16 years agosupport both randomized and deterministic versions of StoGO
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

16 years agobug fix in stogo - rm uninitialized read (doesn't change results since result wasn...
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

16 years agotranspose [*][maxfuncs] arrays to [maxfuncs][*], so that we can grow them dynamically...
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

16 years agoremove hard-coded limit on number of dimensions from DIRECT
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

16 years agoclearer constants (but still hard-coded, ugh)
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

16 years agolabel maxfunc and maxdeep clearly
stevenj [Fri, 24 Aug 2007 21:29:19 +0000 (17:29 -0400)]
label maxfunc and maxdeep clearly

darcs-hash:20070824212919-c8de0-22ec8c1354172455716596bd0da168e9954261e5.gz

16 years agotweak
stevenj [Fri, 24 Aug 2007 21:26:29 +0000 (17:26 -0400)]
tweak

darcs-hash:20070824212629-c8de0-13526de046fef94bc1fb1f9cc335a1f7959b9acb.gz

16 years agosupported more stopping criteria in subplex (still a little too pessimistic)
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

16 years agosome cleanups, bugfixes
stevenj [Fri, 24 Aug 2007 17:49:12 +0000 (13:49 -0400)]
some cleanups, bugfixes

darcs-hash:20070824174912-c8de0-136c8bf68c5a57743e13628c766e87e37b259d93.gz

16 years agoadded missing files
stevenj [Fri, 24 Aug 2007 17:27:32 +0000 (13:27 -0400)]
added missing files

darcs-hash:20070824172732-c8de0-b2cbcf76d945e7961c5a8bb5ab9ae1323de13fc7.gz

16 years agomore documentation
stevenj [Fri, 24 Aug 2007 17:24:59 +0000 (13:24 -0400)]
more documentation

darcs-hash:20070824172459-c8de0-d1f8afd58bc5e033c8380492c6f52da21177f50e.gz

16 years agoadded version number
stevenj [Fri, 24 Aug 2007 16:54:54 +0000 (12:54 -0400)]
added version number

darcs-hash:20070824165454-c8de0-f1414d354466a0339c3684d8c9343d62252c8479.gz

16 years agono longer need time.h in StoGO
stevenj [Fri, 24 Aug 2007 16:36:19 +0000 (12:36 -0400)]
no longer need time.h in StoGO

darcs-hash:20070824163619-c8de0-b397a82c44fc3d1422ddd92aae5ff018acac2fde.gz

16 years agoadded common random-number generation and timer utilities
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

16 years agosupport for bound constraints in NLOPT_LOCAL_SUBPLEX
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

16 years agosupport both Jones and Gablonsky direct variants
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

16 years agogot MIT-license permission from K. Madsen, author of StooGO
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

16 years agosome doc clarifications
stevenj [Fri, 24 Aug 2007 03:51:20 +0000 (23:51 -0400)]
some doc clarifications

darcs-hash:20070824035120-c8de0-57ff35b28bb549681b0589d8dadff8e92ab637ea.gz

16 years agostart at man page.
stevenj [Fri, 24 Aug 2007 03:41:51 +0000 (23:41 -0400)]
start at man page.

darcs-hash:20070824034151-c8de0-498bbcf2fa7711c0b13e69c6ed5aa9883d035fea.gz

16 years agowhoops
stevenj [Fri, 24 Aug 2007 02:53:47 +0000 (22:53 -0400)]
whoops

darcs-hash:20070824025347-c8de0-c995e338829c25db49e5b822ed1563ebdd97eadf.gz

16 years agoadded 9 more test functions
stevenj [Thu, 23 Aug 2007 22:02:38 +0000 (18:02 -0400)]
added 9 more test functions

darcs-hash:20070823220238-c8de0-fc05416812443fe823788822e1040f1ac0082129.gz

16 years agoinclude copies of (unpublished) paper and technical report graciously sent to me...
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

16 years agoadded test program and some test objectives
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

16 years agoautoconfiscated, and got to compile
stevenj [Thu, 23 Aug 2007 15:12:41 +0000 (11:12 -0400)]
autoconfiscated, and got to compile

darcs-hash:20070823151241-c8de0-892dec20933e93b9811997c9da167f4e2e40e16c.gz

16 years agoinitial checkins
stevenj [Thu, 23 Aug 2007 03:55:44 +0000 (23:55 -0400)]
initial checkins

darcs-hash:20070823035544-c8de0-5360cc4e6e596d729d60ce60ecea79a1a5c6317e.gz

16 years agoinitial checkin
stevenj [Wed, 22 Aug 2007 22:10:32 +0000 (18:10 -0400)]
initial checkin

darcs-hash:20070822221032-c8de0-6fe4c3d6af0aa9a73f141cdbda9fabc08fe7805a.gz