Skip to main content

Uses the restarted PDHG algorithm with enhancements to solve primal-dual linear programs.

Project description

torchPDLP

torchPDLP uses the restarted PDHG algorithm with enhancements to solve primal-dual linear programs efficiently using PyTorch.

Features

  • Implementation of restarted PDHG algorithm
  • Enhancements for stability and performance
  • Leverages PyTorch for fast computation

Installation

Once released on PyPI:

pip install torchPDLP

Or install directly from GitHub:

pip install git+https://github.com/SimplySnap/torchPDLP.git@pypi-package#subdirectory=torchPDLP

Usage

import torchPDLP

# Example usage here (update with actual usage)

Authors

  • Xiyan Hu
  • Titus Parker
  • Connor Phillips
  • Yifa Yu

License

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

torchpdlp-0.1.1.tar.gz (23.9 kB view details)

Uploaded Source

Built Distribution

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

torchpdlp-0.1.1-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

Details for the file torchpdlp-0.1.1.tar.gz.

File metadata

  • Download URL: torchpdlp-0.1.1.tar.gz
  • Upload date:
  • Size: 23.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for torchpdlp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 97b96a25f66ce7344ae6f81048d187e82cd65df7498937c2fc8ed6e9295ca218
MD5 576e84b1530964ea11a19c299a2b8870
BLAKE2b-256 3c11a16127bae11722a0130e3a78101dbd6f0f3ad23939aa34622936d5afffb1

See more details on using hashes here.

File details

Details for the file torchpdlp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: torchpdlp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 25.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for torchpdlp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c6a45f7c1119211bd5fc9987d6e6c3878586458fc46da72fe02d966168bbb810
MD5 7d3448cbee4c6775e4dbc0448f241eb9
BLAKE2b-256 986a212858788cd27588431cabe85f93cf616853a7e13ae8ef48aa4a3ea1916d

See more details on using hashes here.

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