Learn R Programming

cccp (version 0.3-1)

ctrl: Creating objects of reference-class CTRL

Description

This function creates an object of reference-class CTRL which contains optimization parameters, e.g. the maximum number of iterations.

Usage

ctrl(maxiters = 100L, abstol = 1e-06, reltol = 1e-06,
     feastol = 1e-06, stepadj = 0.95, beta = 0.5, trace = TRUE)

Value

An object of reference-class CTRL.

Arguments

maxiters

integer, the maximum count of iterations.

abstol

numeric, the absolute level for convergence to be achieved.

reltol

numeric, the relative level for convergence to be achieved.

feastol

numeric, the feasable level for convergence to be achieved.

stepadj

numeric, step size adjustment in combined step.

beta

numeric, parameter in backtracking line search.

trace

logical, if TRUE (the default), the solver's progress during the iterations is shown.

See Also

Rcpp_CTRL