package lbfgs
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=5c4f3c0fec90f589a1ea36cddc0a7be4a8a55d4d4dd3815150400af6c514242d
sha512=9663e317a25dae126c1066328ae120a7a9f7a383ee6669c56bf26fb2b6629bffcceec8a768556f6dc275a1069c2227cac4076cfdcc7e52d01e2bca55e8ec1846
doc/lbfgs/Lbfgs/index.html
Module Lbfgs
Source
Binding to L-BFGS-B. These is a limited-memory quasi-Newton code for unconstrained and for bound-constrained optimization.
The authors of the original FORTRAN code expect that if you use their software in a publication, you quote one of these references:
- R. H. Byrd, P. Lu and J. Nocedal. A Limited Memory Algorithm for Bound Constrained Optimization, (1995), SIAM Journal on Scientific and Statistical Computing , 16, 5, pp. 1190-1208.
- C. Zhu, R. H. Byrd and J. Nocedal. L-BFGS-B: Algorithm 778: L-BFGS-B, FORTRAN routines for large scale bound constrained optimization (1997), ACM Transactions on Mathematical Software, Vol 23, Num. 4, pp. 550-560.
- J.L. Morales and J. Nocedal. L-BFGS-B: Remark on Algorithm 778: L-BFGS-B, FORTRAN routines for large scale bound constrained optimization (2011), to appear in ACM Transactions on Mathematical Software.
Represent the memory space needed to solve a minimization problem. It is usually allocated automatically but it is possible to do it manually to, say, allocate it once only before a loop.
Abnormal(f, msg)
is raised if the routine terminated abnormally without being able to satisfy the termination conditions. In such an event, the variable x
(see F.min
) will contain the current best approximation found and f
is the value of the target function at x
. msg
is a message containing additional information (returned by the original FORTRAN code).
If the error message is not precise enough, it is recommended to turn printing on to understand what is the problem.
type print =
| No
(*No output is generated.
*)| Last
(*Print one line at the last iteration.
*)| Every of int
(*
*)Every k
prints the value of the function and |proj gradient| everyk
iterations. Valid values are0 <= k <= 98
, otherwise the closer value in that interval is used.| Details
(*Print details of every iteration (except vectors).
*)| All
(*Print details of every iteration (except vectors) including changes of active set and final x.
*)| Full
(*Print details of every iteration including x and g.
*)
Control of the frequency at which information is outputted.
Holds informations on the current state of the computation that can help to decide whether to stop.
work n
allocate the work space for a problem of size at most n
.
Accessing the state
The total number of intervals explored in the search of Cauchy points.
The total number of skipped BFGS updates before the current iteration.
The number of intervals explored in the search of Cauchy point in the current iteration.
The number of function value or gradient evaluations in the current iteration.
The slope of the line search function at the current point of line search.
The slope of the line search function at the starting point of the line search.