Skip to content

Tialo/powell_optimization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

powell_optimization

realization of powell's method of conjugated directions. included several methods of linear optimizations for this method.

#  example
from base import Problem
from linear_optimization import ParabolicInterpolation
from powell import PowellMethod
class Func(Problem):
  def __init__(self):
    super().__init__(size=2)
  
  def f(p):
    x, y = p
    return 100 * (y - x ** 2) ** 2 + (1 - x) ** 2
func = Func()
pi = ParabolicInterpolation()
pwl = PowellMethod(pi)
print(pwl.minimize(func))

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages