2012-04-08 Dirk Eddelbuettel * DESCRIPTION: Release 0.1.1 * tests/compTest.R: With the just-release DEoptim 2.2.0, results are no longer identical so we commented-out the stopifnot() comparison to not break any automated tests (as requested by the CRAN maintainers) * .Rbuildignore: Added a few more files which R CMD check does not want to see in the tarball 2011-03-07 Dirk Eddelbuettel * src/evaluate.h: Also reflect '...' argument from R function we pass in, with thanks to Josh Ulrich for the one-line patch * R/DEoptim.R: No longer pass environment 'env' down * man/DEoptim.Rd: No longer document now unused 'env' * src/deoptim.cpp: Minor tweak to RcppArmadillo object creation 2010-12-12 Dirk Eddelbuettel * DESCRIPTION: Release 0.1.0 * inst/doc/RcppDE.Rnw: Finished first version of vignette 2010-12-09 Dirk Eddelbuettel * demo/environment.R: Added new demo to show environment use 2010-11-16 Dirk Eddelbuettel * man/*.Rd: Added Author note for RcppDE. 2010-11-06 Dirk Eddelbuettel * src/evaluate.h: Converted from evaluate.cpp, now contains abstract base class for evaluation as well as two implementations for the old standard (using a function and environment from R) as well as new one using external pointers passing a function pointer to a function with signature double (*fun)(SEXP); also counts nb of calls inside class * src/devol.cpp: Adapted to use the new framework * demo/CompiledBenchmark: New benchmark demo showcasing new approach * compBenchmark: New frontend script 2010-11-04 Dirk Eddelbuettel * src/deoptim.cpp: Pass fn and rho through to devol() * R/DEoptim.R: Make 'env' an optional argument, don't redefine fn() * man/DEoptim.Rd: Document 'env' argument 2010-10-31 Dirk Eddelbuettel * src/Makevars: add new define for compilation with OpenMP * src/devolMP.cpp: New OpenMP-using variants -- with issues as we cannot simple multithread around the single-threaded R instance * src/permuteMP.cpp: New OpenMP-using variant -- without actual speedup as the task in the permutation loop is so simple that the multithreading overhead eats any parallelisation gains * src/devol.cpp: Added #ifdef to disable if OpenMP is used * src/permute.cpp: Added #ifdef to disable if OpenMP is used * openmp.r: Added test script for OpenMP usage 2010-10-30 Dirk Eddelbuettel * src/deoptim.cpp: Renamed from de4_0.cpp; function renamed DEoptim * R/DEoptim.R: Call renamed function "DEoptim" * src/devol.cpp: Split function devol() off into its own file * src/permute.cpp: Split function devol() off into its own file * profile.r: Simple front-end script used for profiling runs * src/evaluate.cpp: Slight performance increase and simplification * benchmark.txt: Updated benchmark results, including one on OS X 2010-10-30 Dirk Eddelbuettel * benchmark.r: Now calls demo/benchmark.r, minor edits * bigBenchmark.r: Now calls demo/bigBenchmark.r, minor edits 2010-10-27 Dirk Eddelbuettel * benchmark.txt: Updated benchmark results, including one on OS X * src/de4_0.cpp: Minor edits 2010-10-26 Dirk Eddelbuettel * src/de4_0.cpp: - corrected sortindex error for strat=6 - corrected inner loop when bs=TRUE * DESCRIPTION: explicit Depends: on RcppArmadillo (>= 0.2.8) 2010-10-19 Dirk Eddelbuettel * R/DEoptim.R: - reduce storepop list by one to match DEoptim behaviour - set row and column names * src/de4_0.cpp: - Removed a few more unused variables - moved some variable declaration down to where they are use - turned one do-while into for(;;) loop - replaced macros with proper try/catch block - made a few more variables local 2010-10-18 Dirk Eddelbuettel * src/de4_0.cpp: - Switched from NP in rows to cols which with Armadillo's internal organisation gets a speed up for larger parameter vectors (starting around n=10) - d_storepop is now a Rcpp::List, filled directly with matrices - the strategy if/elseif/else tree is now a switch() - use static_cast(::unif_rand()) - use ::unif_rand() to show this is a 'global' R namespace object * R/DEoptim.R: No longer need to create list of populations by hand * src/evaluate.cpp: Simplied using REAL() to get to pointer * demo/SmallBenchmark.R: Added * demo/LargeBenchmark.R: Added 2010-10-16 Dirk Eddelbuettel * src/de4_0.cpp: - converted to Armadillo use throughout - initialpop is a matrix (not vector) on entry - d_pop is a matrix too - removed a number of 'element copying' loop * R/DEoptim.R: changed to send and receive matrices rather than vectors that need to be recast to matrix 2010-10-15 Dirk Eddelbuettel * src/de4_0.cpp (permute): temp. urn vector now allocated above and passed * src/Makevars: Added, to permit linking against Rcpp * src/de4_0.cpp: Converted to C++ from C, added minimal first set of Rcpp * src/get_element.c: Removed as no longer needed with Rcpp * benchmark.txt: Added log of results * benchmark.r: Added simple benchmark comparison to DEoptim * data/xrrData.rda, data.SMI.rda: Removed in this package as unused * man/xrrData.Rd, man/SMI.Rd: Removed in this package as unused * src/de4_0.c (devol): removed unused variable 'x' * cleanup: Added cleanup script 2010-10-14 Dirk Eddelbuettel * NAMESPACE, DESCRIPTION: New name is RcppDE to differentiate from DEoptim * Top-level files CHANGES, COPYING, NEWS, README, THANKS unchanged * inst/CITATION: Also removed * inst/doc/*: Removed DEoptim papers for this variant * demo/DEoptim.R: Removed unused parameters 'refresh' + 'digits' * R/zzz.R: Switch to 'packageStartupMessage()' which can suppressed * Initial version based on SVN revision 27 of DEoptim