L-BFGS-B  3.0
Large-scale Bound-constrained Optimization
All Files Functions Pages
prn2lb.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine prn2lb (n, x, f, g, iprint, itfile, iter, nfgv, nact, sbgnrm, nseg, word, iword, iback, stp, xstep)
 This subroutine prints out new information after a successful line search. More...
 

Function/Subroutine Documentation

◆ prn2lb()

subroutine prn2lb ( integer  n,
double precision, dimension(n)  x,
double precision  f,
double precision, dimension(n)  g,
integer  iprint,
integer  itfile,
integer  iter,
integer  nfgv,
integer  nact,
double precision  sbgnrm,
integer  nseg,
character*3  word,
integer  iword,
integer  iback,
double precision  stp,
double precision  xstep 
)

This subroutine prints out new information after a successful line search.

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.
gOn first entry g is unspecified.
On final exit g is the value of the gradient at x.
iprintIt controls the frequency and type of output generated:
  • iprint<0 no output is generated;
  • iprint=0 print only one line at the last iteration;
  • 0<iprint<99 print also f and |proj g| every iprint iterations;
  • iprint=99 print details of every iteration except n-vectors;
  • iprint=100 print also the changes of active set and final x;
  • iprint>100 print details of every iteration including x and g;
When iprint > 0, the file iterate.dat will be created to summarize the iteration.
itfileunit number of iterate.dat file
iterTODO
nfgvTODO
nactTODO
sbgnrmTODO
nsegTODO
wordTODO
iwordTODO
ibackTODO
stpTODO
xstepTODO

Definition at line 43 of file prn2lb.f.

Referenced by mainlb().

Here is the caller graph for this function: