Debian Codegraph @

NEWS

raw
1 Changes in version 2.2-8
2 o Fixed uninitialized variable issue found via valgrind. Thanks to Prof
3 Ripley for the report.
4 Changes in version 2.2-7
5 o Added if(is.null(args$.combine)) args$.combine <- c to DEoptim.R to allow
6 for optional custom .combine
7 o Set default mapping function to NULL; This improves performance by
8 allowing us to avoid one R call during the optimization if there is no
9 mapping function.
10 o Remove unused variable par in de4_0.c
11 o Remove unnecessary allocation of sexp_t_tmpC, sexp_gta_oldC in
12 de4_0.c that led to stack imbalance, potential crash.
13 o Update comments in de4_0.c to reflect variable names that were
14 changed when objects were converted from arrays to SEXPs.
15 o Refactor the loop that populates t_bestC from the initial
16 population, so there's no longer the potential for t_bestC to be
17 uninitialized.
18 o Fix call to parallel::clusterExport
19 o Use full names to avoid partial matching; Partial argument name
20 matching could cause confusing errors if the user's objective
21 function contains arguments similar to the MARGIN and FUN
22 arguments in apply().
23 o Added tests/ directory; tests.R now tests for problems in
24 arguement names
25 o Import from parallelly package; use parallelly::availableCores()
26 instead of parallel::detectCores() in extension suggested by
27 Henrik Bengtsson
28 o The 'parallelType' argument to DEoptim.control() now may be
29 specified using numeric values (as before), or using "none",
30 "auto", "parallel", or "foreach"; "none" corresponds to the
31 numeric value 0, "parallel" with 1, and "foreach" with 2; "auto"
32 will attempt to decide which package to use
33 Changes in version 2.2-6
34 o README modified
35 o DESCRIPTION modified
36 o References updated
37 Changes in version 2.2-5
38 o Used tools::package_native_routine_registration_skeleton(".") to create
39 src/DEoptim_init.c
40 o In NAMESPACE, changed useDynLib(DEoptim) to useDynLib(DEoptim,
41 .registration = TRUE))
42 o removed unused variables from de4_0.c: tmp_best, t_tmpC, same,
43 i_xav, i_nstorepop, tempP, gta_newC, gta_oldC, popC, d_par
44 o definition of popEvaluate(long *l_nfeval, SEXP parMat, SEXP fcall,
45 SEXP env) changed to include a 5th integer argument, to remove warning
46 about type mismatch with previous definition
47 Changes in version 2.2-4
48 o Vignette source code included in package.
49 o New option 'cluster' allows passing existing parallel cluster, using
50 code by Alexey Stukalov.
51 o As pointed out by Jason Thorpe: "parallel:::.onLoad() makes a call
52 to stats::runif(1L) depending on whether or not
53 Sys.getenv("R_PARALLEL_PORT") returns an integer, which appears to
54 be platform dependent. The result of this bug is that the return
55 value of DEoptim() will differ by platform the first time it is
56 called, even when taking care to call set.seed() prior to calling
57 DEoptim()." We now require 'parallel' (to ensure it is loaded)
58 to avoid this behaviour.
59 Changes in version 2.2-3
60 o DESCRIPTION updated.
61 o Change to steptol interpretation in C, thanks to Alec Solway.
62 o Change to foreach logic, thanks to Jonathan Owen.
63 o Change to NP setting when initialpop provided, thanks to Tobias KD Weber.
64 o More flexible passing of args to foreach.
65 o Makefile changed to remove references to shell
66 Changes in version 2.2-2
67 o Change to de4_0.c to replace memcpy with memmove
68
69 Changes in version 2.2-1
70 o Invisible-to-users changes to evaluate.c to fix misuse of isnan
71
72 Changes in version 2.2-0
73 o Thanks to Joshua Ulrich and Kris Boudt, parallel operation is possible,
74 using foreach.
75 o sandbox directory added, with example parallel code
76 o Kris Boudt added as a contributor
77 o foreach added as suggested package
78 o foreachArgs arguement added to DEoptim.control() function
79 o Fixed typo in box constraint example in DEoptim.Rd
80 o VignetteDepends metadata added to .Rnw
81 o Added mapping function for integer / cardinality constraints
82 o checkWinner and avWinner options have been removed. If the user desires
83 averaging (to deal with a stochastic objective function) then a wrapper
84 function may be used to give the average value over several calls.
85
86 Changes in version 2.1-2
87 o Modified CITATION file and Rd files.
88 o Joshua Ulrich fixed the crash caused by a stack overflow when optimizing
89 many parameters. Thanks to Suraj Gupta for pointing out the problem.
90
91 Changes in version 2.1-1
92 o Added portfolio optimization vignette.
93 o Bug with reltol / steptol stopping criteria fixed.
94 o Changed JADE to be 'on' when c > 0 for *any* strategy and set c=0
95 as default in DEoptim.control (JADE is 'off').
96
97 Changes in version 2.1-0
98 o Added documentation of strategy six.
99 o Fixed typos in vignette.
100 o Modified CITATION file and Rd files.
101
102 Changes in version 2.0-9
103 o Added vignette.
104
105 Changes in version 2.0-8
106 o Many improvements in the C code, thanks to Dirk Eddelbuettel's detailed
107 code review. Dirk's contributions include:
108 - fixed gd_bestmemit and gd_bestval initialization to avoid segfaults
109 - propegate nfeval back to DEoptimC function
110 - allocate parameter vector once, rather than once per evaluate call
111 - allocate ia_urn1 once, rather than once per permute call
112 - replace strategy if/else block with switch statement
113 o More bug fixes and optimizations when bs=TRUE
114 o Fixed bug in initial population check. Thanks to Vinecius Veloso.
115 o Added '...' to objective function call in evaluate rather than in DEoptim
116 R function. This yields a speed gain, since it avoids an extra function
117 call. Thanks to Dirk Eddelbuettel for the idea.
118
119 Changes in version 2.0-7
120 o Many improvements in the C code, including removal of all global variables
121 thanks to Joshua Ulrich.
122 o Thanks to Ralf Tautenhahn and Joshua Ulrich, a bug with bs=TRUE is removed.
123 o Thanks to Dirk Eddelbuettel several bugs (some possibly causing segfaults)
124 removed.
125 o Added DE/current-to-p-best/1 strategy.
126 o Added ability to only print every "trace" iterations.
127
128 Changes in version 2.0-6
129 o Added dataset documentation now required by R CMD check.
130
131 Changes in version 2.0-5
132 o CITATION file modified, updated references.
133 o Removed check on length of parameter vector (it was left over from versions
134 prior to 2.0-3, thanks to Jean-Luc Jannink.
135
136 Changes in version 2.0-4
137 o added check to prevent the C code being called with NP<4, thanks to Joshua
138 Ulrich.
139 o fixed bug introduced in version 2.0-3 that made the objective function
140 values associated with the winning population members incorrect
141 o added new options checkWinner and avWinner to the 'control' arguement.
142
143 Changes in version 2.0-3
144 o Re-write of much of the underlying C code. Now dynamically allocate
145 storage, so can optimize on parameter vectors of arbitrary size, in a
146 population of arbitrary size. Changed the documentation to reflect the
147 new lack of limitations.
148 o Stop with an error right away if a NaN objective function value occurs.
149 o Default value of CR changed to .9 from .5.
150 o Added reference and minor changes to documentation.
151
152 Changes in version 2.0-2
153 o The maximum number of parameters that can be optimized (set
154 statically in de.h with #define MAXDIM) was changed from 20 to
155 200.
156 o zzz.R file removed and replaced with call to `useDynLib(DEoptim)' in
157 NAMESPACE
158 o Brian Peterson pointed out problems occurring when the objective
159 function returns a NaN value. Error messages are now added to
160 report when this happens.
161 o permute patched, see below. Thanks to Hans Werner Borchers for pointing
162 out that the problem was not fixed in the CRAN version.
163
164 Changes in version 2.0-1
165 o Soren Macbeth and Joshua Ulrich pointed out and patched bugs in the
166 function 'permute'. Note that the version 2.0-1 on CRAN does not patch
167 these bugs correctly. The correction is made in the next version.
168
169 Changes in version 2.0-0
170 o The R-based implementation of Differential Evolution has been
171 replaced with a C-based implementation similar to the MS Visual C++
172 v5.0 implementation accompanying the book `Differential Evolution -
173 A Practical Approach to Global Optimization',downloaded from
174 http://www.icsi.berkeley.edu/~storn/DeWin.zip.
175
176 The new C implementation is significantly faster.
177
178 o The S3 method for plotting has been enhanced. It allows now to plot
179 the intermediate populations if provided.
180
181 o The package maintainer has been changed to Katharine Mullen,
182 <[email protected]>.
183
184 o A NAMESPACE has been added.
185
186 o Argument FUN for DEoptim is now called fn for compatibility with optim.
187
188 o demo file has been removed
189
190 o CITATION file modified
191
192
193 Changes in version 1.3-3
194
195 o CITATION file modified.
196
197
198 Changes in Version 1.3-2
199
200 o CITATION file modified.
201
202
203 Changes in Version 1.3-1
204
205 o new plotting argument 'storepop' which displays intermediate
206 population locations.
207
208
209 Changes in Version 1.3-0
210
211 o the function 'DEoptim' has two arguments: 'storepopfrom' and
212 'storepopfreq', for tracking intermediate populations; the output
213 contains also the list 'storepop' which belongs to the 'member'
214 list's element.
215
216 o small bug fixed for the number of iterations.
217
218
219 Changes in Version 1.2-1
220
221 o fix a bug in the optimization procedure. Thanks to Tarmo Leinonen
222 for pointing out this bug.
223
224 o add a demo to show how to increase the number of printed digits
225 while performing the optimization.
226
227
228 Changes in Version 1.2-0
229
230 o the function 'DEoptim' has the new argument 'initial', which is an
231 initial or starting population. You can therefore introduce a
232 starting population in the optimization procedure. This can be
233 useful when the optimization has to be run many times on data sets
234 which differ sligthly. Thanks to Tarmo Leinonen for this nice
235 suggestion.
236
237 o the function 'DEoptim' outputs now 'pop' in the 'member' list's
238 element. This is the population obtained at the last iteration
239 which can be used as a starting population in 'DEoptim' via the
240 argument 'initial'.
241
242 o the function stops if any 'NA' or 'NaN' value is returned by the
243 function 'FUN' to be optimized.
244
245 o the function DEoptim does not handle exponential crossover
246 anymore. This is so to simplify and accelerate the optimization
247 procedure. Thanks to Vladimir Eremeev for pointing out a bug with
248 the exponential crossover.
249
250 o the function 'DEoptim' outputs a list of lists. This is more
251 natural and in the same spirit of usual optimization functions.
252 Thanks to Vladimir Eremeev for proposing this change.
253
254 o documentation for the 'digits'. Thanks to Eugene Demidenko for
255 pointing out this.