nloptr.print.options {nloptr} | R Documentation |
This function prints a list of all the options that can be set when solving a minimization problem using nloptr
.
nloptr.print.options( opts.show=NULL, opts.user=NULL )
opts.show |
list or vector with names of options. A description will be shown for the options in this list. By default, a description of all options is shown. |
opts.user |
object containing user supplied options. This argument is optional. It is used when |
Jelmer Ypma
library('nloptr') nloptr.print.options() nloptr.print.options( opts.show = c("algorithm", "check_derivatives") ) opts <- list("algorithm"="NLOPT_LD_LBFGS", "xtol_rel"=1.0e-8) nloptr.print.options( opts.user = opts )