L-BFGS-B
3.0
Large-scale Bound-constrained Optimization
|
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... | |
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 | ||
) |
n | number of parameters |
l | lower bounds of parameters |
u | upper bounds of parameters |
nbd | On entry nbd represents the type of bounds imposed on the variables, and must be specified as follows: nbd(i)=
|
x | position |
f | function value at x |
fold | TODO |
gd | TODO |
gdold | TODO |
g | gradient of f at x |
d | TODO |
r | TODO |
t | TODO |
z | TODO |
stp | TODO |
dnorm | TODO |
dtd | TODO |
xstep | TODO |
stpmx | TODO |
iter | TODO |
ifun | TODO |
iback | TODO |
nfgv | TODO |
info | TODO |
task | TODO |
boxed | TODO |
cnstnd | TODO |
csave | working array |
isave | working array |
dsave | working array |
Definition at line 43 of file lnsrlb.f.
References dcsrch().
Referenced by mainlb().