chiark / gitweb /
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
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
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
stevenj [Wed, 2 Jun 2010 03:50:21 +0000 (23:50 -0400)]
added fortran wrapper for nlopt_copy
darcs-hash:
20100602035021-c8de0-
d1fabb203b45275b539e487a4868933cf9551be9.gz
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
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
stevenj [Wed, 2 Jun 2010 00:36:32 +0000 (20:36 -0400)]
stevenj [Tue, 1 Jun 2010 22:47:59 +0000 (18:47 -0400)]
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
stevenj [Mon, 31 May 2010 21:49:14 +0000 (17:49 -0400)]
fixed generation of nlopt.f (again)
darcs-hash:
20100531214914-c8de0-
0bd388d69350800bad22d18211e5def40a0121e1.gz
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
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
stevenj [Fri, 28 May 2010 16:44:40 +0000 (12:44 -0400)]
stevenj [Fri, 28 May 2010 16:37:37 +0000 (12:37 -0400)]
stevenj [Fri, 28 May 2010 16:36:00 +0000 (12:36 -0400)]
added nlopt_force_stop termination
darcs-hash:
20100528163600-c8de0-
aa1d026191abea2ffd7870265933673fe18ab890.gz
stevenj [Wed, 12 May 2010 15:18:12 +0000 (11:18 -0400)]
stevenj [Wed, 12 May 2010 15:01:53 +0000 (11:01 -0400)]
stevenj [Wed, 12 May 2010 04:00:09 +0000 (00:00 -0400)]
stab at Matlab nlopt_optimize interface
darcs-hash:
20100512040009-c8de0-
edd99ecc6904eca7c0fbb4d42a263b0ddb8cd00e.gz
stevenj [Wed, 12 May 2010 03:48:48 +0000 (23:48 -0400)]
note that n argument is now unsigned
darcs-hash:
20100512034848-c8de0-
7a7f45a53656b351d4372ed22104bab823569cf7.gz
stevenj [Wed, 12 May 2010 02:14:54 +0000 (22:14 -0400)]
replace Octave nlopt_minimize_constrained with wrapper around new nlopt_optimize, and document the latter
darcs-hash:
20100512021454-c8de0-
d8c1513f66476aa316e32561e5dc648aca70e06f.gz
stevenj [Wed, 12 May 2010 02:14:30 +0000 (22:14 -0400)]
remove obsolete NLOPT_MINF_MAX_REACHED
darcs-hash:
20100512021430-c8de0-
95df1ca4c461239c6ddbd8cc0e87104d0101039f.gz
stevenj [Wed, 12 May 2010 02:13:51 +0000 (22:13 -0400)]
stevenj [Sat, 8 May 2010 00:12:55 +0000 (20:12 -0400)]
stevenj [Fri, 7 May 2010 23:48:05 +0000 (19:48 -0400)]
support inequality constraints directly in ORIG_DIRECT
darcs-hash:
20100507234805-c8de0-
7419b76ac7a7dde36b4c7cc380ea3be74ba583ef.gz
stevenj [Tue, 6 Apr 2010 02:50:26 +0000 (22:50 -0400)]
initial stab at new-style Octave api
darcs-hash:
20100406025026-c8de0-
653797e7b13d5e004082e273187d950c8db7e436.gz
stevenj [Tue, 6 Apr 2010 02:49:33 +0000 (22:49 -0400)]
stevenj [Mon, 5 Apr 2010 19:17:49 +0000 (15:17 -0400)]
put a few more functions into the C++ API
darcs-hash:
20100405191749-c8de0-
2bb5cb5b80befa74a8a666be82866d91817a9153.gz
stevenj [Mon, 5 Apr 2010 07:28:11 +0000 (03:28 -0400)]
catch a vector-size mismatch in C++
darcs-hash:
20100405072811-c8de0-
307c0f8c22e707816cbe2da178b2ff92fc6a596f.gz
stevenj [Mon, 5 Apr 2010 07:19:53 +0000 (03:19 -0400)]
stevenj [Mon, 5 Apr 2010 07:16:50 +0000 (03:16 -0400)]
add set_max_objective to automate the sign flip for maximization
darcs-hash:
20100405071650-c8de0-
c7d3b05da048406f5004a4c9c46dccd6d2a41100.gz
stevenj [Mon, 5 Apr 2010 06:30:16 +0000 (02:30 -0400)]
stevenj [Mon, 5 Apr 2010 05:58:31 +0000 (01:58 -0400)]
stevenj [Mon, 5 Apr 2010 05:41:36 +0000 (01:41 -0400)]
change new API to use unsigned where it makes sense
darcs-hash:
20100405054136-c8de0-
a106e736e68aa365986a1cc91b9faf8492dd6ea1.gz
stevenj [Mon, 5 Apr 2010 04:49:54 +0000 (00:49 -0400)]
stevenj [Mon, 5 Apr 2010 04:49:17 +0000 (00:49 -0400)]
in MMA, only stop on minf_max if feasible!
darcs-hash:
20100405044917-c8de0-
be7df864ba060befce69c335e9116b01a2f82f10.gz
stevenj [Mon, 5 Apr 2010 01:34:43 +0000 (21:34 -0400)]
stevenj [Mon, 5 Apr 2010 00:56:32 +0000 (20:56 -0400)]
stevenj [Mon, 5 Apr 2010 00:54:22 +0000 (20:54 -0400)]
use constraint tolerance for feasibility check of minf convergence check in COBYLA
darcs-hash:
20100405005422-c8de0-
9fee12e2bca611ba6c4662af0cf2ab49b14a2749.gz
stevenj [Mon, 5 Apr 2010 00:34:52 +0000 (20:34 -0400)]
pseudo-randomize simplex steps in COBLYA, to avoid accidentally taking steps that don't improve conditioning (which seems to happen with bound constraints where the optimum is against the bounds, sometimes); note that the algorithm remains deterministic
darcs-hash:
20100405003452-c8de0-
af9df1f48a6f2adb1d3990aa66320235ee556cab.gz
stevenj [Mon, 5 Apr 2010 00:33:44 +0000 (20:33 -0400)]
allow COBYLA to increase trust-region radius (rho) if predicted improvement was approximately right and simplex is ok, following suggestion in SAS manual for PROC NLP
darcs-hash:
20100405003344-c8de0-
d288279ade2dfafe7b9bcf9facf7807288f28010.gz
stevenj [Mon, 5 Apr 2010 00:33:28 +0000 (20:33 -0400)]
stevenj [Sun, 4 Apr 2010 22:24:32 +0000 (18:24 -0400)]
don't call MLSL recursively (e.g. in auglag)
darcs-hash:
20100404222432-c8de0-
d8e9e542f9b3e8add61ec28c5346858e37bd3577.gz
stevenj [Sun, 4 Apr 2010 22:18:35 +0000 (18:18 -0400)]
return error in global search if domain is not finite
darcs-hash:
20100404221835-c8de0-
748279ced777a37c6a5ada00892bba75da7cdd54.gz
stevenj [Sun, 4 Apr 2010 21:51:25 +0000 (17:51 -0400)]
improved (I think) stopping criteria for auglag
darcs-hash:
20100404215125-c8de0-
c139af2024d66a76717073417d5c15c7db314647.gz
stevenj [Sun, 4 Apr 2010 21:48:51 +0000 (17:48 -0400)]
use opt->dx in local sub-algorithm
darcs-hash:
20100404214851-c8de0-
5e39ad9719b7c5068a704a83e4907e98950c4065.gz
stevenj [Sun, 4 Apr 2010 20:31:47 +0000 (16:31 -0400)]
stevenj [Sat, 3 Apr 2010 16:00:38 +0000 (12:00 -0400)]
new, extensible "object-oriented" API, first draft
darcs-hash:
20100403160038-c8de0-
232c66be6bea9251b847be53380e00a5952f695d.gz
stevenj [Fri, 2 Apr 2010 22:50:04 +0000 (18:50 -0400)]
use stdcall interface by default on Windows, since this seems to be more standard there; thanks to Alan Young for the suggestion
darcs-hash:
20100402225004-c8de0-
40e1743d311901ea1ccf0dea3588d654474b050d.gz
stevenj [Mon, 15 Mar 2010 22:31:59 +0000 (18:31 -0400)]
nlopt-util.h not needed for mex file
darcs-hash:
20100315223159-c8de0-
aba750ebeed8a30dbfc442fa993fc414eb321082.gz
stevenj [Tue, 9 Feb 2010 22:47:41 +0000 (17:47 -0500)]
use NLopt stop criteria in Luksan code: in particular, absolute tolerances were missing (thanks to Greg Nicholas for the bug report)
darcs-hash:
20100209224741-c8de0-
3df6ca15549dfe15027bc582948587adbcaa3b29.gz
stevenj [Fri, 29 Jan 2010 06:00:46 +0000 (01:00 -0500)]
fixed to compile under C++, use C++ compiler in --with-cxx mode (thanks to Greg Nicholas for the suggestion)
darcs-hash:
20100129060046-c8de0-
eaf1103383deae6747c025b25cfd02bedd2cdb1a.gz
stevenj [Fri, 29 Jan 2010 06:02:56 +0000 (01:02 -0500)]
stevenj [Fri, 29 Jan 2010 05:43:34 +0000 (00:43 -0500)]
stevenj [Wed, 27 Jan 2010 22:49:36 +0000 (17:49 -0500)]
stevenj [Wed, 27 Jan 2010 22:43:35 +0000 (17:43 -0500)]
stevenj [Tue, 1 Dec 2009 16:48:34 +0000 (11:48 -0500)]
stevenj [Tue, 1 Dec 2009 16:42:33 +0000 (11:42 -0500)]
stevenj [Thu, 19 Nov 2009 01:52:41 +0000 (20:52 -0500)]
stevenj [Thu, 19 Nov 2009 01:51:24 +0000 (20:51 -0500)]
stevenj [Thu, 19 Nov 2009 00:47:24 +0000 (19:47 -0500)]
added get/set stochastic_population functions for greater control over stochastic algorithms
darcs-hash:
20091119004724-c8de0-
3ae4d1219ac30c2add587bcfb1bb7d029f0bc4a2.gz
stevenj [Thu, 19 Nov 2009 00:23:12 +0000 (19:23 -0500)]
isres should ignore change in f and x on first evaluation
darcs-hash:
20091119002312-c8de0-
40fd94fd0d8d0dd456c2a51e5a20608b70e9ca07.gz
stevenj [Thu, 19 Nov 2009 00:10:16 +0000 (19:10 -0500)]
slightly better way of deciding on "best" solution so far in ISRES, still not entirely satisfactory
darcs-hash:
20091119001016-c8de0-
df385d85010eeb3a3f9220bfbfaa5dc44b35bc8e.gz
stevenj [Wed, 18 Nov 2009 16:41:55 +0000 (11:41 -0500)]
stevenj [Wed, 18 Nov 2009 06:18:57 +0000 (01:18 -0500)]
bug fix in ISRES; it seems to work, albeit worse than CRS2
darcs-hash:
20091118061857-c8de0-
60c4151d03f119b56a96db1f830c23c06602cee3.gz
stevenj [Wed, 18 Nov 2009 05:57:31 +0000 (00:57 -0500)]
make sure minf is initialized to HUGE_VAL before calling any optimization routine
darcs-hash:
20091118055731-c8de0-
e3ad0a0f08aa9c4eadca0572f9b43dae7131ce85.gz
stevenj [Wed, 18 Nov 2009 05:52:59 +0000 (00:52 -0500)]
added ISRES (compiles, but untested)
darcs-hash:
20091118055259-c8de0-
1b704e09a6a759e72345cdd1833c9756e3880663.gz
stevenj [Tue, 17 Nov 2009 21:20:16 +0000 (16:20 -0500)]
stevenj [Tue, 17 Nov 2009 21:17:11 +0000 (16:17 -0500)]
fixes to nlopt stop cases in BOBYQA
darcs-hash:
20091117211711-c8de0-
f08774fcd3cfefe2d33029d6561b60d51b5cae6a.gz
stevenj [Tue, 17 Nov 2009 20:49:52 +0000 (15:49 -0500)]
stevenj [Tue, 17 Nov 2009 20:34:03 +0000 (15:34 -0500)]
add preliminary BOBYQA (not quite working yet)
darcs-hash:
20091117203403-c8de0-
a3f3bb4d9d9a2b3dbe031f9f16221e1b8306575f.gz
stevenj [Sat, 14 Nov 2009 03:05:21 +0000 (22:05 -0500)]
fixed extraneous text accidentally included in nlopt.f FOrtran include file
darcs-hash:
20091114030521-c8de0-
ee88f0b9f3dec44f56369dae6c99604c3c754bde.gz
stevenj [Fri, 13 Nov 2009 00:54:24 +0000 (19:54 -0500)]
stevenj [Fri, 13 Nov 2009 00:47:51 +0000 (19:47 -0500)]
stevenj [Fri, 13 Nov 2009 00:43:18 +0000 (19:43 -0500)]
add (disabled) code to test program to signal on NaN creation, for debugging
darcs-hash:
20091113004318-c8de0-
9d518702b3a469dfd45197b08f06f255c5175f06.gz
stevenj [Fri, 13 Nov 2009 00:43:08 +0000 (19:43 -0500)]
added new NLOPT_ROUNDOFF_LIMITED failure code to indicate when optimizer breaks down due to roundoff errors (which may still indicate a useful result); several checks for breakdown in NEWUOA; bug fix in NEWUOA_BOUND that allowed roundoff errors to push x slightly outside bound constraints
darcs-hash:
20091113004308-c8de0-
8d292e1d67c23c851d98974239cfbfddda16a35e.gz
stevenj [Thu, 12 Nov 2009 22:12:19 +0000 (17:12 -0500)]
if reltol > 0, catch convergence case where new == old == 0
darcs-hash:
20091112221219-c8de0-
04e133b083c9f326593ad295b7309bf931c16bc4.gz
stevenj [Thu, 12 Nov 2009 17:46:47 +0000 (12:46 -0500)]
added double Lorentzian test function (not distributed)
darcs-hash:
20091112174647-c8de0-
33b9fc6d95a397a6ee3239ca8cf5a19b1ac46486.gz
stevenj [Thu, 12 Nov 2009 17:46:19 +0000 (12:46 -0500)]
added Box test function (not distributed)
darcs-hash:
20091112174619-c8de0-
ac18ec39b3066b38a10863df20813946365aa97f.gz
stevenj [Thu, 29 Oct 2009 02:17:37 +0000 (22:17 -0400)]
configure script detects whether Matlab/Octave plugins require nlopt to be compiled as a shared library
darcs-hash:
20091029021737-c8de0-
911c87b2d91fe774b55bceaabc76572d54f9dae4.gz
stevenj [Thu, 29 Oct 2009 01:18:05 +0000 (21:18 -0400)]
stevenj [Thu, 29 Oct 2009 01:16:41 +0000 (21:16 -0400)]
updated Octave install-directory detection for recent Octave versions
darcs-hash:
20091029011641-c8de0-
0c02209397ba9a1e9f38b883a60a0e49ad6af6ad.gz
stevenj [Thu, 29 Oct 2009 01:01:01 +0000 (21:01 -0400)]
stevenj [Thu, 29 Oct 2009 00:53:22 +0000 (20:53 -0400)]
work around stupid qsort_r BSD/GNU incompatibility
darcs-hash:
20091029005322-c8de0-
bc99d7ce1efdc63f5b29848d2e49c46ace31a1f4.gz
stevenj [Thu, 27 Nov 2008 20:37:09 +0000 (15:37 -0500)]
added test function with minimum at side (i.e. one active bound constraint), which is more challenging than the corner case
darcs-hash:
20081127203709-c8de0-
248be9ce8ebbedc63edea548940c330579979276.gz
stevenj [Thu, 27 Nov 2008 19:34:51 +0000 (14:34 -0500)]
modify cobyla to explicitly honor bound constraints
darcs-hash:
20081127193451-c8de0-
1f3c16ad9d01ecd63751bc86004ef59229a8c855.gz
stevenj [Wed, 26 Nov 2008 23:12:16 +0000 (18:12 -0500)]
stevenj [Wed, 26 Nov 2008 22:41:10 +0000 (17:41 -0500)]
stevenj [Wed, 26 Nov 2008 22:40:15 +0000 (17:40 -0500)]
--without-octave and --without-matlab options
darcs-hash:
20081126224015-c8de0-
d8d9bd5711d65aac4dd5fbc6a5740a87a3a3d24a.gz
stevenj [Wed, 26 Nov 2008 04:23:30 +0000 (23:23 -0500)]
initial (undocumented) support for equality constraints via augmented Lagrangian method
darcs-hash:
20081126042330-c8de0-
c6074b36c1bf1a41005c1b1526ce801659db703a.gz
stevenj [Tue, 25 Nov 2008 19:37:07 +0000 (14:37 -0500)]
skeleton of future equality-constraint support
darcs-hash:
20081125193707-c8de0-
5a57e367a994ab4bd65f667197312bfd4e8c0a02.gz
stevenj [Sat, 22 Nov 2008 22:29:58 +0000 (17:29 -0500)]
stevenj [Sat, 22 Nov 2008 21:29:30 +0000 (16:29 -0500)]
better checking for Matlab installation path
darcs-hash:
20081122212930-c8de0-
ed002085375fe8493a94b3a880fd0f99da55c7a2.gz
stevenj [Fri, 14 Nov 2008 01:04:49 +0000 (20:04 -0500)]
disable Octave code if mkoctfile not found, even if OCT_INSTALL_DIR specified
darcs-hash:
20081114010449-c8de0-
49d3266da4b839ebe49046f614614e5680a2dca7.gz
stevenj [Thu, 13 Nov 2008 21:11:51 +0000 (16:11 -0500)]
stevenj [Thu, 13 Nov 2008 20:52:25 +0000 (15:52 -0500)]
MLSL needs a nonzero default ftol_rel and/or xtol_rel
darcs-hash:
20081113205225-c8de0-
d38cc7ac93ec94d3d479f2776154b4d59b51f876.gz
stevenj [Thu, 13 Nov 2008 19:56:30 +0000 (14:56 -0500)]
fix overriding of MEX_INSTALL_DIR
darcs-hash:
20081113195630-c8de0-
b2f6dee660bd644a90671e1b84a44c296669c392.gz
stevenj [Thu, 13 Nov 2008 17:08:06 +0000 (12:08 -0500)]
yikes, bug fix in DIRECT that prevented convergence for Shekel-10 (DIRECT-L is not affected)
darcs-hash:
20081113170806-c8de0-
77c0694921154f382921dca06507d02b39d2fe71.gz
stevenj [Wed, 12 Nov 2008 03:28:33 +0000 (22:28 -0500)]
whoops, removed obsolete Makefile
darcs-hash:
20081112032833-c8de0-
48c4230bceed758dcc0fdde3851b7d52fb7db1b7.gz
stevenj [Wed, 12 Nov 2008 03:24:29 +0000 (22:24 -0500)]
stevenj [Wed, 12 Nov 2008 03:23:22 +0000 (22:23 -0500)]
remove BUGS section of man pages
darcs-hash:
20081112032322-c8de0-
c682036baf55cdc4d16a10f78518013e7a8f57c1.gz