Skip to content

PyTA 0.1.1

Choose a tag to compare

@harisbal harisbal released this 14 Oct 14:20
· 6 commits to main since this release

What's new

  • assign(..., unreachable="skip"): demand between nodes that no allowed path joins no longer aborts the assignment. Unroutable OD pairs are left out before the solve and reported on the result:
    • result.unrouted_flow: trips left out, one total per class
    • result.unrouted(): NumPy arrays class, origin, destination, flow
    • result.unrouted_table(): the same as a pandas DataFrame
  • The default stays unreachable="error", so existing code behaves as before.
  • Prebuilt wheels for Linux (x86_64, aarch64), macOS (Intel, Apple silicon) and Windows (x86_64), plus the source distribution, are attached below. Each wheel works on Python 3.9 and newer.

Install

PyTA is not on PyPI yet. Download the wheel for your platform from the assets below and run pip install <wheel file>, or build from source; see Getting started.

Documentation: https://harisbal.github.io/pyta/