39 subroutine prn1lb(n, m, l, u, x, iprint, itfile, epsmch)
41 integer n, m, iprint, itfile
42 double precision epsmch, x(n), l(n), u(n)
59 if (iprint .ge. 0)
then
61 write (6,*)
'N = ',n,
' M = ',m
62 if (iprint .ge. 1)
then
63 write (itfile,2001) epsmch
64 write (itfile,*)
'N = ',n,
' M = ',m
66 if (iprint .gt. 100)
then
67 write (6,1004)
'L =',(l(i),i = 1,n)
68 write (6,1004)
'X0 =',(x(i),i = 1,n)
69 write (6,1004)
'U =',(u(i),i = 1,n)
74 1004
format (/,a4, 1p, 6(1x,d11.4),/,(4x,1p,6(1x,d11.4)))
75 2001
format (
'RUNNING THE L-BFGS-B CODE',/,/,
76 +
'it = iteration number',/,
77 +
'nf = number of function evaluations',/,
78 +
'nseg = number of segments explored during the Cauchy search',/,
79 +
'nact = number of active bounds at the generalized Cauchy point'
81 +
'sub = manner in which the subspace minimization terminated:'
82 + ,/,
' con = converged, bnd = a bound was reached',/,
83 +
'itls = number of iterations performed in the line search',/,
84 +
'stepl = step length used',/,
85 +
'tstep = norm of the displacement (total step)',/,
86 +
'projg = norm of the projected gradient',/,
87 +
'f = function value',/,/,
89 +
'Machine precision =',1p,d10.3)
90 7001
format (
'RUNNING THE L-BFGS-B CODE',/,/,
92 +
'Machine precision =',1p,d10.3)
93 9001
format (/,3x,
'it',3x,
'nf',2x,
'nseg',2x,
'nact',2x,
'sub',2x,
'itls',
94 + 2x,
'stepl',4x,
'tstep',5x,
'projg',8x,
'f')
subroutine prn1lb(n, m, l, u, x, iprint, itfile, epsmch)
This subroutine prints the input data, initial point, upper and lower bounds of each variable,...