High Performance solving suite for the Pickup and Delivery Problem and its related extensions.
Project description
jinete
Description
High Performance solving suite for the Pickup and Delivery Problem and its related extensions.
IMPORTANT: This project is still under its early stage of development. So it's not recommended yet to use on real world projects.
This library has been inspired (and created) by a Final Degree Project, which you can read at: https://github.com/garciparedes/tfg-pickup-and-delivery
Getting Started
Prerequisites
python>=3.7
Installation
pip install jinete
Here is a simple example about how to run jinete
to solve a HashCode 2018 Online Qualification instance.
import jinete as jit
file_path = './res/datasets/hashcode/a_example.in'
solver = jit.Solver(
loader=jit.FileLoader,
loader_kwargs={
'file_path': file_path,
'formatter_cls': jit.HashCodeLoaderFormatter
},
algorithm=jit.InsertionAlgorithm,
)
result = solver.solve()
# ...
Documentation
You can find the documentation at: https://garciparedes.me/jinete
Development
First of all, you need to create a virtualenv
:
python -m venv venv
source venv/bin/activate
Then install the library and all its extra dependencies (with the all
option):
pip intall -e .[all]
To run code style checks you can simply type:
flake8
To perform the tests with coverage you can need to type:
coverage run -m unittest discover tests
LICENSE
This project is licensed under MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file jinete-0.1.0.tar.gz
.
File metadata
- Download URL: jinete-0.1.0.tar.gz
- Upload date:
- Size: 53.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51c694eef6f3dfe42859bb5335a3de61230bd8f30d44849a9937f962d23b0078 |
|
MD5 | cb980375bc186e83008ef3341385e08a |
|
BLAKE2b-256 | 6d79fd2c9f70d46b30ef88394718e3132e58eb0eadba81b0528c2db54d91e684 |
File details
Details for the file jinete-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: jinete-0.1.0-py3-none-any.whl
- Upload date:
- Size: 130.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd2d608317aa7d42717c53b48de67905b70de9bf3fdc0fe8db4c1d02494cc017 |
|
MD5 | a84088139ec975bd7356be285b9ada77 |
|
BLAKE2b-256 | a39d9219111cfd63baddf1572f47de23cf1075cce8429e24ca608a2ee9fef92e |