lbfgs
Bound-constrainted optimization in many variables
README
OCaml bindings for L-BFGS
L-BFGS is an
optimization algorithm in the family of quasi-Newton methods that
approximates the
Broyden–Fletcher–Goldfarb–Shanno
(BFGS) algorithm using a limited amount of computer memory.
This library is a binding to Nocedal's implementation of
L-BFGS-B
which adds the possibility of setting bounds on the variables.
Install
The easiest way to install the library is to use
opam:
opam install lbfgs
If you clone this repository, download
Lbfgsb.3.0
and extract it in src/
(it should create src/Lbfgsb.3.0/
).
Then issue make
and make install
.
In case the right FORTRAN compiler for your platform is not
automatically found, you can specify it explicitly by exporting theFORTRANC
variable before invoking opam
. For example
export FORTRANC=/usr/bin/x86_64-w64-mingw32-gfortran.exe
opam install lbfgs
Documentation
If you cloned this repository, issue
dune build @doc
Install
- Published
-
13 Sep 2019
Sources
lbfgs-0.9.3.tbz
sha256=6e5cc5b0cda7ce445e09bd7bf0f8e04ab02ce1f8059dd39872993cc4aec91253
sha512=a15380178305dc7a0002f761c6105b49078c27002da7cac2176736a74c494c187b6d141f0f312b2ecb6513044790880ae51e239e8b3b244cf012fc5ea75a7e7e
Dependencies
Reverse Dependencies
oml
< "0.0.7"