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