Skip to main content

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.

Metadata

Release files for optimization-techniques 1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for optimization-techniques 1.5
File Size Uploaded Provenance Actions
optimization_techniques-1.5.tar.gz 10.0 kB Without provenance Details for optimization_techniques-1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for optimization-techniques 1.5
File Interpreter ABI Platform Actions
optimization_techniques-1.5-py3-none-any.whl Python 3 none any Details for optimization_techniques-1.5-py3-none-any.whl

Total release size: 23.0 kB

Release files / optimization_techniques-1.5.tar.gz

Download URL optimization_techniques-1.5.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3fea7f02dd7b31de711de7022f7075142a0dfab23e4bdcdcb4fd8ebecde9d559
BLAKE2b-256 checksum
How to use checksums
d66172e02cb867a6d100537a05279eff320d308249ed7d3ae98c0b1d232e568a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / optimization_techniques-1.5-py3-none-any.whl

Download URL optimization_techniques-1.5-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e308be900b509cca56c22b5c23c09f991ed4605996d45491a1b622e753ef1913
BLAKE2b-256 checksum
How to use checksums
ed15cb18534adedb6b0efa223975c0c8786589a06c3cb47b9dc5209f705bc538
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Security for optimization-techniques 1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.5 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page