Skip to main content

High Performance solving suite for the Pickup and Delivery Problem and its related extensions.

Project description

jinete

jinete

PyPI Read the Docs Travis (.org) branch Codecov GitHub GitHub stars

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

How to install

pip install jinete

Getting Started

import jinete as jit

file_path = './res/datasets/hashcode/a_example.in'

class MyLoader(jit.FileLoader):
    def __init__(self, *args, **kwargs):
        super().__init__(
            file_path=file_path,
            formatter_cls=jit.HashCodeLoaderFormatter,
            *args, **kwargs,
        )

class MyAlgorithm(jit.InsertionAlgorithm):
    def __init__(self, *args, **kwargs):
        super().__init__(
            crosser_cls=jit.BestStatelessCrosser,
            *args, **kwargs
        )

class MyStorer(jit.PromptStorer):
    def __init__(self, *args, **kwargs):
        super().__init__(
            formatter_cls=jit.ColumnarStorerFormatter,
            *args, **kwargs,
        )

dispatcher = jit.StaticDispatcher(
    MyLoader,
    MyAlgorithm,
    MyStorer,
)

result = dispatcher.run()

# ...

Documentation

You can find the documentation at: https://jinete.readthedocs.io

Development

You can install it simply typing:

pipenv install --dev

To run the tests perform:

pipenv python -m unittest discover tests

Repository Contents

LICENSE

This project is licensed under MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for jinete, version 0.0.11
Filename, size File type Python version Upload date Hashes
Filename, size jinete-0.0.11-py3-none-any.whl (66.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size jinete-0.0.11.tar.gz (29.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page