Skip to main content

A Python implementation for solving the Capacitated Vehicle Routing Problem (CVRP) using heuristic and metaheuristic algorithms

Project description

CVRP Package

This Python package provides functionalities for solving the Capacitated Vehicle Routing Problem (CVRP) using a genetic algorithm approach.

Installation

You can install the package using pip:

pip install cvrp-genetic

## Usage 

from cvrp_genetic import CVRP

# Initialize the CVRP instance with parameters
cvrp_solver = CVRP(nb_individus=100, nb_mutation=10, nb_iteration=100)

# Find the best solution
best_solution = cvrp_solver.best_solution()

# Get the best route
best_route = cvrp_solver.best_route()

# Create a graph of the best route
cvrp_solver.create_graph()

## Documentation
For detailed documentation and examples, refer to the documentation.

## Contributing
Contributions are welcome! Feel free to submit bug reports, feature requests, or pull requests on GitHub.

## License
This project is licensed under the MIT License.
for any questions or inquiries, feel free to contact faycal213.dz@gmail.com

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

cvrp-0.1.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

cvrp-0.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file cvrp-0.1.0.tar.gz.

File metadata

  • Download URL: cvrp-0.1.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.5

File hashes

Hashes for cvrp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2594f8b7381f1f550a86dd3f9d959f8d2a239e10fee8d3b8ea20ed668274f59f
MD5 01aaf501f90bf6c62a5a6f13cb7dfaff
BLAKE2b-256 f645bf79eae7da71fd560258d0b02ee366a9bb0ca2c5761816f78bd2dfc4af5c

See more details on using hashes here.

File details

Details for the file cvrp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cvrp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.5

File hashes

Hashes for cvrp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 217074a8b78d20ba2adf0701b0a4ccaa72108e45e54ec77f7bb0ede4b0d4efd8
MD5 2a929dda07623c5181b8aec231da2276
BLAKE2b-256 f81dc9f8004a084b326f840b244c1ce6d2bb517d8b7bfb9ee91aac06beaaff12

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page