2022-12-18 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.1.7 * src/evaluate.h: Move helper function from devol.cpp * src/devol.cpp: Idem, remove ancient Armadillo define * src/evaluate.h: Update function signatures to use NumericVector * src/RcppExports.cpp: Idem * R/RcppExport.R: Idem * src/exampleFunctions.cpp: Moved out of evaluate.h 2022-12-17 Dirk Eddelbuettel * src/evaluate.h: Compiled function interface back to consistently being single argument of parameter vector * src/devol.cpp: Idem * man/DEoptim.Rd: Use https, remove dead link to code.html * man/DEoptim.control.Rd: Use https * man/DEoptim-methods.Rd: Idem * .editorconfig: Added 2022-12-15 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version 2022-12-08 Max Coulter * src/devol.cpp: Additions to crossover weights from DEoptim 2022-12-02 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version 2022-11-30 Max Coulter * src/devol.cpp: Fix to switch statement strategy 6 2022-11-14 Dirk Eddelbuettel * .github/workflows/ci.yaml (jobs): Update to actions/checkout@v3 2021-05-08 Dirk Eddelbuettel * DESCRIPTION (URL, BugReports): Added links 2021-01-05 Dirk Eddelbuettel * .github/workflows/ci.yaml: Add CI runner using r-ci * README.md: Add new badge 2020-07-31 Dirk Eddelbuettel * .travis.yml: Update to 'bionic' and R 4.0.* 2019-09-24 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version * src/evaluate.h: Use Rcpp::Shield for Rf_lang3() and Rf_eval() 2018-06-09 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.1.6 2018-06-07 Kevin Ushey * src/deoptim.cpp: disable RNG synchronization with dev. Rcpp * tests/rosenbrock.R: add test 2018-03-03 Dirk Eddelbuettel * tests/compTest.R: Condition comparison on (optional) DEoptim package actually being available 2017-08-26 Dirk Eddelbuettel * NAMESPACE: Use .registration=TRUE * src/devol.cpp (putFunPtrInXPtr): Use Rcpp::export on test function * src/RcppExports.cpp: Updated * R/RcppExports.R: Idem * tests/compTest.R (runPair): Update test * src/Makevars (PKG_LIBS): Update, added OpenMP flags, use C++11 * cleanup: Minor edits * .travis.yml: Updated to using run.sh from r-travis 2016-02-07 Dirk Eddelbuettel * src/devol.cpp: Use R:: namespace for scalar rnorm, rcauchy calls 2016-02-06 Yi Kang * src/devol.cpp: Support JADE randomization for crossover and weight * R/DEoptim.R: Idem * R/DEoptim.control.R: Idem * man/DEoptim.control.Rd: Idem 2016-02-03 Dirk Eddelbuettel * src/devol.cpp (devol): Use std::abs() * man/DEoptim.control.Rd: Updated to mention d_reltol, d_steptol 2016-02-02 Dirk Eddelbuettel * src/devol.cpp: Revert Jan 21 change for -std=c++14; ensure ARMA_32BIT_WORD is defined so that Armadillo will always integers we can interchange with R (whereas C++11/14 would lead to 64 bit) 2016-01-25 Yi Kang * src/deoptim.cpp: Add d_reltol, d_steptol for convergence criterion, remove i_check_winner, i_av_winner * src/devol.cpp: Idem; also switch memcpy() to memmove() * R/DEoptim.R: Corresponding changes on R side 2016-01-22 Dirk Eddelbuettel * DESCRIPTION (Version): Release 0.1.5 2016-01-21 Dirk Eddelbuettel * src/devol.cpp (devol): Adjust for -std=c++14 2015-09-05 Dirk Eddelbuettel * DESCRIPTION: Release 0.1.4 * vignettes/RcppDE.Rnw: Fix another typo 2015-09-04 Dirk Eddelbuettel * src/deoptim.cpp: Use Rcpp Attributes * src/devol.cpp: Ditto, remove extra RNGScope * src/permute.cpp: Ditto, remove extra RNGScope * src/evaluate.h: Ditto, remove extra RNGScope * src/Makevars: Updated * R/DEoptim: Reflect Attributes interface 2015-08-23 Dirk Eddelbuettel * DESCRIPTION: Release 0.1.3 * vignettes/RcppDE.Rnw: Remove a spurious } in VignetteIndexEntry file (with thanks to Kurt Hornik for spotting this) * man/DEoptim.Rd: Updated URL to Storn's page [R CMD check] * DESCRIPTION: Minor edits [R CMD check] * demo/c++/: Renamed subdirectory to C++ * demo/compiled.R: Adjust path to c++/compiledFunctions.cpp * demo/00Index: Minor edits 2014-12-17 Dirk Eddelbuettel * DESCRIPTION: Removed Depends: RcppArmadillo * DESCRIPTION: Changed Depends: Rcpp to Imports: Rcpp * NAMESPACE: Added imports(Rcpp) * demo/small.R: Renamed from SmallBenchmark.R * demo/large.R: Renamed from LargeBenchmark.R * demo/compiled.R: Renamed from CompiledBenchmark.R * cpp/compiledFunctions.R: Moved down one directory 2014-05-26 Dirk Eddelbuettel * demo/CompiledBenchmark.R: Rewritten to use Rcpp Attributes * demo/compiledFunctions.cpp: New file, C++ parts of CompiledBench. 2013-12-12 Dirk Eddelbuettel * DESCRIPTION: Release 0.1.2 * vignettes/*: Moved files from inst/doc/ * .travis.yml: Added for Github / Travis support * .gitignore: Added for git support * R/zzz.R: Startup message given by .onAttach() rather than .onLoad() * src/deoptim.cpp (DEoptim): Added a static_cast<> to make g++-4.8 happy * src/devol.cpp (devol): Idem * .Rbuildignore: Exclude a few more development files from tarball 2012-04-08 Dirk Eddelbuettel * DESCRIPTION: Release 0.1.1 * tests/compTest.R: With the just-released 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