chiark / gitweb /
nlopt.git
15 years agodon't print past end of array in mma_verbose mode
stevenj [Tue, 19 Aug 2008 21:52:32 +0000 (17:52 -0400)]
don't print past end of array in mma_verbose mode

darcs-hash:20080819215232-c8de0-9ca9fb52f3cdbea92ddb38fa893b9623d5935798.gz

15 years agomore accurate dual minimization for small u
stevenj [Tue, 19 Aug 2008 00:05:30 +0000 (20:05 -0400)]
more accurate dual minimization for small u

darcs-hash:20080819000530-c8de0-f967384aa86b75bdac46769c2929ba51a1d4bca1.gz

15 years agomissing .m files
stevenj [Mon, 18 Aug 2008 22:40:30 +0000 (18:40 -0400)]
missing .m files

darcs-hash:20080818224030-c8de0-946323047197a14252c1e3f54f0d63dac85bd3b6.gz

15 years agoanother missing file
stevenj [Mon, 18 Aug 2008 22:39:13 +0000 (18:39 -0400)]
another missing file

darcs-hash:20080818223913-c8de0-2d8611743aa92c3866db7a23166444f87dab7b0f.gz

15 years agowhoops, missing file
stevenj [Mon, 18 Aug 2008 22:38:37 +0000 (18:38 -0400)]
whoops, missing file

darcs-hash:20080818223837-c8de0-444a6f4a399d7eecf29b82b2317174769fb42d6c.gz

15 years agomore verbose output from MMA; more paranoia required in feasibility check because...
stevenj [Mon, 18 Aug 2008 21:13:32 +0000 (17:13 -0400)]
more verbose output from MMA; more paranoia required in feasibility check because feasibility constraints may be violated by rounding errors

darcs-hash:20080818211332-c8de0-e4e18ad0909671df4f63813f52c7f586ad93da86.gz

15 years agorm hack now that we are computing gradient correctly, apparently not needed any more
stevenj [Mon, 18 Aug 2008 20:52:25 +0000 (16:52 -0400)]
rm hack now that we are computing gradient correctly, apparently not needed any more

darcs-hash:20080818205225-c8de0-6c37f0aef8ec1db09a754d86647e1daefd7e313c.gz

