Skip to main content

Python bindings for Arco optimization library

Project description

Arco Python bindings

Build and install locally with uv:

cd bindings/python
uv sync --group dev
uv run --with maturin maturin develop

Run linting:

uv run ruff check .
uv run ty check .

Run Python example formulations from the repository root:

cd ../..
uv run examples/dense-lp/formulation.py --solve --json
uv run examples/sdom/formulation.py --solve --json

For interactive exploration of dense-lp (no extra script boilerplate):

cd ../..
uv run --with ipython --with-editable ./bindings/python ipython -i examples/dense-lp/formulation.py

Inside IPython, use model to inspect the formulation and call solve() when ready.

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

arco-0.5.0.tar.gz (184.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arco-0.5.0-cp312-cp312-manylinux_2_38_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.38+ x86-64

File details

Details for the file arco-0.5.0.tar.gz.

File metadata

  • Download URL: arco-0.5.0.tar.gz
  • Upload date:
  • Size: 184.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for arco-0.5.0.tar.gz
Algorithm Hash digest
SHA256 49ec7bfaee81b1da93d662d3db84abdd12405ff34df37b00132f2d72572a496c
MD5 805d053ecd0335de702d58234beee419
BLAKE2b-256 a4b1ba0f92f0bc06a431ef5b852a91f902ab14af53c5073075896e7a37bb73d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for arco-0.5.0.tar.gz:

Publisher: release-please.yaml on NatLabRockies/arco

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arco-0.5.0-cp312-cp312-manylinux_2_38_x86_64.whl.

File metadata

File hashes

Hashes for arco-0.5.0-cp312-cp312-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 223e3736e7bfa5cdabe040d021d4b4bedb8e13b34d0135a5d40234e19cd38db8
MD5 4fd450b6233936ecf8290907d1cb5ed1
BLAKE2b-256 2c3c145b2820a1e0067d839da30395e5be379314a2e8ce76c60630017cdf1bc3

See more details on using hashes here.

Provenance

The following attestation bundles were made for arco-0.5.0-cp312-cp312-manylinux_2_38_x86_64.whl:

Publisher: release-please.yaml on NatLabRockies/arco

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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