package lbfgs
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=0691c161ddf4c239f6cac42721dcf1660150da84c560c604e41616d9b692d92a
md5=29e71dd25f6b67b26658a8cc38783fc1
Description
This library provide an algorithm to minimize and maximize functions of many variables on bounded or unbounded domains. This is a binding to L-BFGS-B, a library for Large-scale Bound-constrained Optimization.
Tags
science numerics optimization minimization maximization bound-constrained large-scalePublished: 21 Jan 2019
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 lbfgsIf 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 the FORTRANC variable before invoking opam. For example
export FORTRANC=/usr/bin/x86_64-w64-mingw32-gfortran.exe
opam install lbfgsDocumentation
If you cloned this repository, issue
dune build @doc
Dependencies (7)
-
conf-gfortran
build - dune-configurator
- dune
-
camlp4
build - base-bytes
- base-bigarray
- ocaml
Dev Dependencies (1)
-
lacaml
with-test
Used by (2)
-
oml
< "0.0.7" - owl-opt-lbfgs
Conflicts
None