Learn R Programming

minqa (version 1.1.13)

bobyqa.control: Controls for an R interface to the bobyqa implementation of Powell

Description

The purpose of bobyqa.control is to set control parameters for the bobyqa Fortran code of M. J. D. Powell.

Usage

bobyqa.control(npt = NA, rhobeg = NA, rhoend = NA, iprint = 0,
maxfun = 10000, obstop=TRUE, force.start=FALSE)

Arguments

npt
The number of points used to approximate the objective function via a quadratic approximation. The value of npt must be in the interval $[n+2,(n+1)(n+2)/2]$ where $n$ is the number of parameters in par. Choices that exceed $2*n+1$
rhobeg
rhobeg and rhoend must be set to the initial and final values of a trust region radius, so both must be positive with 0 < rhoend < rhobeg. Typically rhobeg should be about one tenth of th
rhoend
The smallest value of the trust region radius that is allowed. If not defined, then 1e-6 times the value set for rhobeg will be used.
iprint
The value of iprint should be set to 0, 1, 2 or 3, which controls the amount of printing. Specifically, there is no output if iprint=0 and there is output only at the return if iprint=1. Other
maxfun
The maximum allowed number of function evaluations. If this is exceeded, the method will terminate.
obstop
Set TRUE if out of bounds parameters force program to stop. Otherwise parameters are reset to nearest bound.
force.start
Powell tries to move parameters at least rhobeg from the nearest bound. This is the default action (force.start=FALSE). When TRUE, use user supplied start regardless.

Details

Functions fn must return a numeric value. The control argument is a list; see bobyqa.control for details.