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.
Metadata
Release files for jinete 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| jinete-0.1.0.tar.gz | 53.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jinete-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 184.6 kB
Release files / jinete-0.1.0.tar.gz
| Download URL | jinete-0.1.0.tar.gz |
|---|---|
| Size | 53.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51c694eef6f3dfe42859bb5335a3de61230bd8f30d44849a9937f962d23b0078
|
|
BLAKE2b-256 checksum How to use checksums |
6d79fd2c9f70d46b30ef88394718e3132e58eb0eadba81b0528c2db54d91e684
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / jinete-0.1.0-py3-none-any.whl
| Download URL | jinete-0.1.0-py3-none-any.whl |
|---|---|
| Size | 130.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd2d608317aa7d42717c53b48de67905b70de9bf3fdc0fe8db4c1d02494cc017
|
|
BLAKE2b-256 checksum How to use checksums |
a39d9219111cfd63baddf1572f47de23cf1075cce8429e24ca608a2ee9fef92e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for jinete 0.1.0
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.