Skip to main content

A collection of single objective optimization algorithms for multi-dimensional functions.

Project description

optiseek

An open source collection of single-objective optimization algorithms for multi-dimensional functions.

The purpose of this library is to give users access to a variety of optimization algorithms with extreme ease of use and interoperability. The parameters of each of the algorithms can be tuned by the users and there is a high level of input uniformity between algorithms of similar type.

Installation

$ pip install optiseek

Usage

optiseek provides access to numerous optimization algorithms that require minimal effort from the user. An example using the well-known particle swarm optimization algorithm can be as simple as this:

from optiseek.metaheuristics import particle_swarm_optimizer
from optiseek.testfunctions import booth

# create an instance of the algorithm, set its parameters, and solve
my_algorithm = particle_swarm_optimizer(booth)  # create instance to optimize the booth function
my_algorithm.b_lower = [-10, -10] # define lower bounds
my_algorithm.b_upper = [10, 10] # define upper bounds

# execute the algorithm
my_algorithm.solve()

# show the results!
print(my_algorithm.best_value)
print(my_algorithm.best_position)
print(my_algorithm.completed_iter)

This is a fairly basic example implementation without much thought put into parameter selection. Of course, the user is free to tune the parameters of the algorithm any way they would like.

Documentation

For full documentation, visit the github pages site.

License

optiseek was created by Alex Dundore. It is licensed under the terms of the MIT license.

Credits and Dependencies

optiseek is powered by numpy.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

optiseek-0.2.0.tar.gz (21.5 kB view hashes)

Uploaded Source

Built Distribution

optiseek-0.2.0-py3-none-any.whl (24.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page