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
python>=3.7
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()
# ...
You can find the documentation at: https://jinete.readthedocs.io
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
examples
: Basic examples to start using the library.jinete
: The source code of the library.algorithms
: [TODO]exacts
: [TODO]heuristics
: [TODO]metaheuristics
: [TODO]utils
: [TODO]crossers
: [TODO]
dispatchers
: [TODO]loaders
: [TODO]formatters
: [TODO]
models
: [TODO]storers
: [TODO]formatters
: [TODO]
setup.py
: The builder of this library.tests
: The library tests.
This project is licensed under MIT license.