|
L-BFGS-B
3.0
Large-scale Bound-constrained Optimization
|
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... | |
| 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.
| n | On entry n is the number of variables. On exit n is unchanged. |
| x | On entry x is an approximation to the solution. On exit x is the current approximation. |
| f | On first entry f is unspecified. On final exit f is the value of the function at x. |
| task | working string indicating the current job when entering and leaving this subroutine. |
| iprint | Console 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. |
| info | Termination 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). |
| itfile | unit number of iterate.dat file |
| iter | Total number of outer iterations. |
| nfgv | Total number of f/g evaluations across the run. |
| nintol | Total number of breakpoint segments traversed by cauchy. |
| nskip | Number of L-BFGS updates that were skipped because the curvature condition failed (s'y too small). |
| nact | Number of active bounds at the final generalised Cauchy point. |
| sbgnrm | Final infinity norm of the projected gradient at x. |
| time | Total wall-clock time of the optimisation run, in seconds. |
| nseg | Number of breakpoint segments traversed at the LAST cauchy call (used in the iterate.dat record on abnormal exits). |
| word | 3-character status code from prn2lb: 'con', 'bnd', 'TNT', or '—' (see prn2lb.f). Logged in iterate.dat on info=-4 or info=-9 termination. |
| iback | Number of backtracks in the LAST line search. |
| stp | Final step length from the LAST line search. |
| xstep | stp * ||d|| from the LAST line search (i.e. the actual step length in x-space). |
| k | Index of the offending parameter when info is -6 (invalid nbd) or -7 (infeasible bound). Set by errclb. |
| cachyt | Cumulative wall-clock time spent in cauchy, in seconds. |
| sbtime | Cumulative wall-clock time spent in subsm, in seconds. |
| lnscht | Cumulative wall-clock time spent in lnsrlb, in seconds. |
Definition at line 56 of file prn3lb.f.
Referenced by mainlb().