All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to the Haskell Package Versioning Policy.
- Introduced assosiated type
Domain
to theIsProblem
type class: NowDomain prob
instead ofVector Double
is used to represent inputs and gradients. - Move
numeric-optimization-backprop
'sNumeric.Optimization.Backprop.ToVector
tonumeric-optimization
'sNumeric.Optimization.Utils.ToVector
. - Now we have
instance ToVector a => IsProblem (a -> Double)
, so thatDouble -> Double
,(Double, Double) -> Double
,[Double] -> Double
, etc. are all instances ofIsProblem
. - Add
Numeric.Optimization.Utils.AllClose
. This module is primarily intended to be used for testing in this package and its family packages.
- Support L-BFGS-B algorithm (when
with-lbfgsb
is enabled) - Add some algorithm specific parameters
- Add instructions for installing dependent libraries
- Add
with-lbfgs
flag, which istrue
by default, but you can turn-off the flag to build without L-BFGS. - Add some instances of standard type classes:
Eq OptimizationException
,Show Result
, andShow Statistics
. - Return correct statistics for L-BFGS and L-BFGS-B.
- Fix many bugs
- Various documentation fixes
- Fix
build-examples
flag to work
- Initial release.