Package: roptim 0.1.6
roptim: General Purpose Optimization in R using C++
Perform general purpose optimization in R using C++. A unified wrapper interface is provided to call C functions of the five optimization algorithms ('Nelder-Mead', 'BFGS', 'CG', 'L-BFGS-B' and 'SANN') underlying optim().
Authors:
roptim_0.1.6.tar.gz
roptim_0.1.6.tar.gz(r-4.5-noble)roptim_0.1.6.tar.gz(r-4.4-noble)
roptim_0.1.6.tgz(r-4.4-emscripten)roptim_0.1.6.tgz(r-4.3-emscripten)
roptim.pdf |roptim.html✨
roptim/json (API)
# Install 'roptim' in R: |
install.packages('roptim', repos = 'https://cloud.r-project.org') |
Bug tracker:https://github.com/ypan1988/roptim/issues
Last updated 3 years agofrom:a179e43583. Checks:1 OK, 2 NOTE. Indexed: no.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Mar 07 2025 |
R-4.5-linux-x86_64 | NOTE | Mar 07 2025 |
R-4.4-linux-x86_64 | NOTE | Mar 07 2025 |
Exports:example1_rosen_bfgsexample1_rosen_grad_hess_checkexample1_rosen_nograd_bfgsexample1_rosen_other_methodsexample2_tsp_sannexample3_flb_25_dims_box_conexample4_wild_fun
Dependencies:RcppRcppArmadillo
Citation
To cite package ‘roptim’ in publications use:
Pan Y (2022). roptim: General Purpose Optimization in R using C++. R package version 0.1.6, https://CRAN.R-project.org/package=roptim.
ATTENTION: This citation information has been auto-generated from the package DESCRIPTION file and may need manual editing, see ‘help("citation")’.
Corresponding BibTeX entry:
@Manual{, title = {roptim: General Purpose Optimization in R using C++}, author = {Yi Pan}, year = {2022}, note = {R package version 0.1.6}, url = {https://CRAN.R-project.org/package=roptim}, }
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Example 1: Minimize Rosenbrock function using BFGS | example1_rosen_bfgs |
Example 1: Gradient/Hessian checks for the implemented C++ class of Rosenbrock function | example1_rosen_grad_hess_check |
Example 1: Minimize Rosenbrock function (with numerical gradient) using BFGS | example1_rosen_nograd_bfgs |
Example 1: Minimize Rosenbrock function using other methods | example1_rosen_other_methods |
Example 2: Solve Travelling Salesman Problem (TSP) using SANN | example2_tsp_sann |
Example 3: Minimize a function using L-BFGS-B with 25-dimensional box constrained | example3_flb_25_dims_box_con |
Example 4: Minimize a "wild" function using SANN and BFGS | example4_wild_fun |
roptim | roptim |