Skip to content

A python implementation of the Nelder-Mead method for gradient free optimization.

Notifications You must be signed in to change notification settings

colonialjelly/nelder-mead

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Nelder-Mead Method

A python implementation of the Nelder-Mead method for gradient free optimization.

Example Usage:

import numpy as np
from neldermead import NelderMead

def rosenbrock(x):
    return 100*(x[1] - x[0]**2)**2 + (1 - x[0])**2

nelder = NelderMead()
x0 = np.array([0., 0.])
res = nelder.minimize(rosenbrock, x0, 100)
print(res) # {'x': array([1., 1.]), 'iteration': 96}

References

About

A python implementation of the Nelder-Mead method for gradient free optimization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages