L-BFGS-B  3.0
Large-scale Bound-constrained Optimization
lnsrlb.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine lnsrlb (n, l, u, nbd, x, f, fold, gd, gdold, g, d, r, t, z, stp, dnorm, dtd, xstep, stpmx, iter, ifun, iback, nfgv, info, task, boxed, cnstnd, csave, isave, dsave)
 This subroutine calls subroutine dcsrch from the Minpack2 library to perform the line search. Subroutine dscrch is safeguarded so that all trial points lie within the feasible region. More...
 

Function/Subroutine Documentation

◆ lnsrlb()

subroutine lnsrlb ( integer  n,
double precision, dimension(n)  l,
double precision, dimension(n)  u,
integer, dimension(n)  nbd,
double precision, dimension(n)  x,
double precision  f,
double precision  fold,
double precision  gd,
double precision  gdold,
double precision, dimension(n)  g,
double precision, dimension(n)  d,
double precision, dimension(n)  r,
double precision, dimension(n)  t,
double precision, dimension(n)  z,
double precision  stp,
double precision  dnorm,
double precision  dtd,
double precision  xstep,
double precision  stpmx,
integer  iter,
integer  ifun,
integer  iback,
integer  nfgv,
integer  info,
character*60  task,
logical  boxed,
logical  cnstnd,
character*60  csave,
integer, dimension(2)  isave,
double precision, dimension(13)  dsave 
)
Parameters
nnumber of parameters
llower bounds of parameters
uupper bounds of parameters
nbdOn entry nbd represents the type of bounds imposed on the variables, and must be specified as follows: nbd(i)=
  • 0 if x(i) is unbounded,
  • 1 if x(i) has only a lower bound,
  • 2 if x(i) has both lower and upper bounds, and
  • 3 if x(i) has only an upper bound.
On exit nbd is unchanged.
xposition
ffunction value at x
foldTODO
gdTODO
gdoldTODO
ggradient of f at x
dTODO
rTODO
tTODO
zTODO
stpTODO
dnormTODO
dtdTODO
xstepTODO
stpmxTODO
iterTODO
ifunTODO
ibackTODO
nfgvTODO
infoTODO
taskTODO
boxedTODO
cnstndTODO
csaveworking array
isaveworking array
dsaveworking array

Definition at line 43 of file lnsrlb.f.

References dcsrch().

Referenced by mainlb().

Here is the call graph for this function:
Here is the caller graph for this function: