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.

Source Distribution

jinete-0.0.12.tar.gz (35.1 kB view hashes)

Uploaded Source

Built Distribution

jinete-0.0.12-py3-none-any.whl (78.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page