This implementation is mostly intended to be called from other
maximization routines, such as maxNR
.
sumt(fn, grad=NULL, hess=NULL,
start,
maxRoutine, constraints,
SUMTTol = sqrt(.Machine$double.eps),
SUMTPenaltyTol = sqrt(.Machine$double.eps),
SUMTQ = 10,
SUMTRho0 = NULL,
print.level = 0, SUMTMaxIter = 100, ...)
fn
. NULL if missingfn
. NULL if missingeqA
and eqB
for linear equality constraints: $A \beta + B = 0$. The user must ensure that the matrices A
and
Note this does not necessarily mean sa
SUMTTol
, the algorithm stopsrho
as described in Details. Defaults to 10.rho
. If not specified, a (possibly)
suitable value is
selected. See Details.maxRoutine
and fn
. The unconstrained minimizations are carried out by either any of
the maximization algorithms in the maxNR
. Analytic gradient and hessian are used if
provided, numeric ones otherwise.
sumt