Skip to main content

mobility-destination-sequence-sampler

Rust/Python bounded destination-plan top-K search with an exact validation oracle. Mobility prepares inputs; this package owns destination choice.

Transport modeller? Start with MODELLER_GUIDE.md. It explains the algorithm with a small activity-plan example, makes the search guarantees explicit, translates the terminology, and gives a one-context debugging workflow.

Public API

DestinationPlanSearch is the only exported class.

Method Purpose
top_k() Fast bounded search. Fully scores returned plans but does not prove they are the global top-K.
exact_top_k() Small-context oracle. Proves the requested top-K or raises proof incomplete at max_states.

top_k() shortlists plausible destinations, grows partial plans from both ends, joins them near the middle, improves the best complete plans, and ranks them with the full rigidity-aware utility. Repeated anchors remain the same destination throughout a plan. Its report contains top_k_is_proven=False; a successfully completed exact report contains top_k_is_proven=True. See DESIGN.md for schemas and invariants.

Callers can supply an optional utility_profile_id on OD costs and initial locations. This searches several population-specific cost profiles in one call: destination metadata and parallel scheduling are shared, while each context uses its assigned OD graph. Calls without the column keep the original single-profile behavior.

Only those paths are in the working tree. Particle, exhaustive-sampling, and second-order research is preserved by the research-archive-2026-07-29 Git tag (for example, git show research-archive-2026-07-29:<path>). Start with ACTIVE_SEARCH.md for the active algorithm and tuning contract.

Development

mamba env create -f environment.yml
mamba run -n mobility-destination-sequence-sampler python -m maturin develop --release
mamba run -n mobility-destination-sequence-sampler python -m pytest

Current quality/performance: BENCHMARKS.md. Experiment routing and decisions: experiments/README.md.

Metadata

Release files for mobility-destination-sequence-sampler 0.1.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 mobility-destination-sequence-sampler 0.1.2
File Size Uploaded Provenance Actions
mobility_destination_sequence_sampler-0.1.2.tar.gz 156.4 kB With provenance Details for mobility_destination_sequence_sampler-0.1.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for mobility-destination-sequence-sampler 0.1.2
File Interpreter ABI Platform Actions
mobility_destination_sequence_sampler-0.1.2-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for mobility_destination_sequence_sampler-0.1.2-cp311-abi3-win_amd64.whl
mobility_destination_sequence_sampler-0.1.2-cp311-abi3-manylinux_2_34_x86_64.whl CPython 3.11 abi3 Linux glibc 2.34+ x86-64 Details for mobility_destination_sequence_sampler-0.1.2-cp311-abi3-manylinux_2_34_x86_64.whl
mobility_destination_sequence_sampler-0.1.2-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for mobility_destination_sequence_sampler-0.1.2-cp311-abi3-macosx_11_0_arm64.whl

Total release size: 1.7 MB

Release files / mobility_destination_sequence_sampler-0.1.2.tar.gz

Download URL mobility_destination_sequence_sampler-0.1.2.tar.gz
Size 156.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9792dc86dbbdb1e55af992a7486cf4a1eeed4950439561f4a1b27148ae8ad964
BLAKE2b-256 checksum
How to use checksums
8257888255e22abf8faef5c10a83155757c76023bc8637bfb8628bd046bb2cd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Release files / mobility_destination_sequence_sampler-0.1.2-cp311-abi3-win_amd64.whl

Download URL mobility_destination_sequence_sampler-0.1.2-cp311-abi3-win_amd64.whl
Size 456.4 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
7413ac4146412862975e14063ac67bca1bc09f32c0086ac46f5c85e547ec234a
BLAKE2b-256 checksum
How to use checksums
42becef5afa00bbdc945ca862a0c3614f6a3b7890f87461042b92646b0e7f030
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Release files / mobility_destination_sequence_sampler-0.1.2-cp311-abi3-manylinux_2_34_x86_64.whl

Download URL mobility_destination_sequence_sampler-0.1.2-cp311-abi3-manylinux_2_34_x86_64.whl
Size 568.9 kB
Tags CPython 3.11 Linux glibc 2.34+ x86-64 abi3
SHA-256 checksum
How to use checksums
80f6590268da6a132b23cffb1b87718718c050cc4b94a6e9a1ceac882e618ea4
BLAKE2b-256 checksum
How to use checksums
667528c4f35be92286d1f952e1d0ce22b887561a43f1622ccf88ac3c7483a7e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Release files / mobility_destination_sequence_sampler-0.1.2-cp311-abi3-macosx_11_0_arm64.whl

Download URL mobility_destination_sequence_sampler-0.1.2-cp311-abi3-macosx_11_0_arm64.whl
Size 505.8 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f16417cc34b985831dfdafacda0b5d3a03a77fdcf6464e29984346bd78c1841e
BLAKE2b-256 checksum
How to use checksums
a7f627c4b08828979fc318c4b62d7a3eb7ba4a52a7892ac58cd115201c355408
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Security for mobility-destination-sequence-sampler 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for mobility_destination_sequence_sampler-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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