Non linear Solving methods
eqsolve(xinit, f, jac,
method=c("Newton", "Levenberg-Marquardt", "Broyden"),
global=c("line search", "none"), control=list())
A list with components:
par
The best set of parameters found.
counts
A two-element integer vector giving the number of calls to phi
and jacphi
respectively.
iter
The iteration number.
code
0 if convergence, 1 if maxit
is reached, 10
if tol
is not reached and 11 for both.
initial point.
the function for which we search roots.
the Jacobian of the function f
.
a character string specifying the method to use: either
"Newton"
, "Levenberg-Marquardt"
, or "Broyden"
.
a character string for the globalization method to be used:
either "line search"
or "none"
.
a list for the control parameters. See details.
Christophe Dutang
The control
argument is a list that can supply any of the following components:
tol
The absolute convergence tolerance. Default to 1e-6.
maxit
The maximum number of iterations. Default to 100.
echo
A logical or an integer (0, 1, 2, 3, 4) to print traces.
Default to FALSE
, i.e. 0.
echofile
A character string to store the traces in that file. Default to NULL
.
echograph
A character string to plot iter-by-iter information.
Either "NULL"
(default), or "line"
for line search plot
or "trust"
for trust region plots.
sigma
Reduction factor for the geometric linesearch. Default to 0.5.
btol
The backtracking tolerance. Default to 0.01.
delta
The exponent parameter for the LM parameter, should in \([1,2]\). Default to 2.
initlnsrch
The initial integer for starting the line search. Default to 0.
minstep
The minimal step. Default to 0.001.
See nleqslv
from the package of the same name.