NEWS.md
Modified registration of native routines in src/init.c to be compatible with new Rcpp naming convention.
Replaced deprecated MappedSparseMatrix with Map
Add explicit registration of compiled functions, as required for R 3.4.0.
Fixed various, Depends, Imports, Suggests, and LinkingTo statements to comply with new CRAN requirements since previous release.
New vignettes that do not depend on sparseHessianFD
Removed demos, which are replaced by the vignettes
Converted from standard C interface to Rcpp::attributes
Added some unit tests, using testthat.
Removed demonstration functions that were in .R files, but are now included in the vignettes and unit tests directly.
Removed logit.R and vech.R files, which weren’t used at all.
Replaced abs with std::abs in C++ code.
Added NEWS.md, which can be converted to NEWS via pandoc.
Final version for Journal of Statistical Software, with new CITATION file. Please cite this package if using it in your work.
Some minor changes to the vignette, to correspond with the JStatSoft paper.
Now using Roxygen2 for documentation and namespace management.
Non-CRAN version for Journal of Statistical Software.
Minor changes in the demo/choice_sparse.R and demo/choice_dense.R, so the algorithms start closer to the optimal values.
Moved vignette code to conform to new CRAN standards.
Updated maintainer contact information.
Rewrote update_one_step() in CG-base.h so the gradient is not evaluated if we already know that the trust region will contract. If the trust region contracts, the algorithm does not move, so the gradient does not need to be recomputed. (Thanks to Gregor Reich for contributing a change to the code).
For report_level >= 3, the precision of the output of the current radius of the trust region now depends on the report_precision parameter. Previously, the precision had an upper bound of 2. (Thanks to Gregor Reich for contributing a change to the code).
For the BFGS method, the default preconditioner is now the Cholesky (Hessians are guaranteed to be positive definite). For SR1 and Sparse, the default preconditioner remains the identity matrix.
There is a new vignette, with an added example of a smaller problem with a dense Hessian. Both the sparse and dense Hessian examples can be run through demo(choice_sparse) and demo(choice_dense). The code for the examples is in the demo directory. The code for the objective functions and gradients is in R/demo_funcs.R.
New minimum versions for dependencies (Rcpp 0.10.3 and RcppEigen 0.3.1.2.1).
Removed sparseFD method. Instead, use the sparseHessianFD package for similar funcationality.
All ACM-licensed code was removed from the package and moved to the sparseHessianFD package.
Disabled the diagonal preconditioner, which was segfaulting for some yet-to-be-identified reason. Since it didn’t work much better than no preconditioner at all, it’s no great loss. The modified Cholesky preconditioner remains.
In the control list, setting preconditioner to 1 implements the modified Cholesky preconditioner. The value 2 is no longer a valid (and will default to the identity preconditioner).
Fixed a bug where the function.scale.factor option defaulted to -1 instead of 1. It now defaults to 1.
Added get.fdfh function to return estimate of sparse Hessian when only the structure is known.
Added vignette that describes how to use the package, and compares performance to some other optimizers.