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

Go to the source code of this file.

Functions/Subroutines

subroutine prn3lb (n, x, f, task, iprint, info, itfile, iter, nfgv, nintol, nskip, nact, sbgnrm, time, nseg, word, iback, stp, xstep, k, cachyt, sbtime, lnscht)
 This subroutine prints out information when either a built-in convergence test is satisfied or when an error message is generated. More...
 

Function/Subroutine Documentation

◆ prn3lb()

subroutine prn3lb ( integer  n,
double precision, dimension(n)  x,
double precision  f,
character*60  task,
integer  iprint,
integer  info,
integer  itfile,
integer  iter,
integer  nfgv,
integer  nintol,
integer  nskip,
integer  nact,
double precision  sbgnrm,
double precision  time,
integer  nseg,
character*3  word,
integer  iback,
double precision  stp,
double precision  xstep,
integer  k,
double precision  cachyt,
double precision  sbtime,
double precision  lnscht 
)

This subroutine prints out information when either a built-in convergence test is satisfied or when an error message is generated.

Parameters
nOn entry n is the number of variables.
On exit n is unchanged.
xOn entry x is an approximation to the solution.
On exit x is the current approximation.
fOn first entry f is unspecified.
On final exit f is the value of the function at x.
taskworking string indicating the current job when entering and leaving this subroutine.
iprintConsole output flag; same convention as in setulb. Negative suppresses all output. >=0 prints the per-run summary. >=1 also writes to iterate.dat. >=100 also prints the final x vector.
infoTermination status. 0 on normal convergence. Negative values map to specific error messages: -1, -2 (Cholesky not pos.def. in formk's 1st/2nd factor), -3 (formt's Cholesky), -4 (non-descent direction caught by lnsrlb), -5 (>10 evals in a line search), -6 (invalid nbd(k)), -7 (l(k) > u(k)), -8 (singular triangular system), -9 (>20 evals in the last line search).
itfileunit number of iterate.dat file
iterTotal number of outer iterations.
nfgvTotal number of f/g evaluations across the run.
nintolTotal number of breakpoint segments traversed by cauchy.
nskipNumber of L-BFGS updates that were skipped because the curvature condition failed (s'y too small).
nactNumber of active bounds at the final generalised Cauchy point.
sbgnrmFinal infinity norm of the projected gradient at x.
timeTotal wall-clock time of the optimisation run, in seconds.
nsegNumber of breakpoint segments traversed at the LAST cauchy call (used in the iterate.dat record on abnormal exits).
word3-character status code from prn2lb: 'con', 'bnd', 'TNT', or '—' (see prn2lb.f). Logged in iterate.dat on info=-4 or info=-9 termination.
ibackNumber of backtracks in the LAST line search.
stpFinal step length from the LAST line search.
xstepstp * ||d|| from the LAST line search (i.e. the actual step length in x-space).
kIndex of the offending parameter when info is -6 (invalid nbd) or -7 (infeasible bound). Set by errclb.
cachytCumulative wall-clock time spent in cauchy, in seconds.
sbtimeCumulative wall-clock time spent in subsm, in seconds.
lnschtCumulative wall-clock time spent in lnsrlb, in seconds.

Definition at line 56 of file prn3lb.f.

Referenced by mainlb().

Here is the caller graph for this function: