zoom: Zoom in on step size given interval where Wolfe conditions...

Description Usage Arguments

View source: R/fmin.R

Description

Zoom in on step size given interval where Wolfe conditions can be satisfied

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
zoom(
  alpha,
  theta,
  f,
  gfn,
  der,
  fval,
  fvals,
  gval,
  newton_step,
  maxsubsteps,
  ...
)

Arguments

alpha

vector of 2 step sizes, boundary of interval

theta

current parameter values

f

objective function

gfn

gradient function

der

direction derivative of f in Newton direction

fval

current function value

fvals

function values at boundary step sizes

newton_step

full Newton step direction

maxsubsteps

maximum number of substeps allowed

...

other arguments to f


r-glennie/fmin documentation built on Dec. 22, 2021, 11:53 a.m.