15 years agoadded nlopt_minimize_c function for constrained minimization (only via MMA for now...
stevenj [Mon, 18 Aug 2008 20:47:22 +0000 (16:47 -0400)]
added nlopt_minimize_c function for constrained minimization (only via MMA for now); MMA now passes very simple test cases for constrained optimization

darcs-hash:20080818204722-c8de0-3500ba9e001ac8d8f6a4593385c258ee6ed6ce4f.gz

15 years agofixed MMA so it compiles and works at least in the unconstrained case again
stevenj [Fri, 15 Aug 2008 00:44:55 +0000 (20:44 -0400)]
fixed MMA so it compiles and works at least in the unconstrained case again

darcs-hash:20080815004455-c8de0-bcd9c932fe94785311188459463df38d7f54d2c6.gz

15 years agoinitial (untested) stab at ~full MMA
stevenj [Fri, 15 Aug 2008 00:31:21 +0000 (20:31 -0400)]
initial (untested) stab at ~full MMA

darcs-hash:20080815003121-c8de0-638a9763e951bdab04146be55d5fc80125b8e5df.gz

15 years agoadded mma_verbose flag for debugging
stevenj [Tue, 5 Aug 2008 01:59:45 +0000 (21:59 -0400)]
added mma_verbose flag for debugging

darcs-hash:20080805015945-c8de0-6bd5b05be22520ce8c26cb1fa50019fc9d99d98f.gz

15 years agoname tweak
stevenj [Tue, 29 Jul 2008 17:48:20 +0000 (13:48 -0400)]
name tweak

darcs-hash:20080729174820-c8de0-183125f530d054805da4f7a92eb45a57b58ba18b.gz

15 years agoallow cxx library to be installed simultaneously with non-cxx
stevenj [Tue, 29 Jul 2008 17:36:17 +0000 (13:36 -0400)]
allow cxx library to be installed simultaneously with non-cxx

darcs-hash:20080729173617-c8de0-e9479d60f1f9cd9da68867e219449884c77768f7.gz

15 years agofixed incorrect termination code
stevenj [Tue, 29 Jul 2008 06:34:28 +0000 (02:34 -0400)]
fixed incorrect termination code

darcs-hash:20080729063428-c8de0-4efc46b60530d4d75e3a05255f60ea65c635f402.gz

15 years agoupdated .m files
stevenj [Tue, 29 Jul 2008 06:26:33 +0000 (02:26 -0400)]
updated .m files

darcs-hash:20080729062633-c8de0-8bdb86888d51da1a4e2bb26bd4319784a9100b4b.gz

15 years agoadded MMA implementation
stevenj [Tue, 29 Jul 2008 06:18:36 +0000 (02:18 -0400)]
added MMA implementation

darcs-hash:20080729061836-c8de0-7119b5077ac025515b357e848c140f2f081ff831.gz

15 years agobug fix - xtol is only met if true for *all* components of x, not just for one
stevenj [Tue, 29 Jul 2008 06:13:20 +0000 (02:13 -0400)]
bug fix - xtol is only met if true for *all* components of x, not just for one

darcs-hash:20080729061320-c8de0-77347389447843be32fb38d6050893f706c271d1.gz

15 years agocompile with non-free Nocedal L-BFGS if it is present (mainly for debugging/developme...
stevenj [Tue, 29 Jul 2008 02:46:13 +0000 (22:46 -0400)]
compile with non-free Nocedal L-BFGS if it is present (mainly for debugging/development purposes)

darcs-hash:20080729024613-c8de0-86103f4ebdaed2fc4e18756fb328f046920102a8.gz

16 years agodon't export "subplex" symbol to avoid conflict with libctl
stevenj [Sat, 12 Apr 2008 04:59:15 +0000 (00:59 -0400)]
don't export "subplex" symbol to avoid conflict with libctl

darcs-hash:20080412045915-c8de0-b5c8ffed2176186dce57b2ba246ebd644c701f2e.gz

16 years agoadd --with-cxx to include C++ code, and don't include C++ (StoGO) by default
stevenj [Sat, 12 Apr 2008 04:48:37 +0000 (00:48 -0400)]
add --with-cxx to include C++ code, and don't include C++ (StoGO) by default

darcs-hash:20080412044837-c8de0-626c401f26424ecb5c0e76dd6fa6c0c837aaf04a.gz

16 years agouse __builtin_ctz if available
stevenj [Sun, 9 Mar 2008 19:24:01 +0000 (15:24 -0400)]
use __builtin_ctz if available

darcs-hash:20080309192401-c8de0-4524cb891c0806a70adf643340e1065adeea996d.gz

16 years agoslight improvement in rightzero32
stevenj [Sun, 9 Mar 2008 18:56:25 +0000 (14:56 -0400)]
slight improvement in rightzero32

darcs-hash:20080309185625-c8de0-0dde7cdd9e32f087b8c8b726c17320c816fb2559.gz

16 years agofix directory build order (build lib before octave and test)
stevenj [Sun, 9 Mar 2008 18:56:01 +0000 (14:56 -0400)]
fix directory build order (build lib before octave and test)

darcs-hash:20080309185601-c8de0-2e6696442a11d11fb31c0a2e5f3e20c339f0d48f.gz

16 years agofixed reference date
stevenj [Thu, 27 Sep 2007 20:20:59 +0000 (16:20 -0400)]
fixed reference date

darcs-hash:20070927202059-c8de0-af109cb88dc9ce6d5e1ff64614f7c8278571cf0b.gz

16 years agofixed rosenbrock gradient
stevenj [Thu, 13 Sep 2007 20:16:34 +0000 (16:16 -0400)]
fixed rosenbrock gradient

darcs-hash:20070913201634-c8de0-c097883008bbd14326621dc815e9f2202a07db5f.gz

16 years agoadded first version of MLSL multistart-type algorithm
stevenj [Thu, 13 Sep 2007 20:06:09 +0000 (16:06 -0400)]
added first version of MLSL multistart-type algorithm

darcs-hash:20070913200609-c8de0-b0e9b03737e97fb885b5a7a4305e79f6cd21a18f.gz

16 years agoadded rb_tree_find_lt
stevenj [Tue, 11 Sep 2007 22:43:07 +0000 (18:43 -0400)]
added rb_tree_find_lt

darcs-hash:20070911224307-c8de0-cbaa8a1784b3d5cf99c76a95ee8abb10463648cc.gz

16 years agodetect a couple more out-of-memory conditions in CRS
stevenj [Tue, 11 Sep 2007 22:42:53 +0000 (18:42 -0400)]
detect a couple more out-of-memory conditions in CRS

darcs-hash:20070911224253-c8de0-8b324a9d0f66ad6e54fbf585353c002b2e4b4dce.gz

16 years agofirst stab at minf_max support in StoGO (clearly too conservative still)
stevenj [Tue, 11 Sep 2007 22:42:19 +0000 (18:42 -0400)]
first stab at minf_max support in StoGO (clearly too conservative still)

darcs-hash:20070911224219-c8de0-7eb662a7671d5ae99616bb64dc3cf754c1d7376f.gz

16 years agoadded verbose mode to Octave/Matlab plugin, for convenience
stevenj [Sun, 9 Sep 2007 01:24:01 +0000 (21:24 -0400)]
added verbose mode to Octave/Matlab plugin, for convenience

darcs-hash:20070909012401-c8de0-02cf1c2c437a62a20ce7bdd0950499e4c6b19ba6.gz

16 years agodocument CRS2
stevenj [Fri, 7 Sep 2007 01:58:11 +0000 (21:58 -0400)]
document CRS2

darcs-hash:20070907015811-c8de0-542d55f7f9027b6341e97ac2d4f7eacf1929e940.gz

16 years agoadded missing .m files
stevenj [Fri, 7 Sep 2007 01:54:06 +0000 (21:54 -0400)]
added missing .m files

darcs-hash:20070907015406-c8de0-4bf04c827b12db3b8d30c01ea8af75acca8e3c02.gz

16 years agoadded my own implementation of controlled random search (CRS) algorithm
stevenj [Fri, 7 Sep 2007 01:52:48 +0000 (21:52 -0400)]
added my own implementation of controlled random search (CRS) algorithm

darcs-hash:20070907015248-c8de0-5f583ad3dac1a4d688b992a894c8ce75745bbbc7.gz

16 years agowhoops!
stevenj [Thu, 6 Sep 2007 17:42:41 +0000 (13:42 -0400)]
whoops!

darcs-hash:20070906174241-c8de0-234a11916f87017de65a60b562c8f2cfa7dae4af.gz

16 years agofix comment
stevenj [Thu, 6 Sep 2007 17:26:40 +0000 (13:26 -0400)]
fix comment

darcs-hash:20070906172640-c8de0-11a7a435200e761ead10dc64dd940eeed6bfcdbe.gz

16 years agouse clever O(1) algorithm from Knuth to find rightmost zero bit (I doubt it's signifi...
stevenj [Thu, 6 Sep 2007 15:43:35 +0000 (11:43 -0400)]
use clever O(1) algorithm from Knuth to find rightmost zero bit (I doubt it's significantly faster, but it sure is cooler)

darcs-hash:20070906154335-c8de0-7d3f930d12b00a5d71a0406605cace694195e620.gz

16 years agoinclude "nlopt.h", not <nlopt.h>
stevenj [Thu, 6 Sep 2007 13:29:58 +0000 (09:29 -0400)]
include "nlopt.h", not <nlopt.h>

darcs-hash:20070906132958-c8de0-ee487c0dfb8390814acee28d48e57912b08195a5.gz

16 years agoadded rb_tree_shift_keys
stevenj [Thu, 6 Sep 2007 02:00:18 +0000 (22:00 -0400)]
added rb_tree_shift_keys

darcs-hash:20070906020018-c8de0-ebbcf31bebdb208a5d1ff57aca14a3994f08f549.gz

16 years agomove redblack trees into libutil so they can be shared
stevenj [Thu, 6 Sep 2007 01:54:28 +0000 (21:54 -0400)]
move redblack trees into libutil so they can be shared

darcs-hash:20070906015428-c8de0-47309e79f9b9610b7bd7b3c1098879d49fcc8eef.gz

16 years agoallow NULL to be passed to sobol routines to fall back on pseudo-random
stevenj [Thu, 6 Sep 2007 01:50:46 +0000 (21:50 -0400)]
allow NULL to be passed to sobol routines to fall back on pseudo-random

darcs-hash:20070906015046-c8de0-6a3da0b8e0b19d904995ceae6c5d798568a3c301.gz

16 years agofixed documentation to reflect latest algs.
stevenj [Thu, 6 Sep 2007 00:24:20 +0000 (20:24 -0400)]
fixed documentation to reflect latest algs.

darcs-hash:20070906002420-c8de0-52dc2c7d5e47001fa7f88af3e0270932f75c821d.gz

16 years agorename sobolseq.h to soboldata.h
stevenj [Wed, 5 Sep 2007 21:29:10 +0000 (17:29 -0400)]
rename sobolseq.h to soboldata.h

darcs-hash:20070905212910-c8de0-d17e6db5865b4aa93ec15b6521e348e647e90abf.gz

16 years agotweak
stevenj [Wed, 5 Sep 2007 21:25:43 +0000 (17:25 -0400)]
tweak

darcs-hash:20070905212543-c8de0-a6f8bacf2db3c0b3ae79cd0f06ad946f2afdb898.gz

16 years agocopyright etc. comments
stevenj [Wed, 5 Sep 2007 21:23:56 +0000 (17:23 -0400)]
copyright etc. comments

darcs-hash:20070905212356-c8de0-23bbb4a4af7867599387cace7787eb63a07d16e3.gz

16 years agobug fix - missing 0's in Sobol ... now matches published test integral results to...
stevenj [Wed, 5 Sep 2007 21:14:05 +0000 (17:14 -0400)]
bug fix - missing 0's in Sobol ... now matches published test integral results to 1111 dimensions

darcs-hash:20070905211405-c8de0-d3fc1fd6834a2ba40bfa40e10c652c4faa7316ed.gz

16 years agoadded test integrand, sobol_skip, checked whether lookup table makes rightzero32...
stevenj [Wed, 5 Sep 2007 18:24:12 +0000 (14:24 -0400)]
added test integrand, sobol_skip, checked whether lookup table makes rightzero32 faster (it doesn't)

darcs-hash:20070905182412-c8de0-2ff5c41960f9e7526831cfced27be56690a74888.gz

16 years agocomments
stevenj [Wed, 5 Sep 2007 17:27:46 +0000 (13:27 -0400)]
comments

darcs-hash:20070905172746-c8de0-68efd4e54f675b63c6f6faa46c3118887f2d8a63.gz

16 years agoadded sobol api to nlopt-util.h, split data into separate file
stevenj [Wed, 5 Sep 2007 17:23:58 +0000 (13:23 -0400)]
added sobol api to nlopt-util.h, split data into separate file

darcs-hash:20070905172358-c8de0-3b172cc335ef8a3705a34b7bb5b087100ded5d8e.gz

16 years agoinitial cut at Sobol sequence generator
stevenj [Wed, 5 Sep 2007 00:19:14 +0000 (20:19 -0400)]
initial cut at Sobol sequence generator

darcs-hash:20070905001914-c8de0-9d8968118bcc77a63b44d8d56ebc54b24d5b2ed5.gz

16 years agoadded -C option to force contraints to be active
stevenj [Tue, 4 Sep 2007 16:32:36 +0000 (12:32 -0400)]
added -C option to force contraints to be active

darcs-hash:20070904163236-c8de0-33897b41afe8d8fd4520b02c19100efeb3193d64.gz

16 years agoadded TNEWTON (pnet) code from luksan
stevenj [Tue, 4 Sep 2007 03:19:15 +0000 (23:19 -0400)]
added TNEWTON (pnet) code from luksan

darcs-hash:20070904031915-c8de0-c146f3a4b28f90444c299eb79f73e94b2d22586d.gz

16 years agoplip shouldn't reset nevals
stevenj [Tue, 4 Sep 2007 03:00:49 +0000 (23:00 -0400)]
plip shouldn't reset nevals

darcs-hash:20070904030049-c8de0-a57d4e553ccd11f80ae165ebd48adf29b96a8861.gz

16 years agosupport function handles from Matlab
stevenj [Tue, 4 Sep 2007 02:15:50 +0000 (22:15 -0400)]
support function handles from Matlab

darcs-hash:20070904021550-c8de0-49623cb50c1970965af5b72315b656c38025c367.gz

16 years agomex file doesn't use usage.h
stevenj [Tue, 4 Sep 2007 01:37:14 +0000 (21:37 -0400)]
mex file doesn't use usage.h

darcs-hash:20070904013714-c8de0-febfb807bc48f2a21bedb530971e77938ca66ae4.gz

16 years agoupdated .m help
stevenj [Tue, 4 Sep 2007 01:35:45 +0000 (21:35 -0400)]
updated .m help

darcs-hash:20070904013545-c8de0-2f4a0b3f51a776918e163594cfa745e4969a803b.gz

16 years agoadded Matlab plug-in
stevenj [Tue, 4 Sep 2007 01:20:15 +0000 (21:20 -0400)]
added Matlab plug-in

darcs-hash:20070904012015-c8de0-b18f22f76ac879415165b98ed8d34c52b062a481.gz

16 years agoauto updating of constant .m files
stevenj [Mon, 3 Sep 2007 21:25:23 +0000 (17:25 -0400)]
auto updating of constant .m files

darcs-hash:20070903212523-c8de0-bcc71ab76958e9ce4f845ed01a649bab501de705.gz

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