chiark / gitweb /
c56ce6461bd4230ff5c4c794700122bbae86aacc
[nlopt.git] / NEWS
1 NLopt 2.2.2 (26 May 2011)
2
3 * Added set_vector_storage API to modify the memory usage and the 
4   subspace dimension for low-storage quasi-Newton methods.
5
6 * Fixed missing support for maxtime stopping criteria in Luksan and
7   ORIG_DIRECT algorithms; thanks to Jurgen Werner for the bug report.
8
9 * Fixed algorithms to support the case where the lower and upper bounds
10   are equal for some variables (which effectively eliminates those
11   variables from optimization).
12
13 * Added missing xtol check to SLSQP, which caused erroneous ROUNDOFF_LIMITED
14   error codes to be returned; thanks to Alexander Riess for the bug report.
15
16 * Fixed slight overcounting of function evaluations for maxeval check
17   in SLSQP.
18
19 * Fixed deprecated API to support xtol_abs == NULL for backward
20   compatibility (thanks to Francesco Biscani for the bug report).
21
22 * Made Luksan algorithms (e.g. LBFGS and other quasi-Newton methods)
23   re-entrant; thanks to Gert Wollny for the bug report.  (Fixes
24   Gentoo bug #368685.)
25
26 * Fixed bug in DIRECT (not ORIG_DIRECT), where a typo caused suboptimal
27   convergence in some cases; thanks to Sinisa Hristov for the bug report.
28
29 NLopt 2.2.1 (6 September 2010)
30
31 * If you compile nlopt.h with the NLOPT_DLL_EXPORT symbol #defined,
32   it now uses the dllexport directive (under Windows), useful for
33   compiling an NLopt DLL under Microsoft compilers; thanks to Benoit
34   Scherrer for the suggestion.
35
36 * Handle case where copysign function is missing, e.g. on Windows;
37   thanks to Benoit Scherrer for the bug report.
38
39 * Remove C99-style mixed declaration and code in a couple files, so
40   that code compiles in C89; thanks to Benoit Scherrer for the bug report.
41
42 * Removed a few compiler warnings under Microsoft compilers; thanks
43   to Benoit Scherrer for the bug report.
44
45 * Export nlopt_get_algorithm_name function on Windows; thanks to Ofek
46   Shilon for the bug report.
47
48 * Don't use dllimport directive with lcc on Windows (which doesn't
49   support it); thanks to Laurent Vanbeylen for the bug report.
50
51 * Update Nodedal README directory to indicate that Nocedal's LBFGS code
52   is now available under the GPL, and therefore may be distributed with
53   a future NLopt version (although Luksan's LBFGS code already works well).
54
55 * Bug fix in set/get_xtol_abs; thanks to David Rivest-Henault for the report.
56
57 NLopt 2.2 (15 July 2010)
58
59 * Added SLSQP algorithm for gradient-based local optimization with
60   nonlinear constraints via sequential quadratic programming, based
61   on the implementation by Dieter Kraft that was adapted for SciPy.
62
63 * Modified BOBYQA and COBYLA algorithms to support unequal initial
64   step sizes in different directions; thanks to Tom Fiddaman for pointing
65   out the need for this in the case where different directions have
66   very different scales.
67
68 * Added Python module docstring; thanks to Sebastian Walter for the suggestion.
69
70 * Added GUILE_INSTALL_DIR variable to allow the user to change the
71   Guile installation directory.
72
73 * Added Fortran interface for vector-valued constraints.
74
75 * Throw correct exceptions in Python for the add_*constraint functions;
76   thanks to Dmitrey Kroshko for the bug report.
77
78 * Support forced stop and exceptions in ORIG_DIRECT algorithm.
79
80 * Remove arbitrary 1e20 upper bound on function values from ORIG_DIRECT
81   code.
82
83 * Bugfix in C++ interface (and some other language front-ends) when
84   deallocating the nlopt_opt object in cases like MLSL where
85   local_optimizer is used; thanks to Jurgen Werner for the bug report.
86
87 NLopt 2.1.2 (8 July 2010)
88
89 * The Python mconstraint (vector-valued constraint) functions
90   now pass a 2-dimensional array for the gradient argument, rather
91   than a flattened 1d array.
92
93 * Improved handling of exceptions and forced stops for constrained
94   optimization, making sure that no constraints are evaluated after
95   the stop.
96
97 * Return an NLOPT_INVALID_ARGS error if more than n equality constraints
98   are added in an n-dimensional problem.
99
100 * Fix bug that could cause spurious NLOPT_INVALID_ARGS errors when
101   adding constraints under rare circumstances.
102
103 * Eliminate a few small memory leaks that could occur under error conditions.
104
105 NLopt 2.1.1 (7 July 2010)
106
107 * More robust configure check for Python include directories, via
108   distutils.sysconfig.get_python_inc() and numpy.get_include().
109   Thanks to Nathaniel Smith for the tip.
110
111 * Bug fix in Guile interface: added missing prefix to nlopt-version-major
112   etcetera.
113
114 NLopt 2.1 (6 July 2010)
115
116 * New vector-valued constraint feature; thanks to Dmitrey Kroshko of OpenOpt
117   for the suggestion.
118
119 * COBYLA now accepts equality constraints.
120
121 * Guard against multiple inclusion in nlopt.hpp; thanks to Saul
122   Thurrowgood for the suggestion.
123
124 NLopt 2.0.2 (17 June 2010)
125
126 * Fixed compilation failure in Microsoft Visual Studio, due to
127   incorrect usage of __stdcall keyword; thanks to Dave Katz for the
128   bug report.
129
130 NLopt 2.0.1 (16 June 2010)
131
132 * Bug fix in Fortran API (for nlo_get_ functions returning arrays).
133
134 * Fixed buggy compilation with MinGW.
135
136 NLopt 2.0 (15 June 2010)
137
138 * New C API, that works by creating an nlopt_opt "object" and then calling
139   functions to set the optimization parameters -- much more extensible
140   than the old API (which is preserved for backwards compatibility).
141   (Updated Fortran, Matlab, and GNU Octave wrappers as well.)
142
143 * C++ nlopt.hpp wrapper around C API, allowing namespaces, object
144   constructors/destructors, std::vector<double>, and exceptions
145   to be exploited.
146
147 * New nlopt wrappers callable from Python and GNU Guile, generated
148   with the help of SWIG.
149
150 * New 'man nlopt' manual page documenting new API.
151
152 * New AUGLAG algorithm(s) implementing an augmented-Lagrangian method
153   proposed by Birgin and Martinez (2008), which supports nonlinear
154   equality and inequality constraints "wrapped around" other
155   local/global optimization methods.
156
157 * Added API for nonlinear equality constraints (currently only
158   supported by AUGLAG and ISRES algorithms).
159
160 * Support inequality constraints directly in ORIG_DIRECT algorithms
161   (no need to return NaN when constraint is violated).
162
163 * Inequality/equality constraints now have optional tolerances that
164   are used as conditions in stopping criteria.
165
166 * Pseudo-randomize simplex steps in COBYLA algorithm, improving robustness
167   by avoiding accidentally taking steps that don't improve conditioning
168   (which seems to happen sometimes with active bound constraints).  The
169   algorithm remains deterministic (a deterministic seed is used), however.
170
171 * Allow COBYLA to increase the trust-region radius if the predicted improvement
172   was approximately right and the simplex is OK, following a suggestion
173   in the SAS manual for PROC NLP that seems to improve convergence speed.
174
175 * Added nlopt_force_stop function to force a (graceful) halt to
176   the optimization, and corresponding NLOPT_FORCED_STOP return code.
177
178 * Improved thread-safety in random-number generation: thread-local
179   storage is used for random-number state, on compilers that support
180   it (e.g. gcc, Intel, Microsoft), to make the generation thread-safe.
181   In this case, the random-number seed must be set per-thread.
182
183 * Return an error in global-search algorithms if the domain is not finite.
184
185 * Use stdcall convention on Windows; thanks to Alan Young for the suggestion.
186
187 * Added missing absolute-tolerance criteria in Luksan algorithms; thanks
188   to Greg Nicholas for the bug report.
189
190 * Fixed compilation under C++, and use C++ compiler for everything in
191   --with-cxx mode; thanks to Greg Nicholas for the bug report.
192
193 * In MMA, only stop at minf_max/stopval if the point is feasible.
194
195 * Fix Matlab mex file to not include unnecessary nlopt-util.h file,
196   simplifying Windows compilation.
197
198 NLopt 1.2 (18 November 2009)
199
200 * Added Powell's BOBYQA algorithm for box-constrained optimization
201   without derivatives, an improvement on NEWUOA.
202
203 * Added ISRES genetic algorithm, supporting nonlinearly constrained
204   global optimization.
205
206 * New functions nlopt_{set/get}_stochastic_population to provide
207   optional greater control over the random "population" sizes in
208   stochastic algorithms (although it still has a sensible default).
209
210 * Bug fix: remove extraneous text accidentally included in nlopt.f Fortran
211   include file.
212
213 * Bug fix: configure script now correctly handles Matlab installation
214   when MEX_INSTALL_DIR is specified manually by the user.
215
216 NLopt 1.1 (12 November 2009)
217
218 * configure script detects whether --enable-shared is required
219   in order to compile Matlab and Octave plugins (as is the case
220   on x86_64), and disables compilation of those plugins if
221   --enable-shared is not used.
222
223 * Added --without-octave and --without-matlab configure options to
224   disable Octave and Matlab plugins, respectively.
225
226 * Modified COBYLA algorithm to have better support for bound
227   constraints.
228
229 * Added new NLOPT_ROUNDOFF_LIMITED failure code to indicate
230   cases in which optimization breaks down due to roundoff errors,
231   in which case it is possible that useful results were obtained.
232
233 * Experimental support for nonlinear equality constraints via
234   augmented-Lagrangian method.
235
236 * Support for compiling under Windows (ideally with MinGW) as a 
237   DLL, although you have to manually add #define NLOPT_DLL
238   to nlopt.h *after* installing (after compiling NLopt).
239
240 * Added several checks for roundoff-related breakdown to NEWUOA code.
241
242 * When only a relative error tolerance is specified, no longer
243   fails to halt when exact convergence to zero is obtained.
244
245 * Workaround for incompatible qsort_r functions in BSD and GNU libc
246   by always using my own version; thanks to Wendy Vandoolaeghe
247   and Philippe Preux for the bug report and explanation.
248
249 * Workaround for gcc 3.4.x conflict with HUGE_VAL definition in Solaris
250   (gcc bug 19933).
251
252 * Better identification of Matlab-plugin installation directory.
253
254 * Fixed identification of Octave-plugin installation directory for
255   recent Octave versions.
256
257 NLopt 1.0.1 (13 Nov. 2008)
258
259 * Allow user to override Matlab-plugin installation directory with
260   MEX_INSTALL_DIR.
261
262 * Bug fix in my DIRECT code that prevented convergence (DIRECT-L unaffected).
263
264 * MLSL needs a nonzero default ftol_rel and/or xtol_rel to ensure that
265   its local searches terminate; use roughly machine precision as defaults.
266
267 NLopt 1.0 (11 Nov. 2008)
268
269 * Initial public release.