No commit activity in last 3 years
No release in over 3 years
Minimization algorithms on pure Ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
~> 10
~> 3.2

Runtime

 Project Readme

= minimization

== DESCRIPTION:

Minimization algorithms on pure Ruby.

== FEATURES/PROBLEMS:

Unidimensional:

  • Newton-Rahpson (requires first and second derivative)
  • Golden Section
  • Brent (Port of GSL code)

Multidimensional:

  • Fletcher-Reeves (requires first derivative)
  • Polak Rebirer (requires first derivative)
  • Nelder-Mead
  • Powell's method

If you needs speed, use rb-gsl

== SYNOPSIS:

d=Minimization::Brent.new(-1000,20000 , proc {|x| x**2})

d.iterate

puts d.x_minimum puts d.f_minimum

== REQUIREMENTS:

  • Pure Ruby

== INSTALL:

sudo gem install minimization

== API:

http://ruby-statsample.rubyforge.org/minimization/

== LICENSE:

BSD 2-clause (See LICENSE.txt)