Skip to main content

untilperfect

License Python Version Code Style Documentation Status

The untilperfect application solves the buffer preparation vessel sizing and assignment problem using mixed integer linear programming.

The source repo is at https://github.com/multipitch/untilperfect.

Builds are hosted at https://pypi.org/project/untilperfect/.

Documentation is hosted at https://untilperfect.readthedocs.io/.

This project was forked from https://github.com/multipitch/dissertation. The dissertation repo was created for my masters dissertation on the subject towards an MSc in Business Analytics from University College Dublin; further development has been forked here so that the dissertation repo remains frozen.

Install via pip:

$ pip install untilperfect

Provides the untilperfect CLI command

$ untilperfect --help
usage: model.py [-h] [-b BUFFERS] [-n] [-p PARAMETERS] [-f PATH] [-s SOLVER]
                [-t PROBLEM_TYPE] [-v VESSELS] [-w]

Solves the buffer preparation assignment and selection problem.

optional arguments:
-h, --help            show this help message and exit
-b BUFFERS, --buffers BUFFERS
                      buffers filename (default: 'buffers.csv')
-n, --no-plot         do not generate plot
-p PARAMETERS, --parameters PARAMETERS
                      parameters filename (default: 'parameters.ini')
-f PATH, --path PATH  file path (default: <current working directory>)
-s SOLVER, --solver SOLVER
                      solver to be used (default: 'COIN_CMD')
-t PROBLEM_TYPE, --problem-type PROBLEM_TYPE
                      specify model to solve (default: 'complete'), other
                      model options are 'basic', 'minimized_hold_time',
                      'mimimized_used_volume'
-v VESSELS, --vessels VESSELS
                      vessel filename (default: vessels.csv)
-w, --write           write problem to file in .lp format

Distributed under the MIT License.

© Sean Tully 2018-2019.

Release files for untilperfect 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for untilperfect 0.0.2
File Size Uploaded
untilperfect-0.0.2.tar.gz 282.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for untilperfect 0.0.2
File Interpreter ABI Platform
untilperfect-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 297.5 kB

Release files / untilperfect-0.0.2.tar.gz

Download URL untilperfect-0.0.2.tar.gz
Size 282.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0d3e344af9600697d0139ce4b98dd887352ccfa24581c74642314fd61f9bfbb9
BLAKE2b-256 checksum
How to use checksums
405bb206494c8594a1088c23c0813c6e0bb727a58b0bf079f2717b73e1a7a6d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

Release files / untilperfect-0.0.2-py3-none-any.whl

Download URL untilperfect-0.0.2-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d439a429ad0d6cc5fb830a6e6d8c57f01ce79424697243a4f51f37743a44ce7
BLAKE2b-256 checksum
How to use checksums
fafc4d00e73b707356a6ca626f2973ac269c667e2a4edb3db08c4b8f4bb669dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page