1 NLopt 2.2.2 (26 May 2011)
3 * Added set_vector_storage API to modify the memory usage and the
4 subspace dimension for low-storage quasi-Newton methods.
6 * Fixed missing support for maxtime stopping criteria in Luksan and
7 ORIG_DIRECT algorithms; thanks to Jurgen Werner for the bug report.
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).
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.
16 * Fixed slight overcounting of function evaluations for maxeval check
19 * Fixed deprecated API to support xtol_abs == NULL for backward
20 compatibility (thanks to Francesco Biscani for the bug report).
22 * Made Luksan algorithms (e.g. LBFGS and other quasi-Newton methods)
23 re-entrant; thanks to Gert Wollny for the bug report. (Fixes
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.
29 NLopt 2.2.1 (6 September 2010)
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.
36 * Handle case where copysign function is missing, e.g. on Windows;
37 thanks to Benoit Scherrer for the bug report.
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.
42 * Removed a few compiler warnings under Microsoft compilers; thanks
43 to Benoit Scherrer for the bug report.
45 * Export nlopt_get_algorithm_name function on Windows; thanks to Ofek
46 Shilon for the bug report.
48 * Don't use dllimport directive with lcc on Windows (which doesn't
49 support it); thanks to Laurent Vanbeylen for the bug report.
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).
55 * Bug fix in set/get_xtol_abs; thanks to David Rivest-Henault for the report.
57 NLopt 2.2 (15 July 2010)
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.
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.
68 * Added Python module docstring; thanks to Sebastian Walter for the suggestion.
70 * Added GUILE_INSTALL_DIR variable to allow the user to change the
71 Guile installation directory.
73 * Added Fortran interface for vector-valued constraints.
75 * Throw correct exceptions in Python for the add_*constraint functions;
76 thanks to Dmitrey Kroshko for the bug report.
78 * Support forced stop and exceptions in ORIG_DIRECT algorithm.
80 * Remove arbitrary 1e20 upper bound on function values from ORIG_DIRECT
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.
87 NLopt 2.1.2 (8 July 2010)
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.
93 * Improved handling of exceptions and forced stops for constrained
94 optimization, making sure that no constraints are evaluated after
97 * Return an NLOPT_INVALID_ARGS error if more than n equality constraints
98 are added in an n-dimensional problem.
100 * Fix bug that could cause spurious NLOPT_INVALID_ARGS errors when
101 adding constraints under rare circumstances.
103 * Eliminate a few small memory leaks that could occur under error conditions.
105 NLopt 2.1.1 (7 July 2010)
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.
111 * Bug fix in Guile interface: added missing prefix to nlopt-version-major
114 NLopt 2.1 (6 July 2010)
116 * New vector-valued constraint feature; thanks to Dmitrey Kroshko of OpenOpt
119 * COBYLA now accepts equality constraints.
121 * Guard against multiple inclusion in nlopt.hpp; thanks to Saul
122 Thurrowgood for the suggestion.
124 NLopt 2.0.2 (17 June 2010)
126 * Fixed compilation failure in Microsoft Visual Studio, due to
127 incorrect usage of __stdcall keyword; thanks to Dave Katz for the
130 NLopt 2.0.1 (16 June 2010)
132 * Bug fix in Fortran API (for nlo_get_ functions returning arrays).
134 * Fixed buggy compilation with MinGW.
136 NLopt 2.0 (15 June 2010)
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.)
143 * C++ nlopt.hpp wrapper around C API, allowing namespaces, object
144 constructors/destructors, std::vector<double>, and exceptions
147 * New nlopt wrappers callable from Python and GNU Guile, generated
148 with the help of SWIG.
150 * New 'man nlopt' manual page documenting new API.
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.
157 * Added API for nonlinear equality constraints (currently only
158 supported by AUGLAG and ISRES algorithms).
160 * Support inequality constraints directly in ORIG_DIRECT algorithms
161 (no need to return NaN when constraint is violated).
163 * Inequality/equality constraints now have optional tolerances that
164 are used as conditions in stopping criteria.
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.
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.
175 * Added nlopt_force_stop function to force a (graceful) halt to
176 the optimization, and corresponding NLOPT_FORCED_STOP return code.
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.
183 * Return an error in global-search algorithms if the domain is not finite.
185 * Use stdcall convention on Windows; thanks to Alan Young for the suggestion.
187 * Added missing absolute-tolerance criteria in Luksan algorithms; thanks
188 to Greg Nicholas for the bug report.
190 * Fixed compilation under C++, and use C++ compiler for everything in
191 --with-cxx mode; thanks to Greg Nicholas for the bug report.
193 * In MMA, only stop at minf_max/stopval if the point is feasible.
195 * Fix Matlab mex file to not include unnecessary nlopt-util.h file,
196 simplifying Windows compilation.
198 NLopt 1.2 (18 November 2009)
200 * Added Powell's BOBYQA algorithm for box-constrained optimization
201 without derivatives, an improvement on NEWUOA.
203 * Added ISRES genetic algorithm, supporting nonlinearly constrained
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).
210 * Bug fix: remove extraneous text accidentally included in nlopt.f Fortran
213 * Bug fix: configure script now correctly handles Matlab installation
214 when MEX_INSTALL_DIR is specified manually by the user.
216 NLopt 1.1 (12 November 2009)
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.
223 * Added --without-octave and --without-matlab configure options to
224 disable Octave and Matlab plugins, respectively.
226 * Modified COBYLA algorithm to have better support for bound
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.
233 * Experimental support for nonlinear equality constraints via
234 augmented-Lagrangian method.
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).
240 * Added several checks for roundoff-related breakdown to NEWUOA code.
242 * When only a relative error tolerance is specified, no longer
243 fails to halt when exact convergence to zero is obtained.
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.
249 * Workaround for gcc 3.4.x conflict with HUGE_VAL definition in Solaris
252 * Better identification of Matlab-plugin installation directory.
254 * Fixed identification of Octave-plugin installation directory for
255 recent Octave versions.
257 NLopt 1.0.1 (13 Nov. 2008)
259 * Allow user to override Matlab-plugin installation directory with
262 * Bug fix in my DIRECT code that prevented convergence (DIRECT-L unaffected).
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.
267 NLopt 1.0 (11 Nov. 2008)
269 * Initial public release.