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

Go to the source code of this file.

Functions/Subroutines

subroutine cmprlb (n, m, x, g, ws, wy, sy, wt, z, r, wa, index, theta, col, head, nfree, cnstnd, info)
 This subroutine computes r=-Z'B(xcp-xk)-Z'g by using wa(2m+1)=W'(xcp-x) from subroutine cauchy. More...
 

Function/Subroutine Documentation

◆ cmprlb()

subroutine cmprlb ( integer  n,
integer  m,
double precision, dimension(n)  x,
double precision, dimension(n)  g,
double precision, dimension(n, m)  ws,
double precision, dimension(n, m)  wy,
double precision, dimension(m, m)  sy,
double precision, dimension(m, m)  wt,
double precision, dimension(n)  z,
double precision, dimension(n)  r,
double precision, dimension(4*m)  wa,
integer, dimension(n)  index,
double precision  theta,
integer  col,
integer  head,
integer  nfree,
logical  cnstnd,
integer  info 
)

This subroutine computes r=-Z'B(xcp-xk)-Z'g by using wa(2m+1)=W'(xcp-x) from subroutine cauchy.

Parameters
nnumber of parameters
mhistory size of Hessian approximation
xposition
ggradient
wspart of L-BFGS matrix
wypart of L-BFGS matrix
sypart of L-BFGS matrix
wtpart of L-BFGS matrix
zTODO
rTODO
waTODO
indexTODO
thetaTODO
colTODO
headTODO
nfreeTODO
cnstndTODO
infoTODO

Definition at line 27 of file cmprlb.f.

References bmv().

Referenced by mainlb().

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