Safe Haskell | None |
---|
Minimize functions using the Fortran L-BFGS-B library for limited-memory Broyden–Fletcher–Goldfarb–Shanno bound-constrained minimization. More information on assumptions and function parameters can be found at the L-BFGS-B homepage http://users.eecs.northwestern.edu/~nocedal/lbfgsb.html and in its source code.
A bound-constrained domain is one that is a finite product of the
reals, closed intervals, and half-infinite intervals. We describe
the factors by (
, with
Maybe
Double
, Maybe
Double
)(
describing the closed interval [a,b], and so
forth.
Just
a, Just
b)
- minimize :: Int -> Double -> Double -> Maybe Int -> [(Maybe Double, Maybe Double)] -> Vector Double -> (Vector Double -> Double) -> (Vector Double -> Vector Double) -> Result
- minimize' :: Int -> Double -> Double -> Maybe Int -> [(Maybe Double, Maybe Double)] -> Vector Double -> (Vector Double -> Double) -> (Vector Double -> Vector Double) -> Maybe (Vector Double)
Documentation
:: Int |
|
-> Double |
|
-> Double |
|
-> Maybe Int |
|
-> [(Maybe Double, Maybe Double)] | Constraints, as described in the beginning of this module. If there are
fewer bounds than components in |
-> Vector Double |
|
-> (Vector Double -> Double) |
|
-> (Vector Double -> Vector Double) |
|
-> Result |