Categorygithub.com/pa-m/optimize
modulepackage
0.0.0-20200711091247-a21c355ec24e
Repository: https://github.com/pa-m/optimize.git
Documentation: pkg.go.dev

# README

# Functions

Bissection find zero of f using Bissection's method logger may be nil.
Brent find zero of f using Brent's method see https://en.wikipedia.org/wiki/Brent%27s_method logger may be nil.
Gss golden section search (recursive version) https://en.wikipedia.org/wiki/Golden-section_search ''' Golden section search, recursive.
NewBrentMinimizer returns an initialized *BrentMinimizer.
NewPowellMinimizer return a PowellMinimizer with default tolerances.

# Structs

BrentMinimizer is the translation of class Brent in scipy/optimize/optimize.py Uses inverse parabolic interpolation when possible to speed up convergence of golden section method.
CmaEsCholB is optimize.CmaEsChol with xmin,xmax constraints only sendTask,ensureBounds are different.
Powell is a global optimizer that evaluates the function at random locations.
PowellMinimizer minimizes a scalar function of multidimensionnal x using modified Powell algorithm (see fmin_powell in scipy.optimize).