Skip to main content

Some Optimization Problems for Machine Learning

Project description

Optimization Techniques

Optimization Techniques is a Python package that includes eight powerful algorithms for optimization tasks, including Genetic Algorithm, Particle Swarm Optimization, Simulated Annealing, Ant Colony Optimization, Gray Wolf Optimization, and more. This package is designed to help users experiment with different optimization approaches for a wide variety of continuous and discrete problems.

Table of Contents

  1. Installation
  2. Usage
  3. Available Programs Variables
  4. Contributing
  5. License

Installation

You can install the optimization_techniques package directly from PyPI:

pip install optimization-techniques

Usage

Once installed, you can import the package and start using any of the algorithms. Here’s a general example of how to import and use a variable from this package:

from programs import genetic_algorithm

# Define your objective function
print(genetic_algorithm.continuous_optimization)
print(genetic_algorithm.binary_optimization)

#It will print the full code

Available Programs Variables

The following algorithms are available in the programs package:

  1. genetic_algorithm

    • continuous_optimization
    • binary_optimization
  2. simulated_annealing

    • simulated_annealing
  3. ant_colony_algorithm

    • ant_colony_algorithm
  4. particle_swarn_optimization

    • particle_swarn_optimization
  5. gray_wolf_optimization

    • gray_wolf_optimization
  6. tabu_search

    • tabu_search
  7. shuffuled_frog_optimization

    • shuffuled_frog_optimization
  8. travel_salesman_problem

    • shortest_edge_initialization
    • nearest_neighbour_initialization

Contributing

We welcome contributions! If you’d like to contribute, please fork the repository, make your changes, and submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Project details


Release history Release notifications | RSS feed

This version

1.5

Download files

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

Source Distribution

optimization_techniques-1.5.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

optimization_techniques-1.5-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file optimization_techniques-1.5.tar.gz.

File metadata

  • Download URL: optimization_techniques-1.5.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for optimization_techniques-1.5.tar.gz
Algorithm Hash digest
SHA256 3fea7f02dd7b31de711de7022f7075142a0dfab23e4bdcdcb4fd8ebecde9d559
MD5 42faef01868458b529b1629b99d57f41
BLAKE2b-256 d66172e02cb867a6d100537a05279eff320d308249ed7d3ae98c0b1d232e568a

See more details on using hashes here.

File details

Details for the file optimization_techniques-1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for optimization_techniques-1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e308be900b509cca56c22b5c23c09f991ed4605996d45491a1b622e753ef1913
MD5 8291580db0b030816dbdfb6b53b21d06
BLAKE2b-256 ed15cb18534adedb6b0efa223975c0c8786589a06c3cb47b9dc5209f705bc538

See more details on using hashes here.

